49 Commits

Author SHA1 Message Date
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
Marco Bernasocchi
2dea7c8c93 [processing] allow optional in all getAsScriptCode 2016-06-03 09:27:51 +02:00
Juergen E. Fischer
797826ea5b spelling fixes 2016-05-31 03:36:27 +02:00
Alexander Bruy
2f5c3a570a [processing] fix expressions handling in ParameterString (fix #14834)
Add initial set of tests for ParameterString
2016-05-23 14:28:10 +03:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Septen
f0be0457d5 Typo fixes. 2016-03-23 15:25:15 +03:00
Septen
736be486e7 Typo fixes. Stylystic fixes. 2016-03-23 05:43:59 +03:00
Septen
d5acc211c8 ParameterMultipleInput minor fixes. 2016-03-23 01:22:44 +03:00
Septen
4a046b7db1 Merge branch 'master' of git://github.com/qgis/QGIS 2016-03-22 23:51:59 +03:00
Septen
d312be9f18 (ref #12580).ParameterMultipleInput:allow to define min number of
inputs.
2016-03-22 02:35:03 +03: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
Alexander Bruy
58d40d16fa [processing] add ParameterPoint for selecting point on canvas (fix #5733) 2016-02-29 12:41:26 +02:00
Médéric RIBREUX
5d19a3b21b [Processing] Fix ParameterNumber float detection (with unit tests) 2016-02-09 20:07:32 +01:00
Juergen E. Fischer
34bc4ad788 fix ProcessingParametersTest test 2016-01-07 01:00:28 +01:00
volaya
946f4e4814 [processing] correctly parse default value for boolean parameters upon construction 2016-01-06 09:34:08 +01:00
rldhont
8798c42339 [Processing] Parameter default value is None 2015-12-24 15:14:02 +01:00
rldhont
7754f17a0b [Processing] Manage default value for parameter
To finalize commit 3472ac80d8bdd030090ce81cb686f3cfcbd913cd update processing to well manage default value
2015-12-24 15:14:02 +01:00
Juergen E. Fischer
9a89408b72 indentation update 2015-11-10 20:21:10 +00:00
volaya
5c1da4ebae [Processing] correctly parse value of boolean argument for parameters 2015-11-08 23:15:56 +01:00
volaya
227af8ac8e [processing] brought back 'export model as python' functionality 2015-11-06 14:02:11 +01:00
volaya
b3b33799d9 [processing] fixes for representing input values in history 2015-11-06 11:36:21 +01:00
volaya
8187ad50c9 [processing] some fixes for supporting optional parameters 2015-11-04 09:51:44 +01:00
rldhont
3472ac80d8 [Processing] Manage optional parameters
Can't set parameters to null (None or '') if the parameter is not optional
2015-11-04 09:51:34 +01:00
radosuav
5211423df5 [Processing] Fix setting of "multiline" setting for ParameterString 2015-09-22 15:35:26 +02:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
volaya
6ce2333f98 [processing] more improvements for storing db data in log
This allows reusing commands that use a db-based layer.

It disables parameter validity checks for layers. Those checks should now be performed at the algorithm level before executing (not yet implemented)
2015-06-23 09:07:50 +02:00
volaya
06d250ef89 [processing] more correct storing of DB data in log 2015-06-23 09:07:48 +02:00
arnaud.morvan@camptocamp.com
aba4fe0fe2 Fix processing ParameterTable.setValue 2015-05-22 17:35:23 +02:00
volaya
a58085bf4e [processing] allow selection parameters with option populated from data source 2015-05-21 09:05:26 +02: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
098aa681f0 Merge pull request #1852 from radosuav/changes
[Processing] Small fixes and additions
2015-01-26 08:38:19 +01:00
Juergen E. Fischer
cce2eb50cb indentation update 2015-01-22 20:56:02 +01:00
radosuav
b835f406fa [Processing] Allow user defined projections in Processing. 2015-01-22 14:38:47 +01:00
radosuav
82f043c28c [Processing] Add support for input rasters with sublayers. 2015-01-20 12:36:46 +01:00
Alexander Bruy
fc6ad27db8 [processing] load documentation from online QGIS User Guide 2014-12-07 12:52:30 +02:00
Alexander Bruy
3c0a9ed7d0 [processing] fix help file generator 2014-11-26 15:10:49 +02:00
Alexander Bruy
05830c2c1d [processing] handle ints and floats in range parameter panel 2014-11-17 20:03:31 +02:00
volaya
d1f84fd11a [processing] fixed wrong import in parameters classç
Fixes #11393
2014-10-12 19:11:31 +02:00
Alexander Bruy
bd13693ae3 [processing] make bunch of strings translatable (sorry translators) 2014-10-04 11:36:39 +03:00
Alexander Bruy
f935316882 [processing] add full i18n support (still needs some work to mark all
strings as translatable)
2014-10-04 11:36:38 +03:00
volaya
3fdf12b947 [processing] fixed parameter definition parsing for parameters of type integer 2014-08-22 12:29:05 +02:00
Alexander Bruy
03d6425038 follow up 4fb28987ba 2014-08-06 14:59:35 +03:00
Alexander Bruy
4fb28987ba [processing] convert strings to numbers when initializing parameters
from description file (fix #11011)
2014-08-06 14:26:27 +03:00
Alexander Bruy
2d835fbae0 [processing] replace str() with unicode() to avoid possible issues with
non-ASCII characters (work in progress)
2014-08-01 08:29:55 +03:00
volaya
8e60f49f9e [processing] fixed issues when loading parameters 2014-07-23 01:19: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