Class: QgsOptionsDialogHighlightLabel¶
- class qgis.gui.QgsOptionsDialogHighlightLabel¶
Bases:
QgsOptionsDialogHighlightWidget
A highlight widget for labels. This is used to search and highlight text in
QgsOptionsDialogBase
implementations.QgsOptionsDialogHighlightLabel(label: QLabel) constructs a highlight widget for a label
QgsOptionsDialogHighlightLabel(
QgsOptionsDialogHighlightLabel
)- highlightText(self, text: str) bool ¶
- Parameters:
text (str) –
- Return type:
bool
- reset(self)¶
- searchText(self, text: str) bool ¶
- Parameters:
text (str) –
- Return type:
bool