16#ifndef QGSOPTIONSDIALOGHIGHLIGHTWIDGET_H
17#define QGSOPTIONSDIALOGHIGHLIGHTWIDGET_H
38class QgsOptionsDialogHighlightWidgetEventFilter :
public QObject
44 bool eventFilter( QObject *obj, QEvent *event )
override;
78 bool isValid() {
return !mWidget.isNull(); }
84 bool searchHighlight(
const QString &text );
89 QWidget *
widget() {
return mWidget; }
118 friend class QgsOptionsDialogHighlightWidgetEventFilter;
120 QString mSearchText = QString();
121 bool mChangedStyle =
false;
122 QgsOptionsDialogHighlightWidgetEventFilter *mEventFilter =
nullptr;