QAbstractTransition#
Inherited by: QSignalTransition, QEventTransition, QMouseEventTransition, QKeyEventTransition
Synopsis#
Properties#
Functions#
def
addAnimation
(animation)def
animations
()def
machine
()def
removeAnimation
(animation)def
setTargetState
(target)def
setTargetStates
(targets)def
setTransitionType
(type)def
sourceState
()def
targetState
()def
targetStates
()def
transitionType
()
Virtual functions#
def
eventTest
(event)def
onTransition
(event)
Signals#
def
targetStateChanged
()def
targetStatesChanged
()def
triggered
()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
- class PySide6.QtStateMachine.QAbstractTransition([sourceState=None])#
- Parameters:
sourceState –
PySide6.QtStateMachine.QState
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtStateMachine.QAbstractTransition.sourceState: PySide6.QtStateMachine.QState#
- Access functions:
sourceState
()
- property PᅟySide6.QtStateMachine.QAbstractTransition.targetState: PySide6.QtStateMachine.QAbstractState#
- Access functions:
targetState
()setTargetState
(target)Signal
targetStateChanged
()
- property PᅟySide6.QtStateMachine.QAbstractTransition.targetStates#
- Access functions:
targetStates
()setTargetStates
(targets)Signal
targetStatesChanged
()
- property PᅟySide6.QtStateMachine.QAbstractTransition.transitionType: TransitionType#
- Access functions:
setTransitionType
(type)
- PySide6.QtStateMachine.QAbstractTransition.TransitionType#
- PySide6.QtStateMachine.QAbstractTransition.addAnimation(animation)#
- Parameters:
animation –
PySide6.QtCore.QAbstractAnimation
- PySide6.QtStateMachine.QAbstractTransition.animations()#
- abstract PySide6.QtStateMachine.QAbstractTransition.eventTest(event)#
- Parameters:
event –
PySide6.QtCore.QEvent
- Return type:
bool
- PySide6.QtStateMachine.QAbstractTransition.machine()#
- Return type:
- abstract PySide6.QtStateMachine.QAbstractTransition.onTransition(event)#
- Parameters:
event –
PySide6.QtCore.QEvent
- PySide6.QtStateMachine.QAbstractTransition.removeAnimation(animation)#
- Parameters:
animation –
PySide6.QtCore.QAbstractAnimation
- PySide6.QtStateMachine.QAbstractTransition.setTargetState(target)#
- Parameters:
Setter of property targetState
.
- PySide6.QtStateMachine.QAbstractTransition.setTargetStates(targets)#
- Parameters:
targets –
Setter of property targetStates
.
- PySide6.QtStateMachine.QAbstractTransition.setTransitionType(type)#
- Parameters:
type –
TransitionType
Setter of property transitionType
.
- PySide6.QtStateMachine.QAbstractTransition.sourceState()#
- Return type:
Getter of property sourceState
.
- PySide6.QtStateMachine.QAbstractTransition.targetState()#
- Return type:
Getter of property targetState
.
- PySide6.QtStateMachine.QAbstractTransition.targetStateChanged()#
Notification signal of property targetState
.
- PySide6.QtStateMachine.QAbstractTransition.targetStates()#
Getter of property targetStates
.
- PySide6.QtStateMachine.QAbstractTransition.targetStatesChanged()#
Notification signal of property targetStates
.
- PySide6.QtStateMachine.QAbstractTransition.transitionType()#
- Return type:
Getter of property transitionType
.
- PySide6.QtStateMachine.QAbstractTransition.triggered()#