QMouseController Class
(Qt3DInput::QMouseController)QMouseController is in charge of dispatching mouse events to attached QMouseInput objects. More...
Header: | #include <QMouseController> |
qmake: | QT += 3dinput |
Since: | Qt 5.5 |
Instantiated By: | MouseController |
Inherits: | Qt3DInput::QAbstractPhysicalDevice |
Public Types
enum | Axis { X, Y } |
enum | Button { Left, Center, Right } |
Properties
- sensitivity : float
- 2 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
QMouseController(Qt3DCore::QNode *parent = Q_NULLPTR) | |
~QMouseController() | |
float | sensitivity() const |
Reimplemented Public Functions
virtual int | axisCount() const |
virtual int | axisIdentifier(const QString &name) const |
virtual QStringList | axisNames() const |
virtual int | buttonCount() const |
virtual int | buttonIdentifier(const QString &name) const |
virtual QStringList | buttonNames() const |
- 9 public functions inherited from Qt3DInput::QAbstractPhysicalDevice
- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
Public Slots
void | setSensitivity(float value) |
- 2 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
void | sensitivityChanged(float value) |
- 2 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
Protected Functions
QMouseController(QMouseControllerPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR) | |
void | copy(const Qt3DCore::QNode *ref) |
void | sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change) |
- 1 protected function inherited from Qt3DInput::QAbstractPhysicalDevice
- 3 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
Additional Inherited Members
- 11 static public members inherited from QObject
- 1 static protected member inherited from Qt3DCore::QNode
Detailed Description
QMouseController is in charge of dispatching mouse events to attached QMouseInput objects.
See also QMouseInput.
Member Type Documentation
enum QMouseController::Axis
enum QMouseController::Button
Property Documentation
sensitivity : float
Access functions:
float | sensitivity() const |
void | setSensitivity(float value) |
Notifier signal:
void | sensitivityChanged(float value) |
Member Function Documentation
QMouseController::QMouseController(Qt3DCore::QNode *parent = Q_NULLPTR)
Default constructs an instance of QMouseController.
[protected]
QMouseController::QMouseController(QMouseControllerPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)
Copy constructor.
QMouseController::~QMouseController()
Destroys this QMouseController object.
[virtual]
int QMouseController::axisCount() const
[virtual]
int QMouseController::axisIdentifier(const QString &name) const
[virtual]
QStringList QMouseController::axisNames() const
[virtual]
int QMouseController::buttonCount() const
[virtual]
int QMouseController::buttonIdentifier(const QString &name) const
[virtual]
QStringList QMouseController::buttonNames() const
[protected]
void QMouseController::copy(const Qt3DCore::QNode *ref)
[protected]
void QMouseController::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change)
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/archives/qt-5.6/qt3dinput-qmousecontroller.html