QEventTransition#
Inherited by: QMouseEventTransition, QKeyEventTransition
Synopsis#
Properties#
Functions#
def
eventSource()def
eventType()def
setEventSource(object)def
setEventType(type)
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.QEventTransition(object, type[, sourceState=None])#
PySide6.QtStateMachine.QEventTransition([sourceState=None])
- Parameters:
sourceState –
PySide6.QtStateMachine.QStatetype –
Typeobject –
PySide6.QtCore.QObject
Note
Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.
- property PᅟySide6.QtStateMachine.QEventTransition.eventSource: PySide6.QtCore.QObject#
- Access functions:
eventSource()setEventSource(object)
- property PᅟySide6.QtStateMachine.QEventTransition.eventType: Type#
- Access functions:
eventType()setEventType(type)
- PySide6.QtStateMachine.QEventTransition.eventSource()#
- Return type:
Getter of property eventSource .
Getter of property eventType .
- PySide6.QtStateMachine.QEventTransition.setEventSource(object)#
- Parameters:
object –
PySide6.QtCore.QObject
Setter of property eventSource .
Setter of property eventType .