17 #ifndef GEPETTO_GUI_ACTION_SEARCH_BAR_HH
18 #define GEPETTO_GUI_ACTION_SEARCH_BAR_HH
23 #include <QStringListModel>
43 bool trigger(
const QString& s);
44 void handleReturnPressed();
47 QStringListModel* model_;
48 QCompleter* completer_;
49 QMap<QString, QAction*> actions_;
Definition: action-search-bar.hh:28
virtual void keyPressEvent(QKeyEvent *event)
ActionSearchBar(QWidget *parent)
QAction * showAction() const
Definition: action-search-bar.hh:36
virtual void showEvent(QShowEvent *event)
void addAction(QAction *action)
Definition: action-search-bar.hh:26