18 Commits

Author SHA1 Message Date
volaya
227af8ac8e [processing] brought back 'export model as python' functionality 2015-11-06 14:02:11 +01:00
rldhont
55e75addce [Processing] Optional parameters for script and model
In processing core every parameters can be optional but in scripts there is no way to define a parameter as optional and in modeler only layers can be optional.

For script, I propose a notation like output, if a parameter token starts with optional the parameter is optional.

For model, I propose to add the required combobox to all parameters.

This proposition does not change the value setter.

This proposition can fix the issue http://hub.qgis.org/issues/5488.
2015-11-04 09:51:33 +01: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
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
Tim Sutton
afc60e1828 Papercut fix for inconsistent spelling of Raster Layer vs Vector layer 2014-10-20 00:21:56 +02:00
volaya
18e9fba08b [processing] remember min/max value in number params in modeler 2014-10-19 21:34:21 +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
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
Etienne Trimaille
5476d86f60 change str to unicode fix #10624 2014-07-03 14:02:54 +02:00
Victor Olaya
05cfd69d13 [processing] overhaul of graphical modeler 2014-06-28 14:54:17 +02:00
Alexander Bruy
498a5d9ab8 [processing] code formatting, make sources more pep8 compliant 2013-10-02 16:24:10 +03:00
Victor Olaya
4987f4ab4e Revert "[processing]fixed bug with wrong characters in output filenames" (caused circular import)
This reverts commit ff5e1ee3a8745ae44db85b1a9511a5f81f6a85fd.
2013-09-14 14:34:49 +02:00
Victor Olaya
ff5e1ee3a8 [processing]fixed bug with wrong characters in output filenames
refactored to reuse string cleaning function
2013-09-14 13:26:46 +02:00
Alexander Bruy
bbab72a2a0 [sextante] more import fixes 2013-08-20 11:04:32 +03:00
Alexander Bruy
49e8003412 [sextante] fix imports 2013-08-20 11:00:26 +03:00
Victor Olaya
9bb3d6eb6b renamed "sextante" to "processing" 2013-08-20 09:22:03 +02:00