-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwcreercouple.h
65 lines (50 loc) · 1.68 KB
/
wcreercouple.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
/*!
* \file windowcreercouple.h
* \class WindowCreerCouple windowcreercouple.h
* \brief Définit la classe WindowCreerCouple : Emplacement pour créer une couple
* \details Hérite de QWidget
* \brief note1 : Formulaire identifiant de la note 1 du couple
* \brief note2 : Formulaire identifiant de la note 2 du couple
* \brief label : Formulaire label du couple de la relation
*\brief valider : Bouton valider
*\brief annuler : Bouton annuler
*/
#ifndef WCREERCOUPLE_H
#define WCREERCOUPLE_H
#include <QObject>
#include <QWidget>
#include<QComboBox>
#include<QLabel>
#include<QPushButton>
#include<QHBoxLayout>
#include <QFormLayout>
#include <QLineEdit>
#include "relation.h"
class WindowCreerCouple : public QWidget
{
Q_OBJECT
QVBoxLayout *V_window; /*!< Emplacemet vertical de la fenetre*/
// ID
QHBoxLayout *H_note1; /*!< emplacement horizontal de l'id*/
QLabel *lbl_note1; /*!< label pour le champ id*/
QLineEdit *note1; /*!< champ id */
QHBoxLayout *H_note2; /*!< emplacement horizontal de l'id*/
QLabel *lbl_note2; /*!< label pour le champ id*/
QLineEdit *note2; /*!< champ id */
QHBoxLayout *H_label; /*!< emplacement horizontal de l'id*/
QLabel *lbl_label; /*!< label pour le champ id*/
QLineEdit *label; /*!< champ id */
QHBoxLayout *H_buttons;
QPushButton *valider;
QPushButton *annuler;
public:
WindowCreerCouple(QWidget *parent=0);
QPushButton* getBoutonValider() {return valider;}
QString getNote1() const { return note1->text() ;}
QString getNote2() const { return note2->text();}
QString getLabel() const { return label->text();}
signals:
private slots:
public slots:
};
#endif // WCREERCOUPLE_H