570 Commits

Author SHA1 Message Date
Nyall Dawson
5312965e61 Rename projection selection widgets and cleanup API
The current names for QgsProjectionSelector and
QgsGenericProjectionSelector are confusing
2017-02-28 09:45:31 +10:00
Bernhard Ströbl
115ede60ce [processing] replace alg Eliminate with new alg EliminateSelection
* [processing] replace alg Eliminate with new alg EliminateSelection

* Deprecate Eliminate algorithm

* Expose new EliminateSelection algorithm in GUI

* Rename ouput layer

* Reflect algorithm changes in help

* Remove superfluous init method

* Simplify code, thanks Nyall

* Improve transfer of selection to processLayer

* Remove deprecated Eliminate algorithm

* Remove test for Eliminate

* Fix indentation
2017-02-23 09:33:28 +01:00
Alexander Bruy
f66b0baf16 Merge pull request #4144 from alexbruy/processing-results-viewer
[processing] convert results viewer to dock
2017-02-17 09:10:55 +02:00
Alexander Bruy
441f6e6e6e Merge pull request #4120 from arnaud-morvan/processing_fix_boolean_wrapper
[processing] fix boolean widget wrapper in batch dialog
2017-02-16 14:45:25 +02:00
Alexander Bruy
e77ccba1ae remove old code 2017-02-16 13:16:20 +02:00
Alexander Bruy
5fa0713747 [processing] convert results viewer to dock 2017-02-16 13:16:12 +02:00
volaya
cdb35d6288 Merge pull request #4119 from arnaud-morvan/processing_postgis_wrappers
[processing] Add PostGIS widget wrappers
2017-02-16 11:12:30 +01:00
Nyall Dawson
3ecafb3472 [processing] Allow extent parameters to avoid matching layer CRS check 2017-02-14 05:49:23 +10:00
Alexander Bruy
cc1adc528e [processing] handle case when default CRS is None and parameter is not optional 2017-02-10 17:39:45 +02:00
arnaud.morvan@camptocamp.com
f07154b613 [processing] Remove obsolete GeometryPredicateWidgetWrapper 2017-02-10 11:16:38 +01:00
arnaud.morvan@camptocamp.com
337d1889b8 [processing] Use ExpressionWidgetWrapperMixin in StringWidgetWrapper 2017-02-10 11:14:34 +01:00
arnaud.morvan@camptocamp.com
c768edf9d1 [processing] Add postgis widget wrappers 2017-02-10 11:01:41 +01:00
arnaud.morvan@camptocamp.com
dda667023a [processing] Add class ExpressionEnabledWidgetWrapper 2017-02-09 17:04:58 +01:00
arnaud.morvan@camptocamp.com
482aadc495 [processing] Add possibility to pass additionnal parameters to widget wrapper 2017-02-09 16:12:16 +01:00
Alexander Bruy
71f1d28b6e Merge pull request #4121 from arnaud-morvan/processing_fix_modeler_open_file
[processing] fix modeler and batch file dialog
2017-02-09 12:25:35 +02:00
arnaud.morvan@camptocamp.com
3a12f2a0b6 Fix Boolean widget wrapper in batch dialog 2017-02-09 11:14:05 +01:00
arnaud.morvan@camptocamp.com
c43b04ffff Fix modeler and batch file dialog 2017-02-09 11:05:09 +01:00
Juergen E. Fischer
d55ab85633 processing: fix escaping 2017-02-09 09:40:13 +01:00
Alexander Bruy
bb4c8c065f [processing] fix R syntax highlighting (fix #16082) 2017-02-07 16:47:24 +02:00
Juergen E. Fischer
a61b9222de Qt 5.2 has QComboBox::currentData 2017-01-25 03:28:53 +01:00
Juergen E. Fischer
d8ed8f4355 fix processing MessageBarProgress initialization 2017-01-25 01:32:39 +01:00
Denis Rouzaud
0a63d1f2c2 [spellcheck] properly look into various cases and add more fixes" 2017-01-16 16:39:20 +01:00
Alexander Bruy
75a7637838 [processing] fix typo in method name 2017-01-12 12:54:13 +02:00
Nyall Dawson
86e1138a04 [processing] Correctly handle when no feedback object is passed 2017-01-11 11:11:11 +10:00
Nyall Dawson
ede452be85 [processing] Port feedback object to c++
Algorithms are now passed a QgsProcessingFeedback object
instead of the loosely defined progress parameter.
2017-01-11 11:11:10 +10:00
Nyall Dawson
04eb293362 [processing] Move some SVG icons out of plugin to themes
...and swap to using QgsApplication methods for retrieving cached icons,
implement svgIconPath for providers with SVG icons
2017-01-11 10:55:16 +10:00
Nyall Dawson
dca697b427 [processing] New c++ QgsProcessingRegistry class
Intended as a registry for the various processing components,
including providers, algorithms and various parameters and outputs.

Currently handles only registration of providers, as a step toward
removing processing's algList (this requires first porting
the algorithm class to c++)

A QgsProcessingRegistry instance is attached to QgsApplication,
and is retrieved by QgsApplication::processingRegistry()
2017-01-11 10:55:15 +10:00
Nyall Dawson
bb24dfe245 [processing] c++ base class for providers
Nothing particularly exciting here yet, but this commit
moves the definition of the provider base class to a c++
QgsProcessingProvider abstract base class.

As part of this some existing python methods were renamed
to make their use clearer and to fit with the QGIS c++
api conventions:

- getName was renamed to id
- getDescription was renamed to name
- getIcon was renamed to icon

These API breaks are documented
2017-01-11 10:55:15 +10:00
Denis Rouzaud
37ebcdd1cd [spellcheck] allow inwords checks and line skipping
spell check will be done automatically in words by default (when some conditions are fulfilled)
possibility to avoid in words checking by adding :* at the end in spelling.dat

one can add #spellok at the end of a line of code to skip spell check on this line
2017-01-10 20:18:37 +01:00
Alexander Bruy
3a03c98a08 [processing] configurable URL for scripts and models repository 2017-01-10 14:17:25 +02:00
Juergen E. Fischer
378212cf42 indentation update 2017-01-10 09:05:42 +01:00
Nyall Dawson
0f42ea781a [processing] Don't use separate label for checkbox parameters
Instead embed description as checkbox label.
2017-01-09 16:52:46 +10:00
Alexander Bruy
12ab928e4b Merge pull request #3918 from alexbruy/processing-providers
Processing providers updates
2017-01-05 11:02:19 +02:00
nirvn
3dcf487485 [processing] fix app freeze when closing options dialog (fixes #15550) 2017-01-03 14:03:19 +07:00
Alexander Bruy
c5835e9adc [processing] fix test and menus after renaming GdalOgr provider 2016-12-31 09:09:07 +02:00
nirvn
00ee2ad989 [processing] vectorize and improve menu icons (fixes #14474) 2016-12-31 11:59:46 +07:00
Alexander Bruy
f40e914b76 [FEATURE] replace GDALTools plugin with Processing
Tagged as feature to not forget mention in docs and changelog
2016-12-26 19:09:32 +02:00
Matthias Kuhn
d129f8a7ab Revert "[Processing] fix parameter to open the Retile algorithm"
This reverts commit 76b796b4916d4ee23dff1a50105cdf1a6635b388.
2016-12-20 13:44:30 +01:00
matteo
76b796b491 [Processing] fix parameter to open the Retile algorithm 2016-12-20 13:06:37 +01:00
nirvn
c365439140 [processing] fix error in MultipleInputWidgetWrapper 2016-12-20 14:38:52 +07:00
Arnaud Morvan
17ac6acd4e Fix MultipleInputDialog with options not as (value, text) (#3882) 2016-12-16 22:32:04 +07:00
volaya
0035c97f5b Merge pull request #3725 from arnaud-morvan/processing_geometry_predicate
[processing] Remove parameter geometry predicate
2016-12-13 15:58:16 +01:00
Nyall Dawson
dc509f458f Fix bad import 2016-12-13 13:49:00 +10:00
volaya
4c31bc407e [processing] config dialog: only save menu configuration if needed
Conflicts:
	python/plugins/processing/gui/ConfigDialog.py
2016-12-12 15:25:07 +01:00
arnaud.morvan@camptocamp.com
322a565b8b [processing] Remove ParameterGeometryPredicate 2016-12-12 15:21:16 +01:00
arnaud.morvan@camptocamp.com
65a4e97a75 [processing] Support options as (value, text) in ParameterSelection 2016-12-12 15:12:55 +01:00
Martin Dobias
d56a97d4fe Merge QgsMapLayerRegistry into QgsProject
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
Nyall Dawson
51206590c9 [processing] Use newer basic stats algorithm in vector menu 2016-12-07 13:30:54 +10:00
Nyall Dawson
bef5b5ed68 [processing][heatmap] custom parameter/widget for output resolution
Matches current behaviour of c++ heatmap plugin
2016-12-07 12:23:58 +10:00
Alexander Bruy
2fea23f1e5 Merge pull request #3779 from volaya/rastercalculator
[processing] add native raster calculator
2016-12-05 20:03:23 +02:00