-
Notifications
You must be signed in to change notification settings - Fork 0
/
_event.h
46 lines (32 loc) · 787 Bytes
/
_event.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
#ifndef _EVENT_H
#define _EVENT_H
#include <QJsonObject>
#include <QJsonParseError>
#include <QColor>
#include <QFont>
#include <QString>
class _Event{
public:
QString eventName;
QString eventDate;
QColor color_eventName;
QColor color_eventCountdown;
QColor backgroundColor;
QFont font_eventName;
QFont font_eventCountdown;
QString widget_border;
bool bold_eventName;
bool bold_eventCountdown;
// bool shadow_enabled;
// int shadow_offset_x;
// int shadow_offset_y;
// int shadow_blur_radius;
// QColor shadow_color;
QString otherStylesheet;
int eventId;
void initializeDefaults();
void parseJsonObject(const QJsonObject&);
_Event();
_Event(const QJsonObject&, int);
};
#endif // _EVENT_H