QAbstractState QML Type

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

import 语句: import QtQml.StateMachine 6.7
继承者:

FinalState , HistoryState ,和 State

特性

信号

详细描述

Do not use QAbstractState directly; use State, FinalState or StateMachine 代替。

另请参阅 StateMachine and State .

特性文档编制

active : bool [read-only]

The active property of this state. A state is active between entered () 和 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 .