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
QFixedSize Struct Reference

#include <qfixed_p.h>

Collaboration diagram for QFixedSize:

Public Member Functions

constexpr QFixedSize ()
constexpr QFixedSize (QFixed _width, QFixed _height)
constexpr QSizeF toSizeF () const

Static Public Member Functions

static constexpr QFixedSize fromSizeF (const QSizeF &s)

Public Attributes

QFixed width
QFixed height

Detailed Description

Definition at line 182 of file qfixed_p.h.

Constructor & Destructor Documentation

◆ QFixedSize() [1/2]

QFixedSize::QFixedSize ( )
inlineconstexpr

Definition at line 185 of file qfixed_p.h.

◆ QFixedSize() [2/2]

QFixedSize::QFixedSize ( QFixed _width,
QFixed _height )
inlineconstexpr

Definition at line 186 of file qfixed_p.h.

References height, and width.

Member Function Documentation

◆ fromSizeF()

constexpr QFixedSize QFixedSize::fromSizeF ( const QSizeF & s)
inlinestaticconstexpr

Definition at line 188 of file qfixed_p.h.

◆ toSizeF()

QSizeF QFixedSize::toSizeF ( ) const
inlineconstexpr

Definition at line 187 of file qfixed_p.h.

References height, and width.

Member Data Documentation

◆ height

QFixed QFixedSize::height

Definition at line 184 of file qfixed_p.h.

Referenced by QFixedSize(), and toSizeF().

◆ width

QFixed QFixedSize::width

Definition at line 183 of file qfixed_p.h.

Referenced by QFixedSize(), and toSizeF().


The documentation for this struct was generated from the following file: