Nyall Dawson
59d425c5b0
[processing] Fix some incorrect formatting of algorithm titles
2018-05-31 15:27:51 +10:00
Nyall Dawson
aabbb307fa
[processing] Fix clearing destination doesn't actually reset to temporary output
...
Even though the UI makes it look like it did
2018-05-30 07:45:34 +10:00
Nyall Dawson
ce2f7739e7
[processing] Correct text for temporary folder output
2018-05-30 07:45:34 +10:00
Nyall Dawson
d157b6e661
[processing] Fix destination folder param is not updated after
...
picking from the file dialog alone
2018-05-30 06:12:09 +10:00
Nyall Dawson
ff7c70fc87
[processing][gdal] Fix gdal command does not automatically update
...
when destination value is changed
2018-05-29 22:21:31 +10:00
Nyall Dawson
870d20740c
[processing] Tweaks and checks for checkParameterValues
2018-05-28 16:02:38 +10:00
Nyall Dawson
6441b64a58
[Processing] Fix raster menu split in two in some locales
...
Fixes #17448
2018-05-28 13:49:13 +10:00
Nyall Dawson
c5ff6b9c99
[processing] Ensure parameters linked to layer parameters
...
(e.g. field choices) are correctly updated when a layer
is selected which doesn't belong to the project
2018-05-22 06:03:18 +10:00
Nyall Dawson
c0d9528090
Silence python warnings from 3rd party libraries on startup
2018-05-22 06:02:55 +10:00
Blottiere Paul
42199d1ad0
[processing] Declare NOT_SELECTED
2018-05-21 19:06:27 +10:00
Blottiere Paul
dcc79fcfbf
[processing] Fix invalid attribute's name
2018-05-21 19:06:27 +10:00
Nyall Dawson
b21632602f
[processing] Fix exception when editing enum input with no default value
2018-05-21 16:07:14 +10:00
Nyall Dawson
6b5e5b6ed5
[processing] Fix models cannot correctly set enum parameters
...
to a static choice
2018-05-21 16:07:14 +10:00
Alexander Bruy
303a79a143
[processing] fix temporary directories handling
2018-05-20 18:17:15 +10:00
Nyall Dawson
b98f8f1d37
[processing] Also filter using algorithm short descriptions
2018-05-17 08:50:39 +10:00
Nyall Dawson
5edcc64f72
[processing] Allow algorithms to return a translated short description
...
This is used in the algorithm's tooltip in the toolbox, and is intended
for single sentence description of the algorithm, e.g.
"Converts 2D features to 3D by sampling a DEM raster."
Convert grass algorithms to use short description for the
descriptive parts of their names, to cleanup the toolbox
and make it more uniform.
2018-05-17 08:50:39 +10:00
Nyall Dawson
d864cd6725
[processing] Correctly capitalize menu entry actions, add ellipsis
2018-05-16 14:08:43 +10:00
Alexander Bruy
c985092a6d
fix typo
2018-05-14 18:47:14 +03:00
arnaud.morvan@camptocamp.com
81dabd185c
[processing] Finish default values in model for destination parameters
2018-05-14 22:12:32 +10:00
Nyall Dawson
c5f478c38f
[processing] Fix destination resets to 'memory:' instead of temporary layer
2018-05-14 22:12:32 +10:00
arnaud.morvan@camptocamp.com
4ccd4446fe
[processing] Add default values in model for destination parameters
2018-05-14 22:12:32 +10:00
Nyall Dawson
e35d1d0ed9
Fix setting default value for non-multiple enum params
2018-05-11 15:49:52 +10:00
Alexander Bruy
26a97a7da7
[processing] improve default values handling in the enum modeler GUI
2018-05-11 15:49:06 +10:00
Alexander Bruy
e97212e8b7
[processing] correctly restore default values
2018-05-11 15:49:06 +10:00
Alexander Bruy
0046b9f824
add single item to matrix parameter by default
2018-05-11 15:49:06 +10:00
Alexander Bruy
18f3151808
[processing] couple of fixes for matrix parameter
2018-05-11 15:49:06 +10:00
Alexander Bruy
bb0feccec4
[processing] use another icon for clear button and add confirmation
2018-05-11 15:49:06 +10:00
Alexander Bruy
3ec2dfa611
[processing] don't allow multiple enum items to be selected if
...
allowMultiple is not set
2018-05-11 15:49:06 +10:00
Alexander Bruy
39456ba6b4
[processing] fix handling of the multiple enum values
2018-05-11 15:49:06 +10:00
Alexander Bruy
33cfed2e06
[processing] fix method signature
2018-05-11 15:49:06 +10:00
Alexander Bruy
1ba34dcbea
[processing] add matrix and enum parameters to wrappers and handle them
...
in the modeler dialogs
2018-05-11 15:49:06 +10:00
Alexander Bruy
038da1131d
[processing] modeler GUI for matrix parameter
2018-05-11 15:49:06 +10:00
Alexander Bruy
ffa4b04e29
[processing] add modeler GUI for enum parameter
2018-05-11 15:49:06 +10:00
Ari Jolma
64d5193f20
Translation fixes for GDAL build VRT.
2018-05-08 09:26:57 +10:00
Nyall Dawson
f4ec9e2abb
[processing] When an optional output is set to 'skip output', disable
...
and clear the associated 'add to qgis' checkbox
2018-05-07 19:17:04 +10:00
Nyall Dawson
c68262da7f
[processing] Correctly set default value for matrix parameters
...
Fixes #18871
2018-05-02 04:55:41 +10:00
Nyall Dawson
c32611b2c4
[processing] Remove unused code
2018-05-02 04:55:01 +10:00
Harrissou Sant-anna
46f867cef4
Use QCoreApplication.translate() instead
2018-05-01 17:58:01 +10:00
Harrissou Sant-anna
8088659c43
More details on Processing algorithms toolbar
2018-05-01 17:58:01 +10:00
nirvn
fca5238847
[processing] replace define current projection with reproject layer in vector menu
2018-04-30 16:50:34 +07:00
Nyall Dawson
cad0f3d5b7
[processing] Throw warning when menu item links are broken
2018-04-30 16:07:13 +10:00
nirvn
f8a3de45bf
[processing] fix some native algorithm IDs for menu items
2018-04-30 12:39:02 +07:00
Nyall Dawson
6358daad91
Fix broken translation string
2018-04-20 20:08:28 +10:00
Nyall Dawson
0dfb3c2d8c
[processing] Use distance parameter for more algorithms
2018-04-20 18:27:00 +10:00
Nyall Dawson
6412138259
Indentation
2018-04-20 18:27:00 +10:00
Nyall Dawson
6a2625664e
[processing] Add dedicated "distance" parameter
...
This is a subclass of QgsProcessingParameterNumber, but specifically
for numeric parameters which represent distances. It is linked
to a parent parameter, from which the distance unit will
be determined, and is shown using a dedicated distance widget
within the processing parameters panel. This widget shows
the distance unit.
This avoids the confusion when running algorithms which
use distances where the unit depends on a layer or CRS parameter -
e.g. the distance parameter in the buffer algorithm gives
the distance in layer units... so now we can show those units
directly within the dialog. Hopefully this leads to less
user confusion and accidental "1000 degree buffers"!
Additionally - if the unit is in degrees, a small warning
icon is shown next to the parameter. The tooltip for this
icon advises users to reproject data into a suitable
projected local coordinate system.
Initially implemented for the native buffer and single
sided buffer algorithm only - but more will be added.
Fixes #16290
2018-04-20 18:27:00 +10:00
Nyall Dawson
a9d820d37d
[processing] Don't overwrite rows when reordering in multi input
...
dialog
Refs #17327
2018-04-19 14:35:41 +10: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
ebab649438
Fix some locator filters show results when no string is entered
...
and filter prefix is not used
2018-04-06 12:44:56 +10:00
Nyall Dawson
08d30c3b9f
[processing] Add method for algorithms to preprocess parameter values
...
Allows algorithms to pre-processes a set of parameters, allowing the
algorithm to clean their values.
This method is automatically called after users enter parameters, e.g.
via the algorithm dialog. This method should NOT be called manually
by algorithms.
2018-04-03 18:36:39 +10:00