Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qrect.h File Reference

(00ff24091d5928492577b7a13e4856bc4c171178)

#include <QtCore/qcheckedint_impl.h>
#include <QtCore/qhashfunctions.h>
#include <QtCore/qmargins.h>
#include <QtCore/qsize.h>
#include <QtCore/qpoint.h>
Include dependency graph for qrect.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QRect
 \inmodule QtCore\reentrant More...
class  QRectF
 \inmodule QtCore\reentrant More...

Functions

 Q_DECLARE_TYPEINFO (QRect, Q_RELOCATABLE_TYPE)
Q_CORE_EXPORT QDataStreamoperator<< (QDataStream &, const QRect &)
Q_CORE_EXPORT QDataStreamoperator>> (QDataStream &, QRect &)
constexpr size_t qHash (const QRect &r, size_t seed=0)
constexpr QRect operator+ (const QRect &rectangle, const QMargins &margins) noexcept
constexpr QRect operator+ (const QMargins &margins, const QRect &rectangle) noexcept
constexpr QRect operator- (const QRect &lhs, const QMargins &rhs) noexcept
Q_CORE_EXPORT QDebug operator<< (QDebug, const QRect &)
 Q_DECLARE_TYPEINFO (QRectF, Q_RELOCATABLE_TYPE)
Q_CORE_EXPORT QDataStreamoperator<< (QDataStream &, const QRectF &)
Q_CORE_EXPORT QDataStreamoperator>> (QDataStream &, QRectF &)
constexpr QRectF operator+ (const QRectF &lhs, const QMarginsF &rhs) noexcept
constexpr QRectF operator+ (const QMarginsF &lhs, const QRectF &rhs) noexcept
constexpr QRectF operator- (const QRectF &lhs, const QMarginsF &rhs) noexcept
Q_CORE_EXPORT QDebug operator<< (QDebug, const QRectF &)

Function Documentation

◆ operator+() [1/4]

QRect operator+ ( const QMargins & margins,
const QRect & rectangle )
related

Definition at line 462 of file qrect.h.

◆ operator+() [2/4]

QRectF operator+ ( const QMarginsF & lhs,
const QRectF & rhs )
related

Definition at line 906 of file qrect.h.

◆ operator+() [3/4]

QRect operator+ ( const QRect & rectangle,
const QMargins & margins )
related

Definition at line 456 of file qrect.h.

◆ operator+() [4/4]

QRectF operator+ ( const QRectF & lhs,
const QMarginsF & rhs )
related

Definition at line 900 of file qrect.h.

◆ operator-() [1/2]

QRect operator- ( const QRect & lhs,
const QMargins & rhs )
related

Definition at line 468 of file qrect.h.

◆ operator-() [2/2]

QRectF operator- ( const QRectF & lhs,
const QMarginsF & rhs )
related

Definition at line 912 of file qrect.h.

◆ operator<<() [1/4]

QDataStream & operator<< ( QDataStream & s,
const QRect & r )
related

Definition at line 1244 of file qrect.cpp.

◆ operator<<() [2/4]

QDataStream & operator<< ( QDataStream & s,
const QRectF & r )
related

Definition at line 2500 of file qrect.cpp.

◆ operator<<() [3/4]

QDebug operator<< ( QDebug dbg,
const QRect & r )

Definition at line 1284 of file qrect.cpp.

◆ operator<<() [4/4]

QDebug operator<< ( QDebug dbg,
const QRectF & r )

Definition at line 2532 of file qrect.cpp.

◆ operator>>() [1/2]

QDataStream & operator>> ( QDataStream & s,
QRect & r )
related

Definition at line 1265 of file qrect.cpp.

◆ operator>>() [2/2]

QDataStream & operator>> ( QDataStream & s,
QRectF & r )
related

Definition at line 2517 of file qrect.cpp.

◆ Q_DECLARE_TYPEINFO() [1/2]

Q_DECLARE_TYPEINFO ( QRect ,
Q_RELOCATABLE_TYPE  )

◆ Q_DECLARE_TYPEINFO() [2/2]

Q_DECLARE_TYPEINFO ( QRectF ,
Q_RELOCATABLE_TYPE  )

◆ qHash()

size_t qHash ( const QRect & r,
size_t seed = 0 )
inlineconstexprnoexcept

Definition at line 451 of file qrect.h.