548 Commits

Author SHA1 Message Date
Nyall Dawson
72118f91f9 [processing] When an algorithm has string parameters, also
accept numeric, file and table field inputs in modeler

This allows a non-string parameter to be reused as a string
parameter in contexts where it makes sense.
2016-11-11 13:26:31 +10:00
Nyall Dawson
a3ae0b28fc [processing] Restore spin box widget for number inputs outside modeller
This commit restores some pre 3.0 processing behaviour for number inputs.
Now, if a number input is required outside of modeller than a spin box
will be shown instead of a free text input.

Clicking the expression builder button results in an expression
which is evaluated immediately to avoid users expecting that
the expression will be evaluated per feature.
2016-11-11 11:02:42 +10:00
volaya
7c4e66b360 Merge pull request #3726 from arnaud-morvan/processing_various_fixes
[processing] small fixes
2016-11-08 10:30:06 +01:00
Nyall Dawson
3550cc99a6 [processing] Allow algorithms to specify tags
Tags are used while searching in the toolbox. This should help with
finding algorithms when the exact name is not known, eg
you could search for "envelope" or "bounds" and find the
'Polygon from Layer Extent' algorithm.

At the moment it's quite hard to discover algorithms which exist
when you don't know what their called and have to instead search
for every possible naming variant which could exist...
2016-11-08 10:15:31 +10:00
Nyall Dawson
1a4f8f59f1 [processing] When searching in toolbox, ignore order of words
Eg, allows you to search "line merge" and find the "Merge lines"
algorithm. Should make it easier for users who don't know the
exact name to find algorithms.
2016-11-08 09:30:52 +10:00
Nyall Dawson
6a99017bf0 [processing] Use with ... when opening files 2016-11-07 11:36:38 +10:00
arnaud.morvan@camptocamp.com
4a62699472 [processing] Fix TableWidgetWrapper in batch dialog 2016-11-06 13:05:32 +01:00
arnaud.morvan@camptocamp.com
2d2fe8b8cc [processing] Fix BatchOutputSelectionPanel with QgsMapLayer instances 2016-11-06 13:04:32 +01:00
Nyall Dawson
9cd29f39d8 [processing] Fix batch panel under Qt5 2016-11-03 16:33:09 +10:00
Nyall Dawson
3caccd531d [processing] Fix handling of multiple field input in modeller 2016-10-31 11:41:40 +10:00
Nyall Dawson
d5698be69f Fix some processing breakage 2016-10-31 09:12:39 +10:00
Nyall Dawson
3cc9b5d962 Indentation 2016-10-22 09:03:24 +10:00
nirvn
bd7149ce16 [processing] fix broken modeler under pyqt5/python3 (fixes #15734) 2016-10-21 10:11:22 +07:00
Sandro Santilli
06976a2e87 Make Extent and Extent CRS GDAL parameters optional
Specify what the default is when extent CRS is not specified.
Allow using "auto" to have extent automatically set to min covering extent.

Fixes #15685
2016-10-20 10:51:30 +02:00
Alexander Bruy
9d6acbdb99 [processing] add missed imports 2016-10-18 20:57:34 +03:00
Alexander Bruy
700441eec9 [processing] remove debug line and fix spatial index creation 2016-10-18 16:55:19 +03:00
volaya
b83fbb16c9 [processing] warn if extent might not be in the expected CRS 2016-10-18 16:55:19 +03:00
volaya
b4562d143e [processing] fixed iterative execution
fixes #15650
2016-10-18 16:55:19 +03:00
matteo
76d17ca55b update ScriptEditorDialog for py3 2016-10-18 10:56:54 +02:00
Matteo Ghetta
7f3b10b424 [processing] fix button font size in script editor
fixes the zooming of the font size in script editor dialog using another method
2016-10-18 10:13:54 +02:00
Matteo Ghetta
76eb086c89 [processing] avoid overlapping UI
multi field widget doesn't overlap anymore with other widgets
2016-10-18 10:10:54 +02:00
Alexander Bruy
85962653a2 [processing] restore Points in Polygons algorithm menu entry (follow up d4323addf0) 2016-10-11 12:01:14 +03:00
Nyall Dawson
d4323addf0 [processing] Fix missing points in polygons menu item (fix #15670)
Also add a unit test
2016-10-11 09:30:46 +10:00
volaya
fba87f79f3 Merge branch 'master' of https://github.com/qgis/QGIS into processing_parameters_refactoring
Conflicts:
	python/plugins/processing/gui/ExtentSelectionPanel.py
2016-10-10 09:09:34 +02:00
Alexander Bruy
45a84419ff [processing] show error message instead of Python error if output raster is temp output and test can not be created 2016-10-06 15:57:13 +03:00
Matthias Kuhn
5179a3a55d [processing] Fix extent selection widget 2016-10-05 15:51:43 +02:00
volaya
2207669001 [processing] fixed expressions dialog when not in modeler 2016-10-05 12:39:03 +02:00
arnaud.morvan@camptocamp.com
4184934b9a [processing] Apply 2to3 on changes 2016-10-05 12:39:01 +02:00
volaya
effcb5ed14 [processing] [modeler] show options of MultipleInputParameter sorted in alphabetical order
fixes # 4836
2016-10-05 12:38:59 +02:00
volaya
404c57bc59 [processing] fixed table fields in batch processing interface
Conflicts:
	python/plugins/processing/gui/BatchInputSelectionPanel.py
2016-10-05 12:38:58 +02:00
volaya
23aec61501 [processing] connect signal in multipleinput widget 2016-10-05 12:38:57 +02:00
volaya
1a95110dcc [processing] renamed wrongly named signal in InputLayerSelectionPanel 2016-10-05 12:38:54 +02:00
volaya
b2fd1a4560 [processing] use cmp_to_key to ensure Python3 compatibility
Conflicts:
	python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:53 +02:00
Alexander Bruy
3407ced90e fix indentation
Conflicts:
	python/plugins/processing/gui/BatchInputSelectionPanel.py
	python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:50 +02:00
volaya
a20c86c0c3 [processing] use InputLayerSelectorPanel for vector layers 2016-10-05 12:38:49 +02:00
volaya
c605c67b8c [processing] some minor changes for batch processing interface 2016-10-05 12:38:48 +02:00
arnaud.morvan@camptocamp.com
d33e33874a Fix StringWidgetWrapper.value method 2016-10-05 12:38:47 +02:00
arnaud.morvan@camptocamp.com
c010a035c3 Call postInitialise in BatchAlgorithmDialog 2016-10-05 12:38:46 +02:00
arnaud.morvan@camptocamp.com
be5f951cd1 Support layer objects in BatchInputSelectionPanel 2016-10-05 12:38:44 +02:00
arnaud.morvan@camptocamp.com
9e36582feb Simplify TableFieldWidgetWrapper
Conflicts:
	python/plugins/processing/gui/ParametersPanel.py
	python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:43 +02:00
arnaud.morvan@camptocamp.com
c1bc364a76 Fix PointWidgetWrapper with modeler 2016-10-05 12:38:42 +02:00
volaya
affc8f7ca5 [processing] correctly return widget in TableFieldWidgetWrapper 2016-10-05 12:38:39 +02:00
volaya
ae0e9c8442 [processing]minor code cleaning
Conflicts:
	python/plugins/processing/core/parameters.py
2016-10-05 12:38:38 +02:00
volaya
c65cc92009 [processing] improved widgets for raster and vector layers in modeler 2016-10-05 12:38:34 +02:00
volaya
36abbc427c [processing] allow multiple values in ParameterSelection 2016-10-05 12:38:32 +02:00
volaya
8ce93b102c [processing] removed unused imports 2016-10-05 12:38:31 +02:00
volaya
5464c4501b [processing] use QgsMessage bar in algorithm dialogs 2016-10-05 12:38:30 +02:00
volaya
56225c4d8c [processing] fixed batch processing interface
Conflicts:
	python/plugins/processing/gui/BatchAlgorithmDialog.py
2016-10-05 12:38:29 +02:00
volaya
cdcc01e97c [processing] removed debug lines 2016-10-05 12:38:22 +02:00
volaya
c491c01266 [processing] changes to allow custom parameter dialog adapt to new parameter architecture 2016-10-05 12:38:21 +02:00