18 #ifndef QGSCOMPOSERATTRIBUTETABLEMODEL_H 19 #define QGSCOMPOSERATTRIBUTETABLEMODEL_H 21 #include <QAbstractTableModel> 22 #include <QSortFilterProxyModel> 56 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole )
const override;
158 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole )
const override;
209 #endif // QGSCOMPOSERATTRIBUTETABLEMODEL_H virtual bool lessThan(const QModelIndex &left, const QModelIndex &right) const
virtual int rowCount(const QModelIndex &parent) const=0
virtual Qt::ItemFlags flags(const QModelIndex &index) const
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
virtual bool insertRows(int row, int count, const QModelIndex &parent)
ShiftDirection
Controls whether a row/column is shifted up or down.
A model for displaying columns shown in a QgsComposerAttributeTable.
virtual int columnCount(const QModelIndex &parent) const
virtual QVariant data(const QModelIndex &index, int role) const=0
Stores properties of a column in a QgsComposerTable.
virtual bool setData(const QModelIndex &index, const QVariant &value, int role)
virtual bool removeRows(int row, int count, const QModelIndex &parent)
virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
A table class that displays a vector attribute table.
ColumnFilterType
Controls whether the proxy model shows sorted or unsorted columns.
virtual int columnCount(const QModelIndex &parent) const=0
virtual bool setData(const QModelIndex &index, const QVariant &value, int role)
virtual Qt::ItemFlags flags(const QModelIndex &index) const
Allows for filtering QgsComposerAttributeTable columns by columns which are sorted or unsorted...
virtual QVariant data(const QModelIndex &index, int role) const