src/config.h

Wed, 17 Jul 2013 01:53:57 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Wed, 17 Jul 2013 01:53:57 +0300
changeset 3
d0b278fd29d5
parent 2
1d544788a8b3
child 5
3c04e05ab24f
permissions
-rw-r--r--

Implemented wad path list

2
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
1 #ifndef CONFIG_H
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
2 #define CONFIG_H
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
3
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
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
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
7
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
8 class Ui_ConfigBox;
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
9
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
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
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
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
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
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
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
23
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
24 private:
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
25 Ui_ConfigBox* ui;
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
26 };
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
27
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
28 #endif // CONFIG_H

mercurial