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
QTextLayoutStruct Struct Reference
+ Collaboration diagram for QTextLayoutStruct:

Public Member Functions

 QTextLayoutStruct ()
 
void addUpdateRectForFloat (const QRectF &rect)
 
QFixed absoluteY () const
 
QFixed contentHeight () const
 
int currentPage () const
 
void newPage ()
 

Public Attributes

QTextFrameframe
 
QFixed x_left
 
QFixed x_right
 
QFixed frameY
 
QFixed y
 
QFixed contentsWidth
 
QFixed minimumWidth
 
QFixed maximumWidth
 
bool fullLayout
 
QList< QTextFrame * > pendingFloats
 
QFixed pageHeight
 
QFixed pageBottom
 
QFixed pageTopMargin
 
QFixed pageBottomMargin
 
QRectF updateRect
 
QRectF updateRectForFloats
 

Detailed Description

Definition at line 85 of file qtextdocumentlayout.cpp.

Constructor & Destructor Documentation

◆ QTextLayoutStruct()

QTextLayoutStruct::QTextLayoutStruct ( )
inline

Definition at line 86 of file qtextdocumentlayout.cpp.

Member Function Documentation

◆ absoluteY()

QFixed QTextLayoutStruct::absoluteY ( ) const
inline

Definition at line 112 of file qtextdocumentlayout.cpp.

References frameY, and y.

Referenced by currentPage().

+ Here is the caller graph for this function:

◆ addUpdateRectForFloat()

void QTextLayoutStruct::addUpdateRectForFloat ( const QRectF & rect)
inline

Definition at line 105 of file qtextdocumentlayout.cpp.

References QRectF::isValid(), rect, and updateRectForFloats.

+ Here is the call graph for this function:

◆ contentHeight()

QFixed QTextLayoutStruct::contentHeight ( ) const
inline

Definition at line 115 of file qtextdocumentlayout.cpp.

References pageBottomMargin, pageHeight, and pageTopMargin.

◆ currentPage()

int QTextLayoutStruct::currentPage ( ) const
inline

Definition at line 118 of file qtextdocumentlayout.cpp.

References absoluteY(), and pageHeight.

+ Here is the call graph for this function:

◆ newPage()

void QTextLayoutStruct::newPage ( )
inline

Definition at line 121 of file qtextdocumentlayout.cpp.

References frameY, pageBottom, pageBottomMargin, pageHeight, pageTopMargin, QFIXED_MAX, and qMax().

+ Here is the call graph for this function:

Member Data Documentation

◆ contentsWidth

QFixed QTextLayoutStruct::contentsWidth

Definition at line 93 of file qtextdocumentlayout.cpp.

◆ frame

QTextFrame* QTextLayoutStruct::frame

◆ frameY

QFixed QTextLayoutStruct::frameY

Definition at line 91 of file qtextdocumentlayout.cpp.

Referenced by absoluteY(), and newPage().

◆ fullLayout

bool QTextLayoutStruct::fullLayout

Definition at line 96 of file qtextdocumentlayout.cpp.

◆ maximumWidth

QFixed QTextLayoutStruct::maximumWidth

Definition at line 95 of file qtextdocumentlayout.cpp.

◆ minimumWidth

QFixed QTextLayoutStruct::minimumWidth

Definition at line 94 of file qtextdocumentlayout.cpp.

◆ pageBottom

QFixed QTextLayoutStruct::pageBottom

Definition at line 99 of file qtextdocumentlayout.cpp.

Referenced by newPage().

◆ pageBottomMargin

QFixed QTextLayoutStruct::pageBottomMargin

Definition at line 101 of file qtextdocumentlayout.cpp.

Referenced by contentHeight(), and newPage().

◆ pageHeight

QFixed QTextLayoutStruct::pageHeight

Definition at line 98 of file qtextdocumentlayout.cpp.

Referenced by contentHeight(), currentPage(), and newPage().

◆ pageTopMargin

QFixed QTextLayoutStruct::pageTopMargin

Definition at line 100 of file qtextdocumentlayout.cpp.

Referenced by contentHeight(), and newPage().

◆ pendingFloats

QList<QTextFrame *> QTextLayoutStruct::pendingFloats

Definition at line 97 of file qtextdocumentlayout.cpp.

◆ updateRect

QRectF QTextLayoutStruct::updateRect

Definition at line 102 of file qtextdocumentlayout.cpp.

◆ updateRectForFloats

QRectF QTextLayoutStruct::updateRectForFloats

Definition at line 103 of file qtextdocumentlayout.cpp.

Referenced by addUpdateRectForFloat().

◆ x_left

QFixed QTextLayoutStruct::x_left

Definition at line 89 of file qtextdocumentlayout.cpp.

◆ x_right

QFixed QTextLayoutStruct::x_right

Definition at line 90 of file qtextdocumentlayout.cpp.

◆ y

QFixed QTextLayoutStruct::y

Definition at line 92 of file qtextdocumentlayout.cpp.

Referenced by absoluteY().


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