Class: QgsPointCloudAttributeProxyModel¶
- class qgis.core.QgsPointCloudAttributeProxyModel¶
Bases:
PyQt5.QtCore.QSortFilterProxyModel
A proxy model for filtering available attributes from a point cloud attribute model.
Added in version 3.18.
QgsPointCloudAttributeProxyModel(source: Optional[QgsPointCloudAttributeModel], parent: Optional[QObject] = None) Constructor for
QgsPointCloudAttributeProxyModel
, with the specifiedsource
model andparent
object.Methods
- 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.Signals
Attributes
- 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:
sip.wrapper
- baseClass¶
alias of
QgsPointCloudAttributeProxyModel
- Float = 8¶
- Int32 = 4¶
- Numeric = 30¶
- Short = 2¶
- beginInsertColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginInsertRows(self, parent: QModelIndex, first: int, last: int)¶
- beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) bool ¶
- beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) bool ¶
- beginRemoveColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginRemoveRows(self, parent: QModelIndex, first: int, last: int)¶
- beginResetModel(self)¶
- changePersistentIndex(self, from_: QModelIndex, to: QModelIndex)¶
- changePersistentIndexList(self, from_: Iterable[QModelIndex], to: Iterable[QModelIndex])¶
- childEvent(self, a0: QChildEvent | None)¶
- connectNotify(self, signal: QMetaMethod)¶
- createIndex(self, row: int, column: int, object: Any = None) QModelIndex ¶
- customEvent(self, a0: QEvent | None)¶
- decodeData(self, row: int, column: int, parent: QModelIndex, stream: QDataStream) bool ¶
- disconnectNotify(self, signal: QMetaMethod)¶
- encodeData(self, indexes: Iterable[QModelIndex], stream: QDataStream)¶
- endInsertColumns(self)¶
- endInsertRows(self)¶
- endMoveColumns(self)¶
- endMoveRows(self)¶
- endRemoveColumns(self)¶
- endRemoveRows(self)¶
- endResetModel(self)¶
- filterAcceptsColumn(self, source_column: int, source_parent: 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, signal: QMetaMethod) bool ¶
- lessThan(self, left: QModelIndex, right: QModelIndex) bool ¶
- Parameters:
left (QModelIndex)
right (QModelIndex)
- Return type:
bool
- persistentIndexList(self) List[QModelIndex] ¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- resetInternalData(self)¶
- sender(self) QObject | None ¶
- senderSignalIndex(self) int ¶
- setFilters(self, filters: QgsPointCloudAttributeProxyModel.Filters | QgsPointCloudAttributeProxyModel.Filter) QgsPointCloudAttributeProxyModel | None ¶
Set flags that affect how fields are filtered in the model.
See also
- Parameters:
filters (Union[QgsPointCloudAttributeProxyModel.Filters)
- Return type:
Optional[QgsPointCloudAttributeProxyModel]
- sourceAttributeModel(self) QgsPointCloudAttributeModel | None ¶
Returns the
QgsPointCloudAttributeModel
used in this QSortFilterProxyModel.- Return type:
Optional[QgsPointCloudAttributeModel]
- timerEvent(self, a0: QTimerEvent | None)¶