QState¶
Inherited by: QStateMachine
Synopsis¶
Functions¶
def
addTransition
(arg__1, arg__2)def
addTransition
(sender, signal, target)def
addTransition
(target)def
addTransition
(transition)def
assignProperty
(object, name, value)def
childMode
()def
errorState
()def
initialState
()def
removeTransition
(transition)def
setChildMode
(mode)def
setErrorState
(state)def
setInitialState
(state)def
transitions
()
Detailed Description¶
- class PySide6.QtStateMachine.QState([parent=None])¶
PySide6.QtStateMachine.QState(childMode[, parent=None])
- Parameters
childMode –
ChildMode
parent –
PySide6.QtStateMachine.QState
- PySide6.QtStateMachine.QState.ChildMode¶
- PySide6.QtStateMachine.QState.RestorePolicy¶
- PySide6.QtStateMachine.QState.addTransition(arg__1, arg__2)¶
- Parameters
arg__1 – object
- Return type
- PySide6.QtStateMachine.QState.addTransition(target)
- Parameters
- Return type
- PySide6.QtStateMachine.QState.addTransition(transition)
- Parameters
transition –
PySide6.QtStateMachine.QAbstractTransition
- PySide6.QtStateMachine.QState.addTransition(sender, signal, target)
- Parameters
sender –
PySide6.QtCore.QObject
signal – str
- Return type
- PySide6.QtStateMachine.QState.assignProperty(object, name, value)¶
- Parameters
object –
PySide6.QtCore.QObject
name – str
value – object
- PySide6.QtStateMachine.QState.errorState()¶
- Return type
- PySide6.QtStateMachine.QState.initialState()¶
- Return type
- PySide6.QtStateMachine.QState.removeTransition(transition)¶
- Parameters
transition –
PySide6.QtStateMachine.QAbstractTransition
- PySide6.QtStateMachine.QState.setErrorState(state)¶
- Parameters
- PySide6.QtStateMachine.QState.setInitialState(state)¶
- Parameters
- PySide6.QtStateMachine.QState.transitions()¶
- 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.