QState Class Reference
[QtCore module]
Inherits QAbstractState.
Inherited by QStateMachine.
Types
- enum ChildMode { ExclusiveStates, ParallelStates }
Methods
- __init__ (self, QState parent = None)
- __init__ (self, ChildMode, QState parent = None)
- addTransition (self, QAbstractTransition)
- QSignalTransition addTransition (self, QObject, SIGNAL(), QAbstractState)
- QSignalTransition addTransition (self, signal signal, QAbstractState target)
- QAbstractTransition addTransition (self, QAbstractState)
- assignProperty (self, QObject, str, QVariant)
- ChildMode childMode (self)
- QAbstractState errorState (self)
- bool event (self, QEvent)
- QAbstractState initialState (self)
- onEntry (self, QEvent)
- onExit (self, QEvent)
- removeTransition (self, QAbstractTransition)
- setChildMode (self, ChildMode)
- setErrorState (self, QAbstractState)
- setInitialState (self, QAbstractState)
- list-of-QAbstractTransition transitions (self)
Qt Signals
Detailed Description
Type Documentation
QState.ChildMode
Method Documentation
QState.__init__ (self, QState parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QState.__init__ (self, ChildMode, QState parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
The QAbstractTransition argument has it's ownership transferred to Qt.
The QAbstractState argument has it's ownership transferred to Qt.
QState.assignProperty (self, QObject, str, QVariant)
ChildMode QState.childMode (self)
bool QState.event (self, QEvent)
QState.onEntry (self, QEvent)
QState.onExit (self, QEvent)
The QAbstractTransition argument
QState.setChildMode (self, ChildMode)
QState.setErrorState (self, QAbstractState)
QState.setInitialState (self, QAbstractState)
list-of-QAbstractTransition QState.transitions (self)
Qt Signal Documentation
void finished ()
This is the default overload of this signal.
void propertiesAssigned ()
This is the default overload of this signal.