QStateMachine¶
Synopsis¶
Functions¶
def
addDefaultAnimation
(animation)def
addState
(state)def
cancelDelayedEvent
(id)def
clearError
()def
configuration
()def
error
()def
errorString
()def
globalRestorePolicy
()def
isAnimated
()def
isRunning
()def
postDelayedEvent
(event, delay)def
postEvent
(event[, priority=QStateMachine.EventPriority.NormalPriority])def
removeDefaultAnimation
(animation)def
removeState
(state)def
setAnimated
(enabled)def
setGlobalRestorePolicy
(restorePolicy)
Virtual functions¶
def
beginMicrostep
(event)def
beginSelectTransitions
(event)def
endMicrostep
(event)def
endSelectTransitions
(event)
Slots¶
def
setRunning
(running)def
start
()def
stop
()
Signals¶
def
runningChanged
(running)
Detailed Description¶
- class PySide6.QtStateMachine.QStateMachine([parent=None])¶
PySide6.QtStateMachine.QStateMachine(childMode[, parent=None])
- Parameters
childMode –
ChildMode
parent –
PySide6.QtCore.QObject
- PySide6.QtStateMachine.QStateMachine.EventPriority¶
- PySide6.QtStateMachine.QStateMachine.Error¶
- PySide6.QtStateMachine.QStateMachine.addDefaultAnimation(animation)¶
- Parameters
animation –
PySide6.QtCore.QAbstractAnimation
- PySide6.QtStateMachine.QStateMachine.addState(state)¶
- Parameters
- PySide6.QtStateMachine.QStateMachine.beginMicrostep(event)¶
- Parameters
event –
PySide6.QtCore.QEvent
- PySide6.QtStateMachine.QStateMachine.beginSelectTransitions(event)¶
- Parameters
event –
PySide6.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
event –
PySide6.QtCore.QEvent
- PySide6.QtStateMachine.QStateMachine.endSelectTransitions(event)¶
- Parameters
event –
PySide6.QtCore.QEvent
- PySide6.QtStateMachine.QStateMachine.errorString()¶
- Return type
str
- PySide6.QtStateMachine.QStateMachine.globalRestorePolicy()¶
- Return type
- PySide6.QtStateMachine.QStateMachine.isAnimated()¶
- Return type
bool
- PySide6.QtStateMachine.QStateMachine.isRunning()¶
- Return type
bool
- PySide6.QtStateMachine.QStateMachine.postDelayedEvent(event, delay)¶
- Parameters
event –
PySide6.QtCore.QEvent
delay – int
- Return type
int
- PySide6.QtStateMachine.QStateMachine.postEvent(event[, priority=QStateMachine.EventPriority.NormalPriority])¶
- Parameters
event –
PySide6.QtCore.QEvent
priority –
EventPriority
- PySide6.QtStateMachine.QStateMachine.removeDefaultAnimation(animation)¶
- Parameters
animation –
PySide6.QtCore.QAbstractAnimation
- PySide6.QtStateMachine.QStateMachine.removeState(state)¶
- Parameters
- PySide6.QtStateMachine.QStateMachine.runningChanged(running)¶
- Parameters
running – bool
- PySide6.QtStateMachine.QStateMachine.setAnimated(enabled)¶
- Parameters
enabled – bool
- PySide6.QtStateMachine.QStateMachine.setGlobalRestorePolicy(restorePolicy)¶
- Parameters
restorePolicy –
RestorePolicy
- PySide6.QtStateMachine.QStateMachine.setRunning(running)¶
- Parameters
running – bool
- PySide6.QtStateMachine.QStateMachine.start()¶
- PySide6.QtStateMachine.QStateMachine.stop()¶
© 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.