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
Nyall Dawson
5177c7d181
Add a more descriptive tooltip for iterate mode button
2017-06-12 13:39:42 +10:00
Nyall Dawson
a27c22d9b1
Add raster layer output parameters
2017-06-06 14:38:24 +10:00
Nyall Dawson
5b8affcb56
Rename QgsProcessingParameterOutputVectorLayer to QgsProcessingParameterFeatureSink
2017-06-06 07:41:20 +10:00
Nyall Dawson
770c45da12
Rename QgsProcessingParameterVectorLayer to QgsProcessingParameterFeatureSource
...
Helps abstract away sources to allow non vector layer sources in future
2017-06-06 07:41:20 +10:00
Nyall Dawson
f1c53c3aa4
Refactor Algorithm setParamValues -> getParamValues
...
Now returns a dict of parameter inputs for the algorithm
2017-06-06 07:41:19 +10:00
Nyall Dawson
9997ab6e1e
Partially port wrappers to QgsProcessingParameterDefinition
...
And create a new WidgetWrapperFactory for creating a suitable wrapper
corresponding to a parameter
2017-06-06 07:41:19 +10:00
Juergen E. Fischer
c77172ed3d
fix more flake8 warnings
2017-03-05 10:21:24 +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
Martin Dobias
d56a97d4fe
Merge QgsMapLayerRegistry into QgsProject
...
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
Alexander Bruy
50a785bdd6
[processing] indentation update
2016-12-01 12:53:57 +01:00
volaya
fcc343724e
[processing] some fixes and changes in parameters and parameters panel
2016-12-01 12:50:27 +01:00
arnaud.morvan@camptocamp.com
4184934b9a
[processing] Apply 2to3 on changes
2016-10-05 12:39:01 +02:00
arnaud.morvan@camptocamp.com
9e36582feb
Simplify TableFieldWidgetWrapper
...
Conflicts:
python/plugins/processing/gui/ParametersPanel.py
python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:43 +02:00
volaya
ae0e9c8442
[processing]minor code cleaning
...
Conflicts:
python/plugins/processing/core/parameters.py
2016-10-05 12:38:38 +02:00
volaya
cdcc01e97c
[processing] removed debug lines
2016-10-05 12:38:22 +02:00
volaya
fe5d0166cc
[processing] added multiple option to ParameterTableFIeld
...
removed ParameterTableMultipleField and did some cleanup
2016-10-05 12:38:09 +02:00
volaya
efd73a491f
[processing] fixes for new parameters architecture
...
includes better managing of crd and extent parameters in models, not requiring now the use of modeler-only lags
2016-10-05 12:35:00 +02:00
volaya
b298c76ee4
[processing] implemented parameter widget wrappers
...
Conflicts:
python/plugins/processing/core/GeoAlgorithm.py
python/plugins/processing/gui/ExtentSelectionPanel.py
python/plugins/processing/modeler/ModelerParametersDialog.py
2016-10-05 12:34:58 +02:00
arnaud.morvan@camptocamp.com
6158e9b340
Add CrsWidgetWrapper
2016-10-05 12:34:55 +02:00
arnaud.morvan@camptocamp.com
f3c9aaaa2b
Use boolean wrapper in standard algorithm dialog
...
Conflicts:
python/plugins/processing/gui/AlgorithmDialog.py
2016-10-05 12:34:52 +02:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Alexander Bruy
65db336eaf
[processing] move some constants to the dataobjects module
2016-09-02 09:28:45 +03:00
Alexander Bruy
7e26124c2b
[processing] support for output geometry types (work in progress)
2016-09-02 09:28:32 +03:00
Alexander Bruy
acdde31b3d
[processing] more cleanups (follow up 06c4b07222)
2016-08-05 15:05:36 +03:00