C
QSafeSize Struct
struct SafeRenderer::QSafeSizeThe QSafeSize class holds the height and width variables. More...
Header: | #include <QSafeSize> |
Since: | QtSafeRenderer 1.0 |
This struct was introduced in QtSafeRenderer 1.0.
Public Functions
QSafeSize(const SafeRenderer::quint32 widthArg, const SafeRenderer::quint32 heightArg) | |
QSafeSize() | |
SafeRenderer::quint32 | height() const |
void | setHeight(const SafeRenderer::quint32 heightArg) |
void | setWidth(const SafeRenderer::quint32 widthArg) |
SafeRenderer::quint32 | width() const |
Member Function Documentation
QSafeSize::QSafeSize(const SafeRenderer::quint32 widthArg, const SafeRenderer::quint32 heightArg)
Constructs a safe size object. The width value is set to widthArg. The height value is set to heightArg.
QSafeSize::QSafeSize()
Constructs a default safe size object. The width and height values are set to 0.
SafeRenderer::quint32 QSafeSize::height() const
Returns the height.
See also setHeight().
void QSafeSize::setHeight(const SafeRenderer::quint32 heightArg)
Sets the height to heightArg.
See also height().
void QSafeSize::setWidth(const SafeRenderer::quint32 widthArg)
Sets the width to widthArg.
See also width().
SafeRenderer::quint32 QSafeSize::width() const
Returns the width.
See also setWidth().
Available under certain Qt licenses.
Find out more.