Qt 4.8
Public Functions | Public Variables | List of all members
QTextLayoutStruct Struct Reference

Public Functions

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

Public Variables

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

Detailed Description

Definition at line 124 of file qtextdocumentlayout.cpp.

Constructors and Destructors

◆ QTextLayoutStruct()

QTextLayoutStruct::QTextLayoutStruct ( )
inline

Definition at line 125 of file qtextdocumentlayout.cpp.

126  {}
#define QFIXED_MAX
Definition: qfixed_p.h:158

Functions

◆ absoluteY()

QFixed QTextLayoutStruct::absoluteY ( ) const
inline

◆ addUpdateRectForFloat()

void QTextLayoutStruct::addUpdateRectForFloat ( const QRectF rect)
inline

Definition at line 144 of file qtextdocumentlayout.cpp.

Referenced by QTextDocumentLayoutPrivate::layoutFlow().

144  {
146  updateRectForFloats |= rect;
147  else
148  updateRectForFloats = rect;
149  }
bool isValid() const
Returns true if the rectangle is valid, otherwise returns false.
Definition: qrect.h:661

◆ currentPage()

int QTextLayoutStruct::currentPage ( ) const
inline

Definition at line 154 of file qtextdocumentlayout.cpp.

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

155  { return pageHeight == 0 ? 0 : (absoluteY() / pageHeight).truncate(); }

◆ newPage()

void QTextLayoutStruct::newPage ( )
inline

Properties

◆ contentsWidth

QFixed QTextLayoutStruct::contentsWidth

◆ frame

QTextFrame* QTextLayoutStruct::frame

◆ frameY

QFixed QTextLayoutStruct::frameY

◆ fullLayout

bool QTextLayoutStruct::fullLayout

◆ maximumWidth

QFixed QTextLayoutStruct::maximumWidth

◆ minimumWidth

QFixed QTextLayoutStruct::minimumWidth

◆ pageBottom

QFixed QTextLayoutStruct::pageBottom

◆ pageBottomMargin

QFixed QTextLayoutStruct::pageBottomMargin

◆ pageHeight

QFixed QTextLayoutStruct::pageHeight

◆ pageTopMargin

QFixed QTextLayoutStruct::pageTopMargin

◆ pendingFloats

QList<QTextFrame *> QTextLayoutStruct::pendingFloats

◆ updateRect

QRectF QTextLayoutStruct::updateRect

◆ updateRectForFloats

QRectF QTextLayoutStruct::updateRectForFloats

Definition at line 142 of file qtextdocumentlayout.cpp.

Referenced by QTextDocumentLayoutPrivate::layoutFrame().

◆ x_left

QFixed QTextLayoutStruct::x_left

◆ x_right

QFixed QTextLayoutStruct::x_right

◆ y

QFixed QTextLayoutStruct::y

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