-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathresources.py
183 lines (173 loc) · 9.39 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
175
176
177
178
179
180
181
182
183
# -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.11)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x07\x7b\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x18\x00\x00\x00\x18\x08\x02\x00\x00\x00\x6f\x15\xaa\xaf\
\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\
\x01\x00\x9a\x9c\x18\x00\x00\x05\xc9\x69\x54\x58\x74\x58\x4d\x4c\
\x3a\x63\x6f\x6d\x2e\x61\x64\x6f\x62\x65\x2e\x78\x6d\x70\x00\x00\
\x00\x00\x00\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\
\x69\x6e\x3d\x22\xef\xbb\xbf\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\
\x30\x4d\x70\x43\x65\x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\
\x7a\x6b\x63\x39\x64\x22\x3f\x3e\x20\x3c\x78\x3a\x78\x6d\x70\x6d\
\x65\x74\x61\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\
\x62\x65\x3a\x6e\x73\x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\
\x6d\x70\x74\x6b\x3d\x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\
\x43\x6f\x72\x65\x20\x39\x2e\x30\x2d\x63\x30\x30\x31\x20\x37\x39\
\x2e\x63\x30\x32\x30\x34\x62\x32\x2c\x20\x32\x30\x32\x33\x2f\x30\
\x32\x2f\x30\x39\x2d\x30\x36\x3a\x32\x36\x3a\x31\x34\x20\x20\x20\
\x20\x20\x20\x20\x20\x22\x3e\x20\x3c\x72\x64\x66\x3a\x52\x44\x46\
\x20\x78\x6d\x6c\x6e\x73\x3a\x72\x64\x66\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\x30\x32\x2f\x32\x32\x2d\x72\x64\x66\x2d\x73\x79\x6e\
\x74\x61\x78\x2d\x6e\x73\x23\x22\x3e\x20\x3c\x72\x64\x66\x3a\x44\
\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\
\x62\x6f\x75\x74\x3d\x22\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\
\x70\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\
\x62\x65\x2e\x63\x6f\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x22\
\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\x70\x4d\x4d\x3d\x22\x68\x74\
\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\
\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x6d\x6d\x2f\x22\x20\x78\
\x6d\x6c\x6e\x73\x3a\x73\x74\x45\x76\x74\x3d\x22\x68\x74\x74\x70\
\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\
\x78\x61\x70\x2f\x31\x2e\x30\x2f\x73\x54\x79\x70\x65\x2f\x52\x65\
\x73\x6f\x75\x72\x63\x65\x45\x76\x65\x6e\x74\x23\x22\x20\x78\x6d\
\x6c\x6e\x73\x3a\x64\x63\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x70\
\x75\x72\x6c\x2e\x6f\x72\x67\x2f\x64\x63\x2f\x65\x6c\x65\x6d\x65\
\x6e\x74\x73\x2f\x31\x2e\x31\x2f\x22\x20\x78\x6d\x6c\x6e\x73\x3a\
\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x70\
\x68\x6f\x74\x6f\x73\x68\x6f\x70\x2f\x31\x2e\x30\x2f\x22\x20\x78\
\x6d\x70\x3a\x43\x72\x65\x61\x74\x6f\x72\x54\x6f\x6f\x6c\x3d\x22\
\x41\x64\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\
\x32\x34\x2e\x33\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x20\
\x78\x6d\x70\x3a\x43\x72\x65\x61\x74\x65\x44\x61\x74\x65\x3d\x22\
\x32\x30\x32\x33\x2d\x30\x35\x2d\x32\x39\x54\x32\x31\x3a\x34\x36\
\x3a\x32\x31\x2d\x30\x36\x3a\x30\x30\x22\x20\x78\x6d\x70\x3a\x4d\
\x65\x74\x61\x64\x61\x74\x61\x44\x61\x74\x65\x3d\x22\x32\x30\x32\
\x33\x2d\x30\x35\x2d\x32\x39\x54\x32\x31\x3a\x34\x36\x3a\x32\x31\
\x2d\x30\x36\x3a\x30\x30\x22\x20\x78\x6d\x70\x3a\x4d\x6f\x64\x69\
\x66\x79\x44\x61\x74\x65\x3d\x22\x32\x30\x32\x33\x2d\x30\x35\x2d\
\x32\x39\x54\x32\x31\x3a\x34\x36\x3a\x32\x31\x2d\x30\x36\x3a\x30\
\x30\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x49\x6e\x73\x74\x61\x6e\x63\
\x65\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\x61\x33\x64\
\x66\x39\x34\x61\x34\x2d\x38\x30\x62\x64\x2d\x65\x61\x34\x36\x2d\
\x38\x30\x65\x33\x2d\x34\x30\x33\x63\x33\x66\x38\x36\x63\x31\x31\
\x61\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x44\x6f\x63\x75\x6d\x65\x6e\
\x74\x49\x44\x3d\x22\x61\x64\x6f\x62\x65\x3a\x64\x6f\x63\x69\x64\
\x3a\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x39\x63\x38\x34\x61\
\x63\x38\x63\x2d\x63\x30\x62\x63\x2d\x36\x34\x34\x64\x2d\x39\x66\
\x34\x64\x2d\x38\x66\x36\x61\x38\x32\x35\x32\x32\x65\x33\x31\x22\
\x20\x78\x6d\x70\x4d\x4d\x3a\x4f\x72\x69\x67\x69\x6e\x61\x6c\x44\
\x6f\x63\x75\x6d\x65\x6e\x74\x49\x44\x3d\x22\x78\x6d\x70\x2e\x64\
\x69\x64\x3a\x35\x65\x30\x63\x64\x66\x37\x62\x2d\x63\x62\x35\x66\
\x2d\x62\x64\x34\x35\x2d\x38\x33\x32\x66\x2d\x32\x36\x64\x61\x66\
\x66\x34\x63\x32\x65\x31\x37\x22\x20\x64\x63\x3a\x66\x6f\x72\x6d\
\x61\x74\x3d\x22\x69\x6d\x61\x67\x65\x2f\x70\x6e\x67\x22\x20\x70\
\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x43\x6f\x6c\x6f\x72\x4d\x6f\
\x64\x65\x3d\x22\x33\x22\x3e\x20\x3c\x78\x6d\x70\x4d\x4d\x3a\x48\
\x69\x73\x74\x6f\x72\x79\x3e\x20\x3c\x72\x64\x66\x3a\x53\x65\x71\
\x3e\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\x74\x3a\
\x61\x63\x74\x69\x6f\x6e\x3d\x22\x63\x72\x65\x61\x74\x65\x64\x22\
\x20\x73\x74\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\x63\x65\x49\
\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\x35\x65\x30\x63\x64\
\x66\x37\x62\x2d\x63\x62\x35\x66\x2d\x62\x64\x34\x35\x2d\x38\x33\
\x32\x66\x2d\x32\x36\x64\x61\x66\x66\x34\x63\x32\x65\x31\x37\x22\
\x20\x73\x74\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\x32\x30\x32\
\x33\x2d\x30\x35\x2d\x32\x39\x54\x32\x31\x3a\x34\x36\x3a\x32\x31\
\x2d\x30\x36\x3a\x30\x30\x22\x20\x73\x74\x45\x76\x74\x3a\x73\x6f\
\x66\x74\x77\x61\x72\x65\x41\x67\x65\x6e\x74\x3d\x22\x41\x64\x6f\
\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x32\x34\x2e\
\x33\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x2f\x3e\x20\x3c\
\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\x74\x3a\x61\x63\x74\
\x69\x6f\x6e\x3d\x22\x73\x61\x76\x65\x64\x22\x20\x73\x74\x45\x76\
\x74\x3a\x69\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\x78\x6d\
\x70\x2e\x69\x69\x64\x3a\x61\x33\x64\x66\x39\x34\x61\x34\x2d\x38\
\x30\x62\x64\x2d\x65\x61\x34\x36\x2d\x38\x30\x65\x33\x2d\x34\x30\
\x33\x63\x33\x66\x38\x36\x63\x31\x31\x61\x22\x20\x73\x74\x45\x76\
\x74\x3a\x77\x68\x65\x6e\x3d\x22\x32\x30\x32\x33\x2d\x30\x35\x2d\
\x32\x39\x54\x32\x31\x3a\x34\x36\x3a\x32\x31\x2d\x30\x36\x3a\x30\
\x30\x22\x20\x73\x74\x45\x76\x74\x3a\x73\x6f\x66\x74\x77\x61\x72\
\x65\x41\x67\x65\x6e\x74\x3d\x22\x41\x64\x6f\x62\x65\x20\x50\x68\
\x6f\x74\x6f\x73\x68\x6f\x70\x20\x32\x34\x2e\x33\x20\x28\x57\x69\
\x6e\x64\x6f\x77\x73\x29\x22\x20\x73\x74\x45\x76\x74\x3a\x63\x68\
\x61\x6e\x67\x65\x64\x3d\x22\x2f\x22\x2f\x3e\x20\x3c\x2f\x72\x64\
\x66\x3a\x53\x65\x71\x3e\x20\x3c\x2f\x78\x6d\x70\x4d\x4d\x3a\x48\
\x69\x73\x74\x6f\x72\x79\x3e\x20\x3c\x2f\x72\x64\x66\x3a\x44\x65\
\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x3e\x20\x3c\x2f\x72\x64\x66\
\x3a\x52\x44\x46\x3e\x20\x3c\x2f\x78\x3a\x78\x6d\x70\x6d\x65\x74\
\x61\x3e\x20\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x65\x6e\x64\
\x3d\x22\x72\x22\x3f\x3e\x51\x52\x48\xc5\x00\x00\x01\x3e\x49\x44\
\x41\x54\x38\x8d\xad\x54\xb1\x51\x03\x41\x10\x93\xf6\x0c\x91\x63\
\x32\x5a\x70\x1b\xcc\xb8\x03\x48\x70\x0b\xb8\x10\xd3\x82\x49\x4c\
\x11\x94\x43\x48\x0b\xff\x2b\x07\xf7\xf3\xbf\xe6\x6f\x6d\x06\x5b\
\xd1\xcd\xdf\xbe\x4e\xda\xd3\x1e\x97\xab\xb5\x19\xdd\x85\xeb\x60\
\x00\xae\x67\x19\x88\x6e\x82\xc5\xb8\x7a\xd9\xed\xdd\xdd\x4a\x81\
\x24\x09\x00\x49\x90\x87\xed\x06\xd2\xcf\xd7\x23\x00\x39\xc8\xa1\
\x9e\x94\x3b\x1f\x9e\xbe\x7f\x13\x01\xb0\x52\x6a\x09\xc7\x72\x00\
\x95\x14\x02\xc0\x53\x03\x66\x53\x4f\x2c\xd4\x5f\xd5\xa9\xa0\x28\
\xaa\x88\x20\x0d\xc9\x56\xc0\xa4\xc8\xbb\x2e\x2b\x12\x2e\x8b\x8d\
\x3d\x4a\xaa\xff\xe6\x79\x52\x54\xee\xee\xdb\x25\x99\xe5\x8c\xc8\
\xfb\x3e\x51\x74\xd2\x21\xa9\xcd\xcb\xe5\x6a\x3d\x53\x40\x80\xb4\
\xfa\x03\xbd\xef\x00\x98\x99\x24\x48\x20\xab\x57\x23\x8d\xa5\xf3\
\xa1\xb3\x0b\xcc\x20\x09\x10\x64\x00\x01\x1f\xf4\xba\x8f\xdb\xc3\
\x17\x49\x98\x4c\x84\x64\xbf\x7f\x34\x35\x1f\xde\x5e\x49\x3e\xef\
\xf6\xcd\x23\x3f\xb7\x9b\xba\x0e\x81\x1c\xcf\x9c\x83\xd9\x48\xb6\
\x93\x9d\x13\x25\xc9\x88\x93\x34\x11\xd1\x4a\x4e\x94\xd0\x07\xfe\
\xcb\xcf\x08\xcf\xe5\xa8\x69\xcd\xdb\x39\x92\x74\xae\x7d\x73\xa2\
\x7f\x58\x63\xb8\x84\xe9\xfa\xab\x81\xbe\xeb\x08\x01\xa4\x59\x1c\
\x0e\xb9\xd3\x4c\xd2\xe8\x34\xae\xd1\x4c\x76\x7a\x7e\x29\x00\x94\
\x4c\x52\x23\xd9\x19\x32\x8a\x8a\x9b\x3d\xfe\x47\x0c\xe3\x80\xb1\
\x9e\x5d\x5a\x11\x00\x00\x00\x0e\x65\x58\x49\x66\x4d\x4d\x00\x2a\
\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\xd2\x53\x93\x00\x00\
\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
"
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\x09\
\x0e\x3c\xa9\xa2\
\x00\x73\
\x00\x65\x00\x67\x00\x6d\x00\x65\x00\x6e\x00\x74\x00\x65\x00\x72\
\x00\x08\
\x0a\x61\x5a\xa7\
\x00\x69\
\x00\x63\x00\x6f\x00\x6e\x00\x2e\x00\x70\x00\x6e\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\x2c\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\x2c\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x8e\xc4\x64\xfd\x93\
"
qt_version = [int(v) for v in 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()