33 from python_qt_binding.QtCore
import QThread
38 Run code in a separate thread, get notified upon completion and kill the thread synchronously.
40 Convenience class built around a QThread
43 def __init__(self, run_callback, finished_callback=None):
45 self.
run = run_callback
51 super(WorkerThread, self).
start()