-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwnoteact.h
49 lines (35 loc) · 989 Bytes
/
wnoteact.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
#ifndef CENTRENOTEACT_H
#define CENTRENOTEACT_H
#include <QApplication>
#include <QMainWindow>
#include <QListWidget>
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include "note.h"
class CentreNoteAct : public QWidget {
Q_OBJECT // macro pour pouvoir utiliser signals et slots
QLabel *titre_id;
//QLabel *titre_id2;
//QLabel *titre_id3;
QListWidget *versions;
QPushButton *afficher;
//QPushButton *arborescence;
QPushButton *restaurer;
QPushButton *fermer;
QHBoxLayout *horiz;
QVBoxLayout *verti;
Note *note;
public:
// argument : la note concernee
explicit CentreNoteAct(Note *it, QWidget* parent=0);
QPushButton* getBoutonAfficherVersion() {return afficher;}
QPushButton* getBoutonRestaurerVersion() {return restaurer;}
QListWidget* getListVersions() {return versions;}
signals:
private slots:
public slots:
//void saveVersion();
};
#endif // CENTRENOTEACT_H