QAbstractTransition#

Inheritance diagram of PySide6.QtStateMachine.QAbstractTransition

Inherited by: QSignalTransition, QEventTransition, QMouseEventTransition, QKeyEventTransition

Synopsis#

Properties#

Functions#

Virtual functions#

Signals#

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:

sourceStatePySide6.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:
property PᅟySide6.QtStateMachine.QAbstractTransition.targetState: PySide6.QtStateMachine.QAbstractState#
Access functions:
property PᅟySide6.QtStateMachine.QAbstractTransition.targetStates#
Access functions:
property PᅟySide6.QtStateMachine.QAbstractTransition.transitionType: TransitionType#
Access functions:
PySide6.QtStateMachine.QAbstractTransition.TransitionType#
PySide6.QtStateMachine.QAbstractTransition.addAnimation(animation)#
Parameters:

animationPySide6.QtCore.QAbstractAnimation

PySide6.QtStateMachine.QAbstractTransition.animations()#
abstract PySide6.QtStateMachine.QAbstractTransition.eventTest(event)#
Parameters:

eventPySide6.QtCore.QEvent

Return type:

bool

PySide6.QtStateMachine.QAbstractTransition.machine()#
Return type:

PySide6.QtStateMachine.QStateMachine

abstract PySide6.QtStateMachine.QAbstractTransition.onTransition(event)#
Parameters:

eventPySide6.QtCore.QEvent

PySide6.QtStateMachine.QAbstractTransition.removeAnimation(animation)#
Parameters:

animationPySide6.QtCore.QAbstractAnimation

PySide6.QtStateMachine.QAbstractTransition.setTargetState(target)#
Parameters:

targetPySide6.QtStateMachine.QAbstractState

Setter of property targetState .

PySide6.QtStateMachine.QAbstractTransition.setTargetStates(targets)#
Parameters:

targets

Setter of property targetStates .

PySide6.QtStateMachine.QAbstractTransition.setTransitionType(type)#
Parameters:

typeTransitionType

Setter of property transitionType .

PySide6.QtStateMachine.QAbstractTransition.sourceState()#
Return type:

PySide6.QtStateMachine.QState

Getter of property sourceState .

PySide6.QtStateMachine.QAbstractTransition.targetState()#
Return type:

PySide6.QtStateMachine.QAbstractState

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:

TransitionType

Getter of property transitionType .

PySide6.QtStateMachine.QAbstractTransition.triggered()#