1 #ifndef REFINESEARCHWIDGET_H
2 #define REFINESEARCHWIDGET_H
8 class RefineSearchWidget : public QWidget {
13 RefineSearchWidget(QWidget *parent = 0);
15 bool isDirty() { return dirty; }
16 void setDirty(bool dirty) { this->dirty = dirty; }
17 void setSearchParams(SearchParams* params);
20 void paramChanged(QString name, QVariant value);
25 void paintEvent(QPaintEvent *);
28 void actionTriggered(QAction* action);
33 void setupLabel(QString text, QBoxLayout* layout, QString paramName);
34 QToolBar *setupBar(QString paramName);
36 QHash<QString, QToolBar*> bars;
41 #endif // REFINESEARCHWIDGET_H