33 #ifndef pqItemViewSearchWidget_h 34 #define pqItemViewSearchWidget_h 38 #include <QModelIndex> 51 typedef QDialog Superclass;
64 virtual void showSearchWidget();
71 virtual void updateSearch(QString);
72 virtual void updateSearch();
76 virtual void findNext();
77 virtual void findPrevious();
80 virtual void setBaseWidget(QWidget* baseWidget);
84 bool eventFilter(QObject* obj, QEvent* event)
override;
85 void keyPressEvent(QKeyEvent* e)
override;
89 virtual bool searchModel(
const QAbstractItemModel* M,
const QModelIndex& Top,
const QString& S,
94 void showEvent(QShowEvent*)
override;
98 virtual bool matchString(
99 const QAbstractItemModel* M,
const QModelIndex& curIdx,
const QString& searchString)
const;
#define PQCOMPONENTS_EXPORT