-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwcreervideo.h
77 lines (58 loc) · 1.76 KB
/
wcreervideo.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
77
/*!
* \file wcreervideo.h
* \class WindowdCreerVideo wcreervideo.h
* \brief Définit la classe WindowdCreerVideo : Emplacement pour la création d'une note vidéo
* \details Hérite de QWidget
* \brief desc_box : Formulaire description de la vidéo
* \brief image_URL : Formulaire lien fichier image de la vidéo
* \brief video_title : Formulaire titre de la vidéo
* \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 vidéo
*\brief button_close : Bouton fermer
*/
#ifndef WCREERVIDEO_H
#define WCREERVIDEO_H
#include<QWidget>
#include<QLabel>
#include<QPushButton>
#include<QHBoxLayout>
#include<QVBoxLayout>
#include<QTextEdit>
#include<QLineEdit>
class WindowCreerVideo : 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 *video_title;
QLabel *video_label;
QLineEdit *video_URL;
QHBoxLayout *button_bar;
QPushButton *button_create;
QPushButton *button_close;
QVBoxLayout *frame;
QString identifiant;
QString titre_version;
public:
WindowCreerVideo(QString& ident, QString& titre, QWidget *parent=0);
QPushButton* getButtonCreate() {return button_create;}
QTextEdit* getDescBox() {return desc_box;}
QLineEdit* getImageBox() {return image_URL;}
QLineEdit* getVideoBox() {return video_URL;}
signals:
private slots:
public slots:
void create();
};
#endif // WCREERVIDEO_H