3 |
3 |
4 #include <QDialog> |
4 #include <QDialog> |
5 #include "main.h" |
5 #include "main.h" |
6 #include "types.h" |
6 #include "types.h" |
7 |
7 |
|
8 class QLineEdit; |
8 class Ui_ConfigBox; |
9 class Ui_ConfigBox; |
9 |
10 |
10 class ConfigBox : public QDialog { |
11 class ConfigBox : public QDialog { |
11 Q_OBJECT |
12 Q_OBJECT |
12 |
13 |
13 public: |
14 public: |
14 explicit ConfigBox( QWidget* parent = null, Qt::WindowFlags f = 0 ); |
15 explicit ConfigBox( QWidget* parent = null, Qt::WindowFlags f = 0 ); |
15 virtual ~ConfigBox(); |
16 virtual ~ConfigBox(); |
16 void addPath( str path ); |
17 void addPath( str path ); |
17 void initFromSettings(); |
18 void initFromSettings(); |
|
19 str binaryConfigName( str ver ) const; |
18 |
20 |
19 public slots: |
21 public slots: |
20 void addPath(); |
22 void addPath(); |
21 void findPath(); |
23 void findPath(); |
22 void delPath(); |
24 void delPath(); |
|
25 void findZanBinary(); |
|
26 void okPressed(); |
|
27 void cancelPressed(); |
23 |
28 |
24 private: |
29 private: |
25 Ui_ConfigBox* ui; |
30 Ui_ConfigBox* ui; |
|
31 list<QLineEdit*> m_zanBinaries; |
26 }; |
32 }; |
27 |
33 |
28 #endif // CONFIG_H |
34 #endif // CONFIG_H |