Qt State Machine QML Types

要将 QML 类型导入应用程序,请在 .qml 文件中使用以下导入语句:

import QtQml.StateMachine

更多信息,请参阅Qt State Machine QML 指南

FinalState

提供最终状态

HistoryState

类型提供了返回先前活动子状态的方法

QAbstractState

类型是 StateMachine 状态的基本类型

QAbstractTransition

类型是 QAbstractState 对象之间过渡的基本类型

QSignalTransition

类型提供了基于 Qt 信号的过渡

SignalTransition

类型提供了基于 Qt 信号的过渡

State

为 StateMachine 提供通用状态

StateMachine

提供分层有限状态机

TimeoutTransition

类型提供基于计时器的过渡

© 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.