Nyall Dawson
c8abd40250
[processing] Fix gdal algorithm use of old wrapper API
2018-09-11 15:40:27 +10:00
Luigi Pirelli
e611756f09
fix error because constant is not iterable
2018-09-07 20:40:35 +10:00
Luigi Pirelli
95a4c00584
fix reference to widget as instance attribute not through a method
2018-09-07 20:40:35 +10:00
Luigi Pirelli
580ecafa32
Merge pull request #7396 from luipir/rastercalculator_model_fix
...
[processing] Rebirth RasterCalculator in Modeler. Fixes #19302
2018-09-04 18:13:04 +02:00
Nyall Dawson
644ef6a752
[processing] Initial work on porting base GUI classes to c++
...
- Add abstract base class for Processing widget wrappers to c++
- Add wrapper factory interface to c++
- Make QgsProcessingGuiRegistry also register widget wrapper
factories, and be responsible for creation of new c++
processing widget wrapper instances
- Start on private c++ implementation of boolean widget wrapper,
including unit tests
2018-09-04 19:06:07 +10:00
Luigi Pirelli
5ebe5d6c5b
show variableDescription as shown in the list of variables
2018-08-28 17:06:08 +02:00
Nyall Dawson
6c014b46ba
[processing] Use c++ recent algorithm log, remove python log
...
Indirectly fixes #19218
2018-07-05 02:37:03 +10:00
nirvn
7cb80a2308
Rename mActionDraw.svg to more appropriate mActionRefresh.svg
...
(in doing so, rename current mActionRefresh.svg to mActionReload.svg)
2018-07-02 12:51:44 +07:00
Nyall Dawson
6e7c07bc86
Mark regex
2018-06-22 13:37:58 +10:00
Nyall Dawson
c0d9528090
Silence python warnings from 3rd party libraries on startup
2018-05-22 06:02:55 +10:00
Blottiere Paul
599799d264
Remove unused import
2018-05-18 08:29:33 +01:00
Blottiere Paul
e74e836017
Use parameter's name instead of description to save sql query
2018-05-18 07:05:56 +01:00
gacarrillor
387e724b0f
[processing] Refactor Fields algorithm: avoid unnecessary confirmation dialogs
2018-04-30 11:14:36 -05:00
Blottiere Paul
aef2b6e3e7
Update ExecuteSQL to be configurable with expressions
2018-04-26 09:47:40 +01:00
nirvn
7d787980f5
followup a463858: fix interpol. data widget setValue function
2018-04-20 10:13:35 +07:00
nirvn
a463858bf3
[processing] restore TIN / IDW interpolation algorithms
2018-04-19 17:19:07 +07:00
nirvn
7d43e7b876
fix interpolation data widget
2018-04-19 17:19:07 +07:00
Nyall Dawson
ccccad54c0
[processing] Fix exception in processing.run when feedback
...
object is not specified
2018-04-09 09:18:04 +10:00
Nyall Dawson
ff6ea33686
[processing] Fix broken Aggregate algorithm
...
Fixes #18349
2018-03-20 08:06:38 +11:00
Nyall Dawson
654a4a4af6
[processing] Fix algorithm progress bar resets to 0 when an algorithm
...
reports a non-fatal error
Fixes the "flashy" progress bar when an algorithm encounters a lot
of errors.
2018-03-15 13:43:01 +11:00
Matthias Kuhn
592c9b24b9
Expose fields mapping parameter to modeler
2018-03-01 08:13:08 -05:00
Juergen E. Fischer
2c53630747
add missing copyright headers
2018-02-18 20:53:40 +01:00
Denis Rouzaud
3dc3d9d1b2
unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
...
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Alexander Bruy
eb7a187a88
[processing] add missed imports ( fix #17843 )
2018-01-15 20:13:38 +02:00
Alexander Bruy
7cad24d82f
[processing] improve layout of the raster calculator dialog
2018-01-15 19:25:08 +02:00
Alexander Bruy
490aad112f
[processing] quote layer names in raster calculator ( fix #17847 )
2018-01-15 19:25:08 +02:00
volaya
418d58752f
[processing] added missing method to custom field calculator dialog
...
A much better way of doing this would be to have the dialog extend qgsprocessingalgorithmdialogbase, or to take an approach like the one used in the raster calculator, with wrapper widgets.
This is just a patch, since that option might require a larger amount of work.
2018-01-15 14:56:36 +01:00
Matthias Kuhn
b619dcb00a
Refactor fields configuration in the modeler does not insist on layer
...
Inside the modeler, there is not enough knowledge about the layer on
which the refactor fields algorithm will run.
Let's be graceful with error messages here therefore.
2017-12-14 09:04:07 +01:00
Matthias Kuhn
e9d4c06cb2
Make string translatable
2017-12-14 09:04:07 +01:00
Alexander Bruy
3d4a59bb8b
[processing] cleanup files from unused code and remove some files
2017-11-28 12:27:45 +02:00
Alexander Bruy
0059b2b692
[processing] remove Python 2 compatibility layer
2017-11-28 12:27:45 +02:00
Mathieu Pellerin
97f749e6b4
[processing] fix error when adding refactor fields alg in empty model
...
(fixes #17421 )
2017-11-24 18:04:50 +07:00
Alexander Bruy
ee8ef42c42
[processing] boolean fieds support in the Refactor Fields algorithm ( fix #17168 )
2017-11-16 12:46:00 +02:00
Nyall Dawson
e91ee5b71c
More flexible API for interpolation
...
E.g. adds API support for interpolating by m value
2017-11-03 09:18:45 +10:00
Nyall Dawson
73306f1266
Update python code
2017-11-03 07:47:40 +10:00
Nyall Dawson
247d2657ca
Fix invalid regular expression warnings
2017-09-01 09:00:57 +10:00
Nyall Dawson
6144b1c5d9
Resurrect Field Calculator algorithm, add test
2017-08-20 18:21:02 +10:00
arnaud.morvan@camptocamp.com
4b5d81b370
[processing] Add Aggregate algorithm
2017-08-16 10:46:15 +02:00
arnaud.morvan@camptocamp.com
b26e6812d4
[processing] Check all parameter's values in ModelerParametersDialog
...
Check that all parameter's values pass the validity check,
even if not returned as QgsProcessingModelChildParameterSource.
In case of list, tests that it is really a QgsProcessingModelChildParameterSource list,
and create a QgsProcessingModelChildParameterSource from the list if it is not the case
(useful for custom parameters that return lists as ParameterFieldsMapping).
2017-08-14 13:48:50 +02:00
arnaud.morvan@camptocamp.com
b3a9e46cfe
[processing] Port refactor fields to new API
2017-08-14 13:48:50 +02:00
Matthias Kuhn
3dc6daaffa
Fix typo
2017-07-31 09:35:28 +02:00
Matthias Kuhn
973d3515d1
Avoid endless wait cursors
2017-07-30 21:51:22 +02:00
Nyall Dawson
4fa69643fc
Fix heatmap widget wrapper, update to use source input
2017-07-13 20:52:16 +10:00
Nyall Dawson
63611b1d8f
Port script code functions to c++ classes
...
Restore logging executed algorithms
2017-06-12 15:59:56 +10:00
Nyall Dawson
bdf051a03a
Partially port a trial python alg to new API
2017-06-06 07:41:19 +10:00
Nyall Dawson
416770b197
Remove no longer required _resolveLayers method
2017-06-06 07:41:19 +10:00
Nyall Dawson
189f804714
Adapt more code to c++ API
2017-06-06 07:41:19 +10:00
Nyall Dawson
ef59d0c454
Port parameter checking to c++
2017-06-06 07:41:19 +10:00
Nyall Dawson
4cb7d18b1c
Push parameters into processAlgorithm and related functions
2017-06-06 07:41:19 +10:00
Salvatore Larosa
48ecee5643
[processing] fix duplicates fields name in field calculator algorithm when switching between layers (followup c2699b4)
2017-05-22 23:29:26 +02:00