Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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]

constexpr QFixedSize::QFixedSize ( )
inlineconstexpr

Definition at line 185 of file qfixed_p.h.

Referenced by fromSizeF().

+ Here is the caller graph for this function:

◆ QFixedSize() [2/2]

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

Definition at line 186 of file qfixed_p.h.

Member Function Documentation

◆ fromSizeF()

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

Definition at line 188 of file qfixed_p.h.

References QFixedSize(), and QFixed::fromReal().

Referenced by QTextDocumentLayout::resizeInlineObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toSizeF()

constexpr QSizeF QFixedSize::toSizeF ( ) const
inlineconstexpr

Definition at line 187 of file qfixed_p.h.

Referenced by QTextDocumentLayoutPrivate::layoutFlow().

+ Here is the caller graph for this function:

Member Data Documentation

◆ height

◆ width

QFixed QFixedSize::width

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