File: resources.py

package info (click to toggle)
qgis3-survex-import 1.3-1
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,216 kB
  • sloc: python: 547; makefile: 112
file content (103 lines) | stat: -rw-r--r-- 4,375 bytes parent folder | download | duplicates (2)
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
# -*- coding: utf-8 -*-

# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.11.3)
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore

qt_resource_data = b"\
\x00\x00\x02\x7d\
\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\x06\x00\x00\x00\x11\x7c\x66\x75\
\x00\x00\x00\x06\x62\x4b\x47\x44\x00\xff\x00\xff\x00\xff\xa0\xbd\
\xa7\x93\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\
\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07\x74\x49\x4d\x45\x07\
\xe2\x01\x05\x0f\x02\x05\xd4\xe6\x18\x9b\x00\x00\x02\x0a\x49\x44\
\x41\x54\x48\xc7\xed\x94\x3d\x68\x53\x61\x14\x86\x9f\xef\xe6\xda\
\x14\x13\xcd\xad\x2d\x29\x54\x2a\x68\xb5\x58\x25\xc1\x0a\x42\x04\
\xd1\x04\x22\x55\xe3\xe2\x20\x4e\x12\x10\xd1\xc9\xc1\xc1\x82\x53\
\x33\xb4\x54\x5d\xa4\x50\x2b\x8e\x52\x9c\x44\x9a\xc1\x58\xd4\x90\
\x46\x10\x93\x0e\x42\x7f\xfc\x21\x01\x75\x28\xa6\x31\xd6\xf4\xf6\
\xb6\xc5\xa6\xf9\xb9\x2e\x46\x8a\x24\x90\xd8\x64\xf3\x9d\x3e\x38\
\xf0\x9c\xef\xbc\xe7\xf0\x0a\x5d\xd7\x5d\xeb\xea\xab\x8e\x9c\x16\
\xf1\x16\x72\x4b\xc7\xd8\xa4\x24\xd9\xf2\x5a\xde\x7e\xf4\x61\x83\
\x72\xe2\x93\xc8\x2c\x86\x2f\x67\x17\x5f\xde\xd5\xf5\xbc\x99\x1a\
\x49\x08\xc3\xca\x96\xa6\x93\xd7\xa5\x9c\x16\xf1\xd6\x12\x0c\xa0\
\xeb\x79\x73\x4e\x8b\x78\xa5\x5a\x58\x51\x4a\x85\xdc\xf2\x61\x89\
\xba\xa9\xb0\x55\xca\xaf\xce\xd6\x05\x9d\x5f\x9d\x45\x2e\x3e\x00\
\x0c\x26\xdb\x26\x7c\xd6\x11\x42\xb0\xf1\xb3\xf2\xdf\xdd\xfe\xb5\
\x89\xd2\x79\x9b\x46\xa3\x81\xc4\xe4\xa9\xd2\xf0\x8d\x4d\xc2\xd1\
\x05\xfa\x87\x63\xbc\x8b\x69\x98\x4d\x32\x2e\x47\x0b\x77\x6e\x1e\
\xa4\xc9\xd2\x50\xf9\xcd\x97\x2b\x8c\x3d\x4f\xf0\x60\xe0\x10\xb1\
\x90\x9b\xee\x03\x16\x1e\x3f\x4b\x30\x32\xfa\xa5\xaa\x69\xe4\x72\
\x85\xa1\x3e\x3b\x00\xaa\x96\x45\x08\x01\xc0\xee\x76\xd3\x9f\xfa\
\x23\xff\x1c\x03\xf7\xe2\x24\xbe\xad\x55\x0f\x07\xe8\x72\x07\x99\
\x4f\x65\x00\x38\xed\xb4\x72\xfe\x4c\x1b\x00\xb1\xcf\xcb\x5c\xf3\
\xcd\xb0\x67\x97\x89\xf8\x84\x1b\xff\x8b\x79\x7a\x07\xdf\x57\x6e\
\x0b\xc0\xc7\xa0\x9b\xf8\x84\x9b\x9e\xe3\x56\xc6\xc3\x29\xfa\x87\
\x63\x00\x84\xa3\x0b\x14\x0a\xe0\x71\xb5\x62\x6d\x36\x72\xf1\x5c\
\x7b\x75\x9e\x17\x65\x6d\x36\x72\xe1\xec\x4e\x00\xa6\x3e\x2c\xfd\
\x3e\xbb\x62\x86\x88\xca\x16\x6a\xeb\x09\xa1\xd8\x03\xa8\x5a\x96\
\x37\x6f\xd3\xdc\xba\x1f\xe7\x6b\xf2\x27\x69\x75\x9d\x27\xe3\x09\
\x00\x1c\xdd\x3b\x00\x70\x3a\x5a\x10\x02\x9e\x86\x92\xa4\x7e\x64\
\x18\x1d\x9b\xab\xdc\xf3\x23\x76\x85\xc9\xa9\x34\x9e\x4b\x51\x92\
\xdf\xd7\x68\x6b\x6d\xa4\xf7\xea\x3e\x6e\x5c\xd9\x0b\xc0\xfe\x8e\
\x6d\x0c\xf5\xd9\x18\x1c\x89\xd3\xe9\x0a\x96\x4f\x47\x75\xc6\xa3\
\xd7\x2b\x5d\xea\x18\x5c\xff\xe1\xa5\xa5\x49\x80\xbf\x4e\xf0\x90\
\x04\xf8\x00\xb5\xc6\x60\x15\xf0\x49\x8a\x3d\x30\x0d\x38\x6b\x38\
\x81\x1f\x70\x2a\xf6\xc0\xf4\x2f\xab\x42\xbd\x53\xdf\x32\x05\x45\
\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\
\x00\x97\xee\x34\
\x00\x73\
\x00\x75\x00\x72\x00\x76\x00\x65\x00\x78\x00\x5f\x00\x69\x00\x6d\x00\x70\x00\x6f\x00\x72\x00\x74\
\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\x6a\x93\xa3\x17\x7a\
"

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()