#include <QtCore/qnamespace.h>
Go to the source code of this file.
|
class | QSize |
| The QSize class defines the size of a two-dimensional object using integer point precision. More...
|
|
class | QSizeF |
| The QSizeF class defines the size of a two-dimensional object using floating point precision. More...
|
|
|
bool | operator!= (const QSize &s1, const QSize &s2) |
|
bool | operator!= (const QSizeF &s1, const QSizeF &s2) |
|
const QSize | operator* (const QSize &s, qreal c) |
|
const QSize | operator* (qreal c, const QSize &s) |
|
const QSizeF | operator* (const QSizeF &s, qreal c) |
|
const QSizeF | operator* (qreal c, const QSizeF &s) |
|
const QSize | operator+ (const QSize &s1, const QSize &s2) |
|
const QSizeF | operator+ (const QSizeF &s1, const QSizeF &s2) |
|
const QSize | operator- (const QSize &s1, const QSize &s2) |
|
const QSizeF | operator- (const QSizeF &s1, const QSizeF &s2) |
|
const QSize | operator/ (const QSize &s, qreal c) |
|
const QSizeF | operator/ (const QSizeF &s, qreal c) |
|
Q_CORE_EXPORT QDataStream & | operator<< (QDataStream &, const QSize &) |
|
Q_CORE_EXPORT QDebug | operator<< (QDebug, const QSize &) |
|
Q_CORE_EXPORT QDataStream & | operator<< (QDataStream &, const QSizeF &) |
|
Q_CORE_EXPORT QDebug | operator<< (QDebug, const QSizeF &) |
|
bool | operator== (const QSize &s1, const QSize &s2) |
|
bool | operator== (const QSizeF &s1, const QSizeF &s2) |
|
Q_CORE_EXPORT QDataStream & | operator>> (QDataStream &, QSize &) |
|
Q_CORE_EXPORT QDataStream & | operator>> (QDataStream &, QSizeF &) |
|
| Q_DECLARE_TYPEINFO (QSize, Q_MOVABLE_TYPE) |
|
| Q_DECLARE_TYPEINFO (QSizeF, Q_MOVABLE_TYPE) |
|
◆ operator!=() [1/2]
bool operator!= |
( |
const QSize & |
s1, |
|
|
const QSize & |
s2 |
|
) |
| |
|
inline |
◆ operator!=() [2/2]
Definition at line 317 of file qsize.h.
bool qFuzzyCompare(const QMatrix &m1, const QMatrix &m2)
The qFuzzyCompare function is for comparing two matrices using a fuzziness factor.
◆ operator*() [1/4]
Definition at line 168 of file qsize.h.
The QSize class defines the size of a two-dimensional object using integer point precision.
Q_DECL_CONSTEXPR int qRound(qreal d)
◆ operator*() [2/4]
Definition at line 171 of file qsize.h.
The QSize class defines the size of a two-dimensional object using integer point precision.
Q_DECL_CONSTEXPR int qRound(qreal d)
◆ operator*() [3/4]
Definition at line 326 of file qsize.h.
The QSizeF class defines the size of a two-dimensional object using floating point precision...
◆ operator*() [4/4]
Definition at line 329 of file qsize.h.
The QSizeF class defines the size of a two-dimensional object using floating point precision...
◆ operator+() [1/2]
Definition at line 162 of file qsize.h.
The QSize class defines the size of a two-dimensional object using integer point precision.
◆ operator+() [2/2]
Definition at line 320 of file qsize.h.
The QSizeF class defines the size of a two-dimensional object using floating point precision...
◆ operator-() [1/2]
Definition at line 165 of file qsize.h.
The QSize class defines the size of a two-dimensional object using integer point precision.
◆ operator-() [2/2]
Definition at line 323 of file qsize.h.
The QSizeF class defines the size of a two-dimensional object using floating point precision...
◆ operator/() [1/2]
Definition at line 181 of file qsize.h.
static Q_DECL_CONSTEXPR bool qFuzzyIsNull(double d)
The QSize class defines the size of a two-dimensional object using integer point precision.
Q_DECL_CONSTEXPR int qRound(qreal d)
◆ operator/() [2/2]
Definition at line 339 of file qsize.h.
The QSizeF class defines the size of a two-dimensional object using floating point precision...
static Q_DECL_CONSTEXPR bool qFuzzyIsNull(double d)
◆ operator<<() [1/4]
Definition at line 461 of file qsize.cpp.
463 if (s.version() == 1)
◆ operator<<() [2/4]
Definition at line 500 of file qsize.cpp.
501 dbg.nospace() <<
"QSize(" << s.width() <<
", " << s.height() <<
')';
◆ operator<<() [3/4]
Definition at line 953 of file qsize.cpp.
955 s << double(sz.width()) <<
double(sz.height());
◆ operator<<() [4/4]
Definition at line 984 of file qsize.cpp.
985 dbg.nospace() <<
"QSizeF(" << s.width() <<
", " << s.height() <<
')';
◆ operator==() [1/2]
bool operator== |
( |
const QSize & |
s1, |
|
|
const QSize & |
s2 |
|
) |
| |
|
inline |
◆ operator==() [2/2]
Definition at line 314 of file qsize.h.
bool qFuzzyCompare(const QMatrix &m1, const QMatrix &m2)
The qFuzzyCompare function is for comparing two matrices using a fuzziness factor.
◆ operator>>() [1/2]
Definition at line 483 of file qsize.cpp.
485 if (s.version() == 1) {
487 s >> w; sz.rwidth() = w;
488 s >> h; sz.rheight() = h;
492 s >> w; sz.rwidth() = w;
493 s >> h; sz.rheight() = h;
◆ operator>>() [2/2]
◆ Q_DECLARE_TYPEINFO() [1/2]
◆ Q_DECLARE_TYPEINFO() [2/2]