18 #ifndef QGSPOINTCLOUDATTRIBUTEMODEL_H 
   19 #define QGSPOINTCLOUDATTRIBUTEMODEL_H 
   23 #include <QAbstractItemModel> 
   25 #include <QSortFilterProxyModel> 
   45       AttributeNameRole = Qt::UserRole + 1,  
 
   91     void setAllowEmptyAttributeName( 
bool allowEmpty );
 
   96     QModelIndex indexFromName( 
const QString &name );
 
  105     QModelIndex index( 
int row, 
int column, 
const QModelIndex &parent = QModelIndex() ) 
const override;
 
  106     QModelIndex parent( 
const QModelIndex &child ) 
const override;
 
  107     int rowCount( 
const QModelIndex &parent = QModelIndex() ) 
const override;
 
  108     int columnCount( 
const QModelIndex &parent ) 
const override;
 
  109     QVariant data( 
const QModelIndex &index, 
int role ) 
const override;
 
  125     bool mAllowEmpty = 
false;
 
  126     QPointer< QgsPointCloudLayer > mLayer;
 
  150       Numeric = Short | Int32 | Float | Double, 
 
  151       AllTypes = Numeric | Char, 
 
  153     Q_DECLARE_FLAGS( Filters, Filter )
 
  182     Filters mFilters = AllTypes;
 
  186     bool filterAcceptsRow( 
int source_row, 
const QModelIndex &source_parent ) 
const override;
 
  187     bool lessThan( 
const QModelIndex &left, 
const QModelIndex &right ) 
const override;
 
  192 #endif // QGSPOINTCLOUDATTRIBUTEMODEL_H