-
Notifications
You must be signed in to change notification settings - Fork 0
/
formlayout.h
39 lines (30 loc) · 1.02 KB
/
formlayout.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
#ifndef FORMLAYOUT_H
#define FORMLAYOUT_H
#include <QMainWindow>
#include "graphicswindow.h"
#include <QToolBar>
#include <QAction>
#include <QFormLayout>
#include <QLineEdit>
using namespace std;
/**
* This class is used to keep track of the text grabber to init the game.
* Inherits from QWidget.
* @author Tam Henry Le Nguyen */
class formlayout : public QWidget {
Q_OBJECT
public:
formlayout(); /** Default Constructor */
~formlayout(); /** Default Destructor */
QFormLayout *getLayout(); /** Layout Accessor */
QLineEdit *getSizeEdit(); /** Size Edit Accessor */
QLineEdit *getStartMovesEdit(); /** StartMovesEdit Accessor */
QLineEdit *getRandomSeedEdit(); /** RandomSeedEdit Accessor*/
private:
QFormLayout *layout; /** Your layout */
QLineEdit *sizeEdit; /** To store what was written in size edit */
QLineEdit *startMovesEdit; /** To Store what was written in startMoves Edit */
QLineEdit *randomSeedEdit; /** To store what was written in randomseed edit */
public slots:
};
#endif // MAINWINDOW_H