-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainmenutab.h
45 lines (33 loc) · 837 Bytes
/
mainmenutab.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
#ifndef MAINMENUTAB_H
#define MAINMENUTAB_H
#include <QObject>
#include <QWidget>
#include <QtWidgets>
#include <QCheckBox>
#include "menubutton.h"
class MainMenuTab : public QFrame
{
Q_OBJECT
public:
MainMenuTab(QWidget *parent = 0);
~MainMenuTab();
signals:
void createSmallBoardSig();
void createMediumBoardSig();
void createBigBoardSig();
void loadGameSig();
void continueGameSig();
void tutorChecked(bool);
void exitGame();
private:
QHBoxLayout *_mainMenuLayout;
QVBoxLayout *_leftLayout;
QVBoxLayout *_rightLayout;
MenuButton *_createSmallBoardButton;
MenuButton *_createMediumBoardButton;
MenuButton *_createBigBoardButton;
MenuButton *_advancedButton;
MenuButton *_loadGameButton;
MenuButton *_continueGameButton;
};
#endif // MAINMENUTAB_H