Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide2.QtCore »

Classe « QStateMachine »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QAbstractState
                QState
                    QStateMachine

Définition

class QStateMachine(QState):

Description [extrait de QStateMachine.__doc__]

QStateMachine(self, childMode: PySide2.QtCore.QState.ChildMode, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)
QStateMachine(self, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
DontRestorePropertiesPySide2.QtCore.QState.RestorePolicy.DontRestoreProperties
ExclusiveStatesPySide2.QtCore.QState.ChildMode.ExclusiveStates
HighPriorityPySide2.QtCore.QStateMachine.EventPriority.HighPriority
NoCommonAncestorForTransitionErrorPySide2.QtCore.QStateMachine.Error.NoCommonAncestorForTransitionError
NoDefaultStateInHistoryStateErrorPySide2.QtCore.QStateMachine.Error.NoDefaultStateInHistoryStateError
NoErrorPySide2.QtCore.QStateMachine.Error.NoError
NoInitialStateErrorPySide2.QtCore.QStateMachine.Error.NoInitialStateError
NormalPriorityPySide2.QtCore.QStateMachine.EventPriority.NormalPriority
ParallelStatesPySide2.QtCore.QState.ChildMode.ParallelStates
RestorePropertiesPySide2.QtCore.QState.RestorePolicy.RestoreProperties
StateMachineChildModeSetToParallelErrorPySide2.QtCore.QStateMachine.Error.StateMachineChildModeSetToParallelError
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe36bebd80>

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
activeChanged
addDefaultAnimation(self, animation: PySide2.QtCore.QAbstractAnimation) addDefaultAnimation(self, animation: PySide2.QtCore.QAbstractAnimation) [extrait de addDefaultAnimation.__doc__]
addState(self, state: PySide2.QtCore.QAbstractState) addState(self, state: PySide2.QtCore.QAbstractState) [extrait de addState.__doc__]
beginMicrostep(self, event: PySide2.QtCore.QEvent) beginMicrostep(self, event: PySide2.QtCore.QEvent) [extrait de beginMicrostep.__doc__]
beginSelectTransitions(self, event: PySide2.QtCore.QEvent) beginSelectTransitions(self, event: PySide2.QtCore.QEvent) [extrait de beginSelectTransitions.__doc__]
cancelDelayedEvent(self, id: int) -> bool cancelDelayedEvent(self, id: int) -> bool [extrait de cancelDelayedEvent.__doc__]
childModeChanged
clearError(self) clearError(self) [extrait de clearError.__doc__]
configuration configuration(self) -> typing.Set[PySide2.QtCore.QAbstractState] [extrait de configuration.__doc__]
defaultAnimations(self) -> typing.List[PySide2.QtCore.QAbstractAnimation] defaultAnimations(self) -> typing.List[PySide2.QtCore.QAbstractAnimation] [extrait de defaultAnimations.__doc__]
destroyed
endMicrostep(self, event: PySide2.QtCore.QEvent) endMicrostep(self, event: PySide2.QtCore.QEvent) [extrait de endMicrostep.__doc__]
endSelectTransitions(self, event: PySide2.QtCore.QEvent) endSelectTransitions(self, event: PySide2.QtCore.QEvent) [extrait de endSelectTransitions.__doc__]
entered
Error
error(self) -> PySide2.QtCore.QStateMachine.Error error(self) -> PySide2.QtCore.QStateMachine.Error [extrait de error.__doc__]
errorStateChanged
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
event(self, e: PySide2.QtCore.QEvent) -> bool event(self, e: PySide2.QtCore.QEvent) -> bool [extrait de event.__doc__]
eventFilter(self, watched: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) -> bool eventFilter(self, watched: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) -> bool [extrait de eventFilter.__doc__]
EventPriority
exited
finished
globalRestorePolicy(self) -> PySide2.QtCore.QState.RestorePolicy globalRestorePolicy(self) -> PySide2.QtCore.QState.RestorePolicy [extrait de globalRestorePolicy.__doc__]
initialStateChanged
isAnimated(self) -> bool isAnimated(self) -> bool [extrait de isAnimated.__doc__]
isRunning(self) -> bool isRunning(self) -> bool [extrait de isRunning.__doc__]
objectNameChanged
onEntry(self, event: PySide2.QtCore.QEvent) onEntry(self, event: PySide2.QtCore.QEvent) [extrait de onEntry.__doc__]
onExit(self, event: PySide2.QtCore.QEvent) onExit(self, event: PySide2.QtCore.QEvent) [extrait de onExit.__doc__]
postDelayedEvent(self, event: PySide2.QtCore.QEvent, delay: int) -> int postDelayedEvent(self, event: PySide2.QtCore.QEvent, delay: int) -> int [extrait de postDelayedEvent.__doc__]
postEvent(self, event: PySide2.QtCore.QEvent, priority: PySide2.QtCore.QStateMachine.EventPriority = PySide2.QtCore.QStateMachine.EventPriority.NormalPriority) postEvent(self, event: PySide2.QtCore.QEvent, priority: PySide2.QtCore.QStateMachine.EventPriority = PySide2.QtCore.QStateMachine.EventPriority.NormalPriority) [extrait de postEvent.__doc__]
propertiesAssigned
removeDefaultAnimation(self, animation: PySide2.QtCore.QAbstractAnimation) removeDefaultAnimation(self, animation: PySide2.QtCore.QAbstractAnimation) [extrait de removeDefaultAnimation.__doc__]
removeState(self, state: PySide2.QtCore.QAbstractState) removeState(self, state: PySide2.QtCore.QAbstractState) [extrait de removeState.__doc__]
runningChanged
setAnimated(self, enabled: bool) setAnimated(self, enabled: bool) [extrait de setAnimated.__doc__]
setGlobalRestorePolicy(self, restorePolicy: PySide2.QtCore.QState.RestorePolicy) setGlobalRestorePolicy(self, restorePolicy: PySide2.QtCore.QState.RestorePolicy) [extrait de setGlobalRestorePolicy.__doc__]
setRunning(self, running: bool) setRunning(self, running: bool) [extrait de setRunning.__doc__]
SignalEvent SignalEvent(self, SignalEvent: PySide2.QtCore.QStateMachine.SignalEvent) [extrait de SignalEvent.__doc__]
start(self) start(self) [extrait de start.__doc__]
started
stop(self) stop(self) [extrait de stop.__doc__]
stopped
WrappedEvent WrappedEvent(self, WrappedEvent: PySide2.QtCore.QStateMachine.WrappedEvent) [extrait de WrappedEvent.__doc__]

Méthodes héritées de la classe QState

__init_subclass__, __subclasshook__, addTransition, assignProperty, ChildMode, childMode, errorState, initialState, removeTransition, RestorePolicy, setChildMode, setErrorState, setInitialState, transitions

Méthodes héritées de la classe QAbstractState

__init_subclass__, __subclasshook__, active, machine, parentState

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, registerUserData, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

Méthodes héritées de la classe Object

__init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__