Eneboo - Documentación para desarrolladores
|
#include <qrichtext_p.h>
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 | ||
) |
QTextTableCell::~QTextTableCell | ( | ) | [virtual] |
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 | ||
) |
virtual QTextTableCell::~QTextTableCell | ( | ) | [virtual] |
void QTextTableCell::adjustToPainter | ( | QPainter * | p | ) |
void QTextTableCell::adjustToPainter | ( | QPainter * | ) |
QBrush* QTextTableCell::backGround | ( | ) | const [inline] |
QBrush* QTextTableCell::backGround | ( | ) | const [inline] |
int QTextTableCell::colspan | ( | ) | const [inline] |
int QTextTableCell::colspan | ( | ) | const [inline] |
int QTextTableCell::column | ( | ) | const [inline] |
int QTextTableCell::column | ( | ) | const [inline] |
void QTextTableCell::draw | ( | QPainter * | p, |
int | x, | ||
int | y, | ||
int | cx, | ||
int | cy, | ||
int | cw, | ||
int | ch, | ||
const QColorGroup & | cg, | ||
bool | selected | ||
) |
void QTextTableCell::draw | ( | QPainter * | p, |
int | x, | ||
int | y, | ||
int | cx, | ||
int | cy, | ||
int | cw, | ||
int | ch, | ||
const QColorGroup & | cg, | ||
bool | selected | ||
) |
QSizePolicy::ExpandData QTextTableCell::expanding | ( | ) | const [virtual] |
Implemented in subclasses to return the direction(s) this item "wants" to expand in (if any).
Implementa QLayoutItem.
QSizePolicy::ExpandData QTextTableCell::expanding | ( | ) | const [virtual] |
Implemented in subclasses to return the direction(s) this item "wants" to expand in (if any).
Implementa QLayoutItem.
QRect QTextTableCell::geometry | ( | ) | const [virtual] |
Returns the rectangle covered by this layout item.
Implementa QLayoutItem.
QRect QTextTableCell::geometry | ( | ) | const [virtual] |
Returns the rectangle covered by this layout item.
Implementa QLayoutItem.
bool QTextTableCell::hasHeightForWidth | ( | ) | const [virtual] |
Returns TRUE if this layout's preferred height depends on its width; otherwise returns FALSE. The default implementation returns FALSE.
Reimplement this function in layout managers that support height for width.
Reimplementado de QLayoutItem.
bool QTextTableCell::hasHeightForWidth | ( | ) | const [virtual] |
Returns TRUE if this layout's preferred height depends on its width; otherwise returns FALSE. The default implementation returns FALSE.
Reimplement this function in layout managers that support height for width.
Reimplementado de QLayoutItem.
Returns the preferred height for this layout item, given the width w.
The default implementation returns -1, indicating that the preferred height is independent of the width of the item. Using the function hasHeightForWidth() will typically be much faster than calling this function and testing for -1.
Reimplement this function in layout managers that support height for width. A typical implementation will look like this:
int MyLayout::heightForWidth( int w ) const { if ( cache_dirty || cached_width != w ) { // not all C++ compilers support "mutable" MyLayout *that = (MyLayout*)this; int h = calculateHeightForWidth( w ); that->cached_hfw = h; return h; } return cached_hfw; }
Caching is strongly recommended; without it layout will take exponential time.
Reimplementado de QLayoutItem.
Returns the preferred height for this layout item, given the width w.
The default implementation returns -1, indicating that the preferred height is independent of the width of the item. Using the function hasHeightForWidth() will typically be much faster than calling this function and testing for -1.
Reimplement this function in layout managers that support height for width. A typical implementation will look like this:
int MyLayout::heightForWidth( int w ) const { if ( cache_dirty || cached_width != w ) { // not all C++ compilers support "mutable" MyLayout *that = (MyLayout*)this; int h = calculateHeightForWidth( w ); that->cached_hfw = h; return h; } return cached_hfw; }
Caching is strongly recommended; without it layout will take exponential time.
Reimplementado de QLayoutItem.
int QTextTableCell::horizontalAlignmentOffset | ( | ) | const |
int QTextTableCell::horizontalAlignmentOffset | ( | ) | const |
void QTextTableCell::invalidate | ( | ) | [virtual] |
Invalidates any cached information in this layout item.
Reimplementado de QLayoutItem.
virtual void QTextTableCell::invalidate | ( | ) | [virtual] |
Invalidates any cached information in this layout item.
Reimplementado de QLayoutItem.
bool QTextTableCell::isEmpty | ( | void | ) | const [virtual] |
Implemented in subclasses to return whether this item is empty, i.e. whether it contains any widgets.
Implementa QLayoutItem.
bool QTextTableCell::isEmpty | ( | void | ) | const [virtual] |
Implemented in subclasses to return whether this item is empty, i.e. whether it contains any widgets.
Implementa QLayoutItem.
QSize QTextTableCell::maximumSize | ( | ) | const [virtual] |
Implemented in subclasses to return the maximum size of this item.
Implementa QLayoutItem.
QSize QTextTableCell::maximumSize | ( | ) | const [virtual] |
Implemented in subclasses to return the maximum size of this item.
Implementa QLayoutItem.
QSize QTextTableCell::minimumSize | ( | ) | const [virtual] |
Implemented in subclasses to return the minimum size of this item.
Implementa QLayoutItem.
QSize QTextTableCell::minimumSize | ( | ) | const [virtual] |
Implemented in subclasses to return the minimum size of this item.
Implementa QLayoutItem.
QTextDocument* QTextTableCell::richText | ( | ) | const [inline] |
QTextDocument* QTextTableCell::richText | ( | ) | const [inline] |
int QTextTableCell::row | ( | ) | const [inline] |
int QTextTableCell::row | ( | ) | const [inline] |
int QTextTableCell::rowspan | ( | ) | const [inline] |
int QTextTableCell::rowspan | ( | ) | const [inline] |
void QTextTableCell::setGeometry | ( | const QRect & | r | ) | [virtual] |
Implemented in subclasses to set this item's geometry to r.
Implementa QLayoutItem.
void QTextTableCell::setGeometry | ( | const QRect & | r | ) | [virtual] |
Implemented in subclasses to set this item's geometry to r.
Implementa QLayoutItem.
QSize QTextTableCell::sizeHint | ( | ) | const [virtual] |
Implemented in subclasses to return the preferred size of this item.
Implementa QLayoutItem.
QSize QTextTableCell::sizeHint | ( | ) | const [virtual] |
Implemented in subclasses to return the preferred size of this item.
Implementa QLayoutItem.
int QTextTableCell::stretch | ( | ) | const [inline] |
int QTextTableCell::stretch | ( | ) | const [inline] |
QTextTable* QTextTableCell::table | ( | ) | const [inline] |
QTextTable* QTextTableCell::table | ( | ) | const [inline] |
int QTextTableCell::verticalAlignmentOffset | ( | ) | const |
int QTextTableCell::verticalAlignmentOffset | ( | ) | const |
QTextTable [friend] |