Juergen E. Fischer
a61b9222de
Qt 5.2 has QComboBox::currentData
2017-01-25 03:28:53 +01:00
Nyall Dawson
08505b388a
[processing] Allow restricting fields to date/time types
2016-11-30 15:04:21 +10:00
Nyall Dawson
3ef7b3b7eb
[processing] Use standard QGIS projection selection widget for CRS params
2016-11-13 20:34:35 +10:00
Nyall Dawson
5625d6e9b6
Expression parameters don't have to have parent layers
2016-11-11 13:26:31 +10:00
Nyall Dawson
132e76a596
[FEATURE][processing] New input type for expressions
...
This adds a new input type for expression inputs. Expression
inputs can be linked to a parent layer so that the builder
shows the correct fields and layer variables.
It's designed for two use cases:
1. to be used when an algorithm specifically requires an expression,
eg Select by Expression and Extract by Expression.
2. to be potentially used as a replacement input instead of string
or number literals in algorithms. Eg - if the simplify algorithm
tolerance parameter was replaced with an expression paremeter, then
this expression would be evaluated for every feature before
simplifying that feature. It would allow parameters to be calculated
per feature, as opposed to the current approach of calculating
a parameter once before running the algorithm. It would also
mean algorithms like "variable distance buffer" would no longer
be needed, as a single "buffer" algorithm could then be used
for either a fixed distance, field based, or expression based
distance.
2016-11-11 13:26:31 +10:00
Nyall Dawson
3caccd531d
[processing] Fix handling of multiple field input in modeller
2016-10-31 11:41:40 +10:00
Nyall Dawson
29ce141dc4
Merge pull request #3657 from nirvn/processing_modeler_mandatory
...
[processing] fix modeler parameter mandatory checkbox logic
2016-10-31 09:13:37 +10:00
Nyall Dawson
d5698be69f
Fix some processing breakage
2016-10-31 09:12:39 +10:00
nirvn
ddc44dfd89
[processing] fix modeler parameter mandatory checkbox logic
2016-10-22 12:01:30 +07:00
arnaud.morvan@camptocamp.com
4184934b9a
[processing] Apply 2to3 on changes
2016-10-05 12:39:01 +02:00
volaya
c8f35fb4ce
[processing] fixed typo in modeler/ModelerParameterDefinitionDialog.py
2016-10-05 12:38:33 +02:00
volaya
ccdf372250
[processing] UI improvement for defining model parameters
2016-10-05 12:38:27 +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
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Alexander Bruy
7e26124c2b
[processing] support for output geometry types (work in progress)
2016-09-02 09:28:32 +03:00
Alexander Bruy
3461c7e1a7
[processing] add missed multiple input parameter to modeler
2016-08-08 13:40:07 +03:00
Alexander Bruy
40de15cc56
[processing] add missed CRS parameter to modeler (refs #11781 )
2016-08-05 12:55:25 +03:00
Juergen E. Fischer
e451b9ad6f
indentation and spelling fixes
2016-07-08 12:59:38 +02:00
Nyall Dawson
fbc5e0fc8e
Fix indentation
2016-06-07 11:11:59 +10: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
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02: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
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