-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresources.py
More file actions
96 lines (86 loc) · 3.8 KB
/
Copy pathresources.py
File metadata and controls
96 lines (86 loc) · 3.8 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
# -*- 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\x08\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x17\x00\x00\x00\x18\x04\x03\x00\x00\x00\xe3\x52\x7b\x46\
\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\
\x24\x50\x4c\x54\x45\x0c\x90\x9e\xff\xff\xff\x77\xb1\xc6\xf7\xfa\
\xfb\xfe\x58\x1e\xff\xc1\xc1\xfe\xfe\xfd\xfe\xfe\xfe\xff\xfe\xfe\
\xfe\xfd\xfd\xff\xfd\xfd\xfe\xfc\xfb\x62\x9e\x76\x73\x00\x00\x00\
\x09\x70\x48\x59\x73\x00\x00\x0e\xc2\x00\x00\x0e\xc2\x01\x15\x28\
\x4a\x80\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\x02\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\xf2\x76\x01\x00\xe8\x03\x00\x00\xf2\x76\
\x01\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\x1d\x1a\x58\xa9\
\xce\x09\x05\x6d\x00\x00\x00\x8b\x49\x44\x41\x54\x28\xcf\x7d\xcf\
\xc1\x0d\xc2\x30\x0c\x05\xd0\x8c\xc0\x37\x91\x2a\x6e\xf1\x57\xc5\
\x81\x2d\x82\x82\x3a\x41\x07\x29\x1b\xc0\x28\x1c\x39\x32\x21\xb1\
\x53\x44\x45\x2b\xfe\x29\x4f\x89\x7e\xec\xf0\x27\xb0\x10\x90\x54\
\xa1\x8e\x3d\xb8\xab\x20\x62\x29\x25\x8b\x1a\x44\x0d\x85\x30\x80\
\xf1\x32\x8e\xe5\x38\x39\xa4\x37\x74\xed\x06\x8e\xdb\x12\x64\xfa\
\x3e\x9b\x41\x6f\x5b\x56\xe7\xab\x83\x87\x98\xe5\x84\x97\x43\xbb\
\x98\xeb\x6c\x0f\x6d\x6d\x71\xa8\xc7\xfb\x07\x19\x4f\xb6\x02\xb2\
\x3f\xd3\x92\x7e\x51\xff\x19\x26\x5b\xaf\x4d\x3d\xef\xba\xc2\x76\
\x42\x78\x03\x42\x51\x1e\xf5\x9c\xbe\x59\x6d\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\x0d\
\x08\x7f\x65\x5e\
\x00\x49\
\x00\x62\x00\x54\x00\x6f\x00\x6f\x00\x6c\x00\x50\x00\x61\x00\x72\x00\x74\x00\x69\x00\x6f\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\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\x9e\xe5\xe9\x7e\x35\
"
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()