1 #ifndef CONFIG_H |
1 #ifndef CONFIG_H |
2 #define CONFIG_H |
2 #define CONFIG_H |
3 |
3 |
4 #include <QDialog> |
4 #include <QDialog> |
|
5 #include "main.h" |
|
6 #include "types.h" |
5 |
7 |
6 class Ui_ConfigBox; |
8 class Ui_ConfigBox; |
7 |
9 |
8 class ConfigBox : public QDialog { |
10 class ConfigBox : public QDialog { |
|
11 Q_OBJECT |
|
12 |
9 public: |
13 public: |
10 explicit ConfigBox( QWidget* parent = 0, Qt::WindowFlags f = 0 ); |
14 explicit ConfigBox( QWidget* parent = null, Qt::WindowFlags f = 0 ); |
11 virtual ~ConfigBox(); |
15 virtual ~ConfigBox(); |
|
16 void addPath( str path ); |
|
17 void initFromSettings(); |
|
18 |
|
19 public slots: |
|
20 void addPath(); |
|
21 void findPath(); |
|
22 void delPath(); |
12 |
23 |
13 private: |
24 private: |
14 Ui_ConfigBox* ui; |
25 Ui_ConfigBox* ui; |
15 }; |
26 }; |
16 |
27 |