-
Notifications
You must be signed in to change notification settings - Fork 0
/
CQuizWizard.h
51 lines (34 loc) · 836 Bytes
/
CQuizWizard.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef CQUIZWIZARD_H
#define CQUIZWIZARD_H
#include "SNewGame.h"
#include <QDialog>
#include <QSpinBox>
#include <QVector>
#include <QCheckBox>
namespace LM
{
class CKernel;
}
namespace Ui {
class CQuizWizard;
}
class CQuizWizard : public QDialog
{
Q_OBJECT
private:
Ui::CQuizWizard *ui;
SNewGameInfo m_oNewGameInfo;
LM::CKernel* m_pKernel;
QVector<QVector<QCheckBox*>> m_vPlayer1GridItems;
QVector<QVector<QCheckBox*>> m_vPlayer2GridItems;
void ClearLayout(QLayout* layout, bool deleteWidgets = true);
void GenerateScenes();
public:
explicit CQuizWizard(const SNewGameInfo& a_rNewGame, LM::CKernel* a_pKernel, QWidget *parent = 0);
~CQuizWizard();
public slots:
void clickOnCancel(bool);
void clickOnValidate(bool);
void GenerateGrids();
};
#endif // CQUIZWIZARD_H