tags:

views:

17

answers:

1

Hi im using QTimeLine to run animation , now i like to trigger my custom function when the finished() signal is triggered
when the QTimeLinedo done its just ,but whit no lock i never getting this signal to fire even that my :

 QTimeLine::State sts = timeLineFadeIn->state(); is QTimeLine::NotRunning

Any idea why ?

A: 

Does your timeline loop?

e8johan
i set timeLineFadeIn->setLoopCount(1); this is what you mean?
@user63898: I'm guessing e8johan means do you execute an event loop for your timeline.
Caleb Huitt - cjhuitt
What I mean is that the Qt docs says "This signal is emitted when QTimeLine finishes (i.e., reaches the end of its time line), and does not loop."
e8johan