开始准备!
This commit is contained in:
parent
9aa324a9df
commit
0b9c01f0a1
9 changed files with 437 additions and 0 deletions
BIN
images/SwiftUI.png
Normal file
BIN
images/SwiftUI.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2 KiB |
BIN
images/lol.png
Normal file
BIN
images/lol.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
361
images/todo.svg
Normal file
361
images/todo.svg
Normal file
|
@ -0,0 +1,361 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="120"
|
||||||
|
height="120"
|
||||||
|
viewBox="0 0 120 120"
|
||||||
|
version="1.1"
|
||||||
|
id="svg5"
|
||||||
|
sodipodi:docname="新建文档 1.2022_01_22_12_01_40.0.svg"
|
||||||
|
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20, custom)"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview7"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
showgrid="true"
|
||||||
|
inkscape:zoom="4.531376"
|
||||||
|
inkscape:cx="68.30155"
|
||||||
|
inkscape:cy="50.426184"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1015"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="layer1">
|
||||||
|
<inkscape:grid
|
||||||
|
type="xygrid"
|
||||||
|
id="grid9" />
|
||||||
|
</sodipodi:namedview>
|
||||||
|
<defs
|
||||||
|
id="defs2">
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect2507"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect952"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect948"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect831"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect827"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect823"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect819"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect815"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect811"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect557"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect553"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect286"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect165"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect46"
|
||||||
|
is_visible="true"
|
||||||
|
lpeversion="1"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
</defs>
|
||||||
|
<g
|
||||||
|
inkscape:label="图层 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1">
|
||||||
|
<path
|
||||||
|
style="fill:#49cf5a;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10;stroke-opacity:1"
|
||||||
|
d="M 15,0 C 11.667167,0 5.0005002,0 1.6666668,3.3339 c -3.3338333,3.3339 -3.3338333,10.000433 -3.3338333,26.667366 0,16.666934 0,43.333067 0,59.999801 0,16.666733 0,23.333263 3.3339,26.666093 C 5.0006335,120 11.667167,120 28.3341,120 c 16.666933,0 43.333067,0 59.999799,0 16.666731,0 23.333261,0 26.666101,-3.3329 3.33283,-3.3329 3.33283,-9.99943 3.33283,-27.499715 0,-17.500285 0,-45.833052 0,-62.499768 0,-16.666717 0,-21.666617 -3.3329,-24.167117 C 111.66703,0 105.0005,0 88.333566,0 71.666633,0 45.0005,0 18.332833,0 c 0,0 0,0 -3.332833,0 z"
|
||||||
|
id="path44"
|
||||||
|
inkscape:path-effect="#path-effect46"
|
||||||
|
inkscape:original-d="M 18.332833,0 C 11.667167,0.001 5.0005002,0.001 -1.6671665,0 c 10e-4,6.6678 10e-4,13.334333 0,20 10e-4,26.6682 10e-4,53.334333 0,80 10e-4,6.6678 10e-4,13.33433 0,20 6.6678,0.001 13.3343335,0.001 19.9999995,0 26.6682,0.001 53.334334,0.001 80,0 6.667797,0.001 13.334327,0.001 19.999997,0 0.001,-6.6658 0.001,-13.33233 0,-20 0.001,-28.3329 0.001,-56.665667 0,-85 0.001,-4.9991 0.001,-9.999 0,-15 -6.6658,0.001 -13.33233,0.001 -19.999997,0 -26.6662,0.001 -53.332333,0.001 -80,0 0,0 10e-4,0.001 0,0 z" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m -55,55 c -1.665667,-1.665667 -3.332333,-3.332333 -4.999516,-3.332817 -1.667184,-4.83e-4 -3.333817,1.66615 -3.3333,3.333333 C -63.3323,56.6677 -61.665667,58.334333 -60,60"
|
||||||
|
id="path555"
|
||||||
|
inkscape:path-effect="#path-effect557"
|
||||||
|
inkscape:original-d="m -55,55 c -1.665667,-1.665667 -3.332333,-3.332333 -5,-5 -1.6657,1.6677 -3.332333,3.334333 -5,5 1.6677,1.6677 3.334333,3.334333 5,5" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m -60,60 c 3.334333,3.334333 6.667667,6.667667 10,10"
|
||||||
|
id="path809"
|
||||||
|
inkscape:path-effect="#path-effect811"
|
||||||
|
inkscape:original-d="m -60,60 c 3.334333,3.334333 6.667667,6.667667 10,10" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m -55,55 c 3.334333,3.334333 6.667667,6.667667 10,10"
|
||||||
|
id="path813"
|
||||||
|
inkscape:path-effect="#path-effect815"
|
||||||
|
inkscape:original-d="m -55,55 c 3.334333,3.334333 6.667667,6.667667 10,10" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m -50,70 c 1.667667,1.667667 3.334333,3.334333 5.000517,3.333817 C -43.3333,73.3333 -41.666667,71.666667 -40,70"
|
||||||
|
id="path817"
|
||||||
|
inkscape:path-effect="#path-effect819"
|
||||||
|
inkscape:original-d="m -50,70 c 1.667667,1.667667 3.334333,3.334333 5,5 1.6677,-1.6657 3.334333,-3.332333 5,-5" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m -40,70 c 5,-5 10,-10 15,-15"
|
||||||
|
id="path821"
|
||||||
|
inkscape:path-effect="#path-effect823"
|
||||||
|
inkscape:original-d="m -40,70 c 5.001,-4.999 10.001,-9.999 15,-15" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m -45,65 c 5,-5 10,-10 15,-15"
|
||||||
|
id="path825"
|
||||||
|
inkscape:path-effect="#path-effect827"
|
||||||
|
inkscape:original-d="m -45,65 c 5.001,-4.999 10.001,-9.999 15,-15" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m -25,55 c 1.666667,-1.666667 3.333333,-3.333333 3.333816,-4.999516 4.84e-4,-1.666184 -1.666149,-3.332817 -3.333332,-3.333301 C -26.6667,46.6667 -28.333333,48.333333 -30,50"
|
||||||
|
id="path829"
|
||||||
|
inkscape:path-effect="#path-effect831"
|
||||||
|
inkscape:original-d="m -25,55 c 1.667667,-1.665667 3.334333,-3.332333 5,-5 -1.6657,-1.6657 -3.332333,-3.332333 -5,-5 -1.6657,1.6677 -3.332333,3.334333 -5,5" />
|
||||||
|
<path
|
||||||
|
style="fill:#000000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="M 60,50 C 50,60 40.0002,69.9998 34.166767,75.833233 28.333333,81.666667 26.6667,83.3333 25.000517,83.333817 23.334333,83.334333 21.6677,81.6677 19.167683,79.167683 16.667667,76.667667 13.3344,73.3344 10.834367,70.834367 8.334333,68.334333 6.6677,66.6677 6.6671835,65.000517 6.666667,63.333333 8.3333,61.6667 10.000484,61.667184 c 1.667183,4.83e-4 3.333849,1.667149 5.833883,4.167183 C 18.3344,68.3344 21.667667,71.667667 25,75"
|
||||||
|
id="path946"
|
||||||
|
inkscape:path-effect="#path-effect948"
|
||||||
|
inkscape:original-d="M 60,50 C 50.001,60.001 40.0012,70.0008 30,80 28.334333,81.667667 26.6677,83.3343 25,85 23.334333,83.334333 21.6677,81.6677 20,80 16.667667,76.667667 13.3344,73.3344 10,70 8.334333,68.334333 6.6677,66.6677 5,65 c 1.667667,-1.665667 3.3343,-3.3323 5,-5 1.667667,1.667667 3.334333,3.334333 5,5 3.3344,3.3344 6.667667,6.667667 10,10" />
|
||||||
|
<path
|
||||||
|
style="fill:#000000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="M 25,75 C 35,65 45,55 50.83335,49.16665 c 5.83335,-5.83335 7.499983,-7.499983 9.167167,-7.499467 1.667183,5.17e-4 3.333816,1.66715 3.333299,3.333334 C 63.3333,46.6667 61.666667,48.333333 60,50"
|
||||||
|
id="path950"
|
||||||
|
inkscape:path-effect="#path-effect952"
|
||||||
|
inkscape:original-d="m 25,75 c 10.001,-9.999 20.001,-19.999 30,-30 1.6677,-1.6657 3.334333,-3.332333 5,-5 1.6677,1.6677 3.334333,3.334333 5,5 -1.6657,1.6677 -3.332333,3.334333 -5,5" />
|
||||||
|
<path
|
||||||
|
style="fill:#ff0000;fill-opacity:0.950941"
|
||||||
|
id="path2558"
|
||||||
|
sodipodi:type="arc"
|
||||||
|
sodipodi:cx="60"
|
||||||
|
sodipodi:cy="30"
|
||||||
|
sodipodi:rx="5"
|
||||||
|
sodipodi:ry="5"
|
||||||
|
sodipodi:start="0"
|
||||||
|
sodipodi:end="6.2506349"
|
||||||
|
sodipodi:arc-type="slice"
|
||||||
|
d="m 65,30 a 5,5 0 0 1 -4.959312,4.999834 5,5 0 0 1 -5.040026,-4.918462 5,5 0 0 1 4.877286,-5.079882 5,5 0 0 1 5.119403,4.835787 L 60,30 Z" />
|
||||||
|
<rect
|
||||||
|
style="fill:#ff0000;fill-opacity:0.950941"
|
||||||
|
id="rect2693"
|
||||||
|
width="40"
|
||||||
|
height="10"
|
||||||
|
x="60"
|
||||||
|
y="25" />
|
||||||
|
<path
|
||||||
|
style="fill:#ff0000;fill-opacity:0.950941"
|
||||||
|
id="path2717"
|
||||||
|
sodipodi:type="arc"
|
||||||
|
sodipodi:cx="105"
|
||||||
|
sodipodi:cy="30"
|
||||||
|
sodipodi:rx="5"
|
||||||
|
sodipodi:ry="5"
|
||||||
|
sodipodi:start="0"
|
||||||
|
sodipodi:end="6.2506349"
|
||||||
|
sodipodi:arc-type="slice"
|
||||||
|
d="m 110,30 a 5,5 0 0 1 -4.95931,4.999834 5,5 0 0 1 -5.04003,-4.918462 5,5 0 0 1 4.87729,-5.079882 5,5 0 0 1 5.1194,4.835787 L 105,30 Z" />
|
||||||
|
<rect
|
||||||
|
style="fill:#ff0000;fill-opacity:0.950941"
|
||||||
|
id="rect2821"
|
||||||
|
width="5"
|
||||||
|
height="10"
|
||||||
|
x="100"
|
||||||
|
y="25" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffff00;fill-opacity:0.950941"
|
||||||
|
id="path2925"
|
||||||
|
sodipodi:type="arc"
|
||||||
|
sodipodi:cx="65"
|
||||||
|
sodipodi:cy="60"
|
||||||
|
sodipodi:rx="5"
|
||||||
|
sodipodi:ry="5"
|
||||||
|
sodipodi:start="0"
|
||||||
|
sodipodi:end="6.2506349"
|
||||||
|
sodipodi:arc-type="slice"
|
||||||
|
d="m 70,60 a 5,5 0 0 1 -4.959312,4.999834 5,5 0 0 1 -5.040026,-4.918462 5,5 0 0 1 4.877286,-5.079882 5,5 0 0 1 5.119403,4.835787 L 65,60 Z" />
|
||||||
|
<rect
|
||||||
|
style="fill:#ffff00;fill-opacity:0.950941"
|
||||||
|
id="rect2949"
|
||||||
|
width="40"
|
||||||
|
height="10"
|
||||||
|
x="65"
|
||||||
|
y="55" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffff00;fill-opacity:0.950941"
|
||||||
|
id="path2973"
|
||||||
|
sodipodi:type="arc"
|
||||||
|
sodipodi:cx="105"
|
||||||
|
sodipodi:cy="60"
|
||||||
|
sodipodi:rx="5"
|
||||||
|
sodipodi:ry="5"
|
||||||
|
sodipodi:start="0"
|
||||||
|
sodipodi:end="6.2506349"
|
||||||
|
sodipodi:arc-type="slice"
|
||||||
|
d="m 110,60 a 5,5 0 0 1 -4.95931,4.999834 5,5 0 0 1 -5.04003,-4.918462 5,5 0 0 1 4.87729,-5.079882 5,5 0 0 1 5.1194,4.835787 L 105,60 Z" />
|
||||||
|
<path
|
||||||
|
style="fill:#00ffff;fill-opacity:0.950941"
|
||||||
|
id="path2975"
|
||||||
|
sodipodi:type="arc"
|
||||||
|
sodipodi:cx="60"
|
||||||
|
sodipodi:cy="85"
|
||||||
|
sodipodi:rx="5"
|
||||||
|
sodipodi:ry="5"
|
||||||
|
sodipodi:start="0"
|
||||||
|
sodipodi:end="6.2506349"
|
||||||
|
sodipodi:arc-type="slice"
|
||||||
|
d="m 65,85 a 5,5 0 0 1 -4.959312,4.999834 5,5 0 0 1 -5.040026,-4.918462 5,5 0 0 1 4.877286,-5.079882 5,5 0 0 1 5.119403,4.835787 L 60,85 Z" />
|
||||||
|
<rect
|
||||||
|
style="fill:#00ffff;fill-opacity:0.950941"
|
||||||
|
id="rect2999"
|
||||||
|
width="45"
|
||||||
|
height="10"
|
||||||
|
x="60"
|
||||||
|
y="80" />
|
||||||
|
<path
|
||||||
|
style="fill:#00ffff;fill-opacity:0.950941"
|
||||||
|
id="path3023"
|
||||||
|
sodipodi:type="arc"
|
||||||
|
sodipodi:cx="105.00265"
|
||||||
|
sodipodi:cy="85.16272"
|
||||||
|
sodipodi:rx="5"
|
||||||
|
sodipodi:ry="5"
|
||||||
|
sodipodi:start="0"
|
||||||
|
sodipodi:end="6.2506349"
|
||||||
|
sodipodi:arc-type="slice"
|
||||||
|
d="m 110.00265,85.16272 a 5,5 0 0 1 -4.95932,4.999834 5,5 0 0 1 -5.04002,-4.918462 5,5 0 0 1 4.87729,-5.079882 5,5 0 0 1 5.1194,4.835787 l -4.99735,0.162723 z" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 14 KiB |
0
main/__init__.py
Normal file
0
main/__init__.py
Normal file
3
main/main.py
Normal file
3
main/main.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
from PyQt5.QtWidgets import *
|
||||||
|
from PyQt5.QtCore import *
|
||||||
|
import os,sys
|
64
resource/current.qss
Normal file
64
resource/current.qss
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
/*去掉item虚线边框*/
|
||||||
|
QListWidget, QListView, QTreeWidget, QTreeView {
|
||||||
|
outline: 0px;
|
||||||
|
}
|
||||||
|
/*设置左侧选项的最小最大宽度,文字颜色和背景颜色*/
|
||||||
|
QListWidget {
|
||||||
|
min-width: 120px;
|
||||||
|
max-width: 120px;
|
||||||
|
color: white;
|
||||||
|
background: black;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
QPushButton {
|
||||||
|
max-width: 120px;
|
||||||
|
color: white;
|
||||||
|
border-top-left-radius:10px;
|
||||||
|
border-top-right-radius:10px;
|
||||||
|
border-bottom-left-radius:10px;
|
||||||
|
border-bottom-right-radius:10px;
|
||||||
|
background: pink;
|
||||||
|
}
|
||||||
|
QPushButton:pressed,
|
||||||
|
QPushButton:pressed:focus {
|
||||||
|
/* 改变背景色 */
|
||||||
|
background-color: #f50057;
|
||||||
|
/* 改变边框风格 */
|
||||||
|
border-style:inset;
|
||||||
|
/* 改变边框风格 */
|
||||||
|
border-style:inset;
|
||||||
|
}
|
||||||
|
|
||||||
|
QPushButton#upload_btn {
|
||||||
|
padding: 3px 20px;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*被选中时的背景颜色和左边框颜色*/
|
||||||
|
QListWidget::item:selected {
|
||||||
|
background: rgb(52, 52, 52);
|
||||||
|
border-right: 4px solid rgb(9, 187, 7);
|
||||||
|
}
|
||||||
|
/*鼠标悬停颜色*/
|
||||||
|
HistoryPanel::item:hover {
|
||||||
|
background: rgb(52, 52, 52);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*右侧的层叠窗口的背景颜色*/
|
||||||
|
QStackedWidget {
|
||||||
|
background: rgb(30, 30, 30);
|
||||||
|
}
|
||||||
|
/*模拟的页面*/
|
||||||
|
QLabel {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
QLineEdit {
|
||||||
|
border: 2px solid rgb(52,52,52);
|
||||||
|
border-top-left-radius:10px;
|
||||||
|
border-top-right-radius:10px;
|
||||||
|
border-bottom-left-radius:10px;
|
||||||
|
border-bottom-right-radius:10px;
|
||||||
|
|
||||||
|
}
|
9
tools/QSSLoader.py
Normal file
9
tools/QSSLoader.py
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
class QSSLoader:
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def read_qss_file(qss_file_name):
|
||||||
|
# print(qss_file_name)
|
||||||
|
with open(qss_file_name, 'r', encoding='UTF-8') as file:
|
||||||
|
return file.read()
|
0
tools/__init__.py
Normal file
0
tools/__init__.py
Normal file
0
tools/nextcloud.py
Normal file
0
tools/nextcloud.py
Normal file
Loading…
Reference in a new issue