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