get rid of SVG

This commit is contained in:
Nova 2025-01-04 00:09:17 +03:30
parent 30689a2353
commit 32a5fb777c
No known key found for this signature in database
GPG Key ID: 389787EC83F5D73A
31 changed files with 19 additions and 454 deletions

View File

@ -11,7 +11,7 @@ if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND WIN32)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)
endif ()
find_package(Qt6 REQUIRED COMPONENTS Widgets Network Svg LinguistTools QuickControls2)
find_package(Qt6 REQUIRED COMPONENTS Widgets Network LinguistTools)
if (NKR_CROSS)
set_property(TARGET Qt6::moc PROPERTY IMPORTED_LOCATION /usr/bin/moc)
@ -259,7 +259,7 @@ target_sources(nekoray PRIVATE ${CMAKE_BINARY_DIR}/translations.qrc)
# Target Link
target_link_libraries(nekoray PRIVATE
Qt6::Widgets Qt6::Network Qt6::Svg
Qt6::Widgets Qt6::Network
Threads::Threads
${NKR_EXTERNAL_TARGETS}
${PLATFORM_LIBRARIES}

View File

@ -45,7 +45,7 @@
</property>
<property name="icon">
<iconset resource="../../res/neko.qrc">
<normaloff>:/icon/material/swap-horizontal.svg</normaloff>:/icon/material/swap-horizontal.svg</iconset>
<normaloff>:/icon/material/swap-horizontal.png</normaloff>:/icon/material/swap-horizontal.png</iconset>
</property>
</widget>
</item>
@ -59,7 +59,7 @@
</property>
<property name="icon">
<iconset resource="../../res/neko.qrc">
<normaloff>:/icon/material/delete.svg</normaloff>:/icon/material/delete.svg</iconset>
<normaloff>:/icon/material/delete.png</normaloff>:/icon/material/delete.png</iconset>
</property>
</widget>
</item>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg width="64" version="1.1" xmlns="http://www.w3.org/2000/svg" height="64" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape">
<defs id="defs3811">
<linearGradient inkscape:collect="always" xlink:href="#linearGradient4300-1" id="linearGradient4416" y1="43.999989" y2="6.999989" x2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-1.4054053 0 0 1.4054053 804.69502 154.09579)"/>
<linearGradient inkscape:collect="always" id="linearGradient4227">
<stop style="stop-color:#292c2f" id="stop4229"/>
<stop offset="1" style="stop-opacity:0" id="stop4231"/>
</linearGradient>
<linearGradient inkscape:collect="always" id="linearGradient4191" xlink:href="#linearGradient4227" y1="9" y2="23" x1="9.00001" gradientUnits="userSpaceOnUse" x2="23.00004" gradientTransform="matrix(2 0 0 2 -0.99999 -5)"/>
<linearGradient inkscape:collect="always" id="linearGradient4298">
<stop style="stop-color:#b985ce" id="stop4300"/>
<stop offset="1" style="stop-color:#e2cdeb" id="stop4302"/>
</linearGradient>
<linearGradient inkscape:collect="always" id="linearGradient4300-1">
<stop style="stop-color:#8e44ad" id="stop4302-0"/>
<stop offset="1" style="stop-color:#9b59b6" id="stop4304-6"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient4298" id="linearGradient4244" y1="38" y2="12.999999" x2="0" gradientUnits="userSpaceOnUse"/>
</defs>
<metadata id="metadata3814"/>
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" transform="matrix(1 0 0 1 -736.85718 -157.93361)">
<path inkscape:connector-curvature="0" style="fill:url(#linearGradient4416);fill-rule:evenodd" id="path4445" d="m 794.85718,163.93361 0,37.94594 -25.29727,0 -14.05412,14.05406 0,-14.05406 -12.64861,0 0,-37.94594 z"/>
<path inkscape:connector-curvature="0" style="fill:url(#linearGradient4191);opacity:0.2;fill-rule:evenodd" id="path4184" d="M 36,14.929687 29,16.464843 24,20 l 6,6 -1,3 4.000002,4.000001 -4,4 6.94531,6.945311 22.054688,0 0,-7.015625 z" transform="matrix(1 0 0 1 736.85718 157.93361)"/>
<path style="fill:#713e88;fill-rule:evenodd" id="path4256" d="M 6 42.945312 L 6 43.945312 L 18.648438 43.945312 L 18.648438 42.945312 L 6 42.945312 z M 32.703125 42.945312 L 18.648438 57 L 18.648438 58 L 32.703125 43.945312 L 58 43.945312 L 58 42.945312 L 32.703125 42.945312 z " transform="matrix(1 0 0 1 736.85718 157.93361)"/>
<path style="fill:url(#linearGradient4244);stroke-linecap:round;stroke-linejoin:round;stroke-width:2" id="rect4169" d="M 31 13 C 29.05556 13 27.239997 13.681878 25.960938 14.960938 C 24.681878 16.239997 24 18.05556 24 20 L 28 20 C 28 18.94445 28.318133 18.260002 28.789062 17.789062 C 29.260003 17.318122 29.94445 17 31 17 C 32.05556 17 32.739997 17.318122 33.210938 17.789062 C 33.681878 18.260003 34 18.94445 34 20 C 34 20.91667 33.819305 21.306644 33.578125 21.652344 C 33.336945 21.998034 32.941856 22.324488 32.353516 22.736328 C 31.765166 23.148168 30.983639 23.622604 30.261719 24.464844 C 29.539799 25.307084 29 26.58334 29 28 L 29 29 L 33 29 L 33 28 C 33 27.41667 33.083198 27.317916 33.298828 27.066406 C 33.514408 26.814896 33.984824 26.476822 34.646484 26.013672 C 35.308134 25.550512 36.163055 24.939466 36.859375 23.941406 C 37.555695 22.943346 38 21.58334 38 20 C 38 18.05556 37.318133 16.239998 36.039062 14.960938 C 34.760003 13.681878 32.94445 13 31 13 z M 29 33 L 29 37 L 33 37 L 33 33 L 29 33 z " transform="matrix(1 0 0 1 736.85718 157.93361)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -1 +0,0 @@
<svg height="48" width="48" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="9" x2="38" xlink:href="#a" y1="9" y2="38"/><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="34" x2="44" y1="19.008" y2="29.008"><stop offset="0" stop-color="#292c2f"/><stop offset="1" stop-opacity="0"/></linearGradient><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="4" x2="4" y1="44" y2="4"><stop offset="0" stop-color="#197cf1"/><stop offset="1" stop-color="#20bcfa"/></linearGradient><linearGradient id="d" gradientUnits="userSpaceOnUse" x1="4" x2="4" y1="44" y2="4"><stop offset="0" stop-color="#54d883"/><stop offset="1" stop-color="#abf9c7"/></linearGradient><circle cx="24" cy="24" fill="url(#b)" r="20"/><path d="M24 4A20 20 0 0 0 4.1 22H7l3 3 2 1 10.969 17.95A20 20 0 0 0 24 44a20 20 0 0 0 20-20A20 20 0 0 0 24 4z" fill="url(#c)" opacity=".2"/><path d="M42.586 16.633L36 26l6.215 6.215A20 20 0 0 0 44 24a20 20 0 0 0-1.36-7.246 20 20 0 0 0-.054-.121z" fill="url(#a)" fill-rule="evenodd" opacity=".2"/><path d="M24 4a20 20 0 0 0-1.902.11 20 20 0 0 0-.254.03 20 20 0 0 0-3.219.637v-.04a20 20 0 0 0-9.7 6.14h.01a20 20 0 0 0-3.58 5.945L7 16h4v1l1 1v-2l1-1 1-1h1v-1l1-1 2-1 1-1 2-1v1l2-1h-1V8l-1-1h4l-1 1 3 1-1-2V5l-.947-.947A20 20 0 0 0 24 4zm15 6.81V13h1.691A20 20 0 0 0 39 10.81zm-27.938.067h.061L11 11l.063-.123zm30.024 2.762L40 14l-2 1v1l-2 2-1 2v4l1 2 2 1 1 1 4.717-.785a20 20 0 0 0 .002-.022 20 20 0 0 0 .209-1.752A20 20 0 0 0 44 24a20 20 0 0 0-.09-1.74 20 20 0 0 0-.097-.809 20 20 0 0 0-.19-1.234 20 20 0 0 0-.135-.598 20 20 0 0 0-.357-1.394 20 20 0 0 0-.145-.432 20 20 0 0 0-.539-1.473 20 20 0 0 0-.148-.33 20 20 0 0 0-.74-1.525 20 20 0 0 0-.473-.826zM7 20l-1 1H5l-.65-.65a20 20 0 0 0 0 .005 20 20 0 0 0-.266 1.977 20 20 0 0 0-.002.03L6 23l2 1 1 1 1 1h2v2l-1 1-1 2v1l1 1 1 1 1 2 1 1 2 1v4.32a20 20 0 0 0 .006.002 20 20 0 0 0 1.697.645 20 20 0 0 0 .192.068 20 20 0 0 0 1.513.408 20 20 0 0 0 .451.116 20 20 0 0 0 1.32.216 20 20 0 0 0 .68.104 20 20 0 0 0 1.15.072A20 20 0 0 0 24 44a20 20 0 0 0 1.018-.037L26 42v-1l2-1 1-1 1-4 1-1v-2l-2-1h-1l-2-1h-1l-1-2-1-1h-2l-2-2h-2l-3-1-1 2-2-1h-1v-2l-2-1 1-2z" fill="url(#d)"/><path d="M4.051 23.5c-.004.17-.051.329-.051.5 0 11.08 8.92 20 20 20s20-8.92 20-20c0-.171-.047-.33-.051-.5-.03 1.206-.121 2.398-.354 3.541a19.89 19.89 0 0 1-5.441 10.113 19.95 19.95 0 0 1-6.355 4.279 19.817 19.817 0 0 1-3.758 1.162 20.204 20.204 0 0 1-4.04.404c-1.385 0-2.737-.139-4.04-.404a19.89 19.89 0 0 1-10.113-5.441 19.95 19.95 0 0 1-4.279-6.355 19.817 19.817 0 0 1-1.162-3.758c-.233-1.143-.323-2.335-.354-3.541" opacity=".2"/></svg>

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z" /></svg>

Before

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z" /></svg>

Before

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 B

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg>

Before

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,1 10,15A2,2 0 0,1 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17Z" /></svg>

Before

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z" /></svg>

Before

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21,9L17,5V8H10V10H17V13M7,11L3,15L7,19V16H14V14H7V11Z" /></svg>

Before

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9,3L5,7H8V14H10V7H13M16,17V10H14V17H11L15,21L19,17H16Z" /></svg>

Before

Width:  |  Height:  |  Size: 134 B

BIN
res/icon/network-server.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

View File

@ -1,35 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<defs id="defs3051">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text {
color:#232629;
}
.ColorScheme-Highlight {
color:#3daee9;
}
</style>
</defs>
<path
style="fill:currentColor"
d="M 4 6 L 4 11 L 4 20 L 3 20 L 3 21 L 3 21 C 3 21 3 21 3 21 L 3 57 L 3 58 L 4 58 L 60 58 L 61 58 L 61 57 L 61 21 L 61 21 L 61 16 L 60 16 L 60 11 C 60 11 60 11 60 11 L 60 11 L 60 10 L 32 10 L 28 6 L 4 6 z "
class="ColorScheme-Highlight"
/>
<path
style="fill-opacity:0.33"
d="M 4 6 L 4 11 L 4 20 L 22 20 L 26 16 L 60 16 L 60 11 C 60 11 60 11 60 11 L 60 11 L 60 10 L 32 10 L 28 6 L 4 6 z "
/>
<path
style="fill:#ffffff;fill-opacity:0.2"
d="M 28 6 L 31 11 L 33 11 L 60 11 L 60 10 L 33 10 L 32 10 L 28 6 z M 26 16 L 22 20 L 3 20 L 3 21 L 23 21 L 26 16 z "
/>
<path
style="fill-opacity:0.2;fill-rule:evenodd"
d="M 26 16 L 20 19 L 4 19 L 4 20 L 22 20 L 26 16 z M 3 57 L 3 58 L 4 58 L 60 58 L 61 58 L 61 57 L 60 57 L 4 57 L 3 57 z "
class="ColorScheme-Text"
/>
<path
style="fill:currentColor;fill-opacity:0.6;stroke:none"
d="M 22 27 L 22 47 L 42 47 L 42 27 L 22 27 z M 23 28 L 41 28 L 41 30 L 23 30 L 23 28 z M 24 31 L 25 31 L 25 35 L 24 35 L 24 31 z M 26 31 L 27 31 L 27 35 L 26 35 L 26 31 z M 28 31 L 29 31 L 29 35 L 28 35 L 28 31 z M 30 31 L 31 31 L 31 35 L 30 35 L 30 31 z M 32 31 L 33 31 L 33 35 L 32 35 L 32 31 z M 34 31 L 35 31 L 35 35 L 34 35 L 34 31 z M 36 31 L 37 31 L 37 35 L 36 35 L 36 31 z M 39 32 L 41 32 L 41 33 L 39 33 L 39 32 z M 23 36 L 41 36 L 41 38 L 23 38 L 23 36 z M 24 39 L 25 39 L 25 43 L 24 43 L 24 39 z M 26 39 L 27 39 L 27 43 L 26 43 L 26 39 z M 28 39 L 29 39 L 29 43 L 28 43 L 28 39 z M 30 39 L 31 39 L 31 43 L 30 43 L 30 39 z M 32 39 L 33 39 L 33 43 L 32 43 L 32 39 z M 34 39 L 35 39 L 35 43 L 34 43 L 34 39 z M 36 39 L 37 39 L 37 43 L 36 43 L 36 39 z M 39 40 L 41 40 L 41 41 L 39 41 L 39 40 z M 23 44 L 41 44 L 41 46 L 23 46 L 23 44 z "
class="ColorScheme-Text"
/>
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

BIN
res/icon/preferences.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 900 B

View File

@ -1,141 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="32"
width="32"
version="1.1"
id="svg38"
sodipodi:docname="systemsettings.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">
<defs
id="defs42">
<style
id="current-color-scheme"
type="text/css"> .ColorScheme-Highlight {
color:#3593e6;
}</style>
</defs>
<sodipodi:namedview
id="namedview40"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="15.78125"
inkscape:cx="12.356436"
inkscape:cy="15.968317"
inkscape:window-width="1920"
inkscape:window-height="1053"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g24" />
<linearGradient
id="a"
gradientUnits="userSpaceOnUse"
x2="17"
y1="-1"
y2="18">
<stop
offset="0"
stop-color="#fff"
id="stop2" />
<stop
offset="1"
stop-color="#fff"
stop-opacity="0"
id="stop4" />
</linearGradient>
<linearGradient
id="b"
gradientUnits="userSpaceOnUse"
x1="9"
x2="30"
y1="9"
y2="30">
<stop
offset="0"
id="stop7" />
<stop
offset="1"
stop-opacity="0"
id="stop9" />
</linearGradient>
<rect
fill="#2d3033"
height="28"
rx="1"
width="28"
x="2"
y="2"
id="rect12" />
<rect
fill="url(#a)"
height="28"
opacity=".276"
rx="1"
width="28"
x="2"
y="2"
id="rect14" />
<path
d="M23.414 10.586L22 12H6l-.729.729L11 18.455V20H6l-.729.729L14.545 30H29c.554 0 1-.446 1-1V17.172z"
fill="url(#b)"
opacity=".4"
id="path16" />
<g
transform="translate(-30)"
id="g24">
<path
d="M36 19c-1.352-.02-1.352 2.02 0 2h6v-2z"
id="path18"
class="ColorScheme-Highlight"
style="fill:currentColor" />
<circle
cx="42"
cy="20"
fill="#fafafa"
r="2"
id="circle20" />
<path
d="M42 19v2h14c1.352.02 1.352-2.02 0-2z"
fill="#fcfcfc"
opacity=".2"
id="path22" />
</g>
<g
transform="translate(-30)"
id="g32">
<path
d="M36 11c-1.352-.02-1.352 2.02 0 2h16v-2z"
id="path26"
class="ColorScheme-Highlight"
style="fill:currentColor" />
<circle
cx="52"
cy="12"
fill="#fafafa"
r="2"
id="circle28" />
<path
d="M52 11v2h4c1.352.02 1.352-2.02 0-2z"
fill="#fcfcfc"
opacity=".2"
id="path30" />
</g>
<path
d="M2 28v1c0 .554.446 1 1 1h26c.554 0 1-.446 1-1v-1c0 .554-.446 1-1 1H3c-.554 0-1-.446-1-1z"
opacity=".3"
id="path34" />
<path
d="M2 4V3c0-.554.446-1 1-1h26c.554 0 1 .446 1 1v1c0-.554-.446-1-1-1H3c-.554 0-1 .446-1 1z"
fill="#fff"
opacity=".3"
id="path36" />
</svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

BIN
res/icon/system-run.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

View File

@ -1,190 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48"
height="48"
viewBox="0 0 48 48"
version="1.1"
id="svg2"
inkscape:version="0.91 r13725"
sodipodi:docname="system-run.svg">
<metadata
id="metadata56">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="2560"
inkscape:window-height="1375"
id="namedview54"
showgrid="true"
inkscape:object-nodes="true"
inkscape:zoom="13.906433"
inkscape:cx="34.812386"
inkscape:cy="22.13151"
inkscape:window-x="0"
inkscape:window-y="36"
inkscape:window-maximized="1"
inkscape:current-layer="svg2">
<inkscape:grid
type="xygrid"
id="grid4263" />
</sodipodi:namedview>
<defs
id="defs4">
<linearGradient
id="linearGradient4393">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop8" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop10" />
</linearGradient>
<linearGradient
gradientTransform="matrix(1.3333334,0,0,1.1666668,-509.76184,-595.76433)"
inkscape:collect="always"
xlink:href="#linearGradient4298"
id="linearGradient4308"
y1="539.79797"
y2="527.79797"
x2="0"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
id="linearGradient4298">
<stop
style="stop-color:#42a603"
id="stop4300" />
<stop
offset="1"
style="stop-color:#78da06"
id="stop4302" />
</linearGradient>
<linearGradient
gradientTransform="matrix(1.2499988,0,0,1.2857117,4.0000276,3.4286038)"
inkscape:collect="always"
xlink:href="#linearGradient4393"
id="linearGradient4256"
y1="11"
x1="5"
y2="27"
x2="21"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
id="linearGradient4643-8"
xlink:href="#linearGradient4303-6"
y1="543.79797"
y2="502.65509"
x2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.83333327,0,0,0.81666374,-316.47628,-404.50106)" />
<linearGradient
inkscape:collect="always"
id="linearGradient4303-6">
<stop
style="stop-color:#c6cdd1"
id="stop4305-7" />
<stop
offset="1"
style="stop-color:#e0e5e7"
id="stop4307-0" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient4183"
xlink:href="#linearGradient4393"
y1="525.79797"
y2="540.79797"
x1="391.57144"
gradientUnits="userSpaceOnUse"
x2="406.57147"
gradientTransform="matrix(1.2499988,0,0,1.2857117,-476.71382,-659.73887)" />
</defs>
<rect
id="rect4641-5"
style="fill:url(#linearGradient4643-8)"
height="35.999928"
rx="0"
y="6.000001"
x="4.0000348"
width="39.999962" />
<path
d="m 6,40 36,-26 2,2 -3e-5,25.999963 L 8,42 Z"
id="path4167"
style="opacity:0.2;fill:url(#linearGradient4183);fill-rule:evenodd"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccc" />
<rect
id="rect4645-7-7"
style="fill:#99a1a7"
height="0.99992979"
y="41"
x="3.9999969"
width="39.999939" />
<rect
id="rect4647-8"
style="fill:#566069"
height="4.9999995"
y="6.000001"
x="3.9999969"
width="39.999977" />
<rect
id="rect4649-8"
style="fill:#3daee9"
height="1.0000002"
y="11"
x="4.0000811"
width="39.99992" />
<rect
id="rect4653-5"
style="fill:#ffffff"
height="26.000002"
y="14"
x="6"
width="36" />
<rect
id="rect4661-1"
style="fill:#eff0f1"
height="2.9999998"
rx="1.5000007"
y="7"
x="39"
width="3.0000014" />
<path
inkscape:connector-curvature="0"
style="opacity:0.2;fill:url(#linearGradient4256);fill-rule:evenodd"
id="path4242"
d="m 31,27 -12,7 8,8 17,0 0,-2 z"
sodipodi:nodetypes="cccccc" />
<path
inkscape:connector-curvature="0"
style="fill:url(#linearGradient4308);fill-rule:evenodd"
id="path4237-9"
d="m 19,20 0,14 12,-7 z" />
</svg>

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -1,32 +0,0 @@
<svg width="48" xmlns="http://www.w3.org/2000/svg" height="48" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<linearGradient id="a" y1="543.8" y2="503.8" x2="0" gradientUnits="userSpaceOnUse">
<stop stop-color="#c6cdd1"/>
<stop offset="1" stop-color="#e0e5e7"/>
</linearGradient>
<linearGradient id="b" y1="13" y2="33" x2="0" gradientUnits="userSpaceOnUse" gradientTransform="translate(384.57 499.8)">
<stop stop-color="#f67400"/>
<stop offset="1" stop-color="#fdbc4b"/>
</linearGradient>
<linearGradient xlink:href="#b" id="c" y1="42" y2="6" gradientUnits="userSpaceOnUse" x2="0"/>
<linearGradient id="d" y1="539.8" x1="410.57" y2="523.8" x2="428.57" gradientUnits="userSpaceOnUse">
<stop stop-color="#f67400"/>
<stop offset="1" stop-color="#f67400" stop-opacity="0"/>
</linearGradient>
<linearGradient id="e" y1="520.8" x1="402.57" y2="536.8" x2="418.57" gradientUnits="userSpaceOnUse">
<stop stop-color="#292c2f"/>
<stop offset="1" stop-opacity="0"/>
</linearGradient>
</defs>
<g transform="translate(-384.57-499.8)">
<g stroke-opacity=".55" stroke-width="2.8">
<rect width="40" x="388.57" y="503.8" fill="url(#a)" rx="20" height="40"/>
<path fill="url(#b)" d="m408.57 512.8l-9 9h5v11h8v-11h5z"/>
<path opacity=".5" fill="#808080" d="m24 42c9.972 0 18-8.03 18-18 0-9.972-8.03-18-18-18v2c8.864 0 16 7.136 16 16 0 8.864-7.136 16-16 16z" transform="translate(384.57 499.8)"/>
<path fill="url(#d)" d="m408.57 505.8c-9.972 0-18 8.03-18 18 0 9.972 8.03 18 18 18 9.972 0 18-8.03 18-18 0-9.972-8.03-18-18-18m0 2c8.864 0 16 7.136 16 16 0 8.864-7.136 16-16 16-8.864 0-16-7.136-16-16 0-8.864 7.136-16 16-16"/>
<path fill="url(#c)" d="m24 42v-2c-8.864 0-16-7.136-16-16 0-8.864 7.136-16 16-16v-2c-9.972 0-18 8.03-18 18 0 9.972 8.03 18 18 18" transform="translate(384.57 499.8)"/>
<path fill="#99a1a7" d="m4.01 23.5c-.004.167-.012.332-.012.5 0 11.08 8.92 20 20 20 11.08 0 20-8.92 20-20 0-.168-.008-.333-.012-.5-.264 10.847-9.08 19.5-19.988 19.5-10.912 0-19.724-8.653-19.988-19.5" transform="translate(384.57 499.8)"/>
</g>
<path opacity=".2" fill="url(#e)" fill-rule="evenodd" d="m412.57 521.8v11h-8l10.06 10.06c5.685-1.796 10.248-6.05 12.467-11.533l-9.531-9.531z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1,18 +1,18 @@
<RCC>
<qresource prefix="/">
<file alias="icon/b-internet-web-browser.svg">icon/internet-web-browser.svg</file>
<file alias="icon/b-system-run.svg">icon/system-run.svg</file>
<file alias="icon/b-preferences.svg">icon/preferences.svg</file>
<file alias="icon/b-network-server.svg">icon/network-server.svg</file>
<file alias="icon/b-dialog-question.svg">icon/dialog-question.svg</file>
<file alias="icon/b-system-software-update.svg">icon/system-software-update.svg</file>
<file>icon/material/lock-open-outline.svg</file>
<file>icon/material/lock-outline.svg</file>
<file>icon/material/cancel.svg</file>
<file>icon/material/history.svg</file>
<file>icon/material/swap-vertical.svg</file>
<file>icon/material/delete.svg</file>
<file>icon/material/swap-horizontal.svg</file>
<file alias="icon/b-internet-web-browser.png">icon/internet-web-browser.png</file>
<file alias="icon/b-system-run.png">icon/system-run.png</file>
<file alias="icon/b-preferences.png">icon/preferences.png</file>
<file alias="icon/b-network-server.png">icon/network-server.png</file>
<file alias="icon/b-dialog-question.png">icon/dialog-question.png</file>
<file alias="icon/b-system-software-update.png">icon/system-software-update.png</file>
<file>icon/material/lock-open-outline.png</file>
<file>icon/material/lock-outline.png</file>
<file>icon/material/cancel.png</file>
<file>icon/material/history.png</file>
<file>icon/material/swap-vertical.png</file>
<file>icon/material/delete.png</file>
<file>icon/material/swap-horizontal.png</file>
</qresource>
<qresource prefix="/neko">
<file alias="nekobox.png">public/nekobox.png</file>

View File

@ -32,7 +32,7 @@ wget https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-202401
wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/1-alpha-20240109-1/linuxdeploy-plugin-qt-x86_64.AppImage
chmod +x linuxdeploy-x86_64.AppImage linuxdeploy-plugin-qt-x86_64.AppImage
export EXTRA_QT_PLUGINS="svg;iconengines;"
export EXTRA_QT_PLUGINS="iconengines;"
./linuxdeploy-x86_64.AppImage --appdir $DEST --executable $DEST/nekoray --plugin qt
rm linuxdeploy-x86_64.AppImage linuxdeploy-plugin-qt-x86_64.AppImage
cd $DEST

View File

@ -50,6 +50,6 @@ QPixmap Icon::GetTrayIcon(Icon::TrayIconStatus status) {
}
QPixmap Icon::GetMaterialIcon(const QString &name) {
QPixmap pixmap(":/icon/material/" + name + ".svg");
QPixmap pixmap(":/icon/material/" + name + ".png");
return pixmap;
}