18 #ifndef QGSCOMPOSERATTRIBUTETABLEMODELV2_H 19 #define QGSCOMPOSERATTRIBUTETABLEMODELV2_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;
208 #endif // QGSCOMPOSERATTRIBUTETABLEMODELV2_H virtual bool lessThan(const QModelIndex &left, const QModelIndex &right) const
virtual int rowCount(const QModelIndex &parent) const=0
ShiftDirection
Controls whether a row/column is shifted up or down.
virtual Qt::ItemFlags flags(const QModelIndex &index) const
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
A model for displaying columns shown in a QgsComposerAttributeTableV2.
virtual bool insertRows(int row, int count, const QModelIndex &parent)
A table that displays attributes from a vector layer.
Allows for filtering QgsComposerAttributeTable columns by columns which are sorted or unsorted...
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
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
virtual QVariant data(const QModelIndex &index, int role) const