17 #ifndef QGSATTRIBUTETABLEFILTERMODEL_H
18 #define QGSATTRIBUTETABLEFILTERMODEL_H
20 #include <QSortFilterProxyModel>
21 #include <QModelIndex>
29 class QItemSelectionModel;
63 void setSelectedOnTop(
bool selectedOnTop );
87 void setFilterMode( FilterMode filterMode );
124 virtual QModelIndex mapToMaster(
const QModelIndex &proxyIndex )
const;
126 virtual QModelIndex mapFromMaster(
const QModelIndex &sourceIndex )
const;
135 bool filterAcceptsRow(
int sourceRow,
const QModelIndex &sourceParent )
const;
141 void generateListOfVisibleFeatures();
147 bool lessThan(
const QModelIndex &left,
const QModelIndex &right )
const;
156 virtual void sort(
int column, Qt::SortOrder order = Qt::AscendingOrder );
164 void extentsChanged();
167 void selectionChanged();
172 FilterMode mFilterMode;