[Qt-qml] Support for StateChangeScript on exit from a State?
Antti-Pekka.Tuovinen at nokia.com
Antti-Pekka.Tuovinen at nokia.com
Tue Nov 16 14:39:25 CET 2010
Hi,
It is now possible to define a StateChangeScript that is run when a state is entered. But are there any plans to add support for running a script when exiting a state?
A State could have properties "onEntry:" and "onExit:" that would contain the name of the script to run upon entry and exit.
I know I can work around by adding script actions to Transitions, but then I possibly need to add the action to several transitions (if a state has more than one possible next states). And a transition is not perhaps the right place to do clean up/housekeeping actions, anyway.
--Antti-Pekka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101116/b6fe799e/attachment.html
More information about the Qt-qml
mailing list