23 #ifndef KDREPORTSAUTOTABLEELEMENT_H
24 #define KDREPORTSAUTOTABLEELEMENT_H
26 #include "KDReportsAbstractTableElement.h"
27 #include <QtCore/QSize>
31 class QAbstractItemModel;
34 class AutoTableElementPrivate;
77 QAbstractItemModel* tableModel()
const;
83 void setTableModel(QAbstractItemModel *tableModel);
89 void setModelKey(
const QString &modelKey);
96 void setVerticalHeaderVisible(
bool visible );
102 void setHorizontalHeaderVisible(
bool visible );
108 bool isVerticalHeaderVisible()
const;
114 bool isHorizontalHeaderVisible()
const;
122 void setHeaderBackground(
const QBrush& brush );
128 QBrush headerBackground()
const;
137 void setIconSize(
const QSize& iconSize );
143 QSize iconSize()
const;
149 void build( ReportBuilder& )
const;
157 DecorationAlignmentRole = 0x2D535FB1,
158 NonBreakableLinesRole = 0x2D535FB2
162 AutoTableElementPrivate*
const d;
Definition: KDReportsAutoTableElement.h:44
Definition: KDReportsAbstractTableElement.h:33
Definition: KDReportsElement.h:42
Definition: KDReportsAbstractTableElement.h:40