Q3DWheelEvent Class
(Qt3D::Q3DWheelEvent)The Qt3D::Q3DWheelEvent contains parameters that describe a mouse wheel event. More...
Header: | #include <Q3DWheelEvent> |
qmake: | QT += 3dcore |
Since: | Qt 5.5 |
Inherits: | QObject |
Public Types
enum | Buttons { LeftButton, RightButton, MiddleButton, BackButton, NoButton } |
enum | Modifiers { NoModifier, ShiftModifier, ControlModifier, AltModifier, MetaModifier, KeypadModifier } |
Properties
|
- 1 property inherited from QObject
Public Functions
Q3DWheelEvent(const QWheelEvent & e) | |
~Q3DWheelEvent() | |
QPoint | angleDelta() const |
int | buttons() const |
bool | isAccepted() const |
Modifiers | modifier() const |
void | setAccepted(bool accepted) |
QEvent::Type | type() const |
int | x() const |
int | y() const |
- 31 public functions inherited from QObject
Additional Inherited Members
- 1 public slot inherited from QObject
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
The Qt3D::Q3DWheelEvent contains parameters that describe a mouse wheel event.
Mouse wheel events occur when the mouse is rotated.
See also Qt3D::Q3DKeyEvent, Qt3D::Q3DMouseEvent, and Qt3D::QMouseInput.
Property Documentation
accepted : bool
Access functions:
bool | isAccepted() const |
void | setAccepted(bool accepted) |
angleDelta : const QPoint
Access functions:
QPoint | angleDelta() const |
buttons : const int
Access functions:
int | buttons() const |
modifier : const Qt3D::Q3DWheelEvent::Modifiers
Access functions:
Modifiers | modifier() const |
x : const int
Access functions:
int | x() const |
y : const int
Access functions:
int | y() const |
Member Function Documentation
Q3DWheelEvent::Q3DWheelEvent(const QWheelEvent & e)
Constructs a new Qt3D::Q3DWheelEvent instance from the QWheelEvent e.
Q3DWheelEvent::~Q3DWheelEvent()
QEvent::Type Q3DWheelEvent::type() const
Returns the QEvent::Type of the event.