Cell

The Cell class allows a VerticalRenderer to be embedded within a table renderer. More...

Publicly inherits VerticalRenderer.

Private Methods

Cell( Canvas* canvas, SgmlParser* parser, int clipWidth=???, QObject* parent=???, const char* name=??? );
voidrepaint( QPainter& p, const Rect& r );
~Cell( );

Private Data Members

uintcol;
uintcolspan;
uintrow;
uintrowspan;

Detailed Documentation

The Cell class allows a VerticalRenderer to be embedded within a table renderer.

The Cell class adds a few table-specific pieces of data to the vertical renderer class, to help compute the table layout.
rowspan
This tells how many rows a cell spans. The default is 1.
colspan
This tells how many columns a cell spans. The default is 1.
row
This is the row that the cell belongs in.
col
This is the column that the cell belongs in. The column is computed taking into account the row spans and column spans of other cells in the table.

Return to Index.
Automatically generated on Aug 11 23:32