Eneboo - Documentación para desarrolladores
Métodos públicos | Amigas
Referencia de la Clase QTextTableCell

#include <qrichtext_p.h>

Diagrama de herencias de QTextTableCell
QLayoutItem QLayoutItem

Lista de todos los miembros.

Métodos públicos

 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)
QBrushbackGround () const
virtual void invalidate ()
int verticalAlignmentOffset () const
int horizontalAlignmentOffset () const
 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)
QBrushbackGround () const
virtual void invalidate ()
int verticalAlignmentOffset () const
int horizontalAlignmentOffset () const

Amigas

class QTextTable

Documentación del constructor y destructor

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]

Documentación de las funciones miembro

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.

Ver también:
heightForWidth(), QWidget::heightForWidth()

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.

Ver también:
heightForWidth(), QWidget::heightForWidth()

Reimplementado de QLayoutItem.

int QTextTableCell::heightForWidth ( int  ) const [virtual]

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.

Ver también:
hasHeightForWidth()

Reimplementado de QLayoutItem.

int QTextTableCell::heightForWidth ( int  ) const [virtual]

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.

Ver también:
hasHeightForWidth()

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

Documentación de las funciones relacionadas y clases amigas

QTextTable [friend]

La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'