QAbstractPhysicalDevice Class

(Qt3DInput::QAbstractPhysicalDevice)
Header: #include <QAbstractPhysicalDevice>
qmake: QT += 3dinput
Since: Qt 5.6
Instantiated By: AbstractPhysicalDevice
Inherits: Qt3DCore::QNode
Inherited By:

Qt3DInput::QKeyboardController and Qt3DInput::QMouseController

Public Functions

QAbstractPhysicalDevice(Qt3DCore::QNode *parent = Q_NULLPTR)
~QAbstractPhysicalDevice()
void addAxisSetting(QAxisSetting *axisSetting)
virtual int axisCount() const = 0
virtual int axisIdentifier(const QString &name) const = 0
virtual QStringList axisNames() const = 0
QVector<QAxisSetting *> axisSettings() const
virtual int buttonCount() const = 0
virtual int buttonIdentifier(const QString &name) const = 0
virtual QStringList buttonNames() const = 0
void removeAxisSetting(QAxisSetting *axisSetting)

Protected Functions

QAbstractPhysicalDevice(QAbstractPhysicalDevicePrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)
void copy(const Qt3DCore::QNode *ref)

Additional Inherited Members

Detailed Description

Member Function Documentation

QAbstractPhysicalDevice::QAbstractPhysicalDevice(Qt3DCore::QNode *parent = Q_NULLPTR)

Default constructs an instance of QAbstractPhysicalDevice.

[protected] QAbstractPhysicalDevice::QAbstractPhysicalDevice(QAbstractPhysicalDevicePrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)

Copy constructor.

QAbstractPhysicalDevice::~QAbstractPhysicalDevice()

Destroys the instance of QAbstractPhysicalDevice.

void QAbstractPhysicalDevice::addAxisSetting(QAxisSetting *axisSetting)

[pure virtual] int QAbstractPhysicalDevice::axisCount() const

[pure virtual] int QAbstractPhysicalDevice::axisIdentifier(const QString &name) const

[pure virtual] QStringList QAbstractPhysicalDevice::axisNames() const

QVector<QAxisSetting *> QAbstractPhysicalDevice::axisSettings() const

[pure virtual] int QAbstractPhysicalDevice::buttonCount() const

[pure virtual] int QAbstractPhysicalDevice::buttonIdentifier(const QString &name) const

[pure virtual] QStringList QAbstractPhysicalDevice::buttonNames() const

[protected] void QAbstractPhysicalDevice::copy(const Qt3DCore::QNode *ref)

void QAbstractPhysicalDevice::removeAxisSetting(QAxisSetting *axisSetting)

© 2017 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.