#include <qsize.h>
Public Member Functions | |
| QSize () | |
| QSize (int w, int h) | |
| bool | isNull () const |
| bool | isEmpty () const |
| bool | isValid () const |
| int | width () const |
| int | height () const |
| void | setWidth (int w) |
| void | setHeight (int h) |
| void | transpose () |
| void | scale (int w, int h, Qt::AspectRatioMode mode) |
| void | scale (const QSize &s, Qt::AspectRatioMode mode) |
| QSize | expandedTo (const QSize &) const |
| QSize | boundedTo (const QSize &) const |
| int & | rwidth () |
| int & | rheight () |
| QSize & | operator+= (const QSize &) |
| QSize & | operator-= (const QSize &) |
| QSize & | operator*= (qreal c) |
| QSize & | operator/= (qreal c) |
Friends | |
| bool | operator== (const QSize &, const QSize &) |
| bool | operator!= (const QSize &, const QSize &) |
| const QSize | operator+ (const QSize &, const QSize &) |
| const QSize | operator- (const QSize &, const QSize &) |
| const QSize | operator* (const QSize &, qreal) |
| const QSize | operator* (qreal, const QSize &) |
| const QSize | operator/ (const QSize &, qreal) |
|
inline |
|
inline |
| void scale | ( | const QSize & | s, |
| Qt::AspectRatioMode | mode | ||
| ) |
|
inline |
|
inline |