[Qt-interest] QStateMachine and setting states directly

Wilhelm wilhelm.meier at fh-kl.de
Mon Dec 28 05:47:45 CET 2009


Hello,

I'm using the new QStateMachine framework together with the 
QUndoCommand. If I undo a command in the application I need to go back 
to the previous state. This is not the last sub-state when leaving a 
parent-state, this can be done with QHistoryState.

So what I'm looking for is the possibility to set a state directly. Is 
there any direct way?

-- 
Wilhelm




More information about the Qt-interest-old mailing list