[Qt-interest] State machine

emmanuel_mayssat at lynceantech.com emmanuel_mayssat at lynceantech.com
Fri Apr 15 00:10:23 CEST 2011


I am using pyqt (but this is a general question).
I just had a look at the Qt state machine.

Is there a way to use this state machine without it being attached to a Qwidget?
That is I would like to use it as a standard state machine code.

state 1 : run program P
state 2 : run program Q
state 3 : run program R

If P exit code is 3 then state 3
If P exit code is 2 then state 2
... etc ...

thanks,



-- 
Emmanuel



More information about the Qt-interest-old mailing list