-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMaFenetre.h
66 lines (50 loc) · 1.02 KB
/
MaFenetre.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#ifndef MAFENETRE_H
#define MAFENETRE_H
#include <QWidget>
#include <QLabel>
#include <QTabWidget>
#include <QLineEdit>
#include <QPushButton>
#include <QVBoxLayout>
#include <QProgressBar>
#include <QSlider>
#include <QMessageBox>
#include <QString>
#include <QPainter>
#include "Cellule.h"
#include "Grille.h"
#include "Ile.h"
class MaFenetre : public QWidget
{
Q_OBJECT
public:
MaFenetre();
void affiche_grilleQt(int, int, Grille);
signals:
public slots:
void ChangeQLabel();
void MessErrorGen();
void MessErrorSolv();
private:
QTabWidget *onglets;
QWidget *page1;
QWidget *page2;
QWidget *page3;
//page 1
QLineEdit *lineEdit;
QPushButton *BouValPseudo;
QLabel *IntroAppli;
QLabel *InfoAccueil;
QVBoxLayout *vbox1;
//page 2
QLabel *IntroGeneration;
QPushButton *BouGeneration;
QVBoxLayout *vbox2;
//page 3
QLabel *ImageDemo;
QPushButton *BouSolver;
QVBoxLayout *vbox3;
//Nurikabe
QLabel *RectFond;
};
#endif // MAFENETRE_H