Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Qt3::QTextFlow Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-write/qrichtext_p.h>

Collaboration diagram for Qt3::QTextFlow:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QTextFlow ()
virtual ~QTextFlow ()
virtual void setWidth (int width)
int width () const
virtual void setPageSize (int ps)
int pageSize () const
virtual int adjustLMargin (int yp, int h, int margin, int space)
virtual int adjustRMargin (int yp, int h, int margin, int space)
virtual void registerFloatingItem (QTextCustomItem *item)
virtual void unregisterFloatingItem (QTextCustomItem *item)
virtual QRect boundingRect () const
virtual void drawFloatingItems (QPainter *p, int cx, int cy, int cw, int ch, const QColorGroup &cg, bool selected)
virtual int adjustFlow (int y, int w, int h)
virtual bool isEmpty ()
void clear ()

Private Attributes

int w
int pagesize
QPtrList< QTextCustomItemleftItems
QPtrList< QTextCustomItemrightItems

Friends

class QTextDocument
class QTextTableCell

Constructor & Destructor Documentation

QTextFlow::QTextFlow  ) 
 

Definition at line 6899 of file qrichtext.cpp.

References FALSE, leftItems, pagesize, rightItems, QPtrCollection::setAutoDelete(), and w.

QTextFlow::~QTextFlow  )  [virtual]
 

Definition at line 6906 of file qrichtext.cpp.


Member Function Documentation

int QTextFlow::adjustFlow int  y,
int  w,
int  h
[virtual]
 

Definition at line 6944 of file qrichtext.cpp.

References border_tolerance, and pagesize.

Referenced by Qt3::QTextTable::pageBreak().

int QTextFlow::adjustLMargin int  yp,
int  h,
int  margin,
int  space
[virtual]
 

Definition at line 6921 of file qrichtext.cpp.

References QPtrList< type >::first(), leftItems, and QPtrList< type >::next().

int QTextFlow::adjustRMargin int  yp,
int  h,
int  margin,
int  space
[virtual]
 

Definition at line 6932 of file qrichtext.cpp.

References QPtrList< type >::first(), QPtrList< type >::next(), rightItems, and w.

QRect QTextFlow::boundingRect  )  const [virtual]
 

Definition at line 6974 of file qrichtext.cpp.

References QPtrListIterator< type >::current(), l, leftItems, and rightItems.

Referenced by Qt3::QTextDocument::height().

void QTextFlow::clear  ) 
 

Definition at line 6910 of file qrichtext.cpp.

References QPtrList< type >::clear(), leftItems, and rightItems.

Referenced by Qt3::QTextDocument::clear().

void QTextFlow::drawFloatingItems QPainter *  p,
int  cx,
int  cy,
int  cw,
int  ch,
const QColorGroup &  cg,
bool  selected
[virtual]
 

Definition at line 6991 of file qrichtext.cpp.

References Qt3::QTextCustomItem::draw(), QPtrList< type >::first(), leftItems, QPtrList< type >::next(), rightItems, Qt3::QTextCustomItem::xpos, and Qt3::QTextCustomItem::ypos.

bool QTextFlow::isEmpty  )  [virtual]
 

Definition at line 88 of file qrichtext_p.cpp.

References QPtrList< type >::isEmpty(), leftItems, and rightItems.

int Qt3::QTextFlow::pageSize  )  const [inline]
 

Definition at line 503 of file qrichtext_p.h.

Referenced by Qt3::QTextTable::pageBreak().

void QTextFlow::registerFloatingItem QTextCustomItem item  )  [virtual]
 

Definition at line 6963 of file qrichtext.cpp.

References QPtrList< type >::append(), QPtrList< type >::contains(), leftItems, Qt3::QTextCustomItem::PlaceLeft, Qt3::QTextCustomItem::PlaceRight, and rightItems.

Referenced by Qt3::QTextDocument::registerCustomItem().

void QTextFlow::setPageSize int  ps  )  [virtual]
 

Definition at line 87 of file qrichtext_p.cpp.

References pagesize.

void QTextFlow::setWidth int  width  )  [virtual]
 

Definition at line 6916 of file qrichtext.cpp.

References w.

Referenced by Qt3::QTextDocument::doLayout(), Qt3::QTextDocument::init(), and Qt3::QTextDocument::setWidth().

void QTextFlow::unregisterFloatingItem QTextCustomItem item  )  [virtual]
 

Definition at line 6957 of file qrichtext.cpp.

References leftItems, QPtrList< type >::removeRef(), and rightItems.

Referenced by Qt3::QTextDocument::unregisterCustomItem().

int Qt3::QTextFlow::width  )  const [inline]
 

Definition at line 528 of file qrichtext_p.h.

References QTextFlow::w.

Referenced by Qt3::QTextDocument::width().


Friends And Related Function Documentation

friend class QTextDocument [friend]
 

Definition at line 492 of file qrichtext_p.h.

friend class QTextTableCell [friend]
 

Definition at line 493 of file qrichtext_p.h.


Member Data Documentation

QPtrList<QTextCustomItem> Qt3::QTextFlow::leftItems [private]
 

Definition at line 523 of file qrichtext_p.h.

Referenced by adjustLMargin(), boundingRect(), clear(), drawFloatingItems(), isEmpty(), QTextFlow(), registerFloatingItem(), and unregisterFloatingItem().

int Qt3::QTextFlow::pagesize [private]
 

Definition at line 521 of file qrichtext_p.h.

Referenced by adjustFlow(), QTextFlow(), and setPageSize().

QPtrList<QTextCustomItem> Qt3::QTextFlow::rightItems [private]
 

Definition at line 524 of file qrichtext_p.h.

Referenced by adjustRMargin(), boundingRect(), clear(), drawFloatingItems(), isEmpty(), QTextFlow(), registerFloatingItem(), and unregisterFloatingItem().

int Qt3::QTextFlow::w [private]
 

Definition at line 520 of file qrichtext_p.h.

Referenced by adjustRMargin(), QTextFlow(), and setWidth().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:03:24 2005 for OPIE by  doxygen 1.4.2