63 Commits

Author SHA1 Message Date
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
4751b70675 [processing] fixed advanced parameters in modeler 2016-10-05 12:38:13 +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
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
arnaud.morvan@camptocamp.com
a69b358aa7 Create dedicated widget wrapper for modeler 2016-10-05 12:34:56 +02:00
arnaud.morvan@camptocamp.com
bb0938a5fe Use boolean wrapper in modeler algorithm dialog 2016-10-05 12:34:54 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
arnaud.morvan@camptocamp.com
b18cfc99e6 Fix on extent parameter in modeler parameters dialog 2016-09-04 16:33:43 +02:00
Alexander Bruy
65db336eaf [processing] move some constants to the dataobjects module 2016-09-02 09:28:45 +03:00
Alexander Bruy
80653c7aff [processing] adopt native algs to use output geomerty 2016-09-02 09:28:32 +03:00
Alexander Bruy
12d6e15fda [processing] support for output geometry types in scripts and modeler 2016-09-02 09:28:32 +03:00
Alexander Bruy
7e26124c2b [processing] support for output geometry types (work in progress) 2016-09-02 09:28:32 +03:00
Alexander Bruy
23c83b1e93 [processing] fix available inputs selection for multiple input 2016-08-08 13:53:55 +03:00
Alexander Bruy
4c39bd12e8 [processing] introduce OutputCrs output and add algorithms to get layer CRS in modeler 2016-08-05 12:55:26 +03:00
Alexander Bruy
40de15cc56 [processing] add missed CRS parameter to modeler (refs #11781) 2016-08-05 12:55:25 +03:00
Marco Bernasocchi
f9ab7223fc [processing] ParameterTableMultipleField type added
This adds a widget with multiple column attributes selector
2016-06-03 09:27:51 +02:00
Nyall Dawson
062aa9aee4 Indentation 2016-06-01 10:09:03 +10:00
volaya
5773d0d51b [processing] fixes and better warning messages in modeler 2016-05-31 12:36:29 +02:00
Alexander Bruy
cc7eb27a27 [processing] drop WebView dependency (follow up 38f6ace4c0) 2016-05-27 20:38:51 +03:00
Juergen E. Fischer
38f6ace4c0 make webkit optional 2016-05-27 08:41:58 +02:00
Alexander Bruy
d2b21891d4 [processing] correctly set default value in modeler algorithms (fix #12767) 2016-05-23 17:42:54 +03:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
rldhont
4a11a1a319 [Processing][Modeler] Use default value instead of None
In Modeler algorithm, when a algorithm's parameter was not defined it's value was set to None.
Before the possibility to defined optional parameters, None value is equal to set value to default one.
Now, it's important to use default value instead of None.
2016-04-27 10:13:56 +02:00
Septen
bf83f4ebd0 [processing]Fixed UI bug with invalid button width. 2016-03-27 23:02:45 +04:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Alexander Bruy
317639f1e0 [processing] allow to use ParameterPoint in Graphical Modeler 2016-02-29 12:41:27 +02:00
volaya
2b3cf83991 [processing] correctly handle default params in modeler 2016-01-18 15:02:11 +01:00
Matthias Kuhn
80de178d9e Indentation fix 2015-12-20 10:12:18 +01:00
radosuav
9096a64a6c [Processing] Use default value of boolean parameter in the modeler and fix typo in outputs.py 2015-12-15 10:57:02 +01:00
volaya
8187ad50c9 [processing] some fixes for supporting optional parameters 2015-11-04 09:51:44 +01:00
radosuav
9d87c65614 [processing] Don't remove algorithm dependencies when editing algorithm parameters in the modeler 2015-09-14 21:11:24 +02:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
Matthias Kuhn
9fc1b48bf3 Replace str() with unicode() and some PEP 8 2015-08-16 20:58:43 +02:00
volaya
78359ec510 [processing] use default value in selection parameters in modeler
fixes #12766
2015-06-22 16:51:58 +02:00
radosuav
d1985b3d34 [Processing] Improve the robustness of models when the parameters in the included algorithms change 2015-03-25 17:46:30 +01:00
arnaud.morvan@camptocamp.com
84936e59e7 Add ParameterGoemetryPredicate and use it in XxxByLocation algorithms 2015-02-06 15:00:18 +01:00
Juergen E. Fischer
956c155e8f fix python pep8 warnings and fix some revealed errors
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
     --exclude="ui_*.py,debian/*,python/ext-libs/*" \
     .
2015-02-01 20:46:47 +01:00
volaya
9e879ed9ee [processing] fixed handling of file parameters in modeler 2014-12-22 12:53:28 +01:00
volaya
c52b5ae891 [processing] fixed handling of parent algorihtms in modeler
Fixes #11750
2014-11-28 14:24:29 +01:00
volaya
810cb3fb99 [processing] fixed handling of tables in models
Fixes #11694
2014-11-21 07:22:39 +01:00
Alexander Bruy
24a3e227a5 [processing] update projection selector widget 2014-11-17 20:03:29 +02:00
Alexander Bruy
55181c634a [processing] fix handling of boolean parameters in modeller 2014-10-09 17:35:54 +03:00
volaya
11e3044e3c [processing] fixed #11327 2014-10-06 07:35:25 +02:00
volaya
c2e30b3c03 [processing]removed debug print lines 2014-10-06 07:35:22 +02:00
Alexander Bruy
bd13693ae3 [processing] make bunch of strings translatable (sorry translators) 2014-10-04 11:36:39 +03:00
Alexander Bruy
ace704a424 [processing] use checkbox for boolean parameters 2014-09-24 12:11:33 +03:00
volaya
8a2f1505d5 [processing] renamed Input and Output classes in modeler, to avoid confusion 2014-08-14 10:58:53 +02:00
volaya
6486594f57 [Processing] Refactoring of parameters and outputs
It also adds some changes in the core and tools package, to provide a cleaner structure
2014-07-14 14:47:05 +02:00