Created new ui for the program. Almost everything that worked previously
[ptas] / zouba / src / gui / favoriteselectiondialog.h
1 #ifndef FAVORITESELECTIONDIALOG_H
2 #define FAVORITESELECTIONDIALOG_H
3
4 #include <QDialog>
5
6 class Location;
7 class QListWidgetItem;
8
9 namespace Ui {
10     class FavoriteSelectionDialog;
11 }
12
13 class FavoriteSelectionDialog : public QDialog
14 {
15     Q_OBJECT
16
17 public:
18     explicit FavoriteSelectionDialog(QWidget *parent = 0);
19     ~FavoriteSelectionDialog();
20
21 signals:
22     void selectedLocation(Location*);
23     void customizeRequested();
24
25 private:
26     Ui::FavoriteSelectionDialog *ui;
27
28 private slots:
29     void on_modify_button_clicked();
30     void on_locations_itemClicked(QListWidgetItem* item);
31 };
32
33 #endif // FAVORITESELECTIONDIALOG_H