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

Qt3::QTextTableCell Class Reference

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

Collaboration diagram for Qt3::QTextTableCell:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QTextTableCell (QTextTable *table, int row, int column, const QMap< QString, QString > &attr, const QStyleSheetItem *style, const QTextFormat &fmt, const QString &context, QMimeSourceFactory &factory, QStyleSheet *sheet, const QString &doc)
virtual ~QTextTableCell ()
QSize sizeHint () const
QSize minimumSize () const
QSize maximumSize () const
QSizePolicy::ExpandData expanding () const
bool isEmpty () const
void setGeometry (const QRect &)
QRect geometry () const
bool hasHeightForWidth () const
int heightForWidth (int) const
void adjustToPainter (QPainter *)
int row () const
int column () const
int rowspan () const
int colspan () const
int stretch () const
QTextDocumentrichText () const
QTextTabletable () const
void draw (QPainter *p, int x, int y, int cx, int cy, int cw, int ch, const QColorGroup &cg, bool selected)
QBrush * backGround () const
virtual void invalidate ()
int verticalAlignmentOffset () const
int horizontalAlignmentOffset () const

Private Attributes

QRect geom
QTextTableparent
QTextDocumentrichtext
int row_
int col_
int rowspan_
int colspan_
int stretch_
int maxw
int minw
bool hasFixedWidth
QBrush * background
int cached_width
int cached_sizehint
QMap< QString, QStringattributes
int align

Friends

class QTextTable

Constructor & Destructor Documentation

QTextTableCell::QTextTableCell QTextTable table,
int  row,
int  column,
const QMap< QString, QString > &  attr,
const QStyleSheetItem style,
const QTextFormat fmt,
const QString context,
QMimeSourceFactory &  factory,
QStyleSheet sheet,
const QString doc
 

Definition at line 7492 of file qrichtext.cpp.

References Qt3::QTextTable::addCell(), align, Qt::AlignBottom, Qt::AlignHCenter, Qt::AlignLeft, Qt::AlignRight, Qt::AlignVCenter, attributes, background, cached_sizehint, cached_width, col_, colspan_, QMap< Key, T >::contains(), FALSE, QMap< Key, T >::find(), hasFixedWidth, QString::isEmpty(), QString::left(), QString::length(), QString::lower(), maxw, minw, parent, richtext, row_, rowspan_, s, Qt3::QTextDocument::setAlignment(), Qt3::QTextDocument::setDefaultFormat(), Qt3::QTextDocument::setFormatter(), Qt3::QTextDocument::setMimeSourceFactory(), Qt3::QTextDocument::setRichText(), Qt3::QTextDocument::setStyleSheet(), Qt3::QTextDocument::setTableCell(), Qt3::QTextDocument::setUseFormatCollection(), stretch_, QString::stripWhiteSpace(), QString::toInt(), and TRUE.

QTextTableCell::~QTextTableCell  )  [virtual]
 

Definition at line 7572 of file qrichtext.cpp.

References background, and richtext.


Member Function Documentation

void QTextTableCell::adjustToPainter QPainter *   ) 
 

Definition at line 7645 of file qrichtext.cpp.

References Qt3::QTextParagraph::adjustToPainter(), Qt3::QTextDocument::firstParagraph(), Qt3::QTextParagraph::next(), and richtext.

QBrush* Qt3::QTextTableCell::backGround  )  const [inline]
 

Definition at line 569 of file qrichtext_p.h.

References background.

int Qt3::QTextTableCell::colspan  )  const [inline]
 

Definition at line 561 of file qrichtext_p.h.

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

int Qt3::QTextTableCell::column  )  const [inline]
 

Definition at line 559 of file qrichtext_p.h.

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

Definition at line 7668 of file qrichtext.cpp.

References background, cached_width, Qt3::QTextTable::cellpadding, Qt3::QTextDocument::doLayout(), Qt3::QTextDocument::draw(), FALSE, g, geom, horizontalAlignmentOffset(), Qt3::QTextTable::innerborder, Qt3::QTextDocument::paper(), parent, richtext, and verticalAlignmentOffset().

QSizePolicy::ExpandData QTextTableCell::expanding  )  const
 

Definition at line 7604 of file qrichtext.cpp.

QRect QTextTableCell::geometry  )  const
 

Definition at line 7622 of file qrichtext.cpp.

References geom.

Referenced by Qt3::QTextTable::adjustCells(), Qt3::QTextTable::down(), Qt3::QTextTable::enterAt(), Qt3::QTextTable::format(), Qt3::QTextTable::next(), Qt3::QTextTable::pageBreak(), Qt3::QTextTable::prev(), and Qt3::QTextTable::up().

bool QTextTableCell::hasHeightForWidth  )  const
 

Definition at line 7627 of file qrichtext.cpp.

References TRUE.

int QTextTableCell::heightForWidth int   )  const
 

Definition at line 7632 of file qrichtext.cpp.

References cached_width, Qt3::QTextTable::cellpadding, Qt3::QTextDocument::doLayout(), Qt3::QTextDocument::height(), Qt3::QTextTable::innerborder, minw, Qt3::QTextFormat::painter(), parent, and richtext.

int QTextTableCell::horizontalAlignmentOffset  )  const
 

Definition at line 7654 of file qrichtext.cpp.

References Qt3::QTextTable::cellpadding, and parent.

Referenced by Qt3::QTextTable::down(), draw(), Qt3::QTextTable::enterAt(), Qt3::QTextTable::next(), Qt3::QTextTable::prev(), and Qt3::QTextTable::up().

void QTextTableCell::invalidate  )  [virtual]
 

Definition at line 90 of file qrichtext_p.cpp.

References cached_sizehint, and cached_width.

bool QTextTableCell::isEmpty  )  const
 

Definition at line 7609 of file qrichtext.cpp.

References FALSE.

QSize QTextTableCell::maximumSize  )  const
 

Definition at line 7599 of file qrichtext.cpp.

QSize QTextTableCell::minimumSize  )  const
 

Definition at line 7593 of file qrichtext.cpp.

References border_tolerance, Qt3::QTextTable::cellpadding, Qt3::QTextTable::innerborder, Qt3::QTextDocument::minimumWidth(), minw, parent, and richtext.

Referenced by sizeHint().

QTextDocument* Qt3::QTextTableCell::richText  )  const [inline]
 

Definition at line 564 of file qrichtext_p.h.

Referenced by Qt3::QTextTable::down(), Qt3::QTextTable::enterAt(), Qt3::QTextDocument::focusNextPrevChild(), Qt3::QTextTable::next(), Qt3::QTextTable::pageBreak(), Qt3::QTextDocument::parseTable(), Qt3::QTextTable::prev(), Qt3::QTextTable::richText(), and Qt3::QTextTable::up().

int Qt3::QTextTableCell::row  )  const [inline]
 

Definition at line 558 of file qrichtext_p.h.

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

int Qt3::QTextTableCell::rowspan  )  const [inline]
 

Definition at line 560 of file qrichtext_p.h.

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

void QTextTableCell::setGeometry const QRect &   ) 
 

Definition at line 7613 of file qrichtext.cpp.

References cached_width, Qt3::QTextTable::cellpadding, Qt3::QTextDocument::doLayout(), geom, Qt3::QTextTable::innerborder, Qt3::QTextFormat::painter(), parent, and richtext.

Referenced by Qt3::QTextTable::adjustCells(), and Qt3::QTextTable::format().

QSize QTextTableCell::sizeHint  )  const
 

Definition at line 7580 of file qrichtext.cpp.

References border_tolerance, Qt3::QTextTable::cellpadding, Qt3::QTextTable::cellspacing, Qt3::QTextTable::innerborder, maxw, minimumSize(), parent, richtext, stretch_, Qt3::QTextCustomItem::width, and Qt3::QTextDocument::widthUsed().

int Qt3::QTextTableCell::stretch  )  const [inline]
 

Definition at line 562 of file qrichtext_p.h.

QTextTable* Qt3::QTextTableCell::table  )  const [inline]
 

Definition at line 565 of file qrichtext_p.h.

int QTextTableCell::verticalAlignmentOffset  )  const
 

Definition at line 7659 of file qrichtext.cpp.

References align, Qt::AlignBottom, Qt::AlignVCenter, Qt3::QTextTable::cellpadding, geom, Qt3::QTextDocument::height(), parent, and richtext.

Referenced by Qt3::QTextTable::down(), draw(), Qt3::QTextTable::enterAt(), Qt3::QTextTable::next(), Qt3::QTextTable::prev(), and Qt3::QTextTable::up().


Friends And Related Function Documentation

friend class QTextTable [friend]
 

Definition at line 534 of file qrichtext_p.h.


Member Data Documentation

int Qt3::QTextTableCell::align [private]
 

Definition at line 591 of file qrichtext_p.h.

Referenced by QTextTableCell(), and verticalAlignmentOffset().

QMap<QString, QString> Qt3::QTextTableCell::attributes [private]
 

Definition at line 590 of file qrichtext_p.h.

Referenced by QTextTableCell(), and Qt3::QTextTable::richText().

QBrush* Qt3::QTextTableCell::background [private]
 

Definition at line 587 of file qrichtext_p.h.

Referenced by draw(), QTextTableCell(), and ~QTextTableCell().

int Qt3::QTextTableCell::cached_sizehint [private]
 

Definition at line 589 of file qrichtext_p.h.

Referenced by invalidate(), and QTextTableCell().

int Qt3::QTextTableCell::cached_width [private]
 

Definition at line 588 of file qrichtext_p.h.

Referenced by draw(), heightForWidth(), invalidate(), QTextTableCell(), and setGeometry().

int Qt3::QTextTableCell::col_ [private]
 

Definition at line 580 of file qrichtext_p.h.

Referenced by Qt3::QTextTable::down(), QTextTableCell(), and Qt3::QTextTable::up().

int Qt3::QTextTableCell::colspan_ [private]
 

Definition at line 582 of file qrichtext_p.h.

Referenced by QTextTableCell().

QRect Qt3::QTextTableCell::geom [private]
 

Definition at line 576 of file qrichtext_p.h.

Referenced by draw(), geometry(), setGeometry(), and verticalAlignmentOffset().

bool Qt3::QTextTableCell::hasFixedWidth [private]
 

Definition at line 586 of file qrichtext_p.h.

Referenced by QTextTableCell().

int Qt3::QTextTableCell::maxw [private]
 

Definition at line 584 of file qrichtext_p.h.

Referenced by QTextTableCell(), and sizeHint().

int Qt3::QTextTableCell::minw [private]
 

Definition at line 585 of file qrichtext_p.h.

Referenced by heightForWidth(), minimumSize(), and QTextTableCell().

QTextTable* Qt3::QTextTableCell::parent [private]
 

Definition at line 577 of file qrichtext_p.h.

Referenced by draw(), heightForWidth(), horizontalAlignmentOffset(), minimumSize(), QTextTableCell(), setGeometry(), sizeHint(), and verticalAlignmentOffset().

QTextDocument* Qt3::QTextTableCell::richtext [private]
 

Definition at line 578 of file qrichtext_p.h.

Referenced by adjustToPainter(), draw(), heightForWidth(), minimumSize(), QTextTableCell(), setGeometry(), sizeHint(), verticalAlignmentOffset(), and ~QTextTableCell().

int Qt3::QTextTableCell::row_ [private]
 

Definition at line 579 of file qrichtext_p.h.

Referenced by Qt3::QTextTable::down(), QTextTableCell(), and Qt3::QTextTable::up().

int Qt3::QTextTableCell::rowspan_ [private]
 

Definition at line 581 of file qrichtext_p.h.

Referenced by QTextTableCell().

int Qt3::QTextTableCell::stretch_ [private]
 

Definition at line 583 of file qrichtext_p.h.

Referenced by QTextTableCell(), and sizeHint().


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