Skip to content

PythonQt.QtGui.QMouseEventTransition · declarations 001

Back to PythonQt.QtGui.QMouseEventTransition

button instance-attribute

button: Any

Qt 5 reference:

button : Qt::MouseButton

This property holds the button that this mouse event transition is associated with

Access functions:

Qt::MouseButton button() const
void setButton(Qt::MouseButton button)

Qt::MouseButton QMouseEventTransition::button() const

Returns the button that this mouse event transition checks for.

Note: Getter function for property button.

See also setButton().

Source: https://doc.qt.io/archives/qt-5.15/qmouseeventtransition.html#button

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QMouseEventTransition.destroyed; argument details are not documented.

eventTest

eventTest(event: Any) -> bool

X.eventTest(event) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual protected] bool QMouseEventTransition::eventTest(QEvent *event)

Reimplements: QEventTransition::eventTest(QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

eventTest(self, event: PySide2.QtCore.QEvent) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qmouseeventtransition.html#eventTest

hitTestPath

hitTestPath() -> Any

X.hitTestPath() -> PythonQt.QtGui.QPainterPath

Supplemental documentation: Qt 5 reference:

QPainterPath QMouseEventTransition::hitTestPath() const

Returns the hit test path for this mouse event transition.

See also setHitTestPath().

Upstream PySide2 reference signatures (binding differences may apply):

hitTestPath(self) -> PySide2.QtGui.QPainterPath

Source: https://doc.qt.io/archives/qt-5.15/qmouseeventtransition.html#hitTestPath

modifierMask instance-attribute

modifierMask: Any

Qt 5 reference:

modifierMask : Qt::KeyboardModifiers

This property holds the keyboard modifier mask that this mouse event transition checks for

Access functions:

Qt::KeyboardModifiers modifierMask() const
void setModifierMask(Qt::KeyboardModifiers modifierMask)

Qt::KeyboardModifiers QMouseEventTransition::modifierMask() const

Returns the keyboard modifier mask that this mouse event transition checks for.

Note: Getter function for property modifierMask.

See also setModifierMask().

Source: https://doc.qt.io/archives/qt-5.15/qmouseeventtransition.html#modifierMask

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QMouseEventTransition.objectNameChanged; argument details are not documented.

onTransition

onTransition(event: Any) -> None

X.onTransition(event)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMouseEventTransition::onTransition(QEvent *event)

Reimplements: QEventTransition::onTransition(QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

onTransition(self, event: PySide2.QtCore.QEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmouseeventtransition.html#onTransition

setButton

setButton(button: Any) -> None

X.setButton(button)

Supplemental documentation: Qt 5 reference:

void QMouseEventTransition::setButton(Qt::MouseButton button)

Sets the button that this mouse event transition will check for.

Note: Setter function for property button.

See also button().

Upstream PySide2 reference signatures (binding differences may apply):

setButton(self, button: PySide2.QtCore.Qt.MouseButton) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmouseeventtransition.html#setButton

setHitTestPath

setHitTestPath(path: Any) -> None

X.setHitTestPath(path)

Supplemental documentation: Qt 5 reference:

void QMouseEventTransition::setHitTestPath(const QPainterPath \&path)

Sets the hit test path for this mouse event transition to path. If a valid path has been set, the transition will only trigger if the mouse event position (QMouseEvent::pos()) is inside the path.

See also hitTestPath() and QPainterPath::contains().

Upstream PySide2 reference signatures (binding differences may apply):

setHitTestPath(self, path: PySide2.QtGui.QPainterPath) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmouseeventtransition.html#setHitTestPath

setModifierMask

setModifierMask(modifiers: Any) -> None

X.setModifierMask(modifiers)

Supplemental documentation: Qt 5 reference:

void QMouseEventTransition::setModifierMask(Qt::KeyboardModifiers modifierMask)

Sets the keyboard modifier mask that this mouse event transition will check for to modifierMask.

Note: Setter function for property modifierMask.

See also modifierMask().

Upstream PySide2 reference signatures (binding differences may apply):

setModifierMask(self, modifiers: PySide2.QtCore.Qt.KeyboardModifiers) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmouseeventtransition.html#setModifierMask

targetStateChanged

targetStateChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QMouseEventTransition.targetStateChanged; argument details are not documented.

targetStatesChanged

targetStatesChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QMouseEventTransition.targetStatesChanged; argument details are not documented.

triggered

triggered(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QMouseEventTransition.triggered; argument details are not documented.