-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresources.py
More file actions
84 lines (74 loc) · 3.03 KB
/
Copy pathresources.py
File metadata and controls
84 lines (74 loc) · 3.03 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
# -*- 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 qgis.PyQt import QtCore
qt_resource_data = b"\
\x00\x00\x01\x4f\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x40\x00\x00\x00\x40\x08\x02\x00\x00\x00\x25\x0b\xe6\x89\
\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x2e\x23\x00\x00\x2e\x23\
\x01\x78\xa5\x3f\x76\x00\x00\x01\x01\x49\x44\x41\x54\x68\x81\xed\
\x9a\x31\x0a\xc2\x40\x10\x45\x1d\xf5\x1e\x36\x9e\xc1\xce\xda\xa3\
\xd8\x89\x60\x9b\x32\xad\x20\x76\x1e\xc5\xda\xce\x33\xd8\x78\x10\
\x89\xed\x32\x3b\x03\x0b\x42\x7e\xbe\xfc\xd7\xed\x90\x89\x79\x64\
\xe6\x37\xd1\x86\x61\x98\x31\x33\x47\x3f\xc0\xaf\x48\x00\xcd\xd2\
\x9d\xcd\xac\xb1\xb3\x5e\x1e\x48\xaf\x17\x08\xef\x5e\x93\xfd\xde\
\xf8\xbd\xf4\x23\x24\x01\x34\x12\x40\x63\x6e\xf7\x8f\xa7\xae\xb1\
\xf3\x72\xee\x5d\x05\xd2\x1b\xc4\xe8\xea\xf3\x28\x8f\xef\xc5\x36\
\x2b\xd6\x1c\x76\xcf\xf2\x78\xbd\x6f\xb2\x62\x4d\xb7\x5f\x97\xc7\
\xfe\xf6\xca\x8a\x25\xf4\x23\x24\x01\x34\xf4\x02\xc1\x12\x87\x0b\
\x9a\x6d\xad\x23\x5c\xd0\x6c\x6b\x1d\xf5\x82\x66\xc5\x92\x7f\x7c\
\x03\x8a\xd1\x51\x91\x00\x1a\x7a\x01\xc5\x28\x1a\xc5\x28\x1a\x09\
\xa0\xa1\x17\x50\x8c\xa2\x51\x8c\xa2\x91\x00\x1a\x7a\x01\xc5\x28\
\x1a\xc5\x28\x1a\x09\xa0\xa1\x17\x50\x8c\xa2\x51\x8c\xa2\x91\x00\
\x1a\x7a\x01\xfa\x18\xf5\x5f\xea\xcd\x7c\x25\x6e\x8b\x2e\x83\xf4\
\xd2\x8f\x90\x04\xd0\x48\x00\x4d\x10\xa3\xed\xff\x80\x9c\x42\x6f\
\x53\x78\x4d\x19\xfa\x11\x92\x00\x9a\x2f\x6d\xd8\xdc\xdc\x32\x75\
\xbc\x8c\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\
\x06\xa5\x06\x94\
\x00\x70\
\x00\x6c\x00\x6f\x00\x74\x00\x5f\x00\x67\x00\x72\x00\x69\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\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\x86\x42\x02\xa2\x46\
"
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()