QAbstractState QML Type
The QAbstractState type is the base type of States of a StateMachine. More...
Import Statement: | import QtQml.StateMachine 1.12 |
Since: | Qt 5.4 |
Inherited By: | FinalState, HistoryState, and State |
Properties
- active : bool
Signals
Detailed Description
Do not use QAbstractState directly; use State, FinalState or StateMachine instead.
See also StateMachine and State.
Property Documentation
[read-only] active : bool
The active property of this state. A state is active between entered() and exited() signals. This property is readonly.
Signal Documentation
entered()
This signal is emitted when the State becomes active.
The corresponding handler is onEntered
.
exited()
This signal is emitted when the State becomes inactive.
The corresponding handler is onExited
.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qml-qtqml-statemachine-qabstractstate.html