17 #ifndef KDREPORTSAUTOTABLEELEMENT_H 18 #define KDREPORTSAUTOTABLEELEMENT_H 20 #include "KDReportsAbstractTableElement.h" 21 #include <QtCore/QSize> 26 class QAbstractItemModel;
30 class AutoTableElementPrivate;
73 QAbstractItemModel* tableModel()
const;
79 void setTableModel(QAbstractItemModel *tableModel);
85 void setModelKey(
const QString &modelKey);
92 void setVerticalHeaderVisible(
bool visible );
98 void setHorizontalHeaderVisible(
bool visible );
104 bool isVerticalHeaderVisible()
const;
110 bool isHorizontalHeaderVisible()
const;
118 void setHeaderBackground(
const QBrush& brush );
124 QBrush headerBackground()
const;
133 void setIconSize(
const QSize& iconSize );
139 QSize iconSize()
const;
145 void build( ReportBuilder& )
const override;
150 Element* clone()
const override;
153 DecorationAlignmentRole = 0x2D535FB1,
154 NonBreakableLinesRole = 0x2D535FB2
158 AutoTableElementPrivate*
const d;
Definition: KDReportsAutoTableElement.h:40
Definition: KDReportsAbstractTableElement.h:30
Definition: KDReportsElement.h:39
Definition: KDReportsAbstractTableElement.h:37