| 1 | #ifndef PREFERENCES_H | 
 
 
 
 
 | 2 | #define PREFERENCES_H | 
 
 
 
 
 | 3 |  | 
 
 
 
 
 | 4 | #include <QDialog> | 
 
 
 
 
 | 5 | #include <QFileDialog> | 
 
 
 
 
 | 6 | #include <QSettings> | 
 
 
 
 
 | 7 | #include <QMessageBox> | 
 
 
 
 
 | 8 |  | 
 
 
 
 
 | 9 | #include "util.h" | 
 
 
 
 
 | 10 |  | 
 
 
 
 
 | 11 | namespace Ui { | 
 
 
 
 
 | 12 | class Preferences; | 
 
 
 
 
 | 13 | } | 
 
 
 
 
 | 14 |  | 
 
 
 
 
 | 15 | class Preferences : public QDialog | 
 
 
 
 
 | 16 | { | 
 
 
 
 
 | 17 | Q_OBJECT | 
 
 
 
 
 | 18 |  | 
 
 
 
 
 | 19 | public: | 
 
 
 
 
 | 20 | Preferences(QWidget *parent, QSettings *vagoSettings); | 
 
 
 
 
 | 21 | ~Preferences(); | 
 
 
 
 
 | 22 |  | 
 
 
 
 
 | 23 | public slots: | 
 
 
 
 
 | 24 | void accept (); | 
 
 
 
 
 | 25 |  | 
 
 
 
 
 | 26 | private slots: | 
 
 
 
 
 | 27 |  | 
 
 
 
 
 | 28 | void on_pbChooseWorkspace_clicked(); | 
 
 
 
 
 | 29 |  | 
 
 
 
 
 | 30 | void on_pbChooseAE_clicked(); | 
 
 
 
 
 | 31 |  | 
 
 
 
 
 | 32 | void on_buttonBox_rejected(); | 
 
 
 
 
 | 33 |  | 
 
 
 
 
 | 34 | private: | 
 
 
 
 
 | 35 | Ui::Preferences *ui; | 
 
 
 
 
 | 36 | QSettings *vagoSettings; | 
 
 
 
 
 | 37 | }; | 
 
 
 
 
 | 38 |  | 
 
 
 
 
 | 39 | #endif // PREFERENCES_H |