QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
|
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... | |
Public Member Functions | |
QgsPointCloudAttributeProxyModel (QgsPointCloudAttributeModel *source, QObject *parent=nullptr) | |
Constructor for QgsPointCloudAttributeProxyModel, with the specified source model and parent object. More... | |
bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override |
Filters | filters () const |
Returns the filters controlling displayed attributes. More... | |
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. More... | |
QgsPointCloudAttributeModel * | sourceAttributeModel () |
Returns the QgsPointCloudAttributeModel used in this QSortFilterProxyModel. More... | |
A proxy model for filtering available attributes from a point cloud attribute model.
Definition at line 137 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 143 of file qgspointcloudattributemodel.h.
|
explicit |
Constructor for QgsPointCloudAttributeProxyModel, with the specified source model and parent object.
Definition at line 253 of file qgspointcloudattributemodel.cpp.
|
override |
Definition at line 267 of file qgspointcloudattributemodel.cpp.
|
inline |
Returns the filters controlling displayed attributes.
Definition at line 177 of file qgspointcloudattributemodel.h.
|
override |
Definition at line 294 of file qgspointcloudattributemodel.cpp.
QgsPointCloudAttributeProxyModel * QgsPointCloudAttributeProxyModel::setFilters | ( | QgsPointCloudAttributeProxyModel::Filters | filters | ) |
Set flags that affect how fields are filtered in the model.
Definition at line 260 of file qgspointcloudattributemodel.cpp.
|
inline |
Returns the QgsPointCloudAttributeModel used in this QSortFilterProxyModel.
Definition at line 165 of file qgspointcloudattributemodel.h.