Qt State Machine C++ Classes

Qt State Machine 模块提供用于创建和执行状态图的类。更多

QAbstractState

QStateMachine 的状态基类

QAbstractTransition

QAbstractState 对象间转换的基类

QEventTransition

用于 Qt 事件的特定 QObject 过渡类

QFinalState

最终状态

QHistoryState

返回先前活动子状态的方法

QKeyEventTransition

按键事件的过渡

QMouseEventTransition

鼠标事件的转换

QSignalTransition

基于 Qt 信号的转换

QState

QStateMachine 的通用状态

QStateMachine

分层有限状态机

QStateMachine::SignalEvent

代表 Qt 信号事件

QStateMachine::WrappedEvent

继承 QEvent 并保存与 QObject 关联的事件的克隆

详细说明

Qt State Machine页面包含有关如何使用该模块的信息。

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