Note
This class was introduced in Qt 4.6
The PySide.QtGui.QMouseEventTransition class provides a transition for mouse events.
PySide.QtGui.QMouseEventTransition is part of The State Machine Framework .
See also
QState.addTransition()
Parameters: |
|
---|
Constructs a new mouse event transition with the given sourceState .
Return type: | PySide.QtCore.Qt.MouseButton |
---|
This property holds the button that this mouse event transition is associated with.
Return type: | PySide.QtGui.QPainterPath |
---|
Returns the hit test path for this mouse event transition.
Return type: | PySide.QtCore.Qt.KeyboardModifiers |
---|
This property holds the keyboard modifier mask that this mouse event transition checks for.
Parameters: | button – PySide.QtCore.Qt.MouseButton |
---|
This property holds the button that this mouse event transition is associated with.
Parameters: | path – PySide.QtGui.QPainterPath |
---|
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.
Parameters: | modifiers – PySide.QtCore.Qt.KeyboardModifiers |
---|
This property holds the keyboard modifier mask that this mouse event transition checks for.