-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwnotearch.h
50 lines (37 loc) · 1.07 KB
/
wnotearch.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
/*!
* \file wnotearch.h
* \class CentreNoteArch wnotearch.h
* \brief Définit la classe CentreNoteArch : Affiche les versions d'une note archivée
* \details Hérite de QWidget
* \brief versions : Liste des versions de la note archivée
*\brief afficher : Bouton afficher
*\brief fermer : Bouton fermer
*/
#ifndef CENTRENOTEARCH_H
#define CENTRENOTEARCH_H
#include <QApplication>
#include <QMainWindow>
#include <QListWidget>
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include "note.h"
class CentreNoteArch : public QWidget {
Q_OBJECT // macro pour pouvoir utiliser signals et slots
QLabel *titre_id;
QListWidget *versions;
QPushButton *afficher;
QPushButton *fermer;
QHBoxLayout *horiz;
QVBoxLayout *verti;
public:
// argument : la note concernee
explicit CentreNoteArch(Note *it, QWidget* parent=0);
QPushButton* getBoutonAfficherVersion() {return afficher;}
QListWidget* getListVersions() {return versions;}
signals:
private slots:
public slots:
};
#endif // CENTRENOTEARCH_H