Qt State Machine 示例

Qt State Machine 示例应用程序演示了 Qt State Machine模块提供的功能。

Move Blocks

Move Blocks 示例展示了如何使用带有自定义过渡的 QStateMachine 来为 QGraphicsScene 中的项目制作动画。

Ping Pong States

Ping Pong States 示例展示了如何在Qt State Machine Framework 中将并行状态与自定义事件和转换结合使用。

Rogue

Rogue 示例展示了如何使用 Qt State Machine 进行事件处理。

Traffic Light

Traffic Light(交通灯)示例展示了如何使用Qt State Machine Overview 实现交通灯的控制流。

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