class QMouseEventTransition

Inheritance diagram of PySide6.QtStateMachine.QMouseEventTransition

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 buttonᅟ: Qt.MouseButton
Access functions:
property modifierMaskᅟ: Combination of Qt.KeyboardModifier
Access functions:
__init__([sourceState=None])
Parameters:

sourceStateQState

__init__(object, type, button[, sourceState=None])
Parameters:
button()
Return type:

MouseButton

Getter of property buttonᅟ .

hitTestPath()
Return type:

QPainterPath

modifierMask()
Return type:

Combination of KeyboardModifier

Getter of property modifierMaskᅟ .

setButton(button)
Parameters:

buttonMouseButton

Setter of property buttonᅟ .

setHitTestPath(path)
Parameters:

pathQPainterPath

setModifierMask(modifiers)
Parameters:

modifiers – Combination of KeyboardModifier

Setter of property modifierMaskᅟ .