4 #include "ui_searchwidget.h"
10 class SearchWidget : public QWidget
14 SearchWidget(QWidget *parent=0);
16 void setFound(bool f);
19 void searchNext(const QString &str, Qt::CaseSensitivity cs = Qt::CaseInsensitive);
20 void searchPrev(const QString &str, Qt::CaseSensitivity cs = Qt::CaseInsensitive);
23 void slotSearchNext();
24 void slotSearchPrev();
28 virtual bool eventFilter(QObject *object, QEvent* event);
29 virtual void showEvent(QShowEvent *event);
32 Qt::CaseSensitivity caseSensitivity() const;
35 QPalette m_origPalette;