| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
A highlight widget for group boxes. More...
#include <qgsoptionsdialoghighlightwidgetsimpl.h>

Public Member Functions | |
| QgsOptionsDialogHighlightGroupBox (QGroupBox *groupBox) | |
| constructs a highlight widget for a group box.   | |
  Public Member Functions inherited from QgsOptionsDialogHighlightWidget | |
| virtual | ~QgsOptionsDialogHighlightWidget ()=default | 
| bool | isValid () | 
| Returns if it valid: if the widget type is handled and if the widget is not still available.   | |
| bool | searchHighlight (const QString &text) | 
| search for a text pattern and highlight the widget if the text is found   | |
| QWidget * | widget () | 
| Returns the widget.   | |
Protected Member Functions | |
| bool | highlightText (const QString &text) override | 
| Highlight the text in the widget.   | |
| void | reset () override | 
| reset the style of the widgets to its original state   | |
| bool | searchText (const QString &text) override | 
Search for the text in the widget and return true if it was found.   | |
  Protected Member Functions inherited from QgsOptionsDialogHighlightWidget | |
| QgsOptionsDialogHighlightWidget (QWidget *widget=nullptr) | |
| Constructor.   | |
Protected Attributes | |
| QPointer< QGroupBox > | mGroupBox | 
| QString | mStyleSheet | 
  Protected Attributes inherited from QgsOptionsDialogHighlightWidget | |
| QPointer< QWidget > | mWidget | 
| Pointer to the widget.   | |
Additional Inherited Members | |
  Static Public Member Functions inherited from QgsOptionsDialogHighlightWidget | |
| static QgsOptionsDialogHighlightWidget * | createWidget (QWidget *widget) | 
| create a highlight widget implementation for the proper widget type.   | |
A highlight widget for group boxes.
This is used to search and highlight text in QgsOptionsDialogBase implementations.
Definition at line 107 of file qgsoptionsdialoghighlightwidgetsimpl.h.
| QgsOptionsDialogHighlightGroupBox::QgsOptionsDialogHighlightGroupBox | ( | QGroupBox * | groupBox | ) | 
constructs a highlight widget for a group box.
Definition at line 148 of file qgsoptionsdialoghighlightwidgetsimpl.cpp.
      
  | 
  overrideprotectedvirtual | 
Highlight the text in the widget.
true if the text could be highlighted. Implements QgsOptionsDialogHighlightWidget.
Definition at line 163 of file qgsoptionsdialoghighlightwidgetsimpl.cpp.
      
  | 
  overrideprotectedvirtual | 
reset the style of the widgets to its original state
Implements QgsOptionsDialogHighlightWidget.
Definition at line 173 of file qgsoptionsdialoghighlightwidgetsimpl.cpp.
      
  | 
  overrideprotectedvirtual | 
Search for the text in the widget and return true if it was found. 
Implements QgsOptionsDialogHighlightWidget.
Definition at line 155 of file qgsoptionsdialoghighlightwidgetsimpl.cpp.
      
  | 
  protected | 
Definition at line 117 of file qgsoptionsdialoghighlightwidgetsimpl.h.
      
  | 
  protected | 
Definition at line 118 of file qgsoptionsdialoghighlightwidgetsimpl.h.