QSafeSize Struct

struct SafeRenderer::QSafeSize

The 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

SafeRenderer::quint32 height() const
void setHeight(const SafeRenderer::quint32 heightArg)
void setWidth(const SafeRenderer::quint32 widthArg)
SafeRenderer::quint32 width() const

Detailed Description

The QSafeSize class holds the height and width variables.

Member Function Documentation


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.