31 Commits

Author SHA1 Message Date
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
e353d226a8 [processing] evaluate parameters before executing algorithm
This allows a better use of expressions
2016-10-05 12:35:02 +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
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Matthias Kuhn
bb79d13e82 Remove deprecated Qgis::WKBType and API cleanup (#3325)
* Remove deprecated Qgis::WKBType and API cleanup

Renames QgsWKBTypes to QgsWkbTypes

Replaces usage of the enums:

* Qgis::WKBType with QgsWkbTypes::Type
* Qgis::GeometryType with QgsWkbTypes::GeometryType

Their values should be forward compatible (a fact that was already
explited up to now by casting between the types)

Renames some SSLxxx to SslXxx and URIxxx to UriXxx

* Fix build warnings and simplify type handling

* Add a fixer to rewrite imports

* The forgotten rebase conflictThe forgotten rebase conflicts

* QgsDataSourcURI > QgsDataSourceUri

* QgsWKBTypes > QgsWkbTypes

* Qgis.WKBGeom > QgsWkbTypes.Geom

* Further python fixes

* Guess what... Qgis::wkbDimensions != QgsWkbTypes::wkbDimensions

* Fix tests

* Python 3 updates

* [travis] pull request caching cannot be disabled

so at least use it in r/w mode

* Fix python3 print in plugins
2016-08-04 09:10:08 +02:00
Alexander Bruy
ab3fef97aa fix import (take 2) 2016-05-13 13:17:48 +03:00
Alexander Bruy
7c122a3a93 [processing] fix import 2016-05-13 11:11:33 +03:00
Alexander Bruy
0c8f6f7fbb fix indentation and typo 2016-05-13 09:32:13 +03:00
Alexander Bruy
730c5806aa Merge branch 'processing_exps' of https://github.com/volaya/QGIS into processing_exps
Conflicts:
	python/plugins/processing/gui/NumberInputPanel.py
	python/plugins/processing/gui/OutputSelectionPanel.py
2016-05-13 09:26:55 +03:00
Matthias Kuhn
abfd7740bd Fix qgis.PyQt compatibility imports 2016-04-29 14:10:41 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
volaya
2535c0a9c1 [processing] better expression context building 2016-04-26 08:33:57 +02:00
volaya
7805c64208 [processing] added variables to scope when inputing value of a ParameterNumber 2016-04-25 14:21:15 +02:00
volaya
ac0bff32bf [processing] added support for expressions in some input params and outputs 2016-04-25 14:21:13 +02:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Alexander Bruy
908a380241 [processing] fix deprecation warnings 2016-01-20 16:39:13 +02:00
volaya
b2a12735c5 [processing] fixed update of console call in GdalAlgorithmDialog
fixes #14129
2016-01-19 09:03:23 +01:00
rldhont
cc2fb2efda [Processing] Update gui 2015-12-24 15:14:02 +01:00
Nyall Dawson
53aa583da0 [processing] Use QgsDoubleSpinBox instead of QSpinBox
Allows for simple calculations in spin box, adds a reset control
to reset widget to default value
2015-11-18 16:27:04 +11:00
Nyall Dawson
86231d79fa [processing] Guess sensible step sizes for float spin boxes 2015-11-18 16:26:55 +11:00
Nyall Dawson
ffd9707516 [processing] Fix maximum/minimum not respected for float spinboxes 2015-11-18 16:26:48 +11:00
radosuav
0dfb1561c6 [Processing] Fix limits in NumberInputPanel when the limiting value is 0 2015-07-17 14:47:04 +02:00
Alexander Bruy
d8e1cf30af [processing] load UI files dynamically 2015-05-19 15:30:26 +03: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
Alexander Bruy
95650c43a5 [processing] rename number selector to keep consistency 2014-11-17 20:03:31 +02:00
Alexander Bruy
1507f0db88 [processing] add new output type - directory 2014-05-16 15:45:21 +03:00
Alexander Bruy
231f4e8444 [processing] homogenize widgets used for ParameterNumber (fix 8807) 2013-10-12 11:51:46 +03:00
Alexander Bruy
498a5d9ab8 [processing] code formatting, make sources more pep8 compliant 2013-10-02 16:24:10 +03:00
Alexander Bruy
3833ddf876 [processing] if min and max values not set use redefined ones 2013-09-22 16:27:22 +03:00
Alexander Bruy
05a94811ca [processing] consider min and max values for int values 2013-09-22 14:48:21 +03:00
Victor Olaya
9bb3d6eb6b renamed "sextante" to "processing" 2013-08-20 09:22:03 +02:00