Nyall Dawson
191e362ed4
Move FieldMapper parameter type to c++
...
Fixes sip "forgeting" about Python overrides for the type definition
Refs #36706
2020-06-02 08:43:54 +10:00
Nyall Dawson
5cc0f0964b
Fix resetting fields in Refactor Fields algorithm dialog
2020-05-22 07:14:14 +10:00
Nyall Dawson
169ca650fe
[processing] Fix exception when changing layer in Refactor Fields algorithm
...
Fixes #36582
2020-05-22 07:14:14 +10:00
Nyall Dawson
b6a7a10703
Fix some more python formatting issues, remove more flake exceptions
2020-05-11 11:41:50 +10:00
Juergen E. Fischer
2e7bebcf20
add code_layout test to verify that UIs either have a non-default window title or are not marked for translation
2020-04-24 16:30:45 +02:00
Alessandro Pasotti
a21800cf3e
Adress PR review + model test + QgsExpression -> QString
2020-04-03 21:21:14 +10:00
Alessandro Pasotti
4a33c75bc9
Mapping panel: fix initial loading of source fields
2020-04-03 21:21:14 +10:00
Alessandro Pasotti
e1044d87f1
Use QgsFieldMappingWigdet in processing UI
2020-04-03 21:21:14 +10:00
Matthias Kuhn
342f1e3396
Merge pull request #31387 from gacarrillor/colour_refactor_fields
...
Show 'template layer' constraints info in the Refactor fields algorithm's UI
2020-03-18 07:10:06 +01:00
Nyall Dawson
fe4b2c89f9
Drop PostgisTableSelector
2020-03-16 19:42:02 +10:00
Nyall Dawson
edd0635fe3
[processing] Move responsiblity for creation of file filter strings from python to c++
2020-03-16 10:08:46 +10:00
gacarrillor
d016d46c49
Improve readability in refactor fields UI
2020-02-24 06:20:25 -05:00
gacarrillor
2007370f61
Ensure backwards compatibility with calls not passing 'constraints' key
...
e.g., processing.execAlgorithmDialog(..., 'FIELDS_MAPPING':[{'expression': 't_id', 'length': -1, 'name': 't_id', 'precision': 0, 'type': 4}], ...)
2020-02-22 23:31:55 -05:00
gacarrillor
016a813afe
Refactor fields UI: Add 'template' to label to link that layer to new column
2020-02-22 18:05:23 -05:00
gacarrillor
b05437c833
'Template properties' column for Refactor Fields algorithm
...
as a hint on template/target layer constraints.
A row of a template layer field with constraints is coloured and a tooltip shows the constraints in the corresponding 'Template properties' cell.
2020-02-22 17:21:13 -05:00
gacarrillor
09fc2c3406
Highlight NOT NULL target fields in the Refactor fields algorithm's UI:
...
+ By adding a new 'NOT NULL' column in the mapping widget, and
+ By adding an orange color (same as used in attribute form warnings) to the whole row.
New paragraph added to help panel to let users know why some rows are coloured.
2020-02-21 16:51:42 -05:00
Alessandro Pasotti
25edd83b0a
Processing raster calc: add missing btns and validate
...
Validate expression
2019-11-15 15:49:18 +01:00
matteo
cf634aa3aa
[processing] fix NDVI calculation
2019-05-28 15:40:47 +02:00
Bas Couwenberg
2628c480c5
Don't include revision in sources.
...
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
nirvn
9ce1093bce
[FEATURE][ogr] Add string list field type support
2019-04-10 08:06:12 +07:00
Nyall Dawson
ac651ee0d9
Followup 8d51a693, fix broken plugins
2019-03-27 07:20:43 +10:00
Denis Rouzaud
8d51a693a1
missing changes of QgsMapLayer::Type => QgsMapLayerType
2019-03-26 14:09:19 -05:00
Nyall Dawson
95930ed68c
[processing] Fix IDW parameter value creation
2019-03-15 08:38:01 +10:00
Nyall Dawson
c24f51ece8
[processing] Fix exception in IDW interpolation
...
Fixes #21578
2019-03-15 08:38:01 +10:00
Nyall Dawson
6021683c35
Capitalization
2019-02-20 05:39:04 +10:00
Nyall Dawson
346f33544c
[processing] Expose correct expression context in Refactor fields alg
2019-02-20 05:39:04 +10:00
volaya
eb47288fac
[processing] correctly set output styles for models
...
fixes #20573
2019-01-23 08:02:19 +01:00
Alexander Bruy
0c4c8feb70
Merge pull request #8945 from alexbruy/processing-fieldcalc
...
[processing] use active layer by default in field calculator algorithm (fix #19686 )
2019-01-22 15:25:20 +02:00
Alexander Bruy
95209d134c
[processing] use active layer by default in field calculator algorithm
...
(fix #19686 )
2019-01-22 11:04:49 +02:00
Alexander Bruy
17fd86e723
[processing] use complex delimiter for interpolation data to avoid
...
overlaps with charactes which can be used in the layers source URI (fix #20490 )
2019-01-22 10:15:07 +02:00
Alexander Bruy
5813b96159
add cell size option to IDW and TIN interpolation algorithms
2018-12-30 06:44:09 +02:00
Alexander Bruy
357cf270ff
add value changed signal for custom interpolation parameter wrapper
...
move duplicated code into common file
2018-12-30 06:44:09 +02:00
Alessandro Pasotti
1672d434ce
Raster calc: refresh layers list if a layer is renamed or added/removed
...
Fixes #20601 - bug: Raster calculator produces empty results layer and no error message if input layer is one that has been renamed in QGIS layers panel
2018-11-29 18:30:01 +01:00
Alessandro Pasotti
18854dc7b6
Do not add duplicates in raster calc layers list
...
Related to #20601
2018-11-29 12:26:57 +01:00
Nyall Dawson
f3e9aaf79a
Fix some inefficient python dictionary iteration
2018-10-31 08:42:51 +10:00
Juergen E. Fischer
9ad01cf9ba
replace three dots with ellipsises in translation strings
2018-10-27 19:06:37 +02:00
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