Class: QgsExpressionItemSearchProxy

class qgis.gui.QgsExpressionItemSearchProxy

Bases: PyQt5.QtCore.QSortFilterProxyModel

Search proxy used to filter the QgsExpressionBuilderWidget tree. The default search for a tree model only searches top level this will handle one level down

QgsExpressionItemSearchProxy.beginInsertColumns(self, QModelIndex, int, int)
QgsExpressionItemSearchProxy.beginInsertRows(self, QModelIndex, int, int)
QgsExpressionItemSearchProxy.beginMoveColumns(self, QModelIndex, int, int, QModelIndex, int) -> bool
QgsExpressionItemSearchProxy.beginMoveRows(self, QModelIndex, int, int, QModelIndex, int) -> bool
QgsExpressionItemSearchProxy.beginRemoveColumns(self, QModelIndex, int, int)
QgsExpressionItemSearchProxy.beginRemoveRows(self, QModelIndex, int, int)
beginResetModel(self)
QgsExpressionItemSearchProxy.changePersistentIndex(self, QModelIndex, QModelIndex)
changePersistentIndexList(self, Iterable[QModelIndex], Iterable[QModelIndex])
childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
QgsExpressionItemSearchProxy.createIndex(self, int, int, object: object = 0) -> QModelIndex
customEvent(self, QEvent)
QgsExpressionItemSearchProxy.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

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
timerEvent(self, QTimerEvent)