QViewport Class

(Qt3DRender::QViewport)

Properties

Public Functions

QViewport(Qt3DCore::QNode *parent = Q_NULLPTR)
~QViewport()
QColor clearColor() const
QRectF rect() const

Public Slots

void setClearColor(const QColor &color)
void setRect(const QRectF &rect)

Signals

void clearColorChanged(const QColor &clearColor)
void rectChanged(const QRectF &rect)

Protected Functions

QViewport(QViewportPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)
void copy(const Qt3DCore::QNode *ref)

Additional Inherited Members

Property Documentation

clearColor : QColor

Access functions:

QColor clearColor() const
void setClearColor(const QColor &color)

Notifier signal:

void clearColorChanged(const QColor &clearColor)

rect : QRectF

Access functions:

QRectF rect() const
void setRect(const QRectF &rect)

Notifier signal:

void rectChanged(const QRectF &rect)

Member Function Documentation

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

Default constructs an instance of QViewport.

[protected] QViewport::QViewport(QViewportPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)

Copy constructor.

QViewport::~QViewport()

Destroys the instance of QViewport.

[protected] void QViewport::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.