QStateMachine#

Inheritance diagram of PySide6.QtStateMachine.QStateMachine

Synopsis#

Properties#

Functions#

Virtual functions#

Slots#

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.QStateMachine([parent=None])#

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

Parameters:

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property PᅟySide6.QtStateMachine.QStateMachine.animated: bool#
Access functions:
property PᅟySide6.QtStateMachine.QStateMachine.errorString: str#
Access functions:
property PᅟySide6.QtStateMachine.QStateMachine.globalRestorePolicy: RestorePolicy#
Access functions:
property PᅟySide6.QtStateMachine.QStateMachine.running: bool#
Access functions:
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

Getter of property errorString .

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

RestorePolicy

Getter of property globalRestorePolicy .

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

bool

Getter of property animated .

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

bool

Getter of property running .

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

Notification signal of property running .

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

enabled – bool

Setter of property animated .

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

restorePolicyRestorePolicy

Setter of property globalRestorePolicy .

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

running – bool

Setter of property running .

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