[Qt-interest] QStateMachine without MainWindow

emmanuel_mayssat at lynceantech.com emmanuel_mayssat at lynceantech.com
Thu May 5 00:00:18 CEST 2011


Hello,

I am interested in the QStateMachine framework.
I would like to run a statemachine in a terminal.

Now I would like to generate QKeyEventTransition
based on what I press on the keyboard.

state_1 --[QEvent or Signal]--> state2

How can I generate a QKeyEventTransition if I am not using a QMainWindow?
In other words, how can I generate QEvents from my keyboard when using a terminal application?

Thanks,

-- 
Emmanuel



More information about the Qt-interest-old mailing list