17 #ifndef QGSATTRIBUTETABLEFILTERMODEL_H
18 #define QGSATTRIBUTETABLEFILTERMODEL_H
20 #include <QSortFilterProxyModel>
21 #include <QModelIndex>
29 class QItemSelectionModel;
63 void setSelectedOnTop(
bool selectedOnTop );
85 void setFilterMode( FilterMode filterMode );
120 virtual QModelIndex mapToMaster(
const QModelIndex &proxyIndex )
const;
122 virtual QModelIndex mapFromMaster(
const QModelIndex &sourceIndex )
const;
131 bool filterAcceptsRow(
int sourceRow,
const QModelIndex &sourceParent )
const;
137 void generateListOfVisibleFeatures();
143 bool lessThan(
const QModelIndex &left,
const QModelIndex &right )
const;
152 virtual void sort(
int column, Qt::SortOrder order = Qt::AscendingOrder );
160 void extentsChanged();
163 void selectionChanged();