Class: QgsPointCloudAttributeProxyModel

A proxy model for filtering available attributes from a point cloud attribute model.

Added in version 3.18.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.core.QgsPointCloudAttributeProxyModel

Base classes

QSortFilterProxyModel

QAbstractProxyModel

QAbstractItemModel

QObject

Enums

Filter

Methods

Filters

filters

Returns the filters controlling displayed attributes.

setFilters

Set flags that affect how fields are filtered in the model.

sourceAttributeModel

Returns the QgsPointCloudAttributeModel used in this QSortFilterProxyModel.

class qgis.core.QgsPointCloudAttributeProxyModel[source]

Bases: QSortFilterProxyModel

__init__(source: QgsPointCloudAttributeModel | None, parent: QObject | None = None)

Constructor for QgsPointCloudAttributeProxyModel, with the specified source model and parent object.

Parameters:
AllTypes = 31
Char = 1
Double = 16
class Filter(*values)

Bases: IntEnum

AllTypes = 31
Char = 1
Double = 16
Float = 8
Int32 = 4
Numeric = 30
Short = 2
Filters()
Float = 8
Int32 = 4
Numeric = 30
Short = 2
filters(self) QgsPointCloudAttributeProxyModel.Filter[source]

Returns the filters controlling displayed attributes.

See also

setFilters()

Return type:

QgsPointCloudAttributeProxyModel.Filter

setFilters(self, filters: QgsPointCloudAttributeProxyModel.Filter) QgsPointCloudAttributeProxyModel | None[source]

Set flags that affect how fields are filtered in the model.

See also

filters()

Parameters:

filters (QgsPointCloudAttributeProxyModel.Filter)

Return type:

Optional[QgsPointCloudAttributeProxyModel]

sourceAttributeModel(self) QgsPointCloudAttributeModel | None[source]

Returns the QgsPointCloudAttributeModel used in this QSortFilterProxyModel.

Return type:

Optional[QgsPointCloudAttributeModel]