The QAbstractState type is the base type of States of a StateMachine . 更多...
import 语句: | import QtQml.StateMachine 1.12 |
Since: | Qt 5.4 |
继承者: | FinalState , HistoryState ,和 State |
不使用 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.
This signal is emitted when the State becomes active.
相应处理程序是
onEntered
.
This signal is emitted when the State becomes inactive.
相应处理程序是
onExited
.