QTextInlineObject Class Reference

QTextInlineObject Class Reference

#include <qtextlayout.h>

Class Description

Definition at line 69 of file qtextlayout.h.

Public Member Functions

 QTextInlineObject (int i, QTextEngine *e)
 
 QTextInlineObject ()
 
bool isValid () const
 
QRectF rect () const
 
qreal width () const
 
qreal ascent () const
 
qreal descent () const
 
qreal height () const
 
Qt::LayoutDirection textDirection () const
 
void setWidth (qreal w)
 
void setAscent (qreal a)
 
void setDescent (qreal d)
 
int textPosition () const
 
int formatIndex () const
 
QTextFormat format () const
 

Friends

class QTextLayout
 

Constructor & Destructor Documentation

QTextInlineObject ( int  i,
QTextEngine *  e 
)
inline

Definition at line 72 of file qtextlayout.h.

72 : itm(i), eng(e) {}
QTextInlineObject ( )
inline

Definition at line 73 of file qtextlayout.h.

73 : itm(0), eng(0) {}

Member Function Documentation

bool isValid ( ) const
inline

Definition at line 74 of file qtextlayout.h.

74 { return eng; }
QRectF rect ( ) const
qreal width ( ) const
qreal ascent ( ) const
qreal descent ( ) const
qreal height ( ) const
Qt::LayoutDirection textDirection ( ) const
void setWidth ( qreal  w)
void setAscent ( qreal  a)
void setDescent ( qreal  d)
int textPosition ( ) const
int formatIndex ( ) const
QTextFormat format ( ) const

Friends And Related Function Documentation

friend class QTextLayout
friend

Definition at line 94 of file qtextlayout.h.


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