16 class KDReports::MainTablePrivate
24 AutoTableElement *m_element;
25 SpreadsheetReportLayout *m_layout;
28 KDReports::MainTable::MainTable()
29 : d(new MainTablePrivate)
33 KDReports::MainTable::~MainTable()
46 d->m_layout->setCellPadding(element.
padding());
47 d->m_layout->setIconSize(element.
iconSize());
59 d->m_layout->setTableBreakingPageOrder(pageOrder);
64 return d->m_layout->tableBreakingPageOrder();
74 d->m_layout->setHorizontalHeaderFont(font);
79 d->m_layout->setVerticalHeaderFont(font);
84 d->m_layout->ensureLayouted();
85 return d->m_layout->m_pageRects;
88 qreal KDReports::MainTable::lastAutoFontScalingFactor()
const
90 return d->m_layout->m_tableLayout.scalingFactor();
QBrush borderBrush() const
QAbstractItemModel * tableModel() const
QBrush headerBackground() const
bool isHorizontalHeaderVisible() const
bool isVerticalHeaderVisible() const
void setVerticalHeaderFont(const QFont &font)
void setAutoTableElement(const AutoTableElement &element)
Report::TableBreakingPageOrder tableBreakingPageOrder() const
void setHorizontalHeaderFont(const QFont &font)
void setTableBreakingPageOrder(Report::TableBreakingPageOrder pageOrder)
AutoTableElement * autoTableElement() const