[Qt-interest] Going 'back' in a state machine?
Stephen Kelly
steveire at gmail.com
Fri Nov 5 14:44:23 CET 2010
Hi,
I have a state machine which I transition through, and I have the
requirement that it must be possible to 'go back' through states. I thought
about using QHistoryState for that, but I don't think it's meant for that
because it only records transitions the state when a parent is left, so when
I transition between siblings, the QHistoryState doesn't bring me anything.
Has anyone else solved this problem already? I'm thinking I probably need to
implement QAbstractState to do some magic.
All the best,
Steve.
More information about the Qt-interest-old
mailing list