QText2DEntity Class

(Qt3DExtras::QText2DEntity)

Properties

Public Functions

QText2DEntity(Qt3DCore::QNode *parent = nullptr)
~QText2DEntity()
QColor color() const
QFont font() const
float height() const
void setColor(const QColor &color)
void setFont(const QFont &font)
void setHeight(float height)
void setText(const QString &text)
void setWidth(float width)
QString text() const
float width() const

Signals

void colorChanged(const QColor &color)
void fontChanged(const QFont &font)
void heightChanged(float height)
void textChanged(const QString &text)
void widthChanged(float width)

Additional Inherited Members

Property Documentation

color : QColor

Access functions:

QColor color() const
void setColor(const QColor &color)

Notifier signal:

void colorChanged(const QColor &color)

font : QFont

Access functions:

QFont font() const
void setFont(const QFont &font)

Notifier signal:

void fontChanged(const QFont &font)

height : float

Access functions:

float height() const
void setHeight(float height)

Notifier signal:

void heightChanged(float height)

text : QString

Access functions:

QString text() const
void setText(const QString &text)

Notifier signal:

void textChanged(const QString &text)

width : float

Access functions:

float width() const
void setWidth(float width)

Notifier signal:

void widthChanged(float width)

Member Function Documentation

QText2DEntity::QText2DEntity(Qt3DCore::QNode *parent = nullptr)

Default constructs an instance of QText2DEntity.

QText2DEntity::~QText2DEntity()

Destroys the instance of QText2DEntity.

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