Qt State Machine 范例应用程序演示功能的提供由 Qt State Machine 模块。
Move Blocks | The Move Blocks example shows how to animate items in a QGraphicsScene using a QStateMachine with a custom transition. |
Ping Pong States | The Ping Pong States example shows how to use parallel states together with custom events and transitions in Qt State Machine Framework. |
Rogue | The Rogue example shows how to use the Qt state machine for event handling. |
Traffic Light | The Traffic Light example shows how to use Qt State Machine Overview to implement the control flow of a traffic light. |