class QEventTransition#

Inheritance diagram of PySide6.QtStateMachine.QEventTransition

Inherited by: QMouseEventTransition, QKeyEventTransition

Synopsis#

Properties#

Methods#

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#

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property eventSourceᅟ: QObject#
Access functions:
property eventTypeᅟ: QEvent.Type#
Access functions:
__init__(object, type[, sourceState=None])#
Parameters:
__init__([sourceState=None])
Parameters:

sourceStateQState

eventSource()#
Return type:

QObject

Getter of property eventSourceᅟ .

eventType()#
Return type:

Type

Getter of property eventTypeᅟ .

setEventSource(object)#
Parameters:

objectQObject

Setter of property eventSourceᅟ .

setEventType(type)#
Parameters:

typeType

Setter of property eventTypeᅟ .