-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcommon.h
More file actions
60 lines (47 loc) · 1.92 KB
/
common.h
File metadata and controls
60 lines (47 loc) · 1.92 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
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef COMMON_H
#define COMMON_H
//const char* typeStr[3]={"Donwload only", "Upload only", "Download and Upload"};
#define WINDOW_ICON ":/images/images/logo.png"
//#define WINDOW_ICON ":/16x16/images/16x16/logo.png"
#define ONLINE_ICON ":/24x24/images/24x24/online.png"
/*#define OFFLINE_ICON ":/24x24/images/24x24/offline.png"
#define SYNCED_ICON ":/24x24/images/24x24/synced.png"
#define SYNCING_ICON ":/24x24/images/24x24/syncing.png"
#define PAUSED_ICON ":/24x24/images/24x24/sync-paused.png"
#define SYNC_FULL_ICON ":/24x24/images/24x24/sync-full.png"
*/
#define OFFLINE_ICON ":/tray/images/tray/offline.png"
#define SYNCED_ICON ":/tray/images/tray/synced.png"
#define SYNCING_ICON ":/tray/images/tray/syncing.png"
#define PAUSED_ICON ":/tray/images/tray/sync-paused.png"
#define SYNC_FULL_ICON ":/tray/images/tray/sync-full.png"
#define OFFLINE_ICON_NTF ":/tray/images/tray/tray-ntf/offline-ntf.png"
#define SYNCED_ICON_NTF ":/tray/images/tray/tray-ntf/synced-ntf.png"
#define SYNCING_ICON_NTF ":/tray/images/tray/tray-ntf/syncing-ntf.png"
#define PAUSED_ICON_NTF ":/tray/images/tray/tray-ntf/sync-paused-ntf.png"
#define SYNC_FULL_ICON_NTF ":/tray/images/tray/tray-ntf/sync-full-ntf.png"
#define HELP_ICON ":/128x128/images/128x128/help.png"
#define INFO_ICON ":/128x128/images/128x128/info.png"
#define USER_ICON ":/128x128/images/128x128/user.png"
#define SYNC_TAB_ICON ":/128x128/images/128x128/sync.png"
//eachs page num according to index in pcloudwin
#define ACCNT_LOGGED_PAGE_NUM 0
#define SYNC_PAGE_NUM 1
#define SHARES_PAGE_NUM 2
#define CRYPTO_PAGE_NUM 3
#define SETTINGS_PAGE_NUM 4
#define HELP_PAGE_NUM 5
#define ABOUT_PAGE_NUM 6
//first screens pages
#define WELCOME_INTRO_PAGE_NUM 0
#define DRIVE_INFO_PAGE_NUM 1
#define SYNC_INFO_PAGE_NUM 2
#define SHARES_INFO_PAGE_NUM 3
#define CRYPTO_INTRO_PAGE_NUM 4
#define FINISH_INFO_PAGE_NUM 5
#ifdef Q_OS_WIN
#define OSPathSeparator "\\"
#else
#define OSPathSeparator "/"
#endif
#endif