[Qt-interest] Setting State in QStateMachine

NoRulez norulez at me.com
Tue Jun 21 20:44:50 CEST 2011


Hi,

I've a simple statemachine with 4 states. After clicking a button the states will change. 

Now the problem I have is if I get a signal I want to change the state to e.g. 2

I use addTransition for the entered() signal, but the state isn't entered.

Could anybody give me a hint on how to switch states?

Thanks in advance

Best Regards
NoRulez



More information about the Qt-interest-old mailing list