QActionInput Class

(Qt3DInput::QActionInput)
Header: #include <QActionInput>
qmake: QT += 3dinput
Since: Qt 5.5
Instantiated By: ActionInput
Inherits: Qt3DCore::QNode

Properties

Public Functions

QActionInput(Qt3DCore::QNode *parent = Q_NULLPTR)
~QActionInput()
QVariantList keys() const
QAbstractPhysicalDevice *sourceDevice() const

Public Slots

void setKeys(const QVariantList &keys)
void setSourceDevice(QAbstractPhysicalDevice *sourceDevice)

Signals

void keysChanged(const QVariantList &keys)
void sourceDeviceChanged(QAbstractPhysicalDevice *sourceDevice)

Protected Functions

void copy(const Qt3DCore::QNode *ref)

Additional Inherited Members

Detailed Description

Property Documentation

keys : QVariantList

Access functions:

QVariantList keys() const
void setKeys(const QVariantList &keys)

Notifier signal:

void keysChanged(const QVariantList &keys)

sourceDevice : Qt3DInput::QAbstractPhysicalDevice *

Access functions:

QAbstractPhysicalDevice *sourceDevice() const
void setSourceDevice(QAbstractPhysicalDevice *sourceDevice)

Notifier signal:

void sourceDeviceChanged(QAbstractPhysicalDevice *sourceDevice)

Member Function Documentation

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

Default constructs an instance of QActionInput.

QActionInput::~QActionInput()

Destroys the instance of QActionInput.

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

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