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 PySide2.Qt3DInput.Qt3DInput.QWheelEvent¶
- PySide2.Qt3DInput.Qt3DInput.QWheelEvent.Buttons¶
Constant
Description
Qt3DInput.QWheelEvent.LeftButton
Qt3DInput.QWheelEvent.RightButton
Qt3DInput.QWheelEvent.MiddleButton
Qt3DInput.QWheelEvent.BackButton
Qt3DInput.QWheelEvent.NoButton
- PySide2.Qt3DInput.Qt3DInput.QWheelEvent.Modifiers¶
Constant
Description
Qt3DInput.QWheelEvent.NoModifier
Qt3DInput.QWheelEvent.ShiftModifier
Qt3DInput.QWheelEvent.ControlModifier
Qt3DInput.QWheelEvent.AltModifier
Qt3DInput.QWheelEvent.MetaModifier
Qt3DInput.QWheelEvent.KeypadModifier
- PySide2.Qt3DInput.Qt3DInput.QWheelEvent.angleDelta()¶
- Return type:
Specifies The change wheel angle of the mouse wheel event
- PySide2.Qt3DInput.Qt3DInput.QWheelEvent.buttons()¶
- Return type:
int
Specifies the button if present in the mouse wheel event
- PySide2.Qt3DInput.Qt3DInput.QWheelEvent.isAccepted()¶
- Return type:
bool
Specifies if the mouse wheel event has been accepted
- PySide2.Qt3DInput.Qt3DInput.QWheelEvent.modifiers()¶
- Return type:
Specifies if any modifiers were applied to the mouse wheel event
- PySide2.Qt3DInput.Qt3DInput.QWheelEvent.setAccepted(accepted)¶
- Parameters:
accepted – bool
Specifies if the mouse wheel event has been accepted
- PySide2.Qt3DInput.Qt3DInput.QWheelEvent.x()¶
- Return type:
int
Specifies The X coordinate of the mouse wheel event
- PySide2.Qt3DInput.Qt3DInput.QWheelEvent.y()¶
- Return type:
int
Specifies The Y coordinate of the mouse wheel event
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.