QViewport Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | QViewport

Qt 5.6.0 Reference Documentation

# QViewport Class

(Qt3DRender::QViewport)

Inherits: | QFrameGraphNode

- List of all members, including inherited members

## Properties

- clearColor : QColor
- rect : QRectF

- 1 property inherited from Qt3DRender::QFrameGraphNode
- 2 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject

## Public Functions

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

- 2 public functions inherited from Qt3DRender::QFrameGraphNode
- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject

## Public Slots

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

- 1 public slot inherited from Qt3DRender::QFrameGraphNode
- 2 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject

## Signals

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

- 1 signal inherited from Qt3DRender::QFrameGraphNode
- 2 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject

## Protected Functions

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

- 3 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject

### Additional Inherited Members

- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 2 protected variables inherited from QObject
- 1 static protected member inherited from Qt3DCore::QNode

## 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 = 0)

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

### QViewport::~QViewport()

### `[protected]` void QViewport::copy(const Qt3DCore::QNode *ref)