Class: QgsOptionsDialogHighlightTree

class qgis.gui.QgsOptionsDialogHighlightTree(treeView: QTreeView)

Bases: QgsOptionsDialogHighlightWidget

constructs a highlight widget for a tree view or widget.

A highlight widget for trees. This is used to search and highlight text in QgsOptionsDialogBase implementations. Highlighting is only available for tree widgets only while searching can be performed in any tree view or inherited class.

New in version 3.0.

Parameters

treeView

childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
disconnectNotify(self, QMetaMethod)
highlightText(self, text: str) → bool
Parameters

text (str) –

Return type

bool

isSignalConnected(self, QMetaMethod) → bool
receivers(self, PYQT_SIGNAL) → int
reset(self)
searchText(self, text: str) → bool
Parameters

text (str) –

Return type

bool

sender(self) → QObject
senderSignalIndex(self) → int
timerEvent(self, QTimerEvent)