dev: 初步的加载界面

This commit is contained in:
Julian Freeman
2024-07-19 00:35:17 -04:00
parent 1cbac60f24
commit efdf13444f
7 changed files with 340 additions and 1 deletions

157
src/rc_kps_unifier.py Normal file
View File

@@ -0,0 +1,157 @@
# Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 6.5.2
# WARNING! All changes made in this file will be lost!
from PySide6 import QtCore
qt_resource_data = b"\
\x00\x00\x01\xf4\
<\
svg xmlns=\x22http:\
//www.w3.org/200\
0/svg\x22 class=\x22io\
nicon\x22 viewBox=\x22\
0 0 512 512\x22><pa\
th d=\x22M255.66 11\
2c-77.94 0-157.8\
9 45.11-220.83 1\
35.33a16 16 0 00\
-.27 17.77C82.92\
340.8 161.8 400\
255.66 400c92.8\
4 0 173.34-59.38\
221.79-135.25a1\
6.14 16.14 0 000\
-17.47C428.89 17\
2.28 347.8 112 2\
55.66 112z\x22 fill\
=\x22none\x22 stroke=\x22\
currentColor\x22 st\
roke-linecap=\x22ro\
und\x22 stroke-line\
join=\x22round\x22 str\
oke-width=\x2232\x22/>\
<circle cx=\x22256\x22\
cy=\x22256\x22 r=\x2280\x22\
fill=\x22none\x22 str\
oke=\x22currentColo\
r\x22 stroke-miterl\
imit=\x2210\x22 stroke\
-width=\x2232\x22/></s\
vg>\
\x00\x00\x04|\
<\
svg xmlns=\x22http:\
//www.w3.org/200\
0/svg\x22 class=\x22io\
nicon\x22 viewBox=\x22\
0 0 512 512\x22><pa\
th d=\x22M432 448a1\
5.92 15.92 0 01-\
11.31-4.69l-352-\
352a16 16 0 0122\
.62-22.62l352 35\
2A16 16 0 01432 \
448zM255.66 384c\
-41.49 0-81.5-12\
.28-118.92-36.5-\
34.07-22-64.74-5\
3.51-88.7-91v-.0\
8c19.94-28.57 41\
.78-52.73 65.24-\
72.21a2 2 0 00.1\
4-2.94L93.5 161.\
38a2 2 0 00-2.71\
-.12c-24.92 21-4\
8.05 46.76-69.08\
76.92a31.92 31.\
92 0 00-.64 35.5\
4c26.41 41.33 60\
.4 76.14 98.28 1\
00.65C162 402 20\
7.9 416 255.66 4\
16a239.13 239.13\
0 0075.8-12.58 \
2 2 0 00.77-3.31\
l-21.58-21.58a4 \
4 0 00-3.83-1 20\
4.8 204.8 0 01-5\
1.16 6.47zM490.8\
4 238.6c-26.46-4\
0.92-60.79-75.68\
-99.27-100.53C34\
9 110.55 302 96 \
255.66 96a227.34\
227.34 0 00-74.\
89 12.83 2 2 0 0\
0-.75 3.31l21.55\
21.55a4 4 0 003\
.88 1 192.82 192\
.82 0 0150.21-6.\
69c40.69 0 80.58\
12.43 118.55 37\
34.71 22.4 65.7\
4 53.88 89.76 91\
a.13.13 0 010 .1\
6 310.72 310.72 \
0 01-64.12 72.73\
2 2 0 00-.15 2.\
95l19.9 19.89a2 \
2 0 002.7.13 343\
.49 343.49 0 006\
8.64-78.48 32.2 \
32.2 0 00-.1-34.\
78z\x22/><path d=\x22M\
256 160a95.88 95\
.88 0 00-21.37 2\
.4 2 2 0 00-1 3.\
38l112.59 112.56\
a2 2 0 003.38-1A\
96 96 0 00256 16\
0zM165.78 233.66\
a2 2 0 00-3.38 1\
96 96 0 00115 1\
15 2 2 0 001-3.3\
8z\x22/></svg>\
"
qt_resource_name = b"\
\x00\x05\
\x00h\xa9\xc4\
\x00a\
\x00s\x00s\x00e\x00t\
\x00\x03\
\x00\x00p7\
\x00i\
\x00m\x00g\
\x00\x07\
\x0c\xf8Z\x07\
\x00e\
\x00y\x00e\x00.\x00s\x00v\x00g\
\x00\x0b\
\x05\x10\xaaG\
\x00e\
\x00y\x00e\x00-\x00o\x00f\x00f\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\x10\x00\x02\x00\x00\x00\x02\x00\x00\x00\x03\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x000\x00\x00\x00\x00\x00\x01\x00\x00\x01\xf8\
\x00\x00\x01\x90\xc8\xe4\x89P\
\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x90\xc8\xe4\xa5\xc7\
"
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()