16 #ifndef QGSOPTIONSDIALOGHIGHLIGHTWIDGET_H 17 #define QGSOPTIONSDIALOGHIGHLIGHTWIDGET_H 52 bool isValid() {
return !mWidget.isNull(); }
58 bool searchHighlight(
const QString &text );
66 bool eventFilter( QObject *obj, QEvent *event )
override;
74 virtual bool searchText(
const QString &text ) = 0;
80 virtual bool highlightText(
const QString &text ) = 0;
85 virtual void reset() = 0;
97 QString mSearchText = QString();
98 bool mChangedStyle =
false;
99 bool mInstalledFilter =
false;
102 #endif // QGSOPTIONSDIALOGHIGHLIGHTWIDGET_H