Class: QgsPointCloudAttributeProxyModel

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

Added in version 3.18.

Class Hierarchy

Inheritance diagram of qgis.core.QgsPointCloudAttributeProxyModel

Base classes

QSortFilterProxyModel

QAbstractProxyModel

QAbstractItemModel

QObject

Methods

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.

Attributes

AllTypes

Char

Double

Float

Int32

Numeric

Short

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

Bases: int

class Filters
class Filters(f: QgsPointCloudAttributeProxyModel.Filters | QgsPointCloudAttributeProxyModel.Filter)
class Filters(a0: QgsPointCloudAttributeProxyModel.Filters)

Bases: object

Float = 8
Int32 = 4
Numeric = 30
Short = 2
filters(self) QgsPointCloudAttributeProxyModel.Filters[source]

Returns the filters controlling displayed attributes.

See also

setFilters()

Return type:

QgsPointCloudAttributeProxyModel.Filters

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

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

See also

filters()

Parameters:

filters (Union[QgsPointCloudAttributeProxyModel.Filters, QgsPointCloudAttributeProxyModel.Filter])

Return type:

Optional[QgsPointCloudAttributeProxyModel]

sourceAttributeModel(self) QgsPointCloudAttributeModel | None[source]

Returns the QgsPointCloudAttributeModel used in this QSortFilterProxyModel.

Return type:

Optional[QgsPointCloudAttributeModel]