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