23 #ifndef KDREPORTSAUTOTABLEELEMENT_H
24 #define KDREPORTSAUTOTABLEELEMENT_H
26 #include "KDReportsAbstractTableElement.h"
27 #include <QtCore/QSize>
32 class QAbstractItemModel;
36 class AutoTableElementPrivate;
151 void build( ReportBuilder& )
const;
159 DecorationAlignmentRole = 0x2D535FB1,
160 NonBreakableLinesRole = 0x2D535FB2
164 AutoTableElementPrivate*
const d;
AutoTableElement(QAbstractItemModel *tableModel)
void setModelKey(const QString &modelKey)
bool isHorizontalHeaderVisible() const
AutoTableElement(const QString &modelKey)
Definition: KDReportsElement.h:46
Definition: KDReportsAutoTableElement.h:47
void setTableModel(QAbstractItemModel *tableModel)
void setVerticalHeaderVisible(bool visible)
AutoTableElement & operator=(const AutoTableElement &other)
QAbstractItemModel * tableModel() const
QBrush headerBackground() const
AutoTableElement(const AutoTableElement &other)
Definition: KDReportsAbstractTableElement.h:44
void setIconSize(const QSize &iconSize)
void setHeaderBackground(const QBrush &brush)
void setHorizontalHeaderVisible(bool visible)
bool isVerticalHeaderVisible() const
Definition: KDReportsAbstractTableElement.h:36