QStateMachine#

Synopsis#

Functions#

Virtual functions#

Slots#

Signals#

Detailed Description#

class PySide6.QtStateMachine.QStateMachine([parent=None])#

PySide6.QtStateMachine.QStateMachine(childMode[, parent=None])

Parameters
PySide6.QtStateMachine.QStateMachine.EventPriority#
PySide6.QtStateMachine.QStateMachine.Error#
PySide6.QtStateMachine.QStateMachine.addDefaultAnimation(animation)#
Parameters

animationPySide6.QtCore.QAbstractAnimation

PySide6.QtStateMachine.QStateMachine.addState(state)#
Parameters

statePySide6.QtStateMachine.QAbstractState

PySide6.QtStateMachine.QStateMachine.beginMicrostep(event)#
Parameters

eventPySide6.QtCore.QEvent

PySide6.QtStateMachine.QStateMachine.beginSelectTransitions(event)#
Parameters

eventPySide6.QtCore.QEvent

PySide6.QtStateMachine.QStateMachine.cancelDelayedEvent(id)#
Parameters

id – int

Return type

bool

PySide6.QtStateMachine.QStateMachine.clearError()#
PySide6.QtStateMachine.QStateMachine.configuration()#
Return type

PySide6.QtStateMachine.QStateMachine.endMicrostep(event)#
Parameters

eventPySide6.QtCore.QEvent

PySide6.QtStateMachine.QStateMachine.endSelectTransitions(event)#
Parameters

eventPySide6.QtCore.QEvent

PySide6.QtStateMachine.QStateMachine.error()#
Return type

Error

PySide6.QtStateMachine.QStateMachine.errorString()#
Return type

str

PySide6.QtStateMachine.QStateMachine.globalRestorePolicy()#
Return type

RestorePolicy

PySide6.QtStateMachine.QStateMachine.isAnimated()#
Return type

bool

PySide6.QtStateMachine.QStateMachine.isRunning()#
Return type

bool

PySide6.QtStateMachine.QStateMachine.postDelayedEvent(event, delay)#
Parameters
Return type

int

PySide6.QtStateMachine.QStateMachine.postEvent(event[, priority=QStateMachine.EventPriority.NormalPriority])#
Parameters
PySide6.QtStateMachine.QStateMachine.removeDefaultAnimation(animation)#
Parameters

animationPySide6.QtCore.QAbstractAnimation

PySide6.QtStateMachine.QStateMachine.removeState(state)#
Parameters

statePySide6.QtStateMachine.QAbstractState

PySide6.QtStateMachine.QStateMachine.runningChanged(running)#
Parameters

running – bool

PySide6.QtStateMachine.QStateMachine.setAnimated(enabled)#
Parameters

enabled – bool

PySide6.QtStateMachine.QStateMachine.setGlobalRestorePolicy(restorePolicy)#
Parameters

restorePolicyRestorePolicy

PySide6.QtStateMachine.QStateMachine.setRunning(running)#
Parameters

running – bool

PySide6.QtStateMachine.QStateMachine.start()#
PySide6.QtStateMachine.QStateMachine.stop()#