7#include <private/qdebug_p.h>
198 useHeight = (rw <=
s.wd);
200 useHeight = (rw >=
s.wd);
382#ifndef QT_NO_DATASTREAM
395 if (
s.version() == 1)
414 if (
s.version() == 1) {
428#ifndef QT_NO_DEBUG_STREAM
646 qreal rw =
s.ht * wd / ht;
649 useHeight = (rw <=
s.wd);
651 useHeight = (rw >=
s.wd);
657 return QSizeF(
s.wd,
s.wd * ht / wd);
816#ifndef QT_NO_DATASTREAM
854#ifndef QT_NO_DEBUG_STREAM
\inmodule QtCore\reentrant
constexpr void setHeight(qreal h) noexcept
Sets the height to the given finite height.
constexpr void setWidth(qreal w) noexcept
Sets the width to the given finite width.
constexpr qreal width() const noexcept
Returns the width.
QSizeF scaled(qreal w, qreal h, Qt::AspectRatioMode mode) const noexcept
constexpr qreal height() const noexcept
Returns the height.
void transpose() noexcept
Swaps the width and height values.
constexpr int height() const noexcept
Returns the height.
constexpr int width() const noexcept
Returns the width.
constexpr int & rheight() noexcept
Returns a reference to the height.
QSize scaled(int w, int h, Qt::AspectRatioMode mode) const noexcept
constexpr int & rwidth() noexcept
Returns a reference to the width.
void transpose() noexcept
Swaps the width and height values.
Combined button and popup list for selecting options.
static void formatQSize(QDebug &debug, const Size &size)
bool qIsNull(qfloat16 f) noexcept
GLfloat GLfloat GLfloat w
[0]
GLfloat GLfloat GLfloat GLfloat h
QDataStream & operator<<(QDataStream &s, const QSize &sz)
QDataStream & operator>>(QDataStream &s, QSize &sz)