-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresources.py
95 lines (85 loc) · 3.83 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
# -*- 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\x01\xf8\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xff\x61\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\
\x79\x71\xc9\x65\x3c\x00\x00\x01\x9a\x49\x44\x41\x54\x78\xda\x94\
\x93\xbd\x4b\xc3\x40\x14\xc0\x5f\xd2\xa4\x24\xa9\x55\x4b\x1d\x9c\
\x3a\xb4\x50\x84\x0e\xe2\xe6\x1f\x50\xdc\x5d\x8b\xa3\xd4\xc9\x51\
\xfc\x1f\x84\xee\xa5\x7e\xd0\x49\xec\xec\x54\x71\xd6\x4d\x91\x2e\
\x12\x4d\x41\xf1\x0b\xa1\xc6\x41\x6c\x20\xb9\xc4\x77\x97\x4b\xcc\
\x47\x0b\xfa\xe0\x91\xbb\x7b\x77\xbf\xdf\xdd\x25\x11\x00\x43\x14\
\x45\x96\x91\x58\xc3\xac\x3b\xeb\xc7\x73\x30\x3d\x74\xcc\x96\x84\
\x31\xa9\x58\x3f\xe9\xf7\x77\x94\x6c\x16\x34\x55\x85\xbc\xa6\x85\
\x39\x83\x7d\x55\x51\x60\xa5\xd1\xd8\xa2\x13\x85\x04\x80\x99\x97\
\x9b\x87\x9b\x85\xbc\x5a\x90\x66\x17\x27\xaa\x4b\x0b\x1a\x74\xce\
\x87\xfb\xd8\x6c\x4a\xff\x35\xef\xf5\xfa\x00\xc5\x25\x00\xf7\x8e\
\x9d\x59\x4a\x9a\xdb\x67\x23\xf0\xcd\xdf\x3c\xe3\xe6\xe1\x5b\x0e\
\x56\x73\x16\x02\x48\x0c\xf0\x67\xb3\xf1\x3a\x00\xc7\x71\x10\xe0\
\x64\x18\x80\x10\x42\x9f\xe5\x5e\xbb\x0d\x85\xfa\x2e\xe7\xa5\xed\
\x81\xd9\x73\x5d\xb0\x6d\x1b\x80\x70\x00\xaf\x8b\xb5\x5a\x0d\xa4\
\x52\xc9\x2f\x26\x42\x96\xe5\xd0\xec\xa2\x90\x03\xa4\x28\x40\xa2\
\x45\xc7\xb2\x40\xd7\xf5\x14\xa0\x5a\xad\x86\x66\x97\x38\x1c\x60\
\xc7\x00\x19\x76\x2e\x4c\xfa\x41\x55\x2a\x95\x70\xb1\x61\x18\x31\
\x33\xb1\x39\xc0\x89\x03\x64\x36\x88\x29\x08\x02\x98\xa6\x19\x02\
\x68\x3f\x6a\xf6\x5c\xe2\x17\xec\x71\x16\x06\x47\xbf\x47\x08\x00\
\xac\x96\xb8\x87\xa8\xf9\x63\x64\x5a\x07\x9d\x8b\x2b\xf8\x7a\x7e\
\x87\x4f\xa3\x9c\xda\xc1\x34\x40\x60\xbe\xbd\x7f\xba\x84\xeb\xd6\
\x06\x2f\x8d\x53\x00\xcf\xf3\x62\x80\xa0\x1f\x31\x3f\xe2\xb0\x42\
\xdf\x2c\xdb\x3a\x4e\x98\xc7\x73\xaa\xf4\xa2\x28\x4d\x51\x94\xd4\
\x2b\x8c\x98\xb7\xb1\x49\x2f\x68\x1c\xd4\xe9\x9a\x39\x84\x9c\x76\
\xbb\xdd\x22\xdc\x14\x1f\xa6\xfe\xbc\xbe\x99\x2e\x7c\x89\x0e\xff\
\x08\x30\x00\xb9\xfc\xfe\x16\x4a\x11\xd5\x16\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\
\x0f\x76\x41\x47\
\x00\x6c\
\x00\x61\x00\x79\x00\x65\x00\x72\x00\x5f\x00\x73\x00\x6f\x00\x72\x00\x74\x00\x69\x00\x6e\x00\x67\
\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\x7c\x37\x99\x6a\x22\
"
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()