QgsOptionsDialogHighlightButton class
A highlight widget for buttons.
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
- QgsOptionsDialogHighlightButton(QAbstractButton* button)
- constructs a highlight widget for a button.
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 QgsOptionsDialogHighlightButton:: highlightText(const QString& text) override protected
Highlight the text in the widget.
| Returns | true if the text could be highlighted. |
|---|