Mathieu Pellerin
add40c1e22
[processing] use combined vector and raster filters for map layer file picker
2018-01-16 18:01:21 +07:00
Nyall Dawson
5da28ed9f0
[needs-docs][processing] Add tooltips to input types in modeler
...
...to help clarify for users what the different input types mean.
Fixes #17671 , which is a result of unclear distinction between
the uses of vector features vs vector layer inputs.
Tagged as needs-docs, as it may help with documentation for 3.0
2018-01-16 20:35:26 +10:00
Nyall Dawson
5a7da09060
[needs-docs] Rename some processing input types in modeler for clarity
...
Refs #17671
2018-01-16 20:35:26 +10:00
Nyall Dawson
f969b03fd2
Sort input types in processing modeler dialog
2018-01-16 20:35:26 +10:00
Nyall Dawson
87c1986c4b
Improved memory managment of algorithm dialogs
...
Ensure that dialogs are always correctly deleted when appropriate.
Also, if an algorithm is running in a background task and hits
an error, we automatically re-show the algorithm dialog and the
associated log for debugging.
Fixes #16858
2018-01-16 19:45:40 +10:00
Nyall Dawson
971aec8056
Rename QgsTaskManager::triggered to taskTriggered
2018-01-16 19:45:40 +10:00
Nyall Dawson
b8defc113c
When processing tasks are clicked in task manager, reopen the
...
algorithm dialog
2018-01-16 19:45:40 +10:00
Alexander Bruy
eb7a187a88
[processing] add missed imports ( fix #17843 )
2018-01-15 20:13:38 +02:00
Alexander Bruy
7cad24d82f
[processing] improve layout of the raster calculator dialog
2018-01-15 19:25:08 +02:00
Alexander Bruy
490aad112f
[processing] quote layer names in raster calculator ( fix #17847 )
2018-01-15 19:25:08 +02:00
volaya
418d58752f
[processing] added missing method to custom field calculator dialog
...
A much better way of doing this would be to have the dialog extend qgsprocessingalgorithmdialogbase, or to take an approach like the one used in the raster calculator, with wrapper widgets.
This is just a patch, since that option might require a larger amount of work.
2018-01-15 14:56:36 +01:00
Alexander Bruy
dc99b8b2f0
[processing] add missed return statement ( fix #17821 )
2018-01-15 13:19:43 +02:00
Alexander Bruy
e67aaf9a26
[processing] rename QGISAlgorithmProvider to QgisAlgorithmProvider to be
...
consistent with our guidelines
2018-01-15 11:59:01 +02:00
Alexander Bruy
0ffd993d02
[processing] update script collection metadata and homogenize quotes
2018-01-15 11:59:01 +02:00
Alexander Bruy
7ecb0536fd
[processing] correctly retrieve icon for script collection ( fix #17780 )
2018-01-15 11:59:01 +02:00
Juergen E. Fischer
0c4e8d57be
translation string fix
2018-01-13 16:05:24 +01:00
Alexander Bruy
3f55bba535
[processing] don't close algorithm dialog after execution
2018-01-11 11:55:08 +02:00
Nyall Dawson
240c52a4c0
[processing] Show a modal progress dialog when running algorithms
...
which cannot run in background tasks
This is not fantastic UX, but we have lots of constraints here:
- The algorithm dialog itself cannot be made modal. There's child
widgets (such as the point and extent parameter widgets) which
interact with the main QGIS window.
- There is no reliable way in Qt to make a dialog modal after
it's shown (e.g. make it modal only when the algorithm is
running). Trust me - I've tried everything, and all approaches
break with some corner case.
- For non-background algorithms, we must have processEvents calls
in order to show the algorithm feedback and progress to users,
and detect cancel button clicks. Yet these processEvents calls
means that users can interact with other parts of QGIS, e.g.
removing layers from a project, and other operations which
could cause the algorithm to crash. So we MUST have some modal
dialog in order to block interactions outside of allowing
the cancel button clicks/progress repainting.
I've tried many approaches, but this is the only one which
works reliably...
2018-01-10 08:33:36 +10:00
Nyall Dawson
c14e6ca772
Most c++ algorithms can run safely in background threads
2018-01-10 05:33:02 +10:00
Nyall Dawson
40e47e0fe7
[processing] Add flag to indicate whether an algorithm is safe
...
to run in a background thread
2018-01-10 05:33:02 +10:00
Alexander Bruy
97c005a544
Merge pull request #6017 from nyalldawson/algs
...
[processing] Fix some numeric parameters which should be doubles
2018-01-09 08:17:12 +02:00
Alexander Bruy
566704a720
Merge pull request #5968 from medspx/ProcessingGrassFixExt
...
[Processing] GRASS fix all ext scripts
2018-01-09 08:16:46 +02:00
Nyall Dawson
57c2f1d3da
Refine algorithm name and tags
2018-01-09 14:35:48 +10:00
Nyall Dawson
f6d561655b
Fix some numeric parameters which should be doubles
2018-01-09 14:34:57 +10:00
Médéric RIBREUX
712093731a
Merge branch 'ProcessingGrassFixExt' of https://github.com/medspx/qgis into ProcessingGrassFixExt
2018-01-07 11:02:26 +01:00
Médéric RIBREUX
0f1cb25085
Fix v.external default configuration and handling
2018-01-07 11:01:44 +01:00
Alexander Bruy
7a2e6a476f
fix spelling
2018-01-04 09:00:42 +02:00
Borys Jurgiel
cef2db9ae3
Merge pull request #5904 from borysiasty/pyQgisVersion
...
Make QGIS 2.99 compatible with 3.0 plugins by introducing PyQGIS API version
2018-01-03 18:09:24 +01:00
Médéric RIBREUX
5a3a0dab95
Remove broken algorithms and clean code
2017-12-30 17:16:16 +01:00
Médéric RIBREUX
486bcd6f24
Fix all i.* ext scripts
2017-12-29 17:13:30 +01:00
Médéric RIBREUX
e712ee6266
Fix v.net.report descriptions'
2017-12-28 18:37:17 +01:00
Médéric RIBREUX
14709f59f4
Fix nearly all v. ext scripts
2017-12-28 18:28:18 +01:00
Médéric RIBREUX
90bf630185
Fix all r algorithms ext scripts!
2017-12-27 20:13:05 +01:00
Médéric RIBREUX
8b691e87aa
Handle raster files wihtout extension as GTiff + fix some ext scripts
2017-12-27 17:41:05 +01:00
Médéric RIBREUX
1f8fbf313f
Fix r.li.* description files and ext scripts
2017-12-27 15:35:17 +01: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
Médéric RIBREUX
9b6f98a31a
Hidden output parameters are not used in the main command anymore
2017-12-27 12:08:21 +01:00
Médéric RIBREUX
feaecea44d
Fix multiple ParameterField handling
2017-12-27 11:52:01 +01:00
Médéric RIBREUX
36311ff6af
Fix multiple enum parameters handling and some ext scripts
2017-12-27 11:16:14 +01:00
Alexander Bruy
d58053d486
[processing] restore script collection creator ( fix #17649 )
2017-12-27 11:41:08 +02:00
Médéric RIBREUX
3fa9e3c9f8
Fix QgsProcessingParameterFile bad descriptions
2017-12-27 10:19:51 +01:00
Mathieu Pellerin
3b8905209e
[processing] harmonize and improve UI spacing
2017-12-27 10:50:52 +07:00
Médéric RIBREUX
433d376c8a
Fix optional None input parameters handling
2017-12-26 18:53:30 +01:00
Médéric RIBREUX
5321ee5ea2
Update TODO list
2017-12-26 18:28:21 +01:00
Alexander Bruy
9fb386ac60
Merge pull request #5945 from medspx/ProcessingGrassFixDescV
...
[Processing] Fix description files for GRASS provider
2017-12-25 09:40:36 +02:00
Médéric RIBREUX
a540a93e24
Fix i.modis.qc description file
2017-12-23 10:24:52 +01:00
Tom Kralidis
04b18f4d43
[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries
...
(fixes #17739 )
2017-12-22 16:21:25 -05:00
Tom Kralidis
e16dfe4ff0
MetaSearch: remove duplicate field
2017-12-22 09:21:39 -05:00
Trashmonk
d908518c49
Update Rasterize.py
2017-12-21 17:55:02 +01:00
Trashmonk
82df4de88a
Update Rasterize.py
2017-12-21 17:55:02 +01:00