QLogicalDevice Class
(Qt3DInput::QLogicalDevice)QLogicalDevice allows the user to define a set of actions that they wish to use within an application. 更多...
头文件: | #include <QLogicalDevice> |
qmake: | QT += 3dinput |
开始支持版本: | Qt 5.6 |
Instantiated By: | LogicalDevice |
基类: | Qt3DCore::QComponent |
公有函数
QLogicalDevice(Qt3DCore::QNode *parent = nullptr) | |
~QLogicalDevice() | |
QVector<QAction *> | actions() const |
void | addAction(QAction *action) |
void | addAxis(QAxis *axis) |
QVector<QAxis *> | axes() const |
void | removeAction(QAction *action) |
void | removeAxis(QAxis *axis) |
- 2 个公有函数继承自 Qt3DCore::QComponent
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
其他继承的成员
- 1 个属性继承自 Qt3DCore::QComponent
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
- 1 个公有槽函数继承自 Qt3DCore::QComponent
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
- 3 个信号继承自 Qt3DCore::QComponent
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
QLogicalDevice allows the user to define a set of actions that they wish to use within an application.
成员函数
QLogicalDevice::QLogicalDevice(Qt3DCore::QNode *parent = nullptr)
Constructs a new QLogicalDevice instance with parent parent.
QLogicalDevice::~QLogicalDevice()
Destroys the instance of QLogicalDevice.
QVector<QAction *> QLogicalDevice::actions() const
Returns the list of actions.
void QLogicalDevice::addAction(QAction *action)
Add an action to the list of actions.
void QLogicalDevice::addAxis(QAxis *axis)
Add an axis to the list of axis.
QVector<QAxis *> QLogicalDevice::axes() const
Returns the list of axis.
void QLogicalDevice::removeAction(QAction *action)
Remove an action from the list of actions.
void QLogicalDevice::removeAxis(QAxis *axis)
Remove an axis drom the list of axis.