16 #ifndef QGSFIELDPROXYMODEL_H
17 #define QGSFIELDPROXYMODEL_H
19 #include <QSortFilterProxyModel>
39 Numeric = Int | LongLong | Double,
41 All = Numeric | Date | String
43 Q_DECLARE_FLAGS( Filters, Filter )
60 const Filters&
filters()
const {
return mFilters; }
68 bool filterAcceptsRow(
int source_row,
const QModelIndex &source_parent )
const override;
69 bool lessThan(
const QModelIndex &left,
const QModelIndex &right )
const override;
72 Q_DECLARE_OPERATORS_FOR_FLAGS( QgsFieldProxyModel::Filters )
74 #endif // QGSFIELDPROXYMODEL_H