-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhaffichervideo.h
72 lines (57 loc) · 1.68 KB
/
haffichervideo.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
/*!
* \file haffichervideo.h
* \class WindowAfficherVideo haffichervideo.h
* \brief Définit la classe WindowAfficherVideo : Emplacement pour afficher un video
* \details Hérite de QWidget
* \brief video : Note video
* \brief titre_text: Formulaire titre de la video
* \brief desc_text: Formulaire description de la video
* \brief image_text: Formulaire image de la video
* \brief video_text: Formulaire video de la video
*\brief valider : Bouton valider
*\brief annuler : Bouton annuler
*/
#ifndef HAFFICHERVIDEO_H
#define HAFFICHERVIDEO_H
#include<QWidget>
#include<QLabel>
#include<QPushButton>
#include<QHBoxLayout>
#include<QVBoxLayout>
#include<QTextEdit>
#include<QLineEdit>
#include"note.h"
#include"multimedia.h"
class WindowAfficherVideo : public QWidget {
Q_OBJECT
QHBoxLayout *titre_title;
QLabel *titre_label;
QLineEdit *titre_text;
QHBoxLayout *desc_title;
QLabel *desc_label;
QTextEdit *desc_text;
QHBoxLayout *image_title;
QLabel *image_label;
QLineEdit *image_text;
QHBoxLayout *video_title;
QLabel *video_label;
QLineEdit *video_text;
QHBoxLayout *button_bar;
QPushButton *button_save;
QPushButton *button_close;
QVBoxLayout *frame;
video *Video;
public:
WindowAfficherVideo(video* vi, QWidget *parent=0);
QPushButton* getButtonSave() {return button_save;}
QLineEdit* getTitle() {return titre_text;}
QTextEdit* getDesc() {return desc_text;}
QLineEdit* getChemin() {return image_text;}
QLineEdit* getCheminVideo() {return video_text;}
video* getVideo() {return Video;}
signals:
private slots:
public slots:
//void save();
};
#endif // HAFFICHERVIDEO_H