Qt State Machine Examples
The Qt State Machine example applications demonstrate the functionality provided by the Qt State Machine module.
The Animated Tiles example animates items in a graphics scene.
The Event Transitions example shows how to use event transitions, a feature of Qt State Machine Framework.
The Factorial States example shows how to use Qt State Machine Overview to calculate the factorial of an integer.
The Move Blocks example shows how to animate items in a QGraphicsScene using a QStateMachine with a custom transition.
Demonstrates how to create animated user interface.
The Ping Pong States example shows how to use parallel states together with custom events and transitions in Qt State Machine Framework.
The Rogue example shows how to use the Qt state machine for event handling.
The States example shows how to use the Qt state machine to play animations.
The Stickman example shows how to animate transitions in a state machine to implement key frame animations.
This example shows Qt's ability to combine the animation framework and the state machine framework to create a game.
The Traffic Light example shows how to use Qt State Machine Overview to implement the control flow of a traffic light.
The Two-way button example shows how to use Qt State Machine Framework to implement a simple state machine that toggles the current state when a button is clicked.
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.