18#ifndef QGSPOINTCLOUDATTRIBUTEMODEL_H
19#define QGSPOINTCLOUDATTRIBUTEMODEL_H
23#include <QAbstractItemModel>
25#include <QSortFilterProxyModel>
100 void setAllowEmptyAttributeName(
bool allowEmpty );
105 QModelIndex indexFromName(
const QString &name );
114 QModelIndex index(
int row,
int column,
const QModelIndex &parent = QModelIndex() )
const override;
115 QModelIndex parent(
const QModelIndex &child )
const override;
116 int rowCount(
const QModelIndex &parent = QModelIndex() )
const override;
117 int columnCount(
const QModelIndex &parent )
const override;
118 QVariant data(
const QModelIndex &index,
int role )
const override;
134 bool mAllowEmpty =
false;
135 QPointer< QgsPointCloudLayer > mLayer;
159 Numeric = Short | Int32 | Float | Double,
160 AllTypes = Numeric | Char,
191 Filters mFilters = AllTypes;
195 bool filterAcceptsRow(
int source_row,
const QModelIndex &source_parent )
const override;
196 bool lessThan(
const QModelIndex &left,
const QModelIndex &right )
const override;
Collection of point cloud attributes.
A model for display of available attributes from a point cloud.
QgsPointCloudAttributeCollection attributes() const
Returns the attributes associated with the model.
CustomRole
Custom model roles.
bool allowEmptyAttributeName() const
Returns true if the model allows the empty attribute ("not set") choice.
A proxy model for filtering available attributes from a point cloud attribute model.
Filters filters() const
Returns the filters controlling displayed attributes.
QgsPointCloudAttributeModel * sourceAttributeModel()
Returns the QgsPointCloudAttributeModel used in this QSortFilterProxyModel.
Filter
Attribute type filters.
Attribute for point cloud data pair of name and size in bytes.
DataType
Systems of unit measurement.
Represents a map layer supporting display of point clouds.
#define SIP_ENUM_BASETYPE(type)
#define SIP_MONKEYPATCH_SCOPEENUM_UNNEST(OUTSIDE_CLASS, FORMERNAME)
#define SIP_MONKEYPATCH_COMPAT_NAME(FORMERNAME)
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsTextRendererUtils::CurvedTextFlags)