tags:

views:

39

answers:

2

Hi. Is there any notification I can use to determine whether a QMovie is playing or not?

+2  A: 

There is QMovie::state() and QMovie::stateChanged(). The first one gives you QMovie::MovieState, whereas the second emits a signal that you can use in a slot (see Signals and Slots) to detect state changes.

stephan
A: 

Also, it exists the QTimeLine class which you can control the state (paused, stoped, started...) and lots of things more of the playing item (music, movie or whatever).

See you!

Drewen