[Qt-interest] Qt state machine: problem while queuing multiple events

Sean Harmer sean.harmer at maps-technology.com
Wed Jun 22 15:13:29 CEST 2011


On Wednesday 22 June 2011 18:21:39 Mandeep Sandhu wrote:
> Is there any other way to handle this issue?

Use two different events to trigger the "back" transitions. That is have a 
backToS2 event and a backToS1 event. Then only post the correct event 
depending upon what state you are in when the keypresses arrive.

Sean




More information about the Qt-interest-old mailing list