QAbstractState QML Type

QAbstractState type is the base type of States of a StateMachine . 更多...

导入语句: 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.

另请参阅 entered and exited .


信号文档编制

entered ()

This signal is emitted when the State becomes active.

相应处理程序是 onEntered .

另请参阅 active and exited .


exited ()

This signal is emitted when the State becomes inactive.

相应处理程序是 onExited .

另请参阅 active and entered .