Qt provides a powerful hierarchical finite state machine through the Qt State Machine classes.
These examples demonstrate the fundamental aspects of implementing Statecharts with Qt.
For more information about using the Qt SCXML module to to create state charts from State Chart XML (SCXML) files, see Qt SCXML 范例 .