Nyall Dawson
1219f55378
[processing] Fix and improve how in place algorithm parameter widget
...
handles the input layer by creating a new QgsProcessingHiddenWidgetWrapper
wrapper subclass
Fixes #37424
2020-07-10 04:44:30 +10:00
Nyall Dawson
f0bb647c61
[processing] Add a stable way to get processing widgets to stretch vertically
2020-06-02 08:43:54 +10:00
Nyall Dawson
69e841a256
Allow specifying hidden parameter values when setting initial parameter values for an algorithm dialog
2020-04-29 17:10:52 +10:00
Nyall Dawson
60f40f066a
[processing] Fix crashes when running algs in "in place" mode
...
Fixes #35844
2020-04-20 12:01:46 +10:00
Nyall Dawson
6a1a2e9af0
[processing] Fix handling of vrt, SAGA tif output file names
...
Fixes #35755 , fixes #35770
2020-04-17 16:18:09 +10:00
Nyall Dawson
6326ac6b5e
Silly sip nonsense
2020-04-07 17:05:44 +10:00
Nyall Dawson
d69519a91e
Move parameter retrieval logic from dialog to ParametersPanel
...
This is cleaner, because the panel owns all the wrappers required
to evaluate the parameter values
2020-04-04 17:58:55 +10:00
Nyall Dawson
a80bdc47e5
[processing] Add API and interfaces so that widget wrappers can retrieve the
...
current set of parameters for other parameters when required
2020-04-04 17:58:55 +10:00
Nyall Dawson
c98cd8d1a8
Partial port of destination wrappers to c++ API
2020-04-02 02:29:54 +10:00
Nyall Dawson
ef4344b674
Default to current layer when appropriate
2020-03-29 05:56:23 +10:00
Nyall Dawson
3d6e4963f6
[processing] Move base class of ParametersPanel to c++
2020-03-25 09:42:17 +10:00
Nyall Dawson
91d51914a0
Minor cleanup ParametersPanel
2020-03-25 09:42:17 +10:00
Nyall Dawson
6e2c21eb55
[processing] Cleanup handling of "iterate over source" buttons, move
...
creation completely to widget wrapper
2020-03-25 09:42:17 +10:00
Nyall Dawson
d4f378a3d2
[processing] Fix incorrect tooltips show for output parameters
2020-03-23 10:16:26 +10:00
Nyall Dawson
dc5da8574f
Fix test
2020-03-17 07:24:40 +10:00
Nyall Dawson
517aa9667b
[processing] Port DestinationSelectionPanel to c++
...
This is basically a 1:1 port (+some fixes relating to incorrect signal
emissions and many more tests)
2020-03-17 07:24:40 +10:00
Nyall Dawson
70ee385f4a
[processing] Add message bar to widget context
2020-01-05 08:59:38 +10:00
Nyall Dawson
08c55780b3
Followup cbc86ffc1ac
...
Fix exceptions, breakage of raster output format handling
2019-09-24 16:49:57 +10:00
Alexander Bruy
0c4f826039
[processing] add missed import
2019-09-20 12:59:33 +03:00
Even Rouault
cbc86ffc1a
Processing: disable 'open output layer' for write-only formats such as PGDUMP (relates to #31421 )
2019-09-16 18:25:16 +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
Nyall Dawson
5ec43cfdc1
[processing] Add project to QgsProcessingParameterWidgetContext
2019-03-12 08:16:52 +10:00
Nyall Dawson
521ebdc973
[processing] Wrappers built off old API can still take advantage of the full widget context
2019-02-20 05:39:04 +10:00
Nyall Dawson
60a1d6306f
Fix some missing expression context variables in processing expression based widgets
2019-02-13 07:59:30 +10:00
Nyall Dawson
57f77d01cb
[processing] Fix in-place mode results in unknown distance units
...
We need to still create the parameter wrappers when in in-place mode
for the input/output parameters, as some other wrappers may rely
on these for various interactions (e.g. getting the crs/fields
from the input layer)
Fixes #19990
2018-10-02 19:51:02 +10:00
Nyall Dawson
0c79d08d05
Fix tests on Travis
2018-09-22 05:26:29 +10:00
Nyall Dawson
7af13f62c0
Set widget context for widget wrappers
2018-09-22 05:26:29 +10:00
Nyall Dawson
681d44f11f
Messy mockup of feature
2018-09-14 18:23:03 +10:00
Nyall Dawson
3c2499ba95
Add some notes on deprecated class handling
2018-09-04 19:06:07 +10:00
Nyall Dawson
e76b761dd0
Correctly associate layer with dynamic properties
2018-09-04 19:06:07 +10:00
Nyall Dawson
8082497724
Fix evaluation of Python wrapper values
2018-09-04 19:06:07 +10:00
Nyall Dawson
70c1680754
Automatically handle adding data defined button for dynamic properties
...
Also exposes this capability to modeler - so that model algorithms
can use data defined parameters within their child algorithms.
TODO:
- tests
- setting the associated vector layer
2018-09-04 19:06:07 +10: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
Nyall Dawson
c0d9528090
Silence python warnings from 3rd party libraries on startup
2018-05-22 06:02:55 +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
Rashad Kanavath
3408e02c46
[processing] create and manage label in WidgetWrapper
...
ModelerParametersDialog and ParametersPanel have to keep list of
wrappers only. widget and label( if needed) are created through
WidgetWrapper.createLabel()
2018-04-03 06:09:44 +10:00
Alexander Bruy
7eb7e9361e
Revert "[processing] replace QCoreApplication.translate() with tr() in"
...
This reverts commit 007903494582b1e71273e7b801b928d32eb2f330.
2018-03-09 18:31:10 +02:00
Alexander Bruy
0079034945
[processing] replace QCoreApplication.translate() with tr() in
...
ParametersPanel class
2018-03-09 14:57:37 +02:00
Nyall Dawson
e7e37efed7
Merge pull request #5926 from nyalldawson/proc_dialog
...
[processing] Add api to show algorithm dialog, use dialog for history
2017-12-27 22:34:13 +11:00
Mathieu Pellerin
3b8905209e
[processing] harmonize and improve UI spacing
2017-12-27 10:50:52 +07:00
Nyall Dawson
edcd058e32
[processing] Add a setParameters method to AlgorithmDialog
...
Allows pre-populating the dialog with non-default parameter
values.
2017-12-21 10:22:19 +10:00
Nyall Dawson
6b56565f89
Show nicer tooltips for numeric processing parameters
...
With min/max and default values (when set)
2017-12-01 20:42:38 +11:00
Nyall Dawson
f6e63d7f4c
Fixes and cleanups to algorithm dialogs
2017-12-01 18:15:40 +11:00
Juergen E. Fischer
c8876f2c23
fix fix !"@$%
2017-08-11 17:27:59 +02:00
Juergen E. Fischer
025a23451b
fix utf8 python translation string
2017-08-11 17:26:38 +02:00
Nyall Dawson
952b494256
Show Python identifier for processing parameters in tooltip
...
over widgets
Hopefully helps Python processing users match the parameters
in the gui to the parameter names to use when calling via
API
(Blender style!)
2017-08-07 17:24:22 +10:00
Nyall Dawson
9d04f87249
Rename "output" style parameters for clarity
...
The previous naming was too easily confused with processing outputs.
Rename them to QgsProcessingParameterFileDestination, etc... to
make it clearer what they are used for.
2017-07-08 20:49:17 +10:00
Harrissou Sant-anna
b57cd0deb1
[processing] align the "Iterate over layer" button ( #4796 )
2017-07-03 14:13:30 +07:00
Nyall Dawson
76a9844949
Add folder output type
2017-06-22 18:21:33 +10:00