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
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
rldhont
e765bb6dd1
[Processing] Fix when iface is None
2016-04-20 14:52:46 +02:00
Alexander Bruy
abda90fe0d
[processing] filter items in toolbox using translated and original names ( fix #13764 )
2016-04-11 15:57:22 +03:00
volaya
297f4669fd
[processing] added preconfigured algorithms
2016-04-07 12:03:39 +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
Juergen E. Fischer
c6d921729e
python fixes:
...
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
python/console/console_sci.py:547 QsciScintillaCompat?
python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Juergen E. Fischer
fb3fcfa3a0
Python3/Qt5/2to3 updates:
...
* pyqtwrappers update (add QtNetwork, QtXml, QtSql, QtTest, uic)
* 2to3 updates
* move QPyNullVariant/NULL to PyQt.QtCore
* add global unicode/basestring/long for Python3
* expand QtGui, QtCore module and star exports
* Qscintilla2
* replace Set import with set builtin
2016-03-14 20:38:20 +01:00
volaya
b3b41015a1
Merge pull request #2804 from Gustry/processing-error
...
[Bugfix] [Processing] Catch some python errors in batch mode
2016-03-03 13:15:30 +01:00
Alexander Bruy
317639f1e0
[processing] allow to use ParameterPoint in Graphical Modeler
2016-02-29 12:41:27 +02:00
Alexander Bruy
30a738f981
[processing] improve handling of the obsolete models ( fix #14306 )
2016-02-18 15:55:01 +02:00
Etienne Trimaille
3039f13ea9
improve error message in the modeler
2016-02-17 19:44:05 +01:00
Alexander Bruy
1ffccf05c9
[processing] fix Modeler Calculator (ref #14305 )
2016-02-16 20:59:50 +02:00
Matthias Kuhn
b956886e81
[processing] Initialize icons before first usage
2016-02-04 13:35:16 +01:00
Nyall Dawson
cbe8cb7282
Formatting update, using newer autopep8 version
2016-01-30 09:33:24 +11:00
Alexander Bruy
1858cc719c
Revert "[processing] also make Modeler non-blocking when opened from context menus (follow up 51ec2bfba6)"
...
This reverts commit 602437aa0676a7ad4ce21bc32b62c2b107474bff.
Having modeler as non-blocking window it risky as changes in the
algorithms will not be reflected in it.
2016-01-27 14:01:37 +02:00
Alexander Bruy
602437aa06
[processing] also make Modeler non-blocking when opened from context menus (follow up 51ec2bfba6)
2016-01-27 09:52:32 +02:00
Salvatore Larosa
8346601174
[processing] remove unused code: followup e7e8451
2016-01-23 15:03:34 +01:00
volaya
f762380835
[processing] more checks before running model
2016-01-19 12:34:59 +01:00
volaya
a549ded47b
[processing] prevent circular dependencies in models
...
fixes #99090
2016-01-19 09:39:57 +01:00
volaya
2b3cf83991
[processing] correctly handle default params in modeler
2016-01-18 15:02:11 +01:00
volaya
931ca4d6d6
[processing] indentation fixes
2016-01-08 12:52:19 +01:00
Alexander Bruy
4137437f2c
PEP8 fixes
2016-01-08 10:32:43 +02:00
volaya
62302377db
[processing] UI/UX improvements
...
Related to QEP #19
Some algorithm description provided by Frank Sokolic
2016-01-08 08:27:22 +01:00
Matthias Kuhn
80de178d9e
Indentation fix
2015-12-20 10:12:18 +01:00
Matthias Kuhn
4f2da483ac
Indentation update
2015-12-15 16:24:12 +01:00
volaya
95b92c7960
[processing] correctly export multiline strings as python parameters from modeler
...
fixes #13830
2015-12-15 14:57:29 +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
Juergen E. Fischer
9a89408b72
indentation update
2015-11-10 20:21:10 +00:00
volaya
227af8ac8e
[processing] brought back 'export model as python' functionality
2015-11-06 14:02:11 +01:00
volaya
8187ad50c9
[processing] some fixes for supporting optional parameters
2015-11-04 09:51:44 +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
volaya
c87646a9a7
[processing] fixed modeler calcualtor when opening dialog for the first time
...
fixes #13587
2015-10-13 19:59:17 +02:00
volaya
09f87c952a
[processing] remember params/outputs collapsed stated when editing alg in modeler
...
fixes #13499
2015-10-06 16:06:37 +02:00
volaya
56af1068db
[processing] recover previous value of formula in modeler calculator
...
#fixes 11539
2015-09-30 10:11:46 +02:00
volaya
1d67ce7ca7
[processing] fixed ordering of outputs in models
...
fixes #13217
2015-09-30 09:44:28 +02:00
volaya
8ed71fbd38
[processing] corrected some issues with i18n names
2015-09-21 07:45:17 +02:00
radosuav
2a260edba8
[processing] [ fixes #13034 ] Fix exception when editing model
2015-09-14 21:11:24 +02: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
23ea045d49
indentation update
2015-09-12 15:25:56 +02:00
Salvatore Larosa
f3c7d853fd
[processing] save modeler dialog/splitter geometry to settings
2015-09-10 18:08:00 +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
Juergen E. Fischer
66a3d02240
integrate processing into update_ts.sh (also includes all translations
...
in the repository and none outside of it).
2015-07-26 04:28:37 +02:00
arnaud.morvan@camptocamp.com
c7b384135e
Processing translation tool for names and groups
2015-07-17 15:15:53 +02:00
volaya
b80a1bcac5
[processing] fixed handling of folders and files in settings
...
fixes #12511
2015-06-26 12:00:02 +02:00
volaya
78359ec510
[processing] use default value in selection parameters in modeler
...
fixes #12766
2015-06-22 16:51:58 +02:00
volaya
b6975d6121
[processing] fixed add model from file
...
fixes #12902
2015-06-22 10:12:02 +02:00