이 페이지에서

QAbstractTransition QML Type

QAbstractTransition 타입은 QAbstractState 객체 간의 전환을 위한 기본 타입입니다. 더 보기...

Import Statement: import QtQml.StateMachine 6.12
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.