QAbstractState QML Type

QAbstractState 类型是StateMachine 的基本状态类型 ... 更多...

Import Statement: import QtQml.StateMachine 6.9
Inherited By:

FinalState, HistoryState, and State

属性

信号

详细说明

请勿直接使用 QAbstractState;请使用 State、FinalStateStateMachine

另请参阅 StateMachineState

属性文档

active : bool [read-only]

该状态的活动属性。一个状态在entered() 和exited() 信号之间处于激活状态。该属性只读。

另请参阅 enteredexited


信号文档

entered()

当状态变为活动状态时会发出该信号。

注: 相应的处理程序是onEntered

另请参阅 activeexited


exited()

状态变为非活动状态时发出该信号。

注: 相应的处理程序是onExited

另请参阅 activeentered


© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.