QAbstractTransition¶
Inherited by: QSignalTransition, QEventTransition, QMouseEventTransition, QKeyEventTransition
Synopsis¶
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)
Detailed Description¶
- class PySide6.QtStateMachine.QAbstractTransition([sourceState=None])¶
- Parameters
sourceState –
PySide6.QtStateMachine.QState
- PySide6.QtStateMachine.QAbstractTransition.TransitionType¶
- PySide6.QtStateMachine.QAbstractTransition.addAnimation(animation)¶
- Parameters
animation –
PySide6.QtCore.QAbstractAnimation
- PySide6.QtStateMachine.QAbstractTransition.animations()¶
- Return type
- PySide6.QtStateMachine.QAbstractTransition.eventTest(event)¶
- Parameters
event –
PySide6.QtCore.QEvent
- Return type
bool
- PySide6.QtStateMachine.QAbstractTransition.machine()¶
- Return type
- 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
- PySide6.QtStateMachine.QAbstractTransition.setTargetStates(targets)¶
- Parameters
targets –
- PySide6.QtStateMachine.QAbstractTransition.setTransitionType(type)¶
- Parameters
type –
TransitionType
- PySide6.QtStateMachine.QAbstractTransition.sourceState()¶
- Return type
- PySide6.QtStateMachine.QAbstractTransition.targetState()¶
- Return type
- PySide6.QtStateMachine.QAbstractTransition.targetStates()¶
- Return type
- PySide6.QtStateMachine.QAbstractTransition.transitionType()¶
- Return type
© 2022 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.