-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_rc.py
301 lines (294 loc) · 6.2 KB
/
main_rc.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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
# Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 6.5.1
# WARNING! All changes made in this file will be lost!
from PySide6 import QtCore
qt_resource_data = b"\
\x00\x00\x10Y\
<\
?xml version=\x221.\
0\x22 encoding=\x22UTF\
-8\x22 standalone=\x22\
no\x22?>\x0a<!-- Creat\
ed with Inkscape\
(http://www.ink\
scape.org/) -->\x0a\
\x0a<svg\x0a xmlns:d\
c=\x22http://purl.o\
rg/dc/elements/1\
.1/\x22\x0a xmlns:cc\
=\x22http://creativ\
ecommons.org/ns#\
\x22\x0a xmlns:rdf=\x22\
http://www.w3.or\
g/1999/02/22-rdf\
-syntax-ns#\x22\x0a \
xmlns:svg=\x22http:\
//www.w3.org/200\
0/svg\x22\x0a xmlns=\
\x22http://www.w3.o\
rg/2000/svg\x22\x0a \
xmlns:sodipodi=\x22\
http://sodipodi.\
sourceforge.net/\
DTD/sodipodi-0.d\
td\x22\x0a xmlns:ink\
scape=\x22http://ww\
w.inkscape.org/n\
amespaces/inksca\
pe\x22\x0a width=\x2212\
8\x22\x0a height=\x2212\
8\x22\x0a viewBox=\x220\
0 33.866666 33.\
866667\x22\x0a versi\
on=\x221.1\x22\x0a id=\x22\
svg8\x22\x0a inkscap\
e:version=\x220.92.\
4 (unknown)\x22\x0a \
sodipodi:docname\
=\x22logo.svg\x22\x0a i\
nkscape:export-f\
ilename=\x22/home/a\
rt/Sourcecode/Py\
thon/EbookCreato\
r/images/logo.pn\
g\x22\x0a inkscape:e\
xport-xdpi=\x2296\x22\x0a\
inkscape:expo\
rt-ydpi=\x2296\x22>\x0a \
<defs\x0a id=\x22d\
efs2\x22 />\x0a <sodi\
podi:namedview\x0a \
id=\x22base\x22\x0a \
pagecolor=\x22#f\
fffff\x22\x0a bord\
ercolor=\x22#666666\
\x22\x0a borderopa\
city=\x221.0\x22\x0a \
inkscape:pageopa\
city=\x220.0\x22\x0a \
inkscape:pagesha\
dow=\x222\x22\x0a ink\
scape:zoom=\x221.52\
74747\x22\x0a inks\
cape:cx=\x22-37.469\
234\x22\x0a inksca\
pe:cy=\x2292.605789\
\x22\x0a inkscape:\
document-units=\x22\
mm\x22\x0a inkscap\
e:current-layer=\
\x22layer1\x22\x0a sh\
owgrid=\x22false\x22\x0a \
units=\x22px\x22\x0a \
inkscape:win\
dow-width=\x221600\x22\
\x0a inkscape:w\
indow-height=\x2283\
2\x22\x0a inkscape\
:window-x=\x220\x22\x0a \
inkscape:wind\
ow-y=\x220\x22\x0a in\
kscape:window-ma\
ximized=\x221\x22 />\x0a \
<metadata\x0a \
id=\x22metadata5\x22>\x0a\
<rdf:RDF>\x0a \
<cc:Work\x0a \
rdf:about=\
\x22\x22>\x0a <dc:\
format>image/svg\
+xml</dc:format>\
\x0a <dc:typ\
e\x0a rdf\
:resource=\x22http:\
//purl.org/dc/dc\
mitype/StillImag\
e\x22 />\x0a <d\
c:title></dc:tit\
le>\x0a </cc:W\
ork>\x0a </rdf:R\
DF>\x0a </metadata\
>\x0a <g\x0a inks\
cape:label=\x22Eben\
e 1\x22\x0a inksca\
pe:groupmode=\x22la\
yer\x22\x0a id=\x22la\
yer1\x22\x0a trans\
form=\x22translate(\
0,-263.13332)\x22>\x0a\
<rect\x0a \
style=\x22fill:#ff\
ffff;fill-opacit\
y:1;stroke-width\
:0.13162293\x22\x0a \
id=\x22rect923\x22\
\x0a width=\x223\
3.866665\x22\x0a \
height=\x2233.8666\
65\x22\x0a x=\x228.\
9009603e-07\x22\x0a \
y=\x22263.13333\
\x22 />\x0a <g\x0a \
id=\x22g1462\x22\x0a \
transform=\x22\
matrix(0.5385663\
1,0,0,0.53856631\
,0.05936206,138.\
35192)\x22>\x0a <\
path\x0a so\
dipodi:nodetypes\
=\x22ccccccccccsccc\
cccccccccccccccs\
cccc\x22\x0a i\
nkscape:connecto\
r-curvature=\x220\x22\x0a\
id=\x22pat\
h845\x22\x0a d\
=\x22m 26.832075,28\
5.73828 c -0.325\
73,-0.0616 -0.68\
1472,-0.2093 -0.\
976316,-0.40513 \
-0.210194,-0.139\
6 -20.557212,-20\
.48281 -20.71571\
13,-20.71183 -0.\
2278125,-0.32918\
-0.3762882,-0.6\
9566 -0.4380724,\
-1.08129 -0.0475\
31,-0.29665 -0.0\
19039,-0.82386 0\
.059059,-1.0932 \
0.07972,-0.2749 \
0.2635983,-0.651\
07 0.4251806,-0.\
8698 0.1732095,-\
0.23447 20.39796\
81,-20.43851 20.\
6212191,-20.6000\
9 0.315046,-0.22\
804 0.670057,-0.\
37873 1.04813,-0\
.44495 0.235184,\
-0.0412 0.647066\
,-0.046 0.872672\
,-0.0103 0.38609\
4,0.0613 0.83717\
7,0.25196 1.1355\
69,0.47996 0.086\
38,0.066 2.97300\
8,2.93662 6.4147\
38,6.37917 l 6.1\
27131,6.2822 -6.\
984832,7.09239 -\
7.115393,7.11543\
-2.367777,-2.36\
777 -1.901636,-2\
.37148 4.281464,\
-4.74396 4.74760\
3,-4.74765 -2.37\
3807,-2.37381 -2\
.373807,-2.37381\
-7.121454,7.121\
46 -7.121454,7.1\
2145 7.121455,7.\
12146 7.121457,7\
.12146 9.48947,-\
9.48946 9.357057\
,-9.5424 1.68131\
,1.60551 c 1.002\
344,1.00472 1.58\
5125,1.60684 1.6\
51568,1.70636 0.\
605317,0.90677 0\
.609044,2.01417 \
0.0099,2.93424 -\
0.08975,0.13783 \
-2.214531,2.2761\
8 -10.287435,10.\
35313 -6.279432,\
6.28258 -10.2469\
98,10.23465 -10.\
364165,10.32364 \
-0.233118,0.1770\
8 -0.564626,0.33\
901 -0.864562,0.\
42231 -0.285737,\
0.0793 -0.863007\
,0.10262 -1.1585\
38,0.0466 z\x22\x0a \
style=\x22fil\
l:#9fd723;fill-o\
pacity:1;stroke-\
width:0.02416104\
\x22 />\x0a <text\
\x0a id=\x22te\
xt1439\x22\x0a \
y=\x22276.78156\x22\x0a \
x=\x2229.14\
7907\x22\x0a s\
tyle=\x22font-style\
:normal;font-wei\
ght:normal;font-\
size:39.8285141p\
x;line-height:1.\
25;font-family:s\
ans-serif;letter\
-spacing:0px;wor\
d-spacing:0px;fi\
ll:#333333;fill-\
opacity:1;stroke\
:none;stroke-wid\
th:0.99571282\x22\x0a \
xml:spac\
e=\x22preserve\x22><ts\
pan\x0a s\
tyle=\x22font-style\
:normal;font-var\
iant:normal;font\
-weight:bold;fon\
t-stretch:normal\
;font-family:'UR\
W Bookman L';-in\
kscape-font-spec\
ification:'URW B\
ookman L Bold';f\
ill:#333333;fill\
-opacity:1;strok\
e-width:0.995712\
82\x22\x0a y\
=\x22276.78156\x22\x0a \
x=\x2229.14\
7907\x22\x0a \
id=\x22tspan1437\x22\x0a\
sodip\
odi:role=\x22line\x22>\
C</tspan></text>\
\x0a </g>\x0a </g>\
\x0a</svg>\x0a\
"
qt_resource_name = b"\
\x00\x06\
\x07\x03}\xc3\
\x00i\
\x00m\x00a\x00g\x00e\x00s\
\x00\x08\
\x05\xe2T\xa7\
\x00l\
\x00o\x00g\x00o\x00.\x00s\x00v\x00g\
"
qt_resource_struct = 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\x12\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x89w\xd6K\x07\
"
def qInitResources():
QtCore.qRegisterResourceData(0x03, qt_resource_struct, qt_resource_name, qt_resource_data)
def qCleanupResources():
QtCore.qUnregisterResourceData(0x03, qt_resource_struct, qt_resource_name, qt_resource_data)
qInitResources()