Move actions to background with QgsTaskManager
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Move saving, loading and preprocessor creation to background.
Functions need to be defined as tasks and added to the QgsTaskManager already created by the GUI.
refernces:
1. [https://gis.stackexchange.com/questions/272686/usage-of-qgstask-and-qgstaskmanager](https://gis.stackexchange.com/questions/272686/usage-of-qgstask-and-qgstaskmanager)
2. [https://github.com/opengeogroep/AERIUS-QGIS-plugins/blob/master/ImaerPlugin/tasks/import_calc_result.py](https://github.com/opengeogroep/AERIUS-QGIS-plugins/blob/master/ImaerPlugin/tasks/import_calc_result.py)
3. [https://qgis.org/pyqgis/master/core/QgsApplication.html#qgis.core.QgsApplication.taskManager](https://qgis.org/pyqgis/master/core/QgsApplication.html#qgis.core.QgsApplication.taskManager)
4. [https://qgis.org/pyqgis/master/core/QgsTask.html#qgis.core.QgsTask](https://qgis.org/pyqgis/master/core/QgsTask.html#qgis.core.QgsTask)
5. [https://qgis.org/pyqgis/master/core/QgsApplication.html#qgis.core.QgsApplication.taskManager](https://qgis.org/pyqgis/master/core/QgsApplication.html#qgis.core.QgsApplication.taskManager)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.