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 |
private slots: |
24 |
|
25 |
void on_buttonBox_accepted(); |
26 |
|
27 |
void on_pbChooseWorkspace_clicked(); |
28 |
|
29 |
void on_pbChooseAE_clicked(); |
30 |
|
31 |
void on_buttonBox_rejected(); |
32 |
|
33 |
private: |
34 |
Ui::Preferences *ui; |
35 |
QSettings *vagoSettings; |
36 |
}; |
37 |
|
38 |
#endif // PREFERENCES_H |