QMouseEventTransition#

Inheritance diagram of PySide6.QtStateMachine.QMouseEventTransition

Synopsis#

Properties#

Functions#

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.QMouseEventTransition(object, type, button[, sourceState=None])#

PySide6.QtStateMachine.QMouseEventTransition([sourceState=None])

Parameters:

Note

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

property PᅟySide6.QtStateMachine.QMouseEventTransition.button: MouseButton#
Access functions:
property PᅟySide6.QtStateMachine.QMouseEventTransition.modifierMask: Combination of Qt.KeyboardModifier#
Access functions:
PySide6.QtStateMachine.QMouseEventTransition.button()#
Return type:

MouseButton

Getter of property button .

PySide6.QtStateMachine.QMouseEventTransition.hitTestPath()#
Return type:

PySide6.QtGui.QPainterPath

PySide6.QtStateMachine.QMouseEventTransition.modifierMask()#
Return type:

Combination of Qt.KeyboardModifier

Getter of property modifierMask .

PySide6.QtStateMachine.QMouseEventTransition.setButton(button)#
Parameters:

buttonMouseButton

Setter of property button .

PySide6.QtStateMachine.QMouseEventTransition.setHitTestPath(path)#
Parameters:

pathPySide6.QtGui.QPainterPath

PySide6.QtStateMachine.QMouseEventTransition.setModifierMask(modifiers)#
Parameters:

modifiers – Combination of Qt.KeyboardModifier

Setter of property modifierMask .