The QAbstractState type is the base type of States of a StateMachine . 更多...
import 语句: | import QtQml.StateMachine 6.2 |
Since: | Qt 5.4 |
继承者: | FinalState , HistoryState ,和 State |
Do not use QAbstractState directly; use State, FinalState or StateMachine 代替。
另请参阅 StateMachine and State .
[read-only] active : bool |
The active property of this state. A state is active between entered() and exited() signals. This property is readonly.
entered () |
This signal is emitted when the State becomes active.
注意:
相应处理程序是
onEntered
.
exited () |
This signal is emitted when the State becomes inactive.
注意:
相应处理程序是
onExited
.