Class: QgsPointCloudAttributeProxyModel

class qgis.core.QgsPointCloudAttributeProxyModel

Bases: PyQt5.QtCore.QSortFilterProxyModel

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

New in version 3.18.

QgsPointCloudAttributeProxyModel(source: QgsPointCloudAttributeModel, parent: QObject = None) Constructor for QgsPointCloudAttributeProxyModel, with the specified source model and parent object.

Methods

beginInsertColumns

beginInsertRows

beginMoveColumns

beginMoveRows

beginRemoveColumns

beginRemoveRows

beginResetModel

changePersistentIndex

changePersistentIndexList

childEvent

connectNotify

createIndex

customEvent

decodeData

disconnectNotify

encodeData

endInsertColumns

endInsertRows

endMoveColumns

endMoveRows

endRemoveColumns

endRemoveRows

endResetModel

filterAcceptsColumn

filterAcceptsRow

param source_row

filters

Returns the filters controlling displayed attributes.

invalidateFilter

isSignalConnected

lessThan

param left

persistentIndexList

receivers

resetInternalData

sender

senderSignalIndex

setFilters

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

sourceAttributeModel

Returns the QgsPointCloudAttributeModel used in this QSortFilterProxyModel.

timerEvent

Attributes

AllTypes

Char

Double

Float

Int32

Numeric

Short

AllTypes = 31
Char = 1
Double = 16
class Filter

Bases: int

class Filters

Bases: sip.wrapper

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

baseClass

alias of qgis._core.QgsPointCloudAttributeProxyModel

Float = 8
Int32 = 4
Numeric = 30
Short = 2
QgsPointCloudAttributeProxyModel.beginInsertColumns(self, QModelIndex, int, int)
QgsPointCloudAttributeProxyModel.beginInsertRows(self, QModelIndex, int, int)
QgsPointCloudAttributeProxyModel.beginMoveColumns(self, QModelIndex, int, int, QModelIndex, int) -> bool
QgsPointCloudAttributeProxyModel.beginMoveRows(self, QModelIndex, int, int, QModelIndex, int) -> bool
QgsPointCloudAttributeProxyModel.beginRemoveColumns(self, QModelIndex, int, int)
QgsPointCloudAttributeProxyModel.beginRemoveRows(self, QModelIndex, int, int)
beginResetModel(self)
QgsPointCloudAttributeProxyModel.changePersistentIndex(self, QModelIndex, QModelIndex)
changePersistentIndexList(self, Iterable[QModelIndex], Iterable[QModelIndex])
childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
QgsPointCloudAttributeProxyModel.createIndex(self, int, int, object: object = 0) -> QModelIndex
customEvent(self, QEvent)
QgsPointCloudAttributeProxyModel.decodeData(self, int, int, QModelIndex, QDataStream) -> bool
disconnectNotify(self, QMetaMethod)
encodeData(self, Iterable[QModelIndex], QDataStream)
endInsertColumns(self)
endInsertRows(self)
endMoveColumns(self)
endMoveRows(self)
endRemoveColumns(self)
endRemoveRows(self)
endResetModel(self)
filterAcceptsColumn(self, int, QModelIndex)bool
filterAcceptsRow(self, source_row: int, source_parent: QModelIndex)bool
Parameters
  • source_row (int) –

  • source_parent (QModelIndex) –

Return type

bool

filters(self)QgsPointCloudAttributeProxyModel.Filters

Returns the filters controlling displayed attributes.

See also

setFilters()

Return type

QgsPointCloudAttributeProxyModel.Filters

invalidateFilter(self)
isSignalConnected(self, QMetaMethod)bool
lessThan(self, left: QModelIndex, right: QModelIndex)bool
Parameters
  • left (QModelIndex) –

  • right (QModelIndex) –

Return type

bool

persistentIndexList(self)List[QModelIndex]
receivers(self, PYQT_SIGNAL)int
resetInternalData(self)
sender(self)QObject
senderSignalIndex(self)int
setFilters(self, filters: Union[QgsPointCloudAttributeProxyModel.Filters, QgsPointCloudAttributeProxyModel.Filter])QgsPointCloudAttributeProxyModel

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

See also

filters()

Parameters

filters (Union[QgsPointCloudAttributeProxyModel.Filters) –

Return type

QgsPointCloudAttributeProxyModel

sourceAttributeModel(self)QgsPointCloudAttributeModel

Returns the QgsPointCloudAttributeModel used in this QSortFilterProxyModel.

Return type

QgsPointCloudAttributeModel

timerEvent(self, QTimerEvent)