-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchronoedit.h
53 lines (38 loc) · 1.04 KB
/
chronoedit.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
#ifndef CHRONOEDIT_H
#define CHRONOEDIT_H
#include <QtGui>
#include <QtWidgets>
namespace Ui {
class ChronoEdit;
}
class ChronoEdit : public QWidget
{
Q_OBJECT
public:
explicit ChronoEdit(QWidget *parent = 0);
~ChronoEdit();
QString json();
void setContrib(QString contrib);
void setLieu(QString lieu);
void setEvent(QString titre, QString debut, QString fin, QString lieu, QString resp, bool avant = 1, QString desc = "");
private:
Ui::ChronoEdit *ui;
protected:
void keyPressEvent(QKeyEvent * e);
private slots:
void ajouterContrib();
void ajouterLieu();
void ajouterEvent();
void verifyEnable();
void refreshContribLabel();
void deleteEvent();
void deleteSelectedContrib();
void deleteSelectedLieu();
public slots:
void save(int a = -1, int b = -1);
void open();
signals:
void notAllSet(bool a = false);
void deletePressed();
};
#endif // CHRONOEDIT_H