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