State Machine Classes¶
How to create and execute state graphs.
These Qt Core classes are part of the :ref:` State Machine Framework<The-State-Machine-Framework>` .
PySide2.QtCore.QAbstractStateThe QAbstractState class is the base class of states of a QStateMachine.
PySide2.QtCore.QAbstractTransitionThe QAbstractTransition class is the base class of transitions between QAbstractState objects.
PySide2.QtCore.QEventTransitionThe QEventTransition class provides a QObject-specific transition for Qt events.
PySide2.QtCore.QFinalStateThe QFinalState class provides a final state.
PySide2.QtCore.QHistoryStateThe QHistoryState class provides a means of returning to a previously active substate.
PySide2.QtCore.QSignalTransitionThe QSignalTransition class provides a transition based on a Qt signal.
PySide2.QtCore.QStateThe QState class provides a general-purpose state for QStateMachine.
PySide2.QtCore.QStateMachineThe QStateMachine class provides a hierarchical finite state machine.
QStateMachine.SignalEventThe SignalEvent class represents a Qt signal event.
QStateMachine.WrappedEventThe WrappedEvent class inherits QEvent and holds a clone of an event associated with a QObject.
The QBasicKeyEventTransition class provides a transition for Qt key events.
The QBasicMouseEventTransition class provides a transition for Qt mouse events.
PySide2.QtWidgets.QKeyEventTransitionThe QKeyEventTransition class provides a transition for key events.
PySide2.QtWidgets.QMouseEventTransitionThe QMouseEventTransition class provides a transition for mouse events.
© 2022 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.