1 #ifndef SEARCHDISPLAY_H
2 #define SEARCHDISPLAY_H
7 #include "routeresultwidget.h"
8 #include "locationsdisplaywindow.h"
9 #include "favoriteselectiondialog.h"
11 #include "src/logic/routefinder.h"
18 class SearchDisplay : public QMainWindow
23 explicit SearchDisplay(QWidget *parent = 0);
27 void locations_changed();
30 void on_dest_favorites_clicked();
31 void on_from_favorites_clicked();
32 void on_dest_combo_currentIndexChanged(QString );
33 void on_from_combo_currentIndexChanged(QString );
34 void on_searchButton_clicked();
36 void route_finder_finished();
39 void setEditText(QLineEdit*, QString&);
40 void updateLocationLists();
42 Ui::SearchDisplay *ui;
43 RouteFinder *route_finder;
47 void from_selection_selected(Location*);
48 void dest_selection_selected(Location*);
49 void customize_requested();
51 Location *from_selected;
52 Location *dest_selected;
53 LocationsDisplayWindow *edit_window;
57 void tabclosed(int index);
64 #endif // SEARCHDISPLAY_H