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
)- highlightText(self, text: str) bool ¶
- Parameters:
text (str) –
- Return type:
bool
- reset(self)¶
- searchText(self, text: str) bool ¶
- Parameters:
text (str) –
- Return type:
bool