QState#
Inherited by: QStateMachine
Synopsis#
Properties#
Functions#
def
addTransition
(target)def
addTransition
(transition)def
addTransition
(sender, signal, target)def
addTransition
(arg__1, arg__2)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
()
Signals#
def
childModeChanged
()def
errorStateChanged
()def
finished
()def
initialStateChanged
()def
propertiesAssigned
()
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.QState([parent=None])#
PySide6.QtStateMachine.QState(childMode[, parent=None])
- Parameters:
childMode –
ChildMode
parent –
PySide6.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.QState.childMode: ChildMode#
- Access functions:
childMode
()setChildMode
(mode)Signal
childModeChanged
()
- property PᅟySide6.QtStateMachine.QState.errorState: PySide6.QtStateMachine.QAbstractState#
- Access functions:
errorState
()setErrorState
(state)Signal
errorStateChanged
()
- property PᅟySide6.QtStateMachine.QState.initialState: PySide6.QtStateMachine.QAbstractState#
- Access functions:
initialState
()setInitialState
(state)Signal
initialStateChanged
()
- PySide6.QtStateMachine.QState.ChildMode#
- PySide6.QtStateMachine.QState.RestorePolicy#
- 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.addTransition(arg__1, arg__2)
- Parameters:
arg__1 – object
- Return type:
- PySide6.QtStateMachine.QState.assignProperty(object, name, value)#
- Parameters:
object –
PySide6.QtCore.QObject
name – str
value – object
Getter of property childMode
.
- PySide6.QtStateMachine.QState.childModeChanged()#
Notification signal of property childMode
.
- PySide6.QtStateMachine.QState.errorState()#
- Return type:
Getter of property errorState
.
- PySide6.QtStateMachine.QState.errorStateChanged()#
Notification signal of property errorState
.
- PySide6.QtStateMachine.QState.finished()#
- PySide6.QtStateMachine.QState.initialState()#
- Return type:
Getter of property initialState
.
- PySide6.QtStateMachine.QState.initialStateChanged()#
Notification signal of property initialState
.
- PySide6.QtStateMachine.QState.propertiesAssigned()#
- PySide6.QtStateMachine.QState.removeTransition(transition)#
- Parameters:
transition –
PySide6.QtStateMachine.QAbstractTransition
Setter of property childMode
.
- PySide6.QtStateMachine.QState.setErrorState(state)#
- Parameters:
Setter of property errorState
.
- PySide6.QtStateMachine.QState.setInitialState(state)#
- Parameters:
Setter of property initialState
.
- PySide6.QtStateMachine.QState.transitions()#
- Return type:
.list of QAbstractTransition