QAction Class

(Qt3DInput::QAction)
Header: #include <QAction>
qmake: QT += 3dinput
Since: Qt 5.6
Inherits: Qt3DCore::QNode

Properties

Public Functions

QAction(Qt3DCore::QNode *parent = Q_NULLPTR)
~QAction()
void addInput(QActionInput *input)
QVector<QActionInput *> inputs() const
QString name() const
void removeInput(QActionInput *input)

Public Slots

void setName(const QString &name)

Signals

void finished(const QString &name)
void nameChanged(const QString &name)
void started(const QString &name)

Protected Functions

void copy(const Qt3DCore::QNode *ref)

Additional Inherited Members

Detailed Description

Property Documentation

name : QString

Access functions:

QString name() const
void setName(const QString &name)

Notifier signal:

void nameChanged(const QString &name)

Member Function Documentation

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

Default constructs an instance of QAction.

QAction::~QAction()

Destroys the instance of QAction.

void QAction::addInput(QActionInput *input)

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

[signal] void QAction::finished(const QString &name)

QVector<QActionInput *> QAction::inputs() const

void QAction::removeInput(QActionInput *input)

[signal] void QAction::started(const QString &name)

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