[Qt-qml] Support for StateChangeScript on exit from a State?
michael.brasser at nokia.com
michael.brasser at nokia.com
Wed Nov 17 00:00:00 CET 2010
On 16/11/2010, at 11:39 PM, ext Antti-Pekka.Tuovinen at nokia.com<mailto:Antti-Pekka.Tuovinen at nokia.com> wrote:
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.
We don't have any concrete plans for this at the moment, but it seems like a good idea -- could you add a suggestion at bugreports.qt.nokia.com<http://bugreports.qt.nokia.com>?
Thanks,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101117/2423f930/attachment.html
More information about the Qt-qml
mailing list