QMargins Class

The QMargins class defines the four margins of a rectangle. More...

Header: #include <QMargins>
qmake: QT += core
Since: Qt 4.6
int operator*(const int &, int)

Detailed Description

The QMargins class defines the four margins of a rectangle.

QMargin defines a set of four margins; left, top, right and bottom, that describe the size of the borders surrounding a rectangle.

The isNull() function returns true only if all margins are set to zero.

QMargin objects can be streamed as well as compared.

Related Non-Members

int operator*(const int &, int)

Returns a copy of the given point multiplied by the given factor.

This function was introduced in Qt 5.1.

See also QPoint::operator*=().