-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathresources.py
174 lines (164 loc) · 8.96 KB
/
resources.py
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.9.7)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x06\xe2\
\x3c\
\x3f\x78\x6d\x6c\x20\x76\x65\x72\x73\x69\x6f\x6e\x3d\x22\x31\x2e\
\x30\x22\x20\x65\x6e\x63\x6f\x64\x69\x6e\x67\x3d\x22\x75\x74\x66\
\x2d\x38\x22\x3f\x3e\x0d\x0a\x3c\x21\x2d\x2d\x20\x47\x65\x6e\x65\
\x72\x61\x74\x6f\x72\x3a\x20\x41\x64\x6f\x62\x65\x20\x49\x6c\x6c\
\x75\x73\x74\x72\x61\x74\x6f\x72\x20\x32\x37\x2e\x37\x2e\x30\x2c\
\x20\x53\x56\x47\x20\x45\x78\x70\x6f\x72\x74\x20\x50\x6c\x75\x67\
\x2d\x49\x6e\x20\x2e\x20\x53\x56\x47\x20\x56\x65\x72\x73\x69\x6f\
\x6e\x3a\x20\x36\x2e\x30\x30\x20\x42\x75\x69\x6c\x64\x20\x30\x29\
\x20\x20\x2d\x2d\x3e\x0d\x0a\x3c\x73\x76\x67\x20\x76\x65\x72\x73\
\x69\x6f\x6e\x3d\x22\x31\x2e\x31\x22\x20\x69\x64\x3d\x22\x4c\x61\
\x61\x67\x5f\x32\x22\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\
\x70\x3a\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x32\
\x30\x30\x30\x2f\x73\x76\x67\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x78\
\x6c\x69\x6e\x6b\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x77\x77\x77\
\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x31\x39\x39\x39\x2f\x78\x6c\x69\
\x6e\x6b\x22\x20\x78\x3d\x22\x30\x70\x78\x22\x20\x79\x3d\x22\x30\
\x70\x78\x22\x0d\x0a\x09\x20\x76\x69\x65\x77\x42\x6f\x78\x3d\x22\
\x30\x20\x30\x20\x33\x32\x20\x33\x32\x22\x20\x73\x74\x79\x6c\x65\
\x3d\x22\x65\x6e\x61\x62\x6c\x65\x2d\x62\x61\x63\x6b\x67\x72\x6f\
\x75\x6e\x64\x3a\x6e\x65\x77\x20\x30\x20\x30\x20\x33\x32\x20\x33\
\x32\x3b\x22\x20\x78\x6d\x6c\x3a\x73\x70\x61\x63\x65\x3d\x22\x70\
\x72\x65\x73\x65\x72\x76\x65\x22\x3e\x0d\x0a\x3c\x73\x74\x79\x6c\
\x65\x20\x74\x79\x70\x65\x3d\x22\x74\x65\x78\x74\x2f\x63\x73\x73\
\x22\x3e\x0d\x0a\x09\x2e\x73\x74\x30\x7b\x66\x69\x6c\x6c\x3a\x23\
\x31\x42\x33\x44\x36\x45\x3b\x7d\x0d\x0a\x3c\x2f\x73\x74\x79\x6c\
\x65\x3e\x0d\x0a\x3c\x67\x20\x69\x64\x3d\x22\x4c\x61\x61\x67\x5f\
\x35\x22\x3e\x0d\x0a\x09\x3c\x67\x3e\x0d\x0a\x09\x09\x3c\x70\x61\
\x74\x68\x20\x63\x6c\x61\x73\x73\x3d\x22\x73\x74\x30\x22\x20\x64\
\x3d\x22\x4d\x36\x2e\x38\x2c\x31\x38\x2e\x37\x63\x31\x2e\x36\x2d\
\x30\x2e\x34\x2c\x32\x2e\x36\x2d\x31\x2e\x39\x2c\x32\x2e\x33\x2d\
\x33\x2e\x35\x63\x2d\x30\x2e\x34\x2d\x31\x2e\x36\x2d\x31\x2e\x39\
\x2d\x32\x2e\x36\x2d\x33\x2e\x35\x2d\x32\x2e\x33\x63\x2d\x31\x2e\
\x33\x2c\x30\x2e\x33\x2d\x32\x2e\x32\x2c\x31\x2e\x34\x2d\x32\x2e\
\x33\x2c\x32\x2e\x37\x56\x31\x36\x63\x30\x2c\x30\x2e\x31\x2c\x30\
\x2c\x30\x2e\x33\x2c\x30\x2c\x30\x2e\x34\x0d\x0a\x09\x09\x09\x43\
\x33\x2e\x36\x2c\x31\x38\x2c\x35\x2e\x32\x2c\x31\x39\x2e\x31\x2c\
\x36\x2e\x38\x2c\x31\x38\x2e\x37\x7a\x22\x2f\x3e\x0d\x0a\x09\x09\
\x3c\x70\x61\x74\x68\x20\x63\x6c\x61\x73\x73\x3d\x22\x73\x74\x30\
\x22\x20\x64\x3d\x22\x4d\x31\x31\x2e\x39\x2c\x31\x32\x2e\x35\x6c\
\x2d\x30\x2e\x36\x2d\x30\x2e\x39\x6c\x2d\x31\x2e\x35\x2c\x30\x2e\
\x34\x63\x2d\x30\x2e\x31\x2c\x30\x2d\x30\x2e\x32\x2c\x30\x2d\x30\
\x2e\x33\x2c\x30\x6c\x2d\x31\x2e\x31\x2d\x30\x2e\x37\x63\x2d\x30\
\x2e\x31\x2d\x30\x2e\x31\x2d\x30\x2e\x32\x2d\x30\x2e\x32\x2d\x30\
\x2e\x32\x2d\x30\x2e\x33\x4c\x37\x2e\x39\x2c\x39\x2e\x34\x4c\x36\
\x2e\x38\x2c\x39\x2e\x32\x4c\x36\x2c\x31\x30\x2e\x35\x0d\x0a\x09\
\x09\x09\x63\x2d\x30\x2e\x31\x2c\x30\x2e\x31\x2d\x30\x2e\x32\x2c\
\x30\x2e\x32\x2d\x30\x2e\x33\x2c\x30\x2e\x32\x4c\x34\x2e\x35\x2c\
\x31\x31\x63\x2d\x30\x2e\x31\x2c\x30\x2d\x30\x2e\x32\x2c\x30\x2d\
\x30\x2e\x33\x2d\x30\x2e\x31\x6c\x2d\x30\x2e\x39\x2d\x30\x2e\x36\
\x76\x33\x2e\x32\x63\x30\x2e\x35\x2d\x30\x2e\x37\x2c\x31\x2e\x33\
\x2d\x31\x2e\x32\x2c\x32\x2e\x32\x2d\x31\x2e\x34\x63\x32\x2d\x30\
\x2e\x34\x2c\x34\x2e\x31\x2c\x30\x2e\x38\x2c\x34\x2e\x35\x2c\x32\
\x2e\x39\x53\x39\x2c\x31\x39\x2c\x37\x2c\x31\x39\x2e\x35\x0d\x0a\
\x09\x09\x09\x63\x2d\x31\x2e\x35\x2c\x30\x2e\x33\x2d\x32\x2e\x39\
\x2d\x30\x2e\x33\x2d\x33\x2e\x38\x2d\x31\x2e\x34\x76\x31\x2e\x38\
\x4c\x34\x2c\x32\x30\x2e\x34\x63\x30\x2e\x31\x2c\x30\x2e\x31\x2c\
\x30\x2e\x32\x2c\x30\x2e\x32\x2c\x30\x2e\x32\x2c\x30\x2e\x33\x6c\
\x30\x2e\x33\x2c\x31\x2e\x35\x6c\x31\x2e\x31\x2c\x30\x2e\x32\x6c\
\x30\x2e\x38\x2d\x31\x2e\x33\x63\x30\x2e\x31\x2d\x30\x2e\x31\x2c\
\x30\x2e\x31\x2d\x30\x2e\x32\x2c\x30\x2e\x33\x2d\x30\x2e\x32\x6c\
\x31\x2e\x33\x2d\x30\x2e\x33\x0d\x0a\x09\x09\x09\x63\x30\x2e\x31\
\x2c\x30\x2c\x30\x2e\x32\x2c\x30\x2c\x30\x2e\x33\x2c\x30\x2e\x31\
\x6c\x31\x2e\x33\x2c\x30\x2e\x39\x6c\x30\x2e\x39\x2d\x30\x2e\x37\
\x4c\x31\x30\x2c\x31\x39\x2e\x34\x63\x30\x2d\x30\x2e\x31\x2c\x30\
\x2d\x30\x2e\x32\x2c\x30\x2d\x30\x2e\x33\x6c\x30\x2e\x37\x2d\x31\
\x2e\x31\x63\x30\x2e\x31\x2d\x30\x2e\x31\x2c\x30\x2e\x32\x2d\x30\
\x2e\x32\x2c\x30\x2e\x33\x2d\x30\x2e\x32\x6c\x31\x2e\x35\x2d\x30\
\x2e\x33\x6c\x30\x2e\x32\x2d\x31\x2e\x31\x6c\x2d\x31\x2e\x33\x2d\
\x30\x2e\x38\x0d\x0a\x09\x09\x09\x63\x2d\x30\x2e\x31\x2d\x30\x2e\
\x31\x2d\x30\x2e\x32\x2d\x30\x2e\x31\x2d\x30\x2e\x32\x2d\x30\x2e\
\x33\x4c\x31\x31\x2c\x31\x34\x2e\x31\x63\x30\x2d\x30\x2e\x31\x2c\
\x30\x2d\x30\x2e\x32\x2c\x30\x2e\x31\x2d\x30\x2e\x33\x4c\x31\x31\
\x2e\x39\x2c\x31\x32\x2e\x35\x7a\x22\x2f\x3e\x0d\x0a\x09\x09\x3c\
\x70\x61\x74\x68\x20\x63\x6c\x61\x73\x73\x3d\x22\x73\x74\x30\x22\
\x20\x64\x3d\x22\x4d\x32\x37\x2e\x33\x2c\x31\x33\x2e\x38\x6c\x2d\
\x32\x30\x2e\x37\x2d\x39\x43\x35\x2c\x34\x2c\x33\x2e\x32\x2c\x35\
\x2e\x32\x2c\x33\x2e\x32\x2c\x37\x76\x32\x2e\x33\x6c\x31\x2e\x32\
\x2c\x30\x2e\x39\x6c\x31\x2d\x30\x2e\x32\x6c\x30\x2e\x38\x2d\x31\
\x2e\x34\x63\x30\x2e\x31\x2d\x30\x2e\x31\x2c\x30\x2e\x33\x2d\x30\
\x2e\x32\x2c\x30\x2e\x34\x2d\x30\x2e\x32\x6c\x31\x2e\x37\x2c\x30\
\x2e\x33\x0d\x0a\x09\x09\x09\x63\x30\x2e\x32\x2c\x30\x2c\x30\x2e\
\x33\x2c\x30\x2e\x32\x2c\x30\x2e\x33\x2c\x30\x2e\x33\x6c\x30\x2e\
\x33\x2c\x31\x2e\x36\x6c\x30\x2e\x38\x2c\x30\x2e\x35\x6c\x31\x2e\
\x36\x2d\x30\x2e\x34\x63\x30\x2e\x32\x2c\x30\x2c\x30\x2e\x33\x2c\
\x30\x2c\x30\x2e\x34\x2c\x30\x2e\x32\x6c\x31\x2c\x31\x2e\x34\x63\
\x30\x2e\x31\x2c\x30\x2e\x31\x2c\x30\x2e\x31\x2c\x30\x2e\x33\x2c\
\x30\x2c\x30\x2e\x35\x6c\x2d\x31\x2c\x31\x2e\x33\x6c\x30\x2e\x32\
\x2c\x31\x6c\x31\x2e\x34\x2c\x30\x2e\x38\x0d\x0a\x09\x09\x09\x63\
\x30\x2e\x31\x2c\x30\x2e\x31\x2c\x30\x2e\x32\x2c\x30\x2e\x33\x2c\
\x30\x2e\x32\x2c\x30\x2e\x34\x6c\x2d\x30\x2e\x33\x2c\x31\x2e\x37\
\x63\x30\x2c\x30\x2e\x32\x2d\x30\x2e\x32\x2c\x30\x2e\x33\x2d\x30\
\x2e\x33\x2c\x30\x2e\x33\x6c\x2d\x31\x2e\x36\x2c\x30\x2e\x33\x6c\
\x2d\x30\x2e\x35\x2c\x30\x2e\x38\x6c\x30\x2e\x34\x2c\x31\x2e\x36\
\x63\x30\x2c\x30\x2e\x32\x2c\x30\x2c\x30\x2e\x33\x2d\x30\x2e\x32\
\x2c\x30\x2e\x34\x6c\x2d\x31\x2e\x34\x2c\x31\x0d\x0a\x09\x09\x09\
\x63\x30\x2c\x30\x2d\x30\x2e\x31\x2c\x30\x2d\x30\x2e\x31\x2c\x30\
\x2e\x31\x63\x2d\x30\x2e\x31\x2c\x30\x2d\x30\x2e\x32\x2c\x30\x2d\
\x30\x2e\x33\x2d\x30\x2e\x31\x6c\x2d\x31\x2e\x33\x2d\x31\x6c\x2d\
\x31\x2c\x30\x2e\x32\x6c\x2d\x30\x2e\x38\x2c\x31\x2e\x34\x63\x2d\
\x30\x2e\x31\x2c\x30\x2e\x31\x2d\x30\x2e\x33\x2c\x30\x2e\x32\x2d\
\x30\x2e\x34\x2c\x30\x2e\x32\x4c\x34\x2c\x32\x32\x2e\x39\x63\x2d\
\x30\x2e\x32\x2c\x30\x2d\x30\x2e\x33\x2d\x30\x2e\x32\x2d\x30\x2e\
\x33\x2d\x30\x2e\x33\x4c\x33\x2e\x34\x2c\x32\x31\x0d\x0a\x09\x09\
\x09\x6c\x2d\x30\x2e\x32\x2d\x30\x2e\x31\x56\x32\x35\x63\x30\x2c\
\x31\x2e\x38\x2c\x31\x2e\x38\x2c\x32\x2e\x39\x2c\x33\x2e\x34\x2c\
\x32\x2e\x32\x6c\x32\x30\x2e\x37\x2d\x39\x63\x30\x2e\x39\x2d\x30\
\x2e\x34\x2c\x31\x2e\x35\x2d\x31\x2e\x33\x2c\x31\x2e\x35\x2d\x32\
\x2e\x32\x53\x32\x38\x2e\x32\x2c\x31\x34\x2e\x31\x2c\x32\x37\x2e\
\x33\x2c\x31\x33\x2e\x38\x7a\x22\x2f\x3e\x0d\x0a\x09\x3c\x2f\x67\
\x3e\x0d\x0a\x3c\x2f\x67\x3e\x0d\x0a\x3c\x2f\x73\x76\x67\x3e\x0d\
\x0a\
"
qt_resource_name = b"\
\x00\x07\
\x07\x3b\xe0\xb3\
\x00\x70\
\x00\x6c\x00\x75\x00\x67\x00\x69\x00\x6e\x00\x73\
\x00\x0d\
\x0c\xdc\x1c\x63\
\x00\x49\
\x00\x6d\x00\x61\x00\x65\x00\x72\x00\x41\x00\x75\x00\x74\x00\x6f\x00\x43\x00\x61\x00\x6c\x00\x63\
\x00\x08\
\x0a\x61\x57\x27\
\x00\x69\
\x00\x63\x00\x6f\x00\x6e\x00\x2e\x00\x73\x00\x76\x00\x67\
"
qt_resource_struct_v1 = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\
\x00\x00\x00\x14\x00\x02\x00\x00\x00\x01\x00\x00\x00\x03\
\x00\x00\x00\x34\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
"
qt_resource_struct_v2 = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x14\x00\x02\x00\x00\x00\x01\x00\x00\x00\x03\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x34\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x8a\xf4\x8f\x79\x82\
"
qt_version = QtCore.qVersion().split('.')
if qt_version < ['5', '8', '0']:
rcc_version = 1
qt_resource_struct = qt_resource_struct_v1
else:
rcc_version = 2
qt_resource_struct = qt_resource_struct_v2
def qInitResources():
QtCore.qRegisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
def qCleanupResources():
QtCore.qUnregisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
qInitResources()