Qt 6.x
The Qt SDK
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 84 of file qtextdocumentlayout.cpp.

Constructor & Destructor Documentation

◆ QTextLayoutStruct()

QTextLayoutStruct::QTextLayoutStruct ( )
inline

Definition at line 85 of file qtextdocumentlayout.cpp.

Member Function Documentation

◆ absoluteY()

QFixed QTextLayoutStruct::absoluteY ( ) const
inline

Definition at line 111 of file qtextdocumentlayout.cpp.

References frameY, and y.

Referenced by currentPage(), QTextDocumentLayoutPrivate::layoutBlock(), and QTextDocumentLayoutPrivate::layoutFlow().

+ Here is the caller graph for this function:

◆ addUpdateRectForFloat()

void QTextLayoutStruct::addUpdateRectForFloat ( const QRectF rect)
inline

Definition at line 104 of file qtextdocumentlayout.cpp.

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

Referenced by QTextDocumentLayoutPrivate::layoutFlow().

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

◆ contentHeight()

QFixed QTextLayoutStruct::contentHeight ( ) const
inline

Definition at line 114 of file qtextdocumentlayout.cpp.

References pageBottomMargin, pageHeight, and pageTopMargin.

Referenced by QTextDocumentLayoutPrivate::layoutBlock().

+ Here is the caller graph for this function:

◆ currentPage()

int QTextLayoutStruct::currentPage ( ) const
inline

Definition at line 117 of file qtextdocumentlayout.cpp.

References absoluteY(), and pageHeight.

Referenced by QTextDocumentLayoutPrivate::layoutCell(), and QTextDocumentLayoutPrivate::layoutFlow().

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

◆ newPage()

void QTextLayoutStruct::newPage ( )
inline

Definition at line 120 of file qtextdocumentlayout.cpp.

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

Referenced by QTextDocumentLayoutPrivate::layoutBlock(), QTextDocumentLayoutPrivate::layoutFlow(), and QTextDocumentLayoutPrivate::positionFloat().

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

Member Data Documentation

◆ contentsWidth

◆ frame

◆ frameY

◆ fullLayout

◆ maximumWidth

◆ minimumWidth

◆ pageBottom

◆ pageBottomMargin

◆ pageHeight

◆ pageTopMargin

QFixed QTextLayoutStruct::pageTopMargin

◆ pendingFloats

QList<QTextFrame *> QTextLayoutStruct::pendingFloats

◆ updateRect

QRectF QTextLayoutStruct::updateRect

◆ updateRectForFloats

QRectF QTextLayoutStruct::updateRectForFloats

◆ x_left

◆ x_right

◆ y


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