このページでは

QAbstractTransition QML Type

QAbstractTransition型は、QAbstractState オブジェクト間の遷移の基本型です。詳細...

Import Statement: import QtQml.StateMachine 6.11
Inherited By:

QSignalTransition, SignalTransition, and TimeoutTransition

プロパティ

信号

詳細説明

QAbstractTransition 型は、StateMachine の状態(QAbstractState オブジェクト)間の遷移の抽象的な基本型です。 QAbstractTransition はQt State Machine QML API の一部です。

sourceState() プロパティは遷移元を表します。targetState およびtargetStates プロパティは遷移のターゲットを返します。

triggered() シグナルはトランジションがトリガーされたときに発せられます。

QAbstractTransition を直接使用しないでください。代わりにSignalTransition またはTimeoutTransition を使用してください。

SignalTransition およびTimeoutTransitionも参照してください

プロパティのドキュメント

sourceState : bool [read-only]

このトランジションのソース状態(親)。

targetState : QAbstractState

このトランジションのターゲット状態。

トランジションにターゲット状態がない場合でも、トランジションはトリガーされるかもしれないが、それによってステートマシンのコンフィギュレーションが変更されることはない(つまり、現在の状態が終了して再入力されることはない)。

targetStates : list<QAbstractState>

この遷移のターゲット状態。

複数の状態が指定された場合、それらはすべて同じ並列グループ状態の子孫でなければならない。

シグナル・ドキュメント

triggered()

このシグナルはトランジションがトリガーされたときに発せられる。

注: 対応するハンドラはonTriggered です。

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