The QAbstractTransition type is the base type of transitions between QAbstractState objects.
|Import Statement:||import QtQml.StateMachine 1.0|
The QAbstractTransition type is the abstract base type of transitions between states (QAbstractState objects) of a StateMachine. QAbstractTransition is part of The Declarative State Machine Framework .
The triggered() signal is emitted when the transition has been triggered.
|[read-only] sourceState : bool|
The source state (parent) of this transition.
|targetState : QAbstractState|
The target state of this transition.
If a transition has no target state, the transition may still be triggered, but this will not cause the state machine’s configuration to change (i.e. the current state will not be exited and re-entered).
|targetStates : list<QAbstractState>|
The target states of this transition.
If multiple states are specified, they all must be descendants of the same parallel group state.
This signal is emitted when the transition has been triggered.
The corresponding handler is