17 #ifndef KDREPORTSAUTOTABLEELEMENT_H
18 #define KDREPORTSAUTOTABLEELEMENT_H
20 #include "KDReportsAbstractTableElement.h"
21 #include <QtCore/QSize>
26 class QAbstractItemModel;
30 class AutoTableElementPrivate;
145 void build( ReportBuilder& )
const override;
150 Element* clone()
const override;
153 DecorationAlignmentRole = 0x2D535FB1,
154 NonBreakableLinesRole = 0x2D535FB2
158 AutoTableElementPrivate*
const d;
AutoTableElement(QAbstractItemModel *tableModel)
void setModelKey(const QString &modelKey)
bool isHorizontalHeaderVisible() const
AutoTableElement(const QString &modelKey)
Definition: KDReportsElement.h:40
Definition: KDReportsAutoTableElement.h:41
void setTableModel(QAbstractItemModel *tableModel)
void setVerticalHeaderVisible(bool visible)
~AutoTableElement() override
AutoTableElement & operator=(const AutoTableElement &other)
QAbstractItemModel * tableModel() const
QBrush headerBackground() const
AutoTableElement(const AutoTableElement &other)
Definition: KDReportsAbstractTableElement.h:38
void setIconSize(const QSize &iconSize)
void setHeaderBackground(const QBrush &brush)
void setHorizontalHeaderVisible(bool visible)
bool isVerticalHeaderVisible() const
Definition: KDReportsAbstractTableElement.h:30