[Qt-interest] State Machine implementation

Tibo W tibo_wcc at yahoo.com
Wed Feb 2 19:53:47 CET 2011


Hi Mandeep,

thanks a lot for your help.

I have another question...
Since I don't know in advance how many screens (applications) I will get, I need to have a generic state called "app".
This app will received a custom signal (or event), and will have to decided what to do.
ie it will receive something like appSelected(#app) from the main screen, and will display the corresponding app.

But I don't think I can realize that using signals ? How can you pass the params from the signal to another state ? Do I need some custom events instead ?
That means that the display widget will be aware of the SM and use postEvent ?

thanks again.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110202/5827fff1/attachment.html 


More information about the Qt-interest-old mailing list