-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwcreerimage.h
76 lines (58 loc) · 1.74 KB
/
wcreerimage.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
67
68
69
70
71
72
73
74
75
76
/*!
* \file wcreerimage.h
* \class WindowdCreerImage wcreerimage.h
* \brief Définit la classe WindowdCreerImage : Emplacement pour la création d'une note image
* \details Hérite de QWidget
* \brief desc_box : Formulaire description de la image
* \brief image_URL : Formulaire lien fichier image de la image
* \brief image_title : Formulaire titre de la image
* \brief identifiant : Identifiant de la note à créer
* \brief titre_version : Titre de la version associée à la note à créer
*
*\brief button_create : Bouton créer note image
*\brief button_close : Bouton fermer
*/
#ifndef WCREERMULTI_H
#define WCREERMULTI_H
#include<QWidget>
#include<QLabel>
#include<QPushButton>
#include<QHBoxLayout>
#include<QVBoxLayout>
#include<QTextEdit>
#include<QLineEdit>
class WindowCreerImage : public QWidget {
Q_OBJECT
QHBoxLayout *id_title;
QLabel *id_label;
QLabel *id_text;
QHBoxLayout *titre_title;
QLabel *titre_label;
QLabel *titre_text;
QHBoxLayout *desc_title;
QLabel *desc_label;
QTextEdit *desc_box;
QHBoxLayout *image_title;
QLabel *image_label;
QLineEdit *image_URL;
QHBoxLayout *button_bar;
QPushButton *button_create;
QPushButton *button_close;
QVBoxLayout *frame;
QString identifiant;
QString titre_version;
public:
WindowCreerImage(QString& ident, QString& titre, QWidget *parent=0);
QPushButton* getButtonCreate() {return button_create;}
QTextEdit* getDescBox() {return desc_box;}
QLineEdit* getImageBox() {return image_URL;}
signals:
private slots:
public slots:
/*!
* \fn void create()
* \brief Récupère les données du formulaire et créer la note
*/
void create();
};
#endif // WCREERMULTI_H