[Qt-interest] Debugging Qt StateMachine

Schimkowitsch Robert Robert.Schimkowitsch at andritz.com
Thu Sep 8 14:08:52 CEST 2011


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?

Kind regards

Robert Schimkowitsch

#####################################################################################
This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.
Thank You.
  ANDRITZ HYDRO GmbH
  Rechtsform/ Legal form: Gesellschaft mit beschrankter Haftung / Corporation 
  Firmensitz/ Registered seat: Wien 
  Firmenbuchgericht/ Court of registry: Handelsgericht Wien 
  Firmenbuchnummer/ Company registration: FN 61833 g
  DVR: 0605077 
  UID-Nr.: ATU14756806
#####################################################################################

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110908/571186f1/attachment.html 


More information about the Qt-interest-old mailing list