QWheelEvent#
The QWheelEvent
class contains parameters that describe a mouse wheel event. More…
Synopsis#
Functions#
def
angleDelta
()def
buttons
()def
isAccepted
()def
modifiers
()def
setAccepted
(accepted)def
type
()def
x
()def
y
()
Detailed Description#
Mouse wheel events occur when the mouse is rotated.
See also
QKeyEvent
QMouseEvent
QMouseHandler
- class PySide6.Qt3DInput.Qt3DInput.QWheelEvent#
- PySide6.Qt3DInput.Qt3DInput.QWheelEvent.Buttons#
Constant
Description
Qt3DInput.QWheelEvent.LeftButton
Qt3DInput.QWheelEvent.RightButton
Qt3DInput.QWheelEvent.MiddleButton
Qt3DInput.QWheelEvent.BackButton
Qt3DInput.QWheelEvent.NoButton
- PySide6.Qt3DInput.Qt3DInput.QWheelEvent.Modifiers#
Constant
Description
Qt3DInput.QWheelEvent.NoModifier
Qt3DInput.QWheelEvent.ShiftModifier
Qt3DInput.QWheelEvent.ControlModifier
Qt3DInput.QWheelEvent.AltModifier
Qt3DInput.QWheelEvent.MetaModifier
Qt3DInput.QWheelEvent.KeypadModifier
- PySide6.Qt3DInput.Qt3DInput.QWheelEvent.angleDelta()#
- Return type
Specifies The change wheel angle of the mouse wheel event
- PySide6.Qt3DInput.Qt3DInput.QWheelEvent.buttons()#
- Return type
int
Specifies the button if present in the mouse wheel event
- PySide6.Qt3DInput.Qt3DInput.QWheelEvent.isAccepted()#
- Return type
bool
Specifies if the mouse wheel event has been accepted
Specifies if any modifiers were applied to the mouse wheel event
- PySide6.Qt3DInput.Qt3DInput.QWheelEvent.setAccepted(accepted)#
- Parameters
accepted – bool
Specifies if the mouse wheel event has been accepted
Returns the Type
of the event.
- PySide6.Qt3DInput.Qt3DInput.QWheelEvent.x()#
- Return type
int
Specifies The X coordinate of the mouse wheel event
- PySide6.Qt3DInput.Qt3DInput.QWheelEvent.y()#
- Return type
int
Specifies The Y coordinate of the mouse wheel event