7369 Commits

Author SHA1 Message Date
arnaud.morvan@camptocamp.com
a38c13d523 Create FieldMappingWrapper 2016-10-05 12:38:40 +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
e6f9499716 [processing] improvements for modeler UI
Do not show help tab if there is no help

add "optional" tag for optional parameters
2016-10-05 12:38:37 +02:00
volaya
a968fa3dea [processing] use original filename when possible when exporting vector layer
Conflicts:
	python/plugins/processing/tools/dataobjects.py
2016-10-05 12:38:35 +02:00
volaya
c65cc92009 [processing] improved widgets for raster and vector layers in modeler 2016-10-05 12:38:34 +02:00
volaya
c8f35fb4ce [processing] fixed typo in modeler/ModelerParameterDefinitionDialog.py 2016-10-05 12:38:33 +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
ccdf372250 [processing] UI improvement for defining model parameters 2016-10-05 12:38:27 +02:00
volaya
53d0372cad [processing] return copy of object dictionary in parameter todict method 2016-10-05 12:38:26 +02:00
volaya
d07aef9c5b [processing] added missing return statement in getParameterFromString 2016-10-05 12:38:25 +02:00
volaya
257faf3083 [processing] fixed evaluation of output values 2016-10-05 12:38:24 +02:00
volaya
0ea66299c8 [processing] fixed error in constructor of ParameterTableField 2016-10-05 12:38:23 +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
volaya
dfb4cdd34b [processing] moved output value evaluation to output object itself 2016-10-05 12:38:20 +02:00
volaya
2bb6e4c19f [processing] Asumme standard dialog when wrapper’s parent dialog is of unknown class 2016-10-05 12:38:19 +02:00
volaya
a4a74b631a [processing] removed commented lines 2016-10-05 12:38:17 +02:00
volaya
bd06316c9d [processing] richer expressions in number parameters 2016-10-05 12:38:16 +02:00
volaya
96406e52cd [processing] removed message dialog when saving model. Using message bar instead 2016-10-05 12:38:15 +02:00
volaya
e1072e9718 [processing] added missing validators for param values in modeler 2016-10-05 12:38:14 +02:00
volaya
4751b70675 [processing] fixed advanced parameters in modeler 2016-10-05 12:38:13 +02:00
volaya
a1642a376f [processing] fixed loading of parameters for grass algorithms 2016-10-05 12:38:12 +02:00
volaya
e08fdaa444 [processing] support for expressions in numerical values in modeler
includes cleanup of modeler, to adapt to latest changes in parameters architecture
2016-10-05 12:38:11 +02:00
volaya
fe5d0166cc [processing] added multiple option to ParameterTableFIeld
removed ParameterTableMultipleField and did some cleanup
2016-10-05 12:38:09 +02:00
volaya
bc06600871 [processing] more work on parameter wrappers 2016-10-05 12:35:03 +02:00
volaya
e353d226a8 [processing] evaluate parameters before executing algorithm
This allows a better use of expressions
2016-10-05 12:35:02 +02:00
volaya
01f380863f [processing] improvements for scripts and R scripts 2016-10-05 12:35:01 +02:00
volaya
efd73a491f [processing] fixes for new parameters architecture
includes better managing of crd and extent parameters in models, not requiring now the use of modeler-only lags
2016-10-05 12:35:00 +02:00
volaya
b298c76ee4 [processing] implemented parameter widget wrappers
Conflicts:
	python/plugins/processing/core/GeoAlgorithm.py
	python/plugins/processing/gui/ExtentSelectionPanel.py
	python/plugins/processing/modeler/ModelerParametersDialog.py
2016-10-05 12:34:58 +02:00
volaya
8cc9a50a52 [processing] moved script syntax from script algorithm class to parameters classes 2016-10-05 12:34:57 +02:00
arnaud.morvan@camptocamp.com
a69b358aa7 Create dedicated widget wrapper for modeler 2016-10-05 12:34:56 +02:00
arnaud.morvan@camptocamp.com
6158e9b340 Add CrsWidgetWrapper 2016-10-05 12:34:55 +02:00
arnaud.morvan@camptocamp.com
bb0938a5fe Use boolean wrapper in modeler algorithm dialog 2016-10-05 12:34:54 +02:00
arnaud.morvan@camptocamp.com
fbab369c0d Use boolean wrapper in batch algorithm dialog
Conflicts:
	python/plugins/processing/gui/BatchPanel.py
2016-10-05 12:34:53 +02:00
arnaud.morvan@camptocamp.com
f3c9aaaa2b Use boolean wrapper in standard algorithm dialog
Conflicts:
	python/plugins/processing/gui/AlgorithmDialog.py
2016-10-05 12:34:52 +02:00
arnaud.morvan@camptocamp.com
728be70c0b Create the boolean widget wrapper 2016-10-05 12:34:50 +02:00
arnaud.morvan@camptocamp.com
ecb7b3a096 Remove metadata from parameter.todict (do not save in model) 2016-10-05 12:34:49 +02:00
arnaud.morvan@camptocamp.com
2ad27b172e Add metadata property to parameters 2016-10-05 12:34:48 +02:00
volaya
484fd18ef6 [processing] fixed add model from file
fixes #15335
2016-10-05 12:34:47 +02:00
Sandro Santilli
0348dd5ce7 Force use of estimated metadata upon loading topologies 2016-10-05 12:17:57 +02:00
Nyall Dawson
bc32b1fe5a Fix crash when validating geometry (fix #15660)
Also fix python bindings for QgsGeometryValidator
2016-10-05 13:17:55 +10:00
Nyall Dawson
ddbd25d046 Correctly emit panelAccepted when panel is not in dock mode
Fixes #15373 - refine current rule not working when symbol widgets
are not used in the style dock

This fixes a behavioural difference when new panels are opened
in a QgsPanelWidget when in docked/undocked mode. When in
docked mode, the newly opened panel will emit panelAccepted
when it is accepted. But for undocked mode, the parent
panel was emitting the panelAccepted signal and so the
connection to update the renderer was never
triggered. Now both docked/undocked panels will always
emit panelAccepted ONLY from the newly opened panel itself.

This also fixes memory leaks as the clean up code was never
run in undocked mode.

I've updated the docs to clarify this behaviour.
2016-10-05 12:59:59 +10:00
Alexander Bruy
cc62c52269 [processing] add icon caching for other providers 2016-10-04 19:53:21 +03:00
Alexander Bruy
d03d2069b9 [processing] correct GRASS 7 detection on Mac (fix #15645)
follow up e1ff6e896a
2016-10-04 17:08:18 +03:00
Matthias Kuhn
7332dda0d8 Remove visitor pattern from QgsExpression (#3569)
It is not in use anywhere and can easily be reintroduced if there is a use case
where it is an appropriate fit.

Fix https://github.com/qgis/qgis3.0_api/issues/64
2016-10-04 10:46:56 +02:00
Mathieu Pellerin
62c8510089 [qt5] setConfirmOverwrite is gone, use setOption (#3567) 2016-10-04 10:45:10 +02:00