mantidimaging.gui.dialogs.async_task.task module¶
- class mantidimaging.gui.dialogs.async_task.task.TaskWorkerThread(parent=None)[source]¶
Bases:
QThread
Thread for running tasks asynchronously to the GUI.
Intended for internal use within this module only.
- Usage:
t = TaskWorkerThread(parent) t.task_function = … t.finished.connect(…) t.start()
- On completion inspect:
t.result t.error