-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.h
More file actions
47 lines (26 loc) · 1.2 KB
/
config.h
File metadata and controls
47 lines (26 loc) · 1.2 KB
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
#ifndef CONFIG_H
#define CONFIG_H
#include <cstddef>
#include <QString>
#include "UI/include/colors/color_scheme/color_scheme_defines.h"
// color schemes
#define EDITOR_COLOR_SCHEME EDITOR_GRUVBOX_LIGHT
#define GLOBAL_COLOR_SCHEME GLOBAL_YARU_LIGHT
// status bar -----
const size_t STATUS_DISPLAYING_TIMEOUT = 3000;
const size_t ERROR_DISPLAYING_TIMEOUT = 7000;
// messages
const QString NEW_FILE_MESSAGE = "New file";
const QString OPEN_FILE_MESSAGE = "Opening file";
const QString SAVE_FILE_MESSAGE = "Successfully saved";
const QString SAVED_AS_MESSAGE = "Successfully saved as ";
const std::string NO_MISTAKES_MESSAGE = "No mistakes found!";
const std::string ARRAY_MISTAKE_MESSAGE = "Found Array mistake";
const std::string OBJECT_MISTAKE_MESSAGE = "Found Object mistake";
const std::string BOOLEAN_MISTAKE_MESSAGE = "Found Boolean mistake";
const std::string NULL_MISTAKE_MESSAGE = "Found Null mistake";
const std::string NUMBER_MISTAKE_MESSAGE = "Found Number mistake";
const std::string STRING_MISTAKE_MESSAGE = "Found String mistake";
const std::string JSON_MISTAKE_MESSAGE = "Found unknown JSON mistake";
const std::string UNKNOWN_MISTAKE_MESSAGE = "Found unknown mistake";
#endif // CONFIG_H