- class QAbstractTransition¶
-
Inherited by:
QSignalTransition
,QEventTransition
,QMouseEventTransition
,QKeyEventTransition
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
addAnimation()
def
animations()
def
machine()
def
setTargetState()
def
sourceState()
def
targetState()
def
targetStates()
def
transitionType()
Virtual methods¶
def
eventTest()
def
onTransition()
Signals¶
def
triggered()
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 TransitionType¶
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- Access functions:
- property targetStateᅟ: QAbstractState¶
- Access functions:
- property targetStatesᅟ: list of QAbstractState¶
- Access functions:
- property transitionTypeᅟ: QAbstractTransition.TransitionType¶
- Access functions:
- addAnimation(animation)¶
- Parameters:
animation –
QAbstractAnimation
- animations()¶
- Return type:
.list of QAbstractAnimation
- machine()¶
- Return type:
- removeAnimation(animation)¶
- Parameters:
animation –
QAbstractAnimation
- setTargetState(target)¶
- Parameters:
target –
QAbstractState
Setter of property
targetStateᅟ
.- setTargetStates(targets)¶
- Parameters:
targets – .list of QAbstractState
Setter of property
targetStatesᅟ
.- setTransitionType(type)¶
- Parameters:
type –
TransitionType
Setter of property
transitionTypeᅟ
.Getter of property
sourceStateᅟ
.- targetState()¶
- Return type:
Getter of property
targetStateᅟ
.- targetStateChanged()¶
Notification signal of property
targetStateᅟ
.- targetStates()¶
- Return type:
.list of QAbstractState
Getter of property
targetStatesᅟ
.- targetStatesChanged()¶
Notification signal of property
targetStatesᅟ
.- transitionType()¶
- Return type:
Getter of property
transitionTypeᅟ
.- triggered()¶