Wed, 17 Jul 2013 01:55:18 +0300
SEPARATORS
2 | 1 | #ifndef CONFIG_H |
2 | #define CONFIG_H | |
3 | ||
4 | #include <QDialog> | |
3
d0b278fd29d5
Implemented wad path list
Teemu Piippo <crimsondusk64@gmail.com>
parents:
2
diff
changeset
|
5 | #include "main.h" |
d0b278fd29d5
Implemented wad path list
Teemu Piippo <crimsondusk64@gmail.com>
parents:
2
diff
changeset
|
6 | #include "types.h" |
2 | 7 | |
8 | class Ui_ConfigBox; | |
9 | ||
10 | class ConfigBox : public QDialog { | |
3
d0b278fd29d5
Implemented wad path list
Teemu Piippo <crimsondusk64@gmail.com>
parents:
2
diff
changeset
|
11 | Q_OBJECT |
d0b278fd29d5
Implemented wad path list
Teemu Piippo <crimsondusk64@gmail.com>
parents:
2
diff
changeset
|
12 | |
2 | 13 | public: |
3
d0b278fd29d5
Implemented wad path list
Teemu Piippo <crimsondusk64@gmail.com>
parents:
2
diff
changeset
|
14 | explicit ConfigBox( QWidget* parent = null, Qt::WindowFlags f = 0 ); |
2 | 15 | virtual ~ConfigBox(); |
3
d0b278fd29d5
Implemented wad path list
Teemu Piippo <crimsondusk64@gmail.com>
parents:
2
diff
changeset
|
16 | void addPath( str path ); |
d0b278fd29d5
Implemented wad path list
Teemu Piippo <crimsondusk64@gmail.com>
parents:
2
diff
changeset
|
17 | void initFromSettings(); |
d0b278fd29d5
Implemented wad path list
Teemu Piippo <crimsondusk64@gmail.com>
parents:
2
diff
changeset
|
18 | |
d0b278fd29d5
Implemented wad path list
Teemu Piippo <crimsondusk64@gmail.com>
parents:
2
diff
changeset
|
19 | public slots: |
d0b278fd29d5
Implemented wad path list
Teemu Piippo <crimsondusk64@gmail.com>
parents:
2
diff
changeset
|
20 | void addPath(); |
d0b278fd29d5
Implemented wad path list
Teemu Piippo <crimsondusk64@gmail.com>
parents:
2
diff
changeset
|
21 | void findPath(); |
d0b278fd29d5
Implemented wad path list
Teemu Piippo <crimsondusk64@gmail.com>
parents:
2
diff
changeset
|
22 | void delPath(); |
2 | 23 | |
24 | private: | |
25 | Ui_ConfigBox* ui; | |
26 | }; | |
27 | ||
28 | #endif // CONFIG_H |