How to initialize a QT thread in python -
As seen in the online view, I have created a worker
thread to run my GUI I'm looking for a thread, whereas a thread executes my code worker
thread is defined as:
class worker (quetect) : Def __init __ (self, original = none): QThread .__ init __ (self, guardian) self.exiting = false self.size = QSize (0, 0) def __del __ (self): self.exiting = true Self.wait ()
B Electricity is easy to me window
in the class, I __ init __
function: self.thread = Worker () This line
. However, I do not do anything with that self. What am I doing with it? It seems that the other threading system is not kept as well ..
me Looks like you are looking for examples? But that example does "do something later with that thread" - it sends code a code when it starts and ends, hooks the way to answer the signs , class worker
it triggers a
method to pull random stars etc, etc. Not sure how do you feel that this is "excluded"?
Comments
Post a Comment