Qt State Machine 例
「Qt State Machine 」のサンプルアプリケーションは、 Qt State Machine モジュールが提供する機能を実演しています。
「Move Blocks」のサンプルでは、カスタム遷移を持つ QStateMachine を使用して、QGraphicsScene 内のアイテムにアニメーションを適用する方法を示しています。 | |
「Ping Pong States」のサンプルでは、Qt State Machine Framework において、並列状態とカスタムイベントおよび遷移を組み合わせて使用する方法が示されています。 | |
「Rogue」サンプルは、イベント処理に Qt State Machine を使用する方法を示しています。 | |
「Traffic Light」のサンプルでは、Qt State Machine Overview を使用して信号機の制御フローを実装する方法を示しています。 |
© 2026 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.