| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
A proxy model for filtering available attributes from a point cloud attribute model. More...
#include <qgspointcloudattributemodel.h>

Public Types | |
| enum | Filter {  Char = 1 << 0 , Short = 1 << 1 , Int32 = 1 << 2 , Float = 1 << 3 , Double = 1 << 4 , Numeric = Short | Int32 | Float | Double , AllTypes = Numeric | Char }  | 
| Attribute type filters.  More... | |
| typedef QFlags< Filter > | Filters | 
Public Member Functions | |
| QgsPointCloudAttributeProxyModel (QgsPointCloudAttributeModel *source, QObject *parent=nullptr) | |
| Constructor for QgsPointCloudAttributeProxyModel, with the specified source model and parent object.   | |
| bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override | 
| Filters | filters () const | 
| Returns the filters controlling displayed attributes.   | |
| bool | lessThan (const QModelIndex &left, const QModelIndex &right) const override | 
| QgsPointCloudAttributeProxyModel * | setFilters (QgsPointCloudAttributeProxyModel::Filters filters) | 
| Set flags that affect how fields are filtered in the model.   | |
| QgsPointCloudAttributeModel * | sourceAttributeModel () | 
| Returns the QgsPointCloudAttributeModel used in this QSortFilterProxyModel.   | |
A proxy model for filtering available attributes from a point cloud attribute model.
Definition at line 146 of file qgspointcloudattributemodel.h.
| typedef QFlags< Filter > QgsPointCloudAttributeProxyModel::Filters | 
Definition at line 162 of file qgspointcloudattributemodel.h.
Attribute type filters.
| Enumerator | |
|---|---|
| Char | Character attributes.  | 
| Short | Short attributes.  | 
| Int32 | Int32 attributes.  | 
| Float | Float attributes.  | 
| Double | Double attributes.  | 
| Numeric | All numeric attributes.  | 
| AllTypes | All attribute types.  | 
Definition at line 152 of file qgspointcloudattributemodel.h.
      
  | 
  explicit | 
Constructor for QgsPointCloudAttributeProxyModel, with the specified source model and parent object.
Definition at line 259 of file qgspointcloudattributemodel.cpp.
      
  | 
  override | 
Definition at line 273 of file qgspointcloudattributemodel.cpp.
      
  | 
  inline | 
Returns the filters controlling displayed attributes.
Definition at line 186 of file qgspointcloudattributemodel.h.
      
  | 
  override | 
Definition at line 304 of file qgspointcloudattributemodel.cpp.
| QgsPointCloudAttributeProxyModel * QgsPointCloudAttributeProxyModel::setFilters | ( | QgsPointCloudAttributeProxyModel::Filters | filters | ) | 
Set flags that affect how fields are filtered in the model.
Definition at line 266 of file qgspointcloudattributemodel.cpp.
      
  | 
  inline | 
Returns the QgsPointCloudAttributeModel used in this QSortFilterProxyModel.
Definition at line 174 of file qgspointcloudattributemodel.h.