QAnnotation Class

(Qt3D::QAnnotation)

The QAnnotation class provides ... More...

Header: #include <QAnnotation>
qmake: QT += 3drenderer
Since: Qt 5.5
Instantiated By: Annotation
Inherits:

Properties

Public Functions

QAnnotation(QNode * parent = 0)
~QAnnotation()
QString name() const
void setName(const QString & customType)
void setValue(const QVariant & value)
QVariant value() const

Signals

void nameChanged()
void valueChanged()

Protected Functions

void copy(const QNode * ref)

Detailed Description

The QAnnotation class provides ...

Property Documentation

name : QString

Access functions:

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

Notifier signal:

void nameChanged()

value : QVariant

Access functions:

QVariant value() const
void setValue(const QVariant & value)

Notifier signal:

void valueChanged()

Member Function Documentation

QAnnotation::QAnnotation(QNode * parent = 0)

The constructor creats a new annotation under parent.

QAnnotation::~QAnnotation()

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

Copies the annotation in ref into this annotation.

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