QMouseEvent¶
- PyQt5.Qt3DInput.QMouseEvent
Inherits from QObject.
Description¶
The Qt3DCore::QMouseEvent contains parameters that describe a mouse event.
Mouse events occur when a mouse button is pressed and the ray traversing the view, originating from the mouse position intersects with one or more elements of the scene.
See also
QKeyEvent, QWheelEvent, QMouseHandler.
Enums¶
- Buttons
Member
Value
Description
BackButton TODO
TODO
LeftButton TODO
TODO
MiddleButton TODO
TODO
NoButton TODO
TODO
RightButton TODO
TODO
- Modifiers
Member
Value
Description
AltModifier TODO
TODO
ControlModifier TODO
TODO
KeypadModifier TODO
TODO
MetaModifier TODO
TODO
NoModifier TODO
TODO
ShiftModifier TODO
TODO
Methods¶
- __init__(QMouseEvent)
TODO
- button() Buttons
Returns the mouse button of the mouse event.
- buttons() int
Returns a bitfield to be used to check for mouse buttons that may be accompanying the mouse event.
- isAccepted() bool
TODO
- modifiers() Modifiers
Returns the keyboard modifiers that may be accompanying the mouse event.
- setAccepted(bool)
See also
- type() Type
TODO
- wasHeld() bool
TODO
- x() int
TODO
- y() int
TODO