#include <KDReportsCell.h>
List of all members.
Detailed Description
This class presents a cell in a table. To add an element to a cell, first get hold of the right cell using Table::cell(), then add elements to it.
Member Function Documentation
void KDReports::Cell::addElement |
( |
const Element & |
element, |
|
|
Qt::AlignmentFlag |
horizontalAlignment = Qt::AlignLeft | |
|
) |
| | |
Adds an element to the cell, creating a new paragraph for it. You can specify the alignment of that paragraph.
void KDReports::Cell::addInlineElement |
( |
const Element & |
element |
) |
|
Adds an element to the cell, next to the previous element, in the same paragraph.
Adds an variable in the text of the current paragraph.
- See also:
- KDReportsHeader::addVariable
int KDReports::Cell::columnSpan |
( |
|
) |
const |
Returns the number of columns that this cell will span.
int KDReports::Cell::rowSpan |
( |
|
) |
const |
Returns the number of rows that this cell will span.
void KDReports::Cell::setColumnSpan |
( |
int |
columnSpan |
) |
|
Set the number of columns that this cell will span. The default is 1.
void KDReports::Cell::setRowSpan |
( |
int |
rowSpan |
) |
|
Set the number of rows that this cell will span. The default is 1.
The documentation for this class was generated from the following file: