Class: QgsPointCloudAttributeProxyModel¶
- class qgis.core.QgsPointCloudAttributeProxyModel(source: QgsPointCloudAttributeModel, parent: QObject = None)¶
Bases:
PyQt5.QtCore.QSortFilterProxyModel
Constructor for
QgsPointCloudAttributeProxyModel
, with the specifiedsource
model andparent
object.A proxy model for filtering available attributes from a point cloud attribute model.
Methods
beginInsertColumns
beginInsertRows
beginMoveColumns
beginMoveRows
beginRemoveColumns
beginRemoveRows
changePersistentIndex
createIndex
decodeData
- param source_row
Returns the filters controlling displayed attributes.
- param left
Set flags that affect how fields are filtered in the model.
Returns the
QgsPointCloudAttributeModel
used in this QSortFilterProxyModel.Attributes
- AllTypes = 31¶
- Char = 1¶
- Double = 16¶
- class Filter¶
Bases:
int
- class Filters¶
- class Filters(Union[QgsPointCloudAttributeProxyModel.Filters, QgsPointCloudAttributeProxyModel.Filter]) → None
- class Filters(QgsPointCloudAttributeProxyModel.Filters) → None
Bases:
sip.wrapper
- baseClass¶
- 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
- Return type
- 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
- Parameters
filters (Union[QgsPointCloudAttributeProxyModel.Filters) –
- Return type
- sourceAttributeModel(self) → QgsPointCloudAttributeModel¶
Returns the
QgsPointCloudAttributeModel
used in this QSortFilterProxyModel.- Return type
- timerEvent(self, QTimerEvent)¶