23 #ifndef KDREPORTSAUTOTABLEELEMENT_H 24 #define KDREPORTSAUTOTABLEELEMENT_H 26 #include "KDReportsAbstractTableElement.h" 27 #include <QtCore/QSize> 32 class QAbstractItemModel;
36 class AutoTableElementPrivate;
79 QAbstractItemModel* tableModel()
const;
85 void setTableModel(QAbstractItemModel *tableModel);
91 void setModelKey(
const QString &modelKey);
98 void setVerticalHeaderVisible(
bool visible );
104 void setHorizontalHeaderVisible(
bool visible );
110 bool isVerticalHeaderVisible()
const;
116 bool isHorizontalHeaderVisible()
const;
124 void setHeaderBackground(
const QBrush& brush );
130 QBrush headerBackground()
const;
139 void setIconSize(
const QSize& iconSize );
145 QSize iconSize()
const;
151 void build( ReportBuilder& )
const;
159 DecorationAlignmentRole = 0x2D535FB1,
160 NonBreakableLinesRole = 0x2D535FB2
164 AutoTableElementPrivate*
const d;
Definition: KDReportsAutoTableElement.h:46
Definition: KDReportsAbstractTableElement.h:36
Definition: KDReportsElement.h:45
Definition: KDReportsAbstractTableElement.h:43