[PyQt] QMovie start/stop from a different thread
david at boddie.org.uk
Wed Nov 25 23:26:13 GMT 2009
On Wed, 25 Nov 2009 16:35:28 +1100, tom wrote:
> i create a QMovie in the main thread :
> self.movie = QMovie("images\whitephone-animation.mng",
> QByteArray(), self)
> can i call the start / stop slots from within that different thread, and
> how would i do that ?
Connect signals to the movie's start() and stop() slots, and emit them when
you need to start or stop it.
More information about the PyQt