QgsOptionsDialogHighlightLabel class
A highlight widget for labels.
Contents
This is used to search and highlight text in QgsOptionsDialogBase implementations.
Base classes
- class QgsOptionsDialogHighlightWidget
- Container for a widget to be used to search text in the option dialog If the widget type is handled, it is valid.
Constructors, destructors, conversion operators
- QgsOptionsDialogHighlightLabel(QLabel* label)
- constructs a highlight widget for a label
Protected functions
- auto highlightText(const QString& text) -> bool override
- Highlight the text in the widget.
- void reset() override
- reset the style of the widgets to its original state
- auto searchText(const QString& text) -> bool override
- Search for the text in the widget and return true if it was found.
Function documentation
bool QgsOptionsDialogHighlightLabel:: highlightText(const QString& text) override protected
Highlight the text in the widget.
| Returns | true if the text could be highlighted. |
|---|