-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwgauche.h
72 lines (53 loc) · 1.72 KB
/
wgauche.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 wgauche.h
* \class Gauche wgauche.h
* \brief Définit la classe Gauche : Affichage des notes actives et archivées
* \details Hérite de QWidget
* \brief notes_actives : Liste des notes actives
* \brief notes_archivees : Liste des notes archivées
*\brief bouton_afficher_act: Bouton afficher notes actives
*\brief bouton_afficher_arch: Bouton afficher notes archivées
*\brief restaurer : Bouton restaurer
*\brief arborescence : Bouton arborescence
*/
#ifndef GAUCHE_H
#define GAUCHE_H
#include <QPushButton>
#include <QApplication>
#include <QLabel>
#include <QScrollArea>
#include <QVBoxLayout>
#include <QObject>
#include <QMainWindow>
#include "notesmanager.h"
#include "note.h"
#include "wnoteact.h"
#include "wnotearch.h"
#include <QListWidget>
#include <QComboBox>
class Gauche : public QWidget {
Q_OBJECT // macro pour pouvoir utiliser signals et slots
QLabel *titre_act;
QVBoxLayout *couche;
QListWidget *notes_actives;
QPushButton *bouton_afficher_act;
QLabel *titre_arch;
QComboBox *notes_archivees;
QPushButton *bouton_afficher_arch;
QPushButton *restaurer;
QHBoxLayout *button_box;
QPushButton *arborescence;
QHBoxLayout* button_arch_box;
public:
explicit Gauche(QMainWindow* parent=0);
QListWidget* getNotesActives() {return notes_actives;}
QPushButton* getBoutonAfficherAct() {return bouton_afficher_act;}
QComboBox* getNotesArchivees() {return notes_archivees;}
QPushButton* getBoutonAfficherArch() {return bouton_afficher_arch;}
QPushButton* getBoutonAfficherArboresence() {return arborescence;}
QPushButton* getBoutonRestaurer() {return restaurer;}
signals:
private slots:
public slots:
};
#endif // GAUCHE_H