-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmyui.h
46 lines (37 loc) · 795 Bytes
/
myui.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
#ifndef MYUI_H
#define MYUI_H
#include <QWidget>
#include "block_area.h"
#include <QGridLayout>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
class MyUI : public QWidget
{
Q_OBJECT
public:
explicit MyUI(QWidget *parent = 0);
private:
//设置布局
QGridLayout *setingLayout;
QLabel *rowLabel;
QLineEdit *rowLineEdit;
QLabel *columnLabel;
QLineEdit *columnLineEdit;
QLabel *mineLabel;
QLineEdit *mineLineEdit;
QPushButton *startBtn;
QLabel *mineShowLabel;
QLabel *mineNumLabel;
QLabel *flagLabel;
QLabel *flagNumLabel;
//总布局
QGridLayout *mainLayout;
Block_Area *MineArea;
signals:
private slots:
void restart(); //设置重启
void updateflag();
public slots:
};
#endif // MYUI_H