[Qt-interest] Debugging Qt StateMachine
Sean Harmer
sean.harmer at maps-technology.com
Sun Sep 11 21:58:47 CEST 2011
On 08/09/2011 13:08, Schimkowitsch Robert wrote:
> Hi,
>
> is there any easy way to follow the workings of a QStateMachine?
> I would like to find out which states are currently active, and when
> transitions occur, so I can log them.
>
> So far, I haven't found anything helpful in the state machine framework.
> Of course, I could connect to the entered() signals of all states, but I
> haven't figured out a way I could determine which state sent me the signal.
>
> Any ideas?
Take a look at the comments here:
http://developer.qt.nokia.com/doc/qt-4.7/statemachine-api.html#comments
Sean
More information about the Qt-interest-old
mailing list