10 #include <QStringListModel>
11 #include "ui_searchbox.h"
12 #include "graph_model.h"
13 #include "filter_menu.h"
37 std::string search_type();
58 void search(std::string searchTerm, std::string searchType);
86 QCompleter* autocompleter_;
88 std::string prev_search;
90 QAbstractItemModel* model_;
SearchBox(QWidget *parent=0)
Definition: search_box.cc:4
Definition: graph_model.h:36
Definition: search_box.h:18
Definition: ui_searchbox.h:97
void setAutocompletionList(QStringList wordList)
Definition: search_box.cc:42
void search(std::string searchTerm, std::string searchType)
std::string search_term()
Definition: search_box.cc:26
void searchTypeChanged(std::string new_type)
void setAutocompletionModel(GraphModel *new_model)
Definition: search_box.cc:34
void on_searchType_currentIndexChanged(QString new_type)
Definition: search_box.cc:49
void on_searchText_returnPressed()
Definition: search_box.cc:62
void on_searchButton_clicked(bool checked=false)
Definition: search_box.cc:54