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

QTextTable Class Reference

#include </home/clem/local/src/opie/qmake/include/private/qrichtext_p.h>

Inheritance diagram for QTextTable:

Inheritance graph
[legend]
Collaboration diagram for QTextTable:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QTextTable (QTextDocument *p, const QMap< QString, QString > &attr)
virtual ~QTextTable ()
void adjustToPainter (QPainter *p)
void pageBreak (int y, QTextFlow *flow)
void draw (QPainter *p, int x, int y, int cx, int cy, int cw, int ch, const QColorGroup &cg, bool selected)
bool noErase () const
bool ownLine () const
Placement placement () const
bool isNested () const
void resize (int nwidth)
virtual void invalidate ()
virtual bool enter (QTextCursor *c, QTextDocument *&doc, QTextParagraph *&parag, int &idx, int &ox, int &oy, bool atEnd=FALSE)
virtual bool enterAt (QTextCursor *c, QTextDocument *&doc, QTextParagraph *&parag, int &idx, int &ox, int &oy, const QPoint &pos)
virtual bool next (QTextCursor *c, QTextDocument *&doc, QTextParagraph *&parag, int &idx, int &ox, int &oy)
virtual bool prev (QTextCursor *c, QTextDocument *&doc, QTextParagraph *&parag, int &idx, int &ox, int &oy)
virtual bool down (QTextCursor *c, QTextDocument *&doc, QTextParagraph *&parag, int &idx, int &ox, int &oy)
virtual bool up (QTextCursor *c, QTextDocument *&doc, QTextParagraph *&parag, int &idx, int &ox, int &oy)
QString richText () const
int minimumWidth () const
QPtrList< QTextTableCelltableCells () const
bool isStretching () const

Private Member Functions

void format (int w)
void addCell (QTextTableCell *cell)
void adjustCells (int y, int shift)

Private Attributes

QGridLayout * layout
QPtrList< QTextTableCellcells
int cachewidth
int fixwidth
int cellpadding
int cellspacing
int border
int outerborder
int stretch
int innerborder
int us_cp
int us_ib
int us_b
int us_ob
int us_cs
QMap< QString, QStringattributes
QMap< QTextCursor *, int > currCell
Placement place
int pageBreakFor

Friends

class QTextTableCell

Constructor & Destructor Documentation

QTextTable::QTextTable QTextDocument p,
const QMap< QString, QString > &  attr
 

virtual QTextTable::~QTextTable  )  [virtual]
 


Member Function Documentation

void QTextTable::addCell QTextTableCell cell  )  [private]
 

void QTextTable::adjustCells int  y,
int  shift
[private]
 

void QTextTable::adjustToPainter QPainter *  p  )  [virtual]
 

Reimplemented from QTextCustomItem.

virtual bool QTextTable::down QTextCursor c,
QTextDocument *&  doc,
QTextParagraph *&  parag,
int &  idx,
int &  ox,
int &  oy
[virtual]
 

Reimplemented from QTextCustomItem.

void QTextTable::draw QPainter *  p,
int  x,
int  y,
int  cx,
int  cy,
int  cw,
int  ch,
const QColorGroup &  cg,
bool  selected
[virtual]
 

Implements QTextCustomItem.

virtual bool QTextTable::enter QTextCursor c,
QTextDocument *&  doc,
QTextParagraph *&  parag,
int &  idx,
int &  ox,
int &  oy,
bool  atEnd = FALSE
[virtual]
 

Reimplemented from QTextCustomItem.

virtual bool QTextTable::enterAt QTextCursor c,
QTextDocument *&  doc,
QTextParagraph *&  parag,
int &  idx,
int &  ox,
int &  oy,
const QPoint &  pos
[virtual]
 

Reimplemented from QTextCustomItem.

void QTextTable::format int  w  )  [private]
 

virtual void QTextTable::invalidate  )  [virtual]
 

Reimplemented from QTextCustomItem.

bool QTextTable::isNested  )  const [inline, virtual]
 

Reimplemented from QTextCustomItem.

Definition at line 655 of file qrichtext_p.h.

References TRUE.

bool QTextTable::isStretching  )  const [inline]
 

Definition at line 672 of file qrichtext_p.h.

int QTextTable::minimumWidth  )  const [virtual]
 

Reimplemented from QTextCustomItem.

virtual bool QTextTable::next QTextCursor c,
QTextDocument *&  doc,
QTextParagraph *&  parag,
int &  idx,
int &  ox,
int &  oy
[virtual]
 

Reimplemented from QTextCustomItem.

bool QTextTable::noErase  )  const [inline]
 

Definition at line 652 of file qrichtext_p.h.

References TRUE.

bool QTextTable::ownLine  )  const [inline, virtual]
 

Reimplemented from QTextCustomItem.

Definition at line 653 of file qrichtext_p.h.

References TRUE.

void QTextTable::pageBreak int  y,
QTextFlow flow
[virtual]
 

Reimplemented from QTextCustomItem.

Placement QTextTable::placement  )  const [inline, virtual]
 

Reimplemented from QTextCustomItem.

Definition at line 654 of file qrichtext_p.h.

References place().

virtual bool QTextTable::prev QTextCursor c,
QTextDocument *&  doc,
QTextParagraph *&  parag,
int &  idx,
int &  ox,
int &  oy
[virtual]
 

Reimplemented from QTextCustomItem.

void QTextTable::resize int  nwidth  )  [virtual]
 

Reimplemented from QTextCustomItem.

QString QTextTable::richText  )  const [virtual]
 

Reimplemented from QTextCustomItem.

QPtrList<QTextTableCell> QTextTable::tableCells  )  const [inline]
 

Definition at line 670 of file qrichtext_p.h.

virtual bool QTextTable::up QTextCursor c,
QTextDocument *&  doc,
QTextParagraph *&  parag,
int &  idx,
int &  ox,
int &  oy
[virtual]
 

Reimplemented from QTextCustomItem.


Friends And Related Function Documentation

friend class QTextTableCell [friend]
 

Definition at line 641 of file qrichtext_p.h.


Member Data Documentation

QMap<QString, QString> QTextTable::attributes [private]
 

Definition at line 690 of file qrichtext_p.h.

int QTextTable::border [private]
 

Definition at line 685 of file qrichtext_p.h.

int QTextTable::cachewidth [private]
 

Definition at line 681 of file qrichtext_p.h.

int QTextTable::cellpadding [private]
 

Definition at line 683 of file qrichtext_p.h.

QPtrList<QTextTableCell> QTextTable::cells [private]
 

Definition at line 680 of file qrichtext_p.h.

int QTextTable::cellspacing [private]
 

Definition at line 684 of file qrichtext_p.h.

QMap<QTextCursor*, int> QTextTable::currCell [private]
 

Definition at line 691 of file qrichtext_p.h.

int QTextTable::fixwidth [private]
 

Definition at line 682 of file qrichtext_p.h.

int QTextTable::innerborder [private]
 

Definition at line 688 of file qrichtext_p.h.

QGridLayout* QTextTable::layout [private]
 

Definition at line 679 of file qrichtext_p.h.

int QTextTable::outerborder [private]
 

Definition at line 686 of file qrichtext_p.h.

int QTextTable::pageBreakFor [private]
 

Definition at line 694 of file qrichtext_p.h.

Placement QTextTable::place [private]
 

Definition at line 692 of file qrichtext_p.h.

int QTextTable::stretch [private]
 

Definition at line 687 of file qrichtext_p.h.

int QTextTable::us_b [private]
 

Definition at line 689 of file qrichtext_p.h.

int QTextTable::us_cp [private]
 

Definition at line 689 of file qrichtext_p.h.

int QTextTable::us_cs [private]
 

Definition at line 689 of file qrichtext_p.h.

int QTextTable::us_ib [private]
 

Definition at line 689 of file qrichtext_p.h.

int QTextTable::us_ob [private]
 

Definition at line 689 of file qrichtext_p.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:49:49 2005 for OPIE by  doxygen 1.4.2