QParameter Class
(Qt3DRender::QParameter)Provides storage for a name and value pair. More...
Header: | #include <QParameter> |
qmake: | QT += 3drender |
Instantiated By: | Parameter |
Inherits: | Qt3DCore::QNode |
Properties
- 2 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
QParameter(Qt3DCore::QNode *parent = nullptr) | |
QParameter(const QString &name, const QVariant &value, Qt3DCore::QNode *parent = nullptr) | |
QParameter(const QString &name, QAbstractTexture *texture, Qt3DCore::QNode *parent = nullptr) | |
QString | name() const |
QVariant | value() const |
- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
Public Slots
- 2 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
void | nameChanged(const QString &name) |
void | valueChanged(const QVariant &value) |
- 3 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
Protected Functions
QParameter(QParameterPrivate &dd, Qt3DCore::QNode *parent = nullptr) |
- 2 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
Additional Inherited Members
- 11 static public members inherited from QObject
Detailed Description
Provides storage for a name and value pair.
Property Documentation
name : QString
Specifies the name of the parameter
Access functions:
QString | name() const |
void | setName(const QString &name) |
Notifier signal:
void | nameChanged(const QString &name) |
value : QVariant
Specifies the value of the parameter
Access functions:
QVariant | value() const |
void | setValue(const QVariant &dv) |
Notifier signal:
void | valueChanged(const QVariant &value) |
Member Function Documentation
QParameter::QParameter(Qt3DCore::QNode *parent = nullptr)
Constructs a new QParameter with the specified parent.
QParameter::QParameter(const QString &name, const QVariant &value, Qt3DCore::QNode *parent = nullptr)
Default constructs an instance of QParameter.
QParameter::QParameter(const QString &name, QAbstractTexture *texture, Qt3DCore::QNode *parent = nullptr)
Default constructs an instance of QParameter.
[protected]
QParameter::QParameter(QParameterPrivate &dd, Qt3DCore::QNode *parent = nullptr)
Copy constructor.
© 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.