Questions tagged [qthread]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
2 answers
222 views

QThread - map not loading after the thread is done

I'm using QThread to run processingBar and heavy job so the user will know it's loading. Everything works fine until the job is done then the map is stuck and not reloading. It looks like I need to ...
user avatar
  • 133
3 votes
1 answer
119 views

QgsVectorLayer creation in Qthread (pyQt)

Our QGIS project is dynamically generated on startup based on user roles. There are nearly 120 QgsVectorLayers that need to be generated. If created sequentially, the login process takes up to 2 ...
user avatar
  • 373
3 votes
1 answer
314 views

Implementing Tasks in a QGIS-Plugin to keep GUI responsive

I am trying to implement QgsTasks into a PlugIn to keep its GUI responsive while running. I have studied the docs at https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/tasks.html, which ...
user avatar
2 votes
0 answers
276 views

Custom QGIS maptool to return current event

This is what I am trying to do. I designed an interface which can switch between selection mode and placement mode. Selection mode activates the selection tool. Placement mode is what I am ...
user avatar
11 votes
0 answers
363 views

Multithreaded DB connection for QGIS plugin

I am using QGIS 2.18.21 and PostgreSQL 9.6. on a Windows 8 machine. I am trying to do processing of a certain database task in the background, and I want the user to be able to continue to work in ...
user avatar