Class: QgsOptionsDialogHighlightButton¶
- class qgis.gui.QgsOptionsDialogHighlightButton¶
Bases:
QgsOptionsDialogHighlightWidget
A highlight widget for buttons. This is used to search and highlight text in
QgsOptionsDialogBase
implementations.QgsOptionsDialogHighlightButton(button: Optional[QAbstractButton]) constructs a highlight widget for a button.
QgsOptionsDialogHighlightButton(a0:
QgsOptionsDialogHighlightButton
)- 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