Line | |
---|
1 | #ifndef WMSETUPPAGE_H
|
---|
2 | #define WMSETUPPAGE_H
|
---|
3 |
|
---|
4 | #include <QWizardPage>
|
---|
5 |
|
---|
6 | #include "utilvago.h"
|
---|
7 |
|
---|
8 | namespace Ui {
|
---|
9 | class WmSetupPage;
|
---|
10 | }
|
---|
11 |
|
---|
12 | enum class WINDOW_TYPE{
|
---|
13 | OBJECTIVE = 0,
|
---|
14 | TEXT_CONSOLE,
|
---|
15 | WEAPON,
|
---|
16 | ITEM,
|
---|
17 | DIARY,
|
---|
18 | HELP,
|
---|
19 | ENUM_END
|
---|
20 | };
|
---|
21 |
|
---|
22 | class WmSetupPage : public QWizardPage
|
---|
23 | {
|
---|
24 | Q_OBJECT
|
---|
25 | public:
|
---|
26 | explicit WmSetupPage(QWidget *parent = 0);
|
---|
27 | ~WmSetupPage();
|
---|
28 |
|
---|
29 | private slots:
|
---|
30 | bool validatePage();
|
---|
31 |
|
---|
32 | void on_leLevelId_textChanged(const QString &arg1);
|
---|
33 |
|
---|
34 | void on_lePageNumber_textChanged(const QString &arg1);
|
---|
35 |
|
---|
36 | void on_cbWindowType_currentTextChanged(const QString &arg1);
|
---|
37 |
|
---|
38 | void on_leWeaponClassName_textChanged(const QString &arg1);
|
---|
39 |
|
---|
40 | private:
|
---|
41 | Ui::WmSetupPage *ui;
|
---|
42 | private:
|
---|
43 | void generateDiaryFileName();
|
---|
44 | QString getWindowTypeDescription(const WINDOW_TYPE wt);
|
---|
45 | };
|
---|
46 |
|
---|
47 | #endif // WMSETUPPAGE_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.