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