QAbstractTransition QML Type

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

Import Statement: import QtQml.StateMachine 6.8
Inherited By:

QSignalTransition

プロパティ

信号

詳細説明

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 です。


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