-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfenprincipale.h
45 lines (36 loc) · 938 Bytes
/
fenprincipale.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 FENPRINCIPALE_H
#define FENPRINCIPALE_H
#include<QtWidgets>
class FenPrincipale : public QWidget
{
Q_OBJECT // indispensable lors de la création de slots
public:
FenPrincipale();
public slots:
void ecrireHeaderGuard(QString nom);
void addAttributInList();
void deleteAttributInList();
private slots:
QString genererCodeHeader();
QString genererCodeCpp();
void genererCode();
protected:
private:
QLineEdit *nom;
QLineEdit *classeMere;
QListWidget *attributs;
QPushButton *ajouterAttributBtn;
QPushButton *supprimerAttributBtn;
QCheckBox *protections;
QLineEdit *headerGuard;
QCheckBox *genererConstructeur;
QCheckBox *genererDestructeur;
QCheckBox *genererAccesseurs;
QGroupBox *groupCommentaires;
QLineEdit *auteur;
QDateEdit *date;
QTextEdit *role;
QPushButton *generer;
QPushButton *quitter;
};
#endif // FENPRINCIPALE_H