PDA

View Full Version : How to know the completion of state transition?



chiru
12th November 2010, 10:37
Hello,
Are there any signals which I need to listen if I want to know the completion of the transition when state changes.
I want to reset some variables as soon as the state transition completes. I am applying transition as well when state changes. So, I want to hook up to some signal which will tell me that now state has been transitioned.

Thanks
Chiru

MarekR22
15th November 2010, 11:01
You don't need to listen for such event. Just use PropertyAction (http://doc.trolltech.com/4.7/qml-propertyaction.html).
Check included example.

BR,

Marek

chiru
16th November 2010, 07:11
Hey,
Thanks for the reply. I got it working now.:)