Denis Rouzaud
0f032e5f2d
run pre-commit on all files
2024-11-29 15:38:02 +01:00
Nyall Dawson
c16a1e2b3d
Update enums
2024-01-19 19:44:48 +10:00
Etienne Trimaille
3cab3c43a2
Python - Run pyupgrade on the processing plugin
2023-04-24 10:03:57 +02:00
Nyall Dawson
84c3613cf7
[processing] Don't raise uncaught exceptions when trying to generate
...
GDAL commands for invalid layers
This is a partial fix, which at least removes the uncaught exception.
Ideally we'd gracefully fall back to using the layer's source
(even if it doesn't exist!) in the generated GDAL commands. But that's
far from trivial to do.
Fixes #51958
2023-02-23 20:48:04 +10:00
Nyall Dawson
0d332d34ec
[processing] Fix gdal algorithms immediately show wrong or missing
...
parameter value warnings
Fixes #46532
2021-12-21 15:32:08 +10:00
Nyall Dawson
0a6436402d
[processing][gdal] Don't insert 'temporary file' strings in command for non-specified optional outputs
2021-02-26 11:47:37 +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
9500020b0f
Fix exception when opening gdal algorithms
2020-03-25 09:42:17 +10:00
Nyall Dawson
3d6e4963f6
[processing] Move base class of ParametersPanel to c++
2020-03-25 09:42:17 +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
Alexander Bruy
9ed4d08d5b
[processing] ignore hidden parameters when generating GDAL command ( fix #30669 )
2019-07-15 07:52:36 +10: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
Víctor Olaya
13bff9620c
[processing] do not allow using unsupported file formats
...
Show warning message if user selects incompatible output file format
fixes #21089
2019-02-23 05:24:56 +10:00
Nyall Dawson
7a45702b83
[processing][gdal] Fix stylesheet for gdal algorithms
2018-09-28 14:25:38 +10:00
Nyall Dawson
c8abd40250
[processing] Fix gdal algorithm use of old wrapper API
2018-09-11 15:40:27 +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
044470d38f
[processing][gdal] Skip expensive parameter validation when just showing command in dialog
2018-03-21 15:30:18 +10:00
Nyall Dawson
96c7e6e0a6
[processing][gdal] Cleanup some code, add method to customise
...
generated command based on whether the algorithm is actually
executing or just being displayed in the UI as a command
2017-12-08 14:09:08 +10:00
Nyall Dawson
f6e63d7f4c
Fixes and cleanups to algorithm dialogs
2017-12-01 18:15:40 +11:00
Nyall Dawson
3d1be95ad2
More comprehensive updating of gdal command when parameters change
2017-08-15 20:57:27 +10:00
Nyall Dawson
f9750dde52
Port gdal color relief to new API
2017-08-14 05:55:50 +10:00
Nyall Dawson
19e5886b87
More reliable updates to the gdal command shown
...
By also checking for child widget signals - otherwise we don't
catch signals when compound widgets (such as raster layer source
widgets) are changed
2017-08-14 05:41:00 +10:00
Nyall Dawson
95fe5cdc04
Fix errors calculating gdal command when dialog is being constructed
2017-08-14 05:24:59 +10:00
Nyall Dawson
ba6e2dc940
Fix showing gdal command in algorithm dialog
2017-08-14 05:19:29 +10:00
Juergen E. Fischer
6ed389c8e8
fix translation string again and improve translation scripts (followup 79a095cb)
2017-08-05 23:01:42 +02:00
Nyall Dawson
79a095cb69
Revert "translation string fix"
...
Causes 'AlgorithmDialog' object has no attribute 'trUtf8' error when
trying to launch processing algorithms
2017-08-05 06:50:52 +10:00
Juergen E. Fischer
cfaa8f0c8c
translation string fix
2017-08-04 18:11:52 +02:00
Nyall Dawson
a95cbe9d2f
Move 'Run as batch' button to bottom of algorithm dialog
...
Inserting it into the tab widget doesn't work well cross
platform/between hidpi/lowdpi displays. So instead add
it as a normal button in the button box.
Also fix capitalization of button text
Fixes #16767
2017-07-26 09:45:27 +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
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
Juergen E. Fischer
f00a87cb8a
update translation strings
2017-03-05 10:21:24 +01:00
Alexander Bruy
5c8c53c397
[processing] more fixes to GdalAlgorithm dialog (followup 47d46bb8c3)
2017-02-10 17:59:53 +02:00
Alexander Bruy
47d46bb8c3
[processing] fix initialization of GdalAlgorithmDialog
2017-02-10 17:38:24 +02: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
volaya
fcc343724e
[processing] some fixes and changes in parameters and parameters panel
2016-12-01 12:50:27 +01:00
Alexander Bruy
3407ced90e
fix indentation
...
Conflicts:
python/plugins/processing/gui/BatchInputSelectionPanel.py
python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:50 +02:00
volaya
c491c01266
[processing] changes to allow custom parameter dialog adapt to new parameter architecture
2016-10-05 12:38:21 +02:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
Juergen E. Fischer
2526d3e3c8
processing: switch to pyqt wrappers, flake8 fixes
2016-03-21 17:00:25 +01:00
Juergen E. Fischer
c6d921729e
python fixes:
...
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
python/console/console_sci.py:547 QsciScintillaCompat?
python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Juergen E. Fischer
fb3fcfa3a0
Python3/Qt5/2to3 updates:
...
* pyqtwrappers update (add QtNetwork, QtXml, QtSql, QtTest, uic)
* 2to3 updates
* move QPyNullVariant/NULL to PyQt.QtCore
* add global unicode/basestring/long for Python3
* expand QtGui, QtCore module and star exports
* Qscintilla2
* replace Set import with set builtin
2016-03-14 20:38:20 +01:00
Juergen E. Fischer
6a3753e2e8
processing: fix translation context for AlgorithmDialogBase
2016-02-15 00:16:51 +01:00
volaya
b2a12735c5
[processing] fixed update of console call in GdalAlgorithmDialog
...
fixes #14129
2016-01-19 09:03:23 +01:00
Nyall Dawson
7e90d5773f
Whitespace fix
2016-01-19 08:42:02 +11:00
volaya
4c34871f0a
[processing] fixed problems when opening/removing layers while alg dialog is open
2016-01-18 15:02:10 +01:00
Alexander Bruy
4137437f2c
PEP8 fixes
2016-01-08 10:32:43 +02:00
Alexander Bruy
b207268e69
add missed license headers in Processing files
2016-01-07 17:52:49 +02:00