forked from markjessell/grd_loader
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathresources.py
More file actions
139 lines (129 loc) · 6.55 KB
/
Copy pathresources.py
File metadata and controls
139 lines (129 loc) · 6.55 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
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
# -*- 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\x04\xb8\
\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\x07\x74\x49\x4d\x45\x07\xe7\x05\x10\x09\x05\x08\x23\
\x11\x1e\x8d\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0a\xf0\x00\
\x00\x0a\xf0\x01\x42\xac\x34\x98\x00\x00\x03\x00\x50\x4c\x54\x45\
\x10\x00\xff\x18\x08\xff\x21\x10\xff\x31\xff\x18\x39\x29\xff\x39\
\xff\x18\x39\xff\x21\x42\xf7\x29\x42\xff\x21\x52\xf7\x39\x52\xff\
\x42\x5a\xf7\x42\x63\x5a\xf7\x63\xf7\x4a\x63\xf7\x52\x6b\xf7\x52\
\x6b\xf7\x5a\x6b\xff\x52\x73\xf7\x5a\x73\xff\x5a\x84\x7b\xf7\x84\
\xef\x73\x8c\x84\xf7\x8c\xf7\x7b\x94\xf7\x84\x9c\x94\xf7\x9c\xef\
\x94\x9c\xf7\x8c\x9c\xf7\x94\xad\xf7\xa5\xb5\xad\xf7\xb5\xf7\xa5\
\xb5\xf7\xad\xce\xc6\xf7\xce\xce\xef\xce\xf7\xce\xd6\xc6\xa5\xd6\
\xf7\xd6\xd6\xff\xd6\xde\xd6\xf7\xde\xde\xff\xde\xf7\xd6\xde\xff\
\xde\xe7\xf7\xe7\xe7\xff\xde\xef\x94\x94\xef\xad\xa5\xef\xad\xad\
\xef\xb5\xad\xef\xb5\xb5\xef\xc6\xc6\xef\xce\xce\xef\xd6\xd6\xef\
\xde\xde\xef\xef\xff\xef\xff\xef\xf7\x4a\x39\xf7\x52\x42\xf7\x52\
\x4a\xf7\x5a\x4a\xf7\x5a\x52\xf7\x63\x52\xf7\x63\x5a\xf7\x6b\x5a\
\xf7\x6b\x63\xf7\x73\x6b\xf7\x7b\x73\xf7\x94\x8c\xf7\x9c\x94\xf7\
\x9c\x9c\xf7\xa5\x9c\xf7\xad\xa5\xf7\xad\xad\xf7\xb5\xad\xf7\xbd\
\xb5\xf7\xbd\xbd\xf7\xc6\xbd\xf7\xc6\xc6\xf7\xce\xce\xf7\xd6\xce\
\xf7\xd6\xd6\xf7\xde\xd6\xf7\xde\xde\xf7\xe7\xe7\xf7\xef\xef\xf7\
\xff\xef\xff\x42\x31\xff\x42\x39\xff\x4a\x39\xff\xe7\xe7\xff\xef\
\xef\xff\xf7\xf7\xff\xff\xf7\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\x53\x8f\x38\xc6\x00\x00\x00\x5e\x74\x52\x4e\x53\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\
\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\xb1\xc8\x2e\x26\x00\x00\
\x00\xe1\x49\x44\x41\x54\x78\xda\x63\x88\xc5\x0e\x18\xc8\x15\x8f\
\xf6\x73\x71\xb2\xb3\xb6\xb2\x75\x74\xf6\x8e\x46\x88\x47\xbb\x59\
\x85\x85\x59\x3a\x38\x3a\x3a\x58\x87\x87\xe9\xc1\xc5\x83\x6c\xc2\
\xec\x3c\x82\x21\x4a\x42\x7c\xa2\x60\xe2\xd1\xd6\x16\x5e\xd8\xcc\
\xf7\x0a\x03\x0b\x07\x07\xf8\x05\x84\xa0\x8a\x1b\xc6\x46\xbb\x58\
\x87\x81\x80\x9d\x17\x42\x1c\x68\x8e\x9b\x6d\x98\x9d\xae\x9e\xbe\
\x9e\xb3\x75\x58\x00\xc2\x9d\xc1\x0e\x61\x61\x36\x06\xc6\x26\x26\
\x46\x7a\x8e\x61\xbe\x48\xee\xd7\x52\x71\xb2\x00\x1b\x13\x66\xe1\
\x1c\x8d\x24\x2e\xcb\xa6\x1a\xe2\xeb\xa9\xe7\xee\x15\x10\x8d\xe2\
\x5f\x65\x36\x69\x55\x01\x01\x61\x7e\x6e\x21\x73\xd4\x70\xe0\x63\
\x63\x67\x17\x57\x50\x10\x65\x93\x46\x15\xd7\xe6\x66\xe3\x94\x90\
\x95\xe2\x65\x93\x45\x0b\x37\x25\x29\x4e\x36\x36\x36\x76\x19\xf4\
\xf0\x94\x64\x52\xd4\x56\xd5\x8c\xc6\x08\x67\x33\x26\x16\x75\xac\
\xf1\x22\xc7\xc8\xc8\x24\x86\x2d\xbe\xd4\x45\x78\xe4\x28\x8f\x5f\
\x34\x00\x00\xd4\x6c\xad\xe2\x88\x3d\x8e\x3a\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\x0a\
\x04\x3c\xf7\x82\
\x00\x47\
\x00\x52\x00\x44\x00\x5f\x00\x4c\x00\x6f\x00\x61\x00\x64\x00\x65\x00\x72\
\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\x2e\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\x2e\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x88\x22\x16\xf0\x80\
"
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()