QAbstractTransition QML Type
QAbstractTransition 유형은 QAbstractState 개체 간 전환의 기본 유형입니다. 더 보기...
Import Statement: | import QtQml.StateMachine 6.8 |
Inherited By: |
속성
- sourceState : bool
- targetState : QAbstractState
- targetStates : list<QAbstractState>
신호
상세 설명
QAbstractTransition 유형은 StateMachine 의 상태(QAbstractState 객체) 간 전환의 추상적 기본 유형입니다. QAbstractTransition은 Qt State Machine QML API의 일부입니다.
sourceState() 속성에는 전환의 소스가 있습니다. targetState 및 targetStates 속성은 전환의 대상을 반환합니다.
triggered() 신호는 전환이 트리거되면 발산됩니다.
QAbstractTransition을 직접 사용하지 말고 SignalTransition 또는 TimeoutTransition 을 대신 사용하세요.
SignalTransition 및 TimeoutTransition 을참조하세요 .
속성 문서
sourceState : bool |
이 트랜지션의 소스 상태(부모)입니다.
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.