Class: QgsOptionsDialogHighlightTree

class qgis.gui.QgsOptionsDialogHighlightTree

Bases: QgsOptionsDialogHighlightWidget

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.

QgsOptionsDialogHighlightTree(treeView: QTreeView) constructs a highlight widget for a tree view or widget.

QgsOptionsDialogHighlightTree(QgsOptionsDialogHighlightTree)

Methods

highlightText

param text:

reset

searchText

param text:

highlightText(self, text: str) bool
Parameters:

text (str) –

Return type:

bool

reset(self)
searchText(self, text: str) bool
Parameters:

text (str) –

Return type:

bool