QPaintedTextureImage Class

(Qt3DRender::QPaintedTextureImage)

Properties

Public Functions

QPaintedTextureImage(Qt3DCore::QNode *parent = nullptr)
~QPaintedTextureImage()
int height() const
QSize size() const
void update(const QRect &rect = QRect())
int width() const

Public Slots

void setHeight(int h)
void setSize(QSize size)
void setWidth(int w)

Signals

void heightChanged(int w)
void sizeChanged(QSize size)
void widthChanged(int w)

Protected Functions

virtual void paint(QPainter *painter) = 0

Additional Inherited Members

  • 11 static public members inherited from QObject

Property Documentation

height : int

Access functions:

int height() const
void setHeight(int h)

Notifier signal:

void heightChanged(int w)

size : QSize

Access functions:

QSize size() const
void setSize(QSize size)

Notifier signal:

void sizeChanged(QSize size)

width : int

Access functions:

int width() const
void setWidth(int w)

Notifier signal:

void widthChanged(int w)

Member Function Documentation

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

Default constructs an instance of QPaintedTextureImage.

QPaintedTextureImage::~QPaintedTextureImage()

Destroys the instance of QPaintedTextureImage.

[pure virtual protected] void QPaintedTextureImage::paint(QPainter *painter)

void QPaintedTextureImage::update(const QRect &rect = QRect())

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