17 #ifndef KDREPORTSAUTOTABLEELEMENT_H
18 #define KDREPORTSAUTOTABLEELEMENT_H
21 #include <QtCore/QSize>
26 class QAbstractItemModel;
30 class AutoTableElementPrivate;
75 QAbstractItemModel *tableModel()
const;
81 void setTableModel(QAbstractItemModel *tableModel);
87 void setModelKey(
const QString &modelKey);
94 void setVerticalHeaderVisible(
bool visible);
100 void setHorizontalHeaderVisible(
bool visible);
106 bool isVerticalHeaderVisible()
const;
112 bool isHorizontalHeaderVisible()
const;
120 void setHeaderBackground(
const QBrush &brush);
126 QBrush headerBackground()
const;
135 void setIconSize(QSize iconSize);
141 QSize iconSize()
const;
152 Element *clone()
const override;
155 DecorationAlignmentRole = 0x2D535FB1,
156 NonBreakableLinesRole = 0x2D535FB2
160 AutoTableElementPrivate *
const d;