16#ifndef QGSPOINTCLOUDATTRIBUTECOMBOBOX_H
17#define QGSPOINTCLOUDATTRIBUTECOMBOBOX_H
65 void setAllowEmptyAttributeName(
bool allowEmpty );
71 bool allowEmptyAttributeName()
const;
74 QString currentAttribute()
const;
118 void indexChanged(
int i );
Base class for all map layer types.
A collection of point cloud attributes.
void setLayer(QgsMapLayer *layer)
Sets the layer for which fields are listed in the combobox.
QgsPointCloudAttributeProxyModel::Filters filters
void setAllowEmptyAttributeName(bool allowEmpty)
Sets whether an optional empty attribute ("not set") option is shown in the combo box.
void attributeChanged(const QString &name)
Emitted when the currently selected attribute changes.
QgsPointCloudAttributeComboBox(QWidget *parent=nullptr)
QgsPointCloudAttributeComboBox creates a combo box to display the fields of a layer.
bool allowEmptyAttributeName
QgsPointCloudLayer * layer() const
Returns the layer currently associated with the combobox.
void setAttribute(const QString &name)
Sets the currently selected attribute by name.
void setFilters(QgsPointCloudAttributeProxyModel::Filters filters)
Sets filters to allow filtering available attributes according to the attribute properties.
A model for display of available attributes from a point cloud.
A proxy model for filtering available attributes from a point cloud attribute model.
Represents a map layer supporting display of point clouds.