My only problem i have is that i would like to call self.do_refresh() from a separate Thread. Because the dialog now takes longer to "complete" since its holding the ui to do the refresh work.
I'm not a python pro so is there any way to call the do_refresh() method from a Thread so that the ui does not get held up.
I've tried but I get all sorts of errors.
(QObject: Cannot create children for a parent that is in a different thread.
(Parent is QTextDocument(0x9cb6b18), parent's thread is QThread(0x98f7f00), current thread is QThread(0x9e58db8))
In java I'll easily be able to do this, but thats just because I know java better.
My only problem i have is that i would like to call self.do_refresh() from a separate Thread. Because the dialog now takes longer to "complete" since its holding the ui to do the refresh work.
I'm not a python pro so is there any way to call the do_refresh() method from a Thread so that the ui does not get held up. 0x9cb6b18) , parent's thread is QThread(0x98f7f00), current thread is QThread(0x9e58db8))
I've tried but I get all sorts of errors.
(QObject: Cannot create children for a parent that is in a different thread.
(Parent is QTextDocument(
In java I'll easily be able to do this, but thats just because I know java better.