16 #ifndef QGSFIELDPROXYMODEL_H 
   17 #define QGSFIELDPROXYMODEL_H 
   19 #include <QSortFilterProxyModel> 
   21 #include "qgis_core.h" 
   45       Numeric = Int | LongLong | Double, 
 
   50       AllTypes = Numeric | Date | String | Time, 
 
   52     Q_DECLARE_FLAGS( Filters, Filter )
 
   75     const Filters &
filters()
 const { 
return mFilters; }
 
   82     bool isReadOnly( 
const QModelIndex &index ) 
const;
 
   86     bool filterAcceptsRow( 
int source_row, 
const QModelIndex &source_parent ) 
const override;
 
   87     bool lessThan( 
const QModelIndex &left, 
const QModelIndex &right ) 
const override;
 
   92 #endif // QGSFIELDPROXYMODEL_H