QMouseEventTransition#
Synopsis#
Properties#
Functions#
- def - button()
- def - hitTestPath()
- def - modifierMask()
- def - setButton(button)
- def - setHitTestPath(path)
- def - setModifierMask(modifiers)
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:
- sourceState – - PySide6.QtStateMachine.QState
- button – - MouseButton
- type – - Type
- object – - PySide6.QtCore.QObject
 
 
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#
- property PᅟySide6.QtStateMachine.QMouseEventTransition.modifierMask: KeyboardModifiers#
- Access functions:
- modifierMask()
- setModifierMask(modifiers)
 
- PySide6.QtStateMachine.QMouseEventTransition.button()#
- Return type:
 
Getter of property button .
- PySide6.QtStateMachine.QMouseEventTransition.hitTestPath()#
- Return type:
 
- PySide6.QtStateMachine.QMouseEventTransition.modifierMask()#
- Return type:
- KeyboardModifiers
 
Getter of property modifierMask .
- PySide6.QtStateMachine.QMouseEventTransition.setButton(button)#
- Parameters:
- button – - MouseButton
 
Setter of property button .
- PySide6.QtStateMachine.QMouseEventTransition.setHitTestPath(path)#
- Parameters:
- path – - PySide6.QtGui.QPainterPath
 
- PySide6.QtStateMachine.QMouseEventTransition.setModifierMask(modifiers)#
- Parameters:
- modifiers – - KeyboardModifiers
 
Setter of property modifierMask .