- class QMouseEventTransition¶
-
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
button()
def
hitTestPath()
def
modifierMask()
def
setButton()
def
setHitTestPath()
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__(object, type, button[, sourceState=None])
- Parameters:
object –
QObject
type –
Type
button –
MouseButton
sourceState –
QState
- button()¶
- Return type:
Getter of property
buttonᅟ
.- hitTestPath()¶
- Return type:
- modifierMask()¶
- Return type:
Combination of
KeyboardModifier
Getter of property
modifierMaskᅟ
.- setButton(button)¶
- Parameters:
button –
MouseButton
Setter of property
buttonᅟ
.- setHitTestPath(path)¶
- Parameters:
path –
QPainterPath
- setModifierMask(modifiers)¶
- Parameters:
modifiers – Combination of
KeyboardModifier
Setter of property
modifierMaskᅟ
.