Skip to content

The only downloader you need. 下载器的集大成者。

fix(Setting): 移除设置组图标及相关资源

XiaoYouChRf03e55e6c5e3
diff --git a/app/assets/icons/About_black.svg b/app/assets/icons/About_black.svg
deleted file mode 100644
index dba38067..00000000
--- a/app/assets/icons/About_black.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="2 2 20 20">
- <path fill="black" d="M13 9h-2V7h2m0 10h-2v-6h2m-1-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2" />
-</svg>
diff --git a/app/assets/icons/About_white.svg b/app/assets/icons/About_white.svg
deleted file mode 100644
index 233b8b07..00000000
--- a/app/assets/icons/About_white.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="2 2 20 20">
- <path fill="white" d="M13 9h-2V7h2m0 10h-2v-6h2m-1-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2" />
-</svg>
diff --git a/app/assets/icons/Application_black.svg b/app/assets/icons/Application_black.svg
deleted file mode 100644
index b72684d2..00000000
--- a/app/assets/icons/Application_black.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.845 0.845 22.31 22.31">
- <path fill="black" d="M21.66 6.423v11.154L12 23.155l-9.66-5.578V6.423L12 .845zM12 10.798L8.723 8.613l-1.11 1.664L11 12.535V16h2v-3.465l3.387-2.258l-1.11-1.664z" />
-</svg>
diff --git a/app/assets/icons/Application_white.svg b/app/assets/icons/Application_white.svg
deleted file mode 100644
index bd6dab59..00000000
--- a/app/assets/icons/Application_white.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.845 0.845 22.31 22.31">
- <path fill="white" d="M21.66 6.423v11.154L12 23.155l-9.66-5.578V6.423L12 .845zM12 10.798L8.723 8.613l-1.11 1.664L11 12.535V16h2v-3.465l3.387-2.258l-1.11-1.664z" />
-</svg>
diff --git a/app/assets/icons/Browser_black.svg b/app/assets/icons/Browser_black.svg
deleted file mode 100644
index 5ef64b3c..00000000
--- a/app/assets/icons/Browser_black.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="2 2 20 20">
- <g fill="none">
- <path d="m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" />
- <path fill="black" d="M2.802 8.069L6.746 14.9a6 6 0 0 0 6.481 2.974l-2.346 4.064C5.885 21.382 2 17.145 2 12c0-1.396.286-2.724.802-3.931M21.168 8A10 10 0 0 1 22 12c0 5.118-3.845 9.338-8.804 9.93l3.948-6.84c.544-.902.856-1.96.856-3.09a5.98 5.98 0 0 0-1.528-4zM12 8a4 4 0 1 1 0 8a4 4 0 0 1 0-8m0-6a9.99 9.99 0 0 1 8 4h-8a6 6 0 0 0-5.701 4.125L3.953 6.062A9.99 9.99 0 0 1 12 2" />
- </g>
-</svg>
diff --git a/app/assets/icons/Browser_white.svg b/app/assets/icons/Browser_white.svg
deleted file mode 100644
index 8c8949dc..00000000
--- a/app/assets/icons/Browser_white.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="2 2 20 20">
- <g fill="none">
- <path d="m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" />
- <path fill="white" d="M2.802 8.069L6.746 14.9a6 6 0 0 0 6.481 2.974l-2.346 4.064C5.885 21.382 2 17.145 2 12c0-1.396.286-2.724.802-3.931M21.168 8A10 10 0 0 1 22 12c0 5.118-3.845 9.338-8.804 9.93l3.948-6.84c.544-.902.856-1.96.856-3.09a5.98 5.98 0 0 0-1.528-4zM12 8a4 4 0 1 1 0 8a4 4 0 0 1 0-8m0-6a9.99 9.99 0 0 1 8 4h-8a6 6 0 0 0-5.701 4.125L3.953 6.062A9.99 9.99 0 0 1 12 2" />
- </g>
-</svg>
diff --git a/app/assets/icons/Category_black.svg b/app/assets/icons/Category_black.svg
deleted file mode 100644
index 19864560..00000000
--- a/app/assets/icons/Category_black.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="3 3 19 19">
- <path fill="black" d="M7.425 9.475L11.15 3.4q.15-.25.375-.363T12 2.925t.475.113t.375.362l3.725 6.075q.15.25.15.525t-.125.5t-.35.363t-.525.137h-7.45q-.3 0-.525-.137T7.4 10.5t-.125-.5t.15-.525M17.5 22q-1.875 0-3.187-1.312T13 17.5t1.313-3.187T17.5 13t3.188 1.313T22 17.5t-1.312 3.188T17.5 22M3 20.5v-6q0-.425.288-.712T4 13.5h6q.425 0 .713.288T11 14.5v6q0 .425-.288.713T10 21.5H4q-.425 0-.712-.288T3 20.5" />
-</svg>
diff --git a/app/assets/icons/Category_white.svg b/app/assets/icons/Category_white.svg
deleted file mode 100644
index 65e041e1..00000000
--- a/app/assets/icons/Category_white.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="3 3 19 19">
- <path fill="white" d="M7.425 9.475L11.15 3.4q.15-.25.375-.363T12 2.925t.475.113t.375.362l3.725 6.075q.15.25.15.525t-.125.5t-.35.363t-.525.137h-7.45q-.3 0-.525-.137T7.4 10.5t-.125-.5t.15-.525M17.5 22q-1.875 0-3.187-1.312T13 17.5t1.313-3.187T17.5 13t3.188 1.313T22 17.5t-1.312 3.188T17.5 22M3 20.5v-6q0-.425.288-.712T4 13.5h6q.425 0 .713.288T11 14.5v6q0 .425-.288.713T10 21.5H4q-.425 0-.712-.288T3 20.5" />
-</svg>
diff --git a/app/assets/icons/Connect_black.svg b/app/assets/icons/Connect_black.svg
deleted file mode 100644
index 9c375fdb..00000000
--- a/app/assets/icons/Connect_black.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
- <g fill="none" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="4">
- <path fill="black" fill-rule="evenodd" d="M8 12a4 4 0 1 0 0-8a4 4 0 0 0 0 8m2 30a6 6 0 1 0 0-12a6 6 0 0 0 0 12m28 2a6 6 0 1 0 0-12a6 6 0 0 0 0 12M22 28a8 8 0 1 0 0-16a8 8 0 0 0 0 16m12-16a4 4 0 1 0 0-8a4 4 0 0 0 0 8" clip-rule="evenodd" />
- <path d="m11 11l4 4m15-3l-2 2m6 19.5L28 26m-14 5l4-4" />
- </g>
-</svg>
diff --git a/app/assets/icons/Connect_white.svg b/app/assets/icons/Connect_white.svg
deleted file mode 100644
index 0541fe5d..00000000
--- a/app/assets/icons/Connect_white.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
- <g fill="none" stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="4">
- <path fill="white" fill-rule="evenodd" d="M8 12a4 4 0 1 0 0-8a4 4 0 0 0 0 8m2 30a6 6 0 1 0 0-12a6 6 0 0 0 0 12m28 2a6 6 0 1 0 0-12a6 6 0 0 0 0 12M22 28a8 8 0 1 0 0-16a8 8 0 0 0 0 16m12-16a4 4 0 1 0 0-8a4 4 0 0 0 0 8" clip-rule="evenodd" />
- <path d="m11 11l4 4m15-3l-2 2m6 19.5L28 26m-14 5l4-4" />
- </g>
-</svg>
diff --git a/app/assets/icons/Customize_black.svg b/app/assets/icons/Customize_black.svg
deleted file mode 100644
index 7f8020ec..00000000
--- a/app/assets/icons/Customize_black.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="4 2 19 20">
- <path fill="black" d="M17 2a3 3 0 0 1 2.995 2.824L20 5a3 3 0 0 1 3 3a6 6 0 0 1-5.775 5.996L17 14h-4l.15.005a2 2 0 0 1 1.844 1.838L15 16v4a2 2 0 0 1-1.85 1.995L13 22h-2a2 2 0 0 1-1.995-1.85L9 20v-4a2 2 0 0 1 1.85-1.995L11 14v-1a1 1 0 0 1 .883-.993L12 12h5a4 4 0 0 0 4-4a1 1 0 0 0-.883-.993L20 7l-.005.176a3 3 0 0 1-2.819 2.819L17 10H7a3 3 0 0 1-2.995-2.824L4 7V5a3 3 0 0 1 2.824-2.995L7 2z" />
-</svg>
diff --git a/app/assets/icons/Customize_white.svg b/app/assets/icons/Customize_white.svg
deleted file mode 100644
index 47baf252..00000000
--- a/app/assets/icons/Customize_white.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="4 2 19 20">
- <path fill="white" d="M17 2a3 3 0 0 1 2.995 2.824L20 5a3 3 0 0 1 3 3a6 6 0 0 1-5.775 5.996L17 14h-4l.15.005a2 2 0 0 1 1.844 1.838L15 16v4a2 2 0 0 1-1.85 1.995L13 22h-2a2 2 0 0 1-1.995-1.85L9 20v-4a2 2 0 0 1 1.85-1.995L11 14v-1a1 1 0 0 1 .883-.993L12 12h5a4 4 0 0 0 4-4a1 1 0 0 0-.883-.993L20 7l-.005.176a3 3 0 0 1-2.819 2.819L17 10H7a3 3 0 0 1-2.995-2.824L4 7V5a3 3 0 0 1 2.824-2.995L7 2z" />
-</svg>
diff --git a/app/assets/icons/Download_black.svg b/app/assets/icons/Download_black.svg
deleted file mode 100644
index b01aec3c..00000000
--- a/app/assets/icons/Download_black.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="2 2 20 20">
- <path fill="black" d="M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2" />
-</svg>
diff --git a/app/assets/icons/Download_white.svg b/app/assets/icons/Download_white.svg
deleted file mode 100644
index 9323507a..00000000
--- a/app/assets/icons/Download_white.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="2 2 20 20">
- <path fill="white" d="M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2" />
-</svg>
diff --git a/app/assets/icons/icons.qrc b/app/assets/icons/icons.qrc
deleted file mode 100644
index 77525861..00000000
--- a/app/assets/icons/icons.qrc
+++ /dev/null
@@ -1,18 +0,0 @@
-<RCC>
- <qresource prefix="app_icons">
- <file>Download_black.svg</file>
- <file>Download_white.svg</file>
- <file>Category_black.svg</file>
- <file>Category_white.svg</file>
- <file>Browser_black.svg</file>
- <file>Browser_white.svg</file>
- <file>Connect_black.svg</file>
- <file>Connect_white.svg</file>
- <file>Customize_black.svg</file>
- <file>Customize_white.svg</file>
- <file>Application_black.svg</file>
- <file>Application_white.svg</file>
- <file>About_black.svg</file>
- <file>About_white.svg</file>
- </qresource>
-</RCC>
diff --git a/app/assets/icons/icons_rc.py b/app/assets/icons/icons_rc.py
deleted file mode 100644
index f4b0208b..00000000
--- a/app/assets/icons/icons_rc.py
+++ /dev/null
@@ -1,561 +0,0 @@
-# Resource object code (Python 3)
-# Created by: object code
-# Created by: The Resource Compiler for Qt version 6.10.2
-# WARNING! All changes made in this file will be lost!
-
-from PySide6 import QtCore
-
-qt_resource_data = b"\
-\x00\x00\x00\xc4\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-2 2 20 20\x22>\x0a\x09<pa\
-th fill=\x22white\x22 \
-d=\x22M13 9h-2V7h2m\
-0 10h-2v-6h2m-1-\
-9A10 10 0 0 0 2 \
-12a10 10 0 0 0 1\
-0 10a10 10 0 0 0\
- 10-10A10 10 0 0\
- 0 12 2\x22 />\x0a</sv\
-g>\x0a\
-\x00\x00\x01\xce\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-4 2 19 20\x22>\x0a\x09<pa\
-th fill=\x22black\x22 \
-d=\x22M17 2a3 3 0 0\
- 1 2.995 2.824L2\
-0 5a3 3 0 0 1 3 \
-3a6 6 0 0 1-5.77\
-5 5.996L17 14h-4\
-l.15.005a2 2 0 0\
- 1 1.844 1.838L1\
-5 16v4a2 2 0 0 1\
--1.85 1.995L13 2\
-2h-2a2 2 0 0 1-1\
-.995-1.85L9 20v-\
-4a2 2 0 0 1 1.85\
--1.995L11 14v-1a\
-1 1 0 0 1 .883-.\
-993L12 12h5a4 4 \
-0 0 0 4-4a1 1 0 \
-0 0-.883-.993L20\
- 7l-.005.176a3 3\
- 0 0 1-2.819 2.8\
-19L17 10H7a3 3 0\
- 0 1-2.995-2.824\
-L4 7V5a3 3 0 0 1\
- 2.824-2.995L7 2\
-z\x22 />\x0a</svg>\x0a\
-\x00\x00\x00\xf7\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0.845 0.845 22.3\
-1 22.31\x22>\x0a\x09<path\
- fill=\x22black\x22 d=\
-\x22M21.66 6.423v11\
-.154L12 23.155l-\
-9.66-5.578V6.423\
-L12 .845zM12 10.\
-798L8.723 8.613l\
--1.11 1.664L11 1\
-2.535V16h2v-3.46\
-5l3.387-2.258l-1\
-.11-1.664z\x22 />\x0a<\
-/svg>\x0a\
-\x00\x00\x00\xf7\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0.845 0.845 22.3\
-1 22.31\x22>\x0a\x09<path\
- fill=\x22white\x22 d=\
-\x22M21.66 6.423v11\
-.154L12 23.155l-\
-9.66-5.578V6.423\
-L12 .845zM12 10.\
-798L8.723 8.613l\
--1.11 1.664L11 1\
-2.535V16h2v-3.46\
-5l3.387-2.258l-1\
-.11-1.664z\x22 />\x0a<\
-/svg>\x0a\
-\x00\x00\x00\xc4\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-2 2 20 20\x22>\x0a\x09<pa\
-th fill=\x22black\x22 \
-d=\x22M13 9h-2V7h2m\
-0 10h-2v-6h2m-1-\
-9A10 10 0 0 0 2 \
-12a10 10 0 0 0 1\
-0 10a10 10 0 0 0\
- 10-10A10 10 0 0\
- 0 12 2\x22 />\x0a</sv\
-g>\x0a\
-\x00\x00\x01\xd7\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0 0 48 48\x22>\x0a\x09<g \
-fill=\x22none\x22 stro\
-ke=\x22white\x22 strok\
-e-linecap=\x22round\
-\x22 stroke-linejoi\
-n=\x22round\x22 stroke\
--width=\x224\x22>\x0a\x09\x09<p\
-ath fill=\x22white\x22\
- fill-rule=\x22even\
-odd\x22 d=\x22M8 12a4 \
-4 0 1 0 0-8a4 4 \
-0 0 0 0 8m2 30a6\
- 6 0 1 0 0-12a6 \
-6 0 0 0 0 12m28 \
-2a6 6 0 1 0 0-12\
-a6 6 0 0 0 0 12M\
-22 28a8 8 0 1 0 \
-0-16a8 8 0 0 0 0\
- 16m12-16a4 4 0 \
-1 0 0-8a4 4 0 0 \
-0 0 8\x22 clip-rule\
-=\x22evenodd\x22 />\x0a\x09\x09\
-<path d=\x22m11 11l\
-4 4m15-3l-2 2m6 \
-19.5L28 26m-14 5\
-l4-4\x22 />\x0a\x09</g>\x0a<\
-/svg>\x0a\
-\x00\x00\x01\xce\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-4 2 19 20\x22>\x0a\x09<pa\
-th fill=\x22white\x22 \
-d=\x22M17 2a3 3 0 0\
- 1 2.995 2.824L2\
-0 5a3 3 0 0 1 3 \
-3a6 6 0 0 1-5.77\
-5 5.996L17 14h-4\
-l.15.005a2 2 0 0\
- 1 1.844 1.838L1\
-5 16v4a2 2 0 0 1\
--1.85 1.995L13 2\
-2h-2a2 2 0 0 1-1\
-.995-1.85L9 20v-\
-4a2 2 0 0 1 1.85\
--1.995L11 14v-1a\
-1 1 0 0 1 .883-.\
-993L12 12h5a4 4 \
-0 0 0 4-4a1 1 0 \
-0 0-.883-.993L20\
- 7l-.005.176a3 3\
- 0 0 1-2.819 2.8\
-19L17 10H7a3 3 0\
- 0 1-2.995-2.824\
-L4 7V5a3 3 0 0 1\
- 2.824-2.995L7 2\
-z\x22 />\x0a</svg>\x0a\
-\x00\x00\x01\xda\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-3 3 19 19\x22>\x0a\x09<pa\
-th fill=\x22white\x22 \
-d=\x22M7.425 9.475L\
-11.15 3.4q.15-.2\
-5.375-.363T12 2.\
-925t.475.113t.37\
-5.362l3.725 6.07\
-5q.15.25.15.525t\
--.125.5t-.35.363\
-t-.525.137h-7.45\
-q-.3 0-.525-.137\
-T7.4 10.5t-.125-\
-.5t.15-.525M17.5\
- 22q-1.875 0-3.1\
-87-1.312T13 17.5\
-t1.313-3.187T17.\
-5 13t3.188 1.313\
-T22 17.5t-1.312 \
-3.188T17.5 22M3 \
-20.5v-6q0-.425.2\
-88-.712T4 13.5h6\
-q.425 0 .713.288\
-T11 14.5v6q0 .42\
-5-.288.713T10 21\
-.5H4q-.425 0-.71\
-2-.288T3 20.5\x22 /\
->\x0a</svg>\x0a\
-\x00\x00\x01x\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-2 2 20 20\x22>\x0a\x09<pa\
-th fill=\x22white\x22 \
-d=\x22M17.9 17.39c-\
-.26-.8-1.01-1.39\
--1.9-1.39h-1v-3a\
-1 1 0 0 0-1-1H8v\
--2h2a1 1 0 0 0 1\
--1V7h2a2 2 0 0 0\
- 2-2v-.41a7.984 \
-7.984 0 0 1 2.9 \
-12.8M11 19.93c-3\
-.95-.49-7-3.85-7\
--7.93c0-.62.08-1\
-.22.21-1.79L9 15\
-v1a2 2 0 0 0 2 2\
-m1-16A10 10 0 0 \
-0 2 12a10 10 0 0\
- 0 10 10a10 10 0\
- 0 0 10-10A10 10\
- 0 0 0 12 2\x22 />\x0a\
-</svg>\x0a\
-\x00\x00\x01\xda\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-3 3 19 19\x22>\x0a\x09<pa\
-th fill=\x22black\x22 \
-d=\x22M7.425 9.475L\
-11.15 3.4q.15-.2\
-5.375-.363T12 2.\
-925t.475.113t.37\
-5.362l3.725 6.07\
-5q.15.25.15.525t\
--.125.5t-.35.363\
-t-.525.137h-7.45\
-q-.3 0-.525-.137\
-T7.4 10.5t-.125-\
-.5t.15-.525M17.5\
- 22q-1.875 0-3.1\
-87-1.312T13 17.5\
-t1.313-3.187T17.\
-5 13t3.188 1.313\
-T22 17.5t-1.312 \
-3.188T17.5 22M3 \
-20.5v-6q0-.425.2\
-88-.712T4 13.5h6\
-q.425 0 .713.288\
-T11 14.5v6q0 .42\
-5-.288.713T10 21\
-.5H4q-.425 0-.71\
-2-.288T3 20.5\x22 /\
->\x0a</svg>\x0a\
-\x00\x00\x01\xd7\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0 0 48 48\x22>\x0a\x09<g \
-fill=\x22none\x22 stro\
-ke=\x22black\x22 strok\
-e-linecap=\x22round\
-\x22 stroke-linejoi\
-n=\x22round\x22 stroke\
--width=\x224\x22>\x0a\x09\x09<p\
-ath fill=\x22black\x22\
- fill-rule=\x22even\
-odd\x22 d=\x22M8 12a4 \
-4 0 1 0 0-8a4 4 \
-0 0 0 0 8m2 30a6\
- 6 0 1 0 0-12a6 \
-6 0 0 0 0 12m28 \
-2a6 6 0 1 0 0-12\
-a6 6 0 0 0 0 12M\
-22 28a8 8 0 1 0 \
-0-16a8 8 0 0 0 0\
- 16m12-16a4 4 0 \
-1 0 0-8a4 4 0 0 \
-0 0 8\x22 clip-rule\
-=\x22evenodd\x22 />\x0a\x09\x09\
-<path d=\x22m11 11l\
-4 4m15-3l-2 2m6 \
-19.5L28 26m-14 5\
-l4-4\x22 />\x0a\x09</g>\x0a<\
-/svg>\x0a\
-\x00\x00\x03\xd0\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-2 2 20 20\x22>\x0a\x09<g \
-fill=\x22none\x22>\x0a\x09\x09<\
-path d=\x22m12.593 \
-23.258l-.011.002\
-l-.071.035l-.02.\
-004l-.014-.004l-\
-.071-.035q-.016-\
-.005-.024.005l-.\
-004.01l-.017.428\
-l.005.02l.01.013\
-l.104.074l.015.0\
-04l.012-.004l.10\
-4-.074l.012-.016\
-l.004-.017l-.017\
--.427q-.004-.016\
--.017-.018m.265-\
-.113l-.013.002l-\
-.185.093l-.01.01\
-l-.003.011l.018.\
-43l.005.012l.008\
-.007l.201.093q.0\
-19.005.029-.008l\
-.004-.014l-.034-\
-.614q-.005-.018-\
-.02-.022m-.715.0\
-02a.02.02 0 0 0-\
-.027.006l-.006.0\
-14l-.034.614q.00\
-1.018.017.024l.0\
-15-.002l.201-.09\
-3l.01-.008l.004-\
-.011l.017-.43l-.\
-003-.012l-.01-.0\
-1z\x22 />\x0a\x09\x09<path f\
-ill=\x22black\x22 d=\x22M\
-2.802 8.069L6.74\
-6 14.9a6 6 0 0 0\
- 6.481 2.974l-2.\
-346 4.064C5.885 \
-21.382 2 17.145 \
-2 12c0-1.396.286\
--2.724.802-3.931\
-M21.168 8A10 10 \
-0 0 1 22 12c0 5.\
-118-3.845 9.338-\
-8.804 9.93l3.948\
--6.84c.544-.902.\
-856-1.96.856-3.0\
-9a5.98 5.98 0 0 \
-0-1.528-4zM12 8a\
-4 4 0 1 1 0 8a4 \
-4 0 0 1 0-8m0-6a\
-9.99 9.99 0 0 1 \
-8 4h-8a6 6 0 0 0\
--5.701 4.125L3.9\
-53 6.062A9.99 9.\
-99 0 0 1 12 2\x22 /\
->\x0a\x09</g>\x0a</svg>\x0a\
-\x00\x00\x03\xd0\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-2 2 20 20\x22>\x0a\x09<g \
-fill=\x22none\x22>\x0a\x09\x09<\
-path d=\x22m12.593 \
-23.258l-.011.002\
-l-.071.035l-.02.\
-004l-.014-.004l-\
-.071-.035q-.016-\
-.005-.024.005l-.\
-004.01l-.017.428\
-l.005.02l.01.013\
-l.104.074l.015.0\
-04l.012-.004l.10\
-4-.074l.012-.016\
-l.004-.017l-.017\
--.427q-.004-.016\
--.017-.018m.265-\
-.113l-.013.002l-\
-.185.093l-.01.01\
-l-.003.011l.018.\
-43l.005.012l.008\
-.007l.201.093q.0\
-19.005.029-.008l\
-.004-.014l-.034-\
-.614q-.005-.018-\
-.02-.022m-.715.0\
-02a.02.02 0 0 0-\
-.027.006l-.006.0\
-14l-.034.614q.00\
-1.018.017.024l.0\
-15-.002l.201-.09\
-3l.01-.008l.004-\
-.011l.017-.43l-.\
-003-.012l-.01-.0\
-1z\x22 />\x0a\x09\x09<path f\
-ill=\x22white\x22 d=\x22M\
-2.802 8.069L6.74\
-6 14.9a6 6 0 0 0\
- 6.481 2.974l-2.\
-346 4.064C5.885 \
-21.382 2 17.145 \
-2 12c0-1.396.286\
--2.724.802-3.931\
-M21.168 8A10 10 \
-0 0 1 22 12c0 5.\
-118-3.845 9.338-\
-8.804 9.93l3.948\
--6.84c.544-.902.\
-856-1.96.856-3.0\
-9a5.98 5.98 0 0 \
-0-1.528-4zM12 8a\
-4 4 0 1 1 0 8a4 \
-4 0 0 1 0-8m0-6a\
-9.99 9.99 0 0 1 \
-8 4h-8a6 6 0 0 0\
--5.701 4.125L3.9\
-53 6.062A9.99 9.\
-99 0 0 1 12 2\x22 /\
->\x0a\x09</g>\x0a</svg>\x0a\
-\x00\x00\x01x\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-2 2 20 20\x22>\x0a\x09<pa\
-th fill=\x22black\x22 \
-d=\x22M17.9 17.39c-\
-.26-.8-1.01-1.39\
--1.9-1.39h-1v-3a\
-1 1 0 0 0-1-1H8v\
--2h2a1 1 0 0 0 1\
--1V7h2a2 2 0 0 0\
- 2-2v-.41a7.984 \
-7.984 0 0 1 2.9 \
-12.8M11 19.93c-3\
-.95-.49-7-3.85-7\
--7.93c0-.62.08-1\
-.22.21-1.79L9 15\
-v1a2 2 0 0 0 2 2\
-m1-16A10 10 0 0 \
-0 2 12a10 10 0 0\
- 0 10 10a10 10 0\
- 0 0 10-10A10 10\
- 0 0 0 12 2\x22 />\x0a\
-</svg>\x0a\
-"
-
-qt_resource_name = b"\
-\x00\x09\
-\x06_v\xb3\
-\x00a\
-\x00p\x00p\x00_\x00i\x00c\x00o\x00n\x00s\
-\x00\x0f\
-\x0d5\x9fg\
-\x00A\
-\x00b\x00o\x00u\x00t\x00_\x00w\x00h\x00i\x00t\x00e\x00.\x00s\x00v\x00g\
-\x00\x13\
-\x0e\xa23\xc7\
-\x00C\
-\x00u\x00s\x00t\x00o\x00m\x00i\x00z\x00e\x00_\x00b\x00l\x00a\x00c\x00k\x00.\x00s\
-\x00v\x00g\
-\x00\x15\
-\x03\xe2\xc9\x87\
-\x00A\
-\x00p\x00p\x00l\x00i\x00c\x00a\x00t\x00i\x00o\x00n\x00_\x00b\x00l\x00a\x00c\x00k\
-\x00.\x00s\x00v\x00g\
-\x00\x15\
-\x04\xdc\xa0'\
-\x00A\
-\x00p\x00p\x00l\x00i\x00c\x00a\x00t\x00i\x00o\x00n\x00_\x00w\x00h\x00i\x00t\x00e\
-\x00.\x00s\x00v\x00g\
-\x00\x0f\
-\x0a\x0b\xf6\xc7\
-\x00A\
-\x00b\x00o\x00u\x00t\x00_\x00b\x00l\x00a\x00c\x00k\x00.\x00s\x00v\x00g\
-\x00\x11\
-\x06\xdd\x14\x07\
-\x00C\
-\x00o\x00n\x00n\x00e\x00c\x00t\x00_\x00w\x00h\x00i\x00t\x00e\x00.\x00s\x00v\x00g\
-\
-\x00\x13\
-\x09\x9cZg\
-\x00C\
-\x00u\x00s\x00t\x00o\x00m\x00i\x00z\x00e\x00_\x00w\x00h\x00i\x00t\x00e\x00.\x00s\
-\x00v\x00g\
-\x00\x12\
-\x0f\xfc.\x87\
-\x00C\
-\x00a\x00t\x00e\x00g\x00o\x00r\x00y\x00_\x00w\x00h\x00i\x00t\x00e\x00.\x00s\x00v\
-\x00g\
-\x00\x12\
-\x08\x8b\x15\xc7\
-\x00D\
-\x00o\x00w\x00n\x00l\x00o\x00a\x00d\x00_\x00w\x00h\x00i\x00t\x00e\x00.\x00s\x00v\
-\x00g\
-\x00\x12\
-\x08\xc2G'\
-\x00C\
-\x00a\x00t\x00e\x00g\x00o\x00r\x00y\x00_\x00b\x00l\x00a\x00c\x00k\x00.\x00s\x00v\
-\x00g\
-\x00\x11\
-\x01\xe3}\xa7\
-\x00C\
-\x00o\x00n\x00n\x00e\x00c\x00t\x00_\x00b\x00l\x00a\x00c\x00k\x00.\x00s\x00v\x00g\
-\
-\x00\x11\
-\x054\xb3'\
-\x00B\
-\x00r\x00o\x00w\x00s\x00e\x00r\x00_\x00b\x00l\x00a\x00c\x00k\x00.\x00s\x00v\x00g\
-\
-\x00\x11\
-\x02\x0a\xda\x87\
-\x00B\
-\x00r\x00o\x00w\x00s\x00e\x00r\x00_\x00w\x00h\x00i\x00t\x00e\x00.\x00s\x00v\x00g\
-\
-\x00\x12\
-\x0f\xb5|g\
-\x00D\
-\x00o\x00w\x00n\x00l\x00o\x00a\x00d\x00_\x00b\x00l\x00a\x00c\x00k\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\x0e\x00\x00\x00\x02\
-\x00\x00\x00\x00\x00\x00\x00\x00\
-\x00\x00\x01\xbe\x00\x00\x00\x00\x00\x01\x00\x00\x0e=\
-\x00\x00\x01\x9f#s\xf0\xa2\
-\x00\x00\x02\x0e\x00\x00\x00\x00\x00\x01\x00\x00\x13\xec\
-\x00\x00\x01\x9f#w*\xef\
-\x00\x00\x00h\x00\x00\x00\x00\x00\x01\x00\x00\x02\x9a\
-\x00\x00\x01\x9f#\x8d\xc9\x8c\
-\x00\x00\x00\x98\x00\x00\x00\x00\x00\x01\x00\x00\x03\x95\
-\x00\x00\x01\x9f#\x8d\xcc\xe4\
-\x00\x00\x01\xe6\x00\x00\x00\x00\x00\x01\x00\x00\x10\x18\
-\x00\x00\x01\x9f#w'v\
-\x00\x00\x00\xec\x00\x00\x00\x00\x00\x01\x00\x00\x05X\
-\x00\x00\x01\x9f#s\xfa\xaf\
-\x00\x00\x01j\x00\x00\x00\x00\x00\x01\x00\x00\x0a\xe3\
-\x00\x00\x01\x9f#\x8a\x93\xfb\
-\x00\x00\x01\x94\x00\x00\x00\x00\x00\x01\x00\x00\x0c_\
-\x00\x00\x01\x9f#w7\xf5\
-\x00\x00\x01\x14\x00\x00\x00\x00\x00\x01\x00\x00\x073\
-\x00\x00\x01\x9f#u7W\
-\x00\x00\x00\xc8\x00\x00\x00\x00\x00\x01\x00\x00\x04\x90\
-\x00\x00\x01\x9f#w\x1e\x10\
-\x00\x00\x00\x18\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
-\x00\x00\x01\x9f#w#\x88\
-\x00\x00\x00<\x00\x00\x00\x00\x00\x01\x00\x00\x00\xc8\
-\x00\x00\x01\x9f#u2\xe7\
-\x00\x00\x026\x00\x00\x00\x00\x00\x01\x00\x00\x17\xc0\
-\x00\x00\x01\x9f#\x8a\x8a\x02\
-\x00\x00\x01@\x00\x00\x00\x00\x00\x01\x00\x00\x09\x05\
-\x00\x00\x01\x9f#w>\xe5\
-"
-
-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()
diff --git a/app/view/components/setting_card_group.py b/app/view/components/setting_card_group.py
index 778265f2..1d04872d 100644
--- a/app/view/components/setting_card_group.py
+++ b/app/view/components/setting_card_group.py
@@ -7,7 +7,7 @@ from PySide6.QtCore import (
from PySide6.QtGui import QColor, QPainter
from PySide6.QtWidgets import QApplication, QHBoxLayout, QLabel, QSizePolicy, QVBoxLayout, QWidget
from qfluentwidgets import (
- CardWidget, FluentIcon, FluentIconBase, FluentStyleSheet, SettingCard,
+ CardWidget, FluentIcon, FluentStyleSheet, SettingCard,
StrongBodyLabel, TransparentToolButton, isDarkTheme,
)
from qfluentwidgets.components.settings.expand_setting_card import (
@@ -101,14 +101,12 @@ class CollapsibleSettingCard(QWidget):
if self.isExpand:
self.view.setMaximumHeight(QWIDGETSIZE_MAX)
- def setValue(self, value) -> None:
- pass
class CollapsibleSettingCardGroup(CardWidget):
orderChanged = Signal()
- def __init__(self, icon: FluentIconBase, title: str, key: str, parent=None):
+ def __init__(self, title: str, key: str, parent=None):
super().__init__(parent)
self.setObjectName(key)
diff --git a/app/view/components/setting_cards.py b/app/view/components/setting_cards.py
index 34014e3f..fbe90be0 100644
--- a/app/view/components/setting_cards.py
+++ b/app/view/components/setting_cards.py
@@ -300,7 +300,6 @@ class ProxySettingCard(CollapsibleSettingCard):
else:
self.compatBanner.hide()
-
def _buildProxyUrl(self) -> str:
protocol = self.protocolCombo.currentText()
ip = self.ipEdit.text()
diff --git a/app/view/icons.py b/app/view/icons.py
deleted file mode 100644
index f5229205..00000000
--- a/app/view/icons.py
+++ /dev/null
@@ -1,20 +0,0 @@
-from __future__ import annotations
-
-from enum import Enum
-
-from qfluentwidgets import FluentIconBase, Theme, getIconColor
-
-from app.assets.icons import icons_rc # noqa: F401
-
-
-class AppIcon(FluentIconBase, Enum):
- DOWNLOAD = "Download"
- CATEGORY = "Category"
- BROWSER = "Browser"
- CONNECT = "Connect"
- CUSTOMIZE = "Customize"
- APPLICATION = "Application"
- ABOUT = "About"
-
- def path(self, theme: Theme = Theme.AUTO) -> str:
- return f":/app_icons/{self.value}_{getIconColor(theme)}.svg"
diff --git a/app/view/pages/setting_page.py b/app/view/pages/setting_page.py
index 141d449a..f603c56d 100644
--- a/app/view/pages/setting_page.py
+++ b/app/view/pages/setting_page.py
@@ -20,7 +20,9 @@ from app.config.constants import (
FEEDBACK_URL, FIREFOX_ADDONS_URL, VERSION, YEAR,
)
from app.view.components.category_settings import CategoryRulesCard
-from app.view.components.setting_card_group import CollapsibleSettingCardGroup
+from app.view.components.setting_card_group import (
+ CollapsibleSettingCard, CollapsibleSettingCardGroup, QWIDGETSIZE_MAX,
+)
from app.view.components.setting_cards import (
ClientProfileSettingCard, DefaultHeadersSettingCard, LineEditSettingCard,
PercentSpinBoxSettingCard, ProxySettingCard, SpinBoxSettingCard,
@@ -36,14 +38,17 @@ class SettingPage(ScrollArea):
self.vBoxLayout = QVBoxLayout(self.container)
self.vBoxLayout.addStretch(1)
- from app.view.icons import AppIcon
- self.generalGroup = CollapsibleSettingCardGroup(AppIcon.DOWNLOAD, self.tr("综合下载设置"), "general", self.container)
- self.categoryGroup = CollapsibleSettingCardGroup(AppIcon.CATEGORY, self.tr("下载分类"), "category", self.container)
- self.browserGroup = CollapsibleSettingCardGroup(AppIcon.BROWSER, self.tr("浏览器扩展"), "browser", self.container)
- self.aria2RpcGroup = CollapsibleSettingCardGroup(AppIcon.CONNECT, self.tr("Aria2 RPC 兼容"), "aria2rpc", self.container)
- self.personalGroup = CollapsibleSettingCardGroup(AppIcon.CUSTOMIZE, self.tr("个性化"), "personalization", self.container)
- self.softwareGroup = CollapsibleSettingCardGroup(AppIcon.APPLICATION, self.tr("应用"), "software", self.container)
- self.aboutGroup = CollapsibleSettingCardGroup(AppIcon.ABOUT, self.tr("关于"), "about", self.container)
+ self.generalGroup = CollapsibleSettingCardGroup(self.tr("综合下载设置"), "general", self.container)
+ self.categoryGroup = CollapsibleSettingCardGroup(self.tr("下载分类"), "category", self.container)
+ self.browserGroup = CollapsibleSettingCardGroup(self.tr("浏览器扩展"), "browser", self.container)
+ self.aria2RpcGroup = CollapsibleSettingCardGroup(self.tr("Aria2 RPC 兼容"), "aria2rpc", self.container)
+ self.personalGroup = CollapsibleSettingCardGroup(self.tr("个性化"), "personalization", self.container)
+ self.softwareGroup = CollapsibleSettingCardGroup(self.tr("应用"), "software", self.container)
+ self.aboutGroup = CollapsibleSettingCardGroup(self.tr("关于"), "about", self.container)
+
+ from app.view.pages.task_page import EmptyStatusWidget
+ self.emptyStatusWidget = EmptyStatusWidget(FluentIcon.SEARCH_MIRROR, self.tr("未找到匹配的设置项"), self)
+ self.emptyStatusWidget.hide()
self._initWidget()
self._initCards()
@@ -505,6 +510,76 @@ class SettingPage(ScrollArea):
from app.platform.desktop import revealInFolder
revealInFolder(f"{APP_DATA_DIR}/GhostDownloader.log")
+ @property
+ def searchPlaceholder(self) -> str:
+ return self.tr("搜索设置")
+
+ def setSearchText(self, text: str) -> None:
+ text = text.strip().lower()
+ if not text:
+ self._clearSearchFilter()
+ return
+
+ hasMatch = False
+ for i in range(self.vBoxLayout.count()):
+ group = self.vBoxLayout.itemAt(i).widget()
+ if not isinstance(group, CollapsibleSettingCardGroup):
+ continue
+ groupHasMatch = False
+ for j in range(group.cardLayout.count()):
+ card = group.cardLayout.itemAt(j).widget()
+ if card is None:
+ continue
+ if self._cardMatchesSearch(card, text):
+ card.show()
+ groupHasMatch = True
+ else:
+ card.hide()
+ if groupHasMatch:
+ group.show()
+ group.cardContainer.setMaximumHeight(QWIDGETSIZE_MAX)
+ hasMatch = True
+ else:
+ group.hide()
+
+ self.emptyStatusWidget.setVisible(not hasMatch)
+ if not hasMatch:
+ self.emptyStatusWidget.adjustSize()
+ self._refreshEmptyWidgetGeometry()
+
+ def _cardMatchesSearch(self, widget, text: str) -> bool:
+ if isinstance(widget, CollapsibleSettingCard):
+ widget = widget.card
+ title = widget.titleLabel.text().lower()
+ content = widget.contentLabel.text().lower()
+ return text in title or text in content
+
+ def _clearSearchFilter(self) -> None:
+ for i in range(self.vBoxLayout.count()):
+ group = self.vBoxLayout.itemAt(i).widget()
+ if not isinstance(group, CollapsibleSettingCardGroup):
+ continue
+ group.show()
+ for j in range(group.cardLayout.count()):
+ card = group.cardLayout.itemAt(j).widget()
+ if card is not None:
+ card.show()
+ group.cardContainer.setMaximumHeight(
+ 0 if group._collapsed else QWIDGETSIZE_MAX
+ )
+ self.emptyStatusWidget.hide()
+
+ def _refreshEmptyWidgetGeometry(self) -> None:
+ self.emptyStatusWidget.move(
+ (self.width() - self.emptyStatusWidget.width()) // 2,
+ (self.height() - self.emptyStatusWidget.height()) // 2,
+ )
+
+ def resizeEvent(self, event) -> None:
+ super().resizeEvent(event)
+ if self.emptyStatusWidget.isVisible():
+ self._refreshEmptyWidgetGeometry()
+
def showEvent(self, event) -> None:
self._restoreOrder()
super().showEvent(event)
diff --git a/features/bili_pack/config.py b/features/bili_pack/config.py
index 45c26c14..fb3960cb 100644
--- a/features/bili_pack/config.py
+++ b/features/bili_pack/config.py
@@ -253,8 +253,7 @@ class BilibiliConfig(PackConfig):
from qfluentwidgets import ComboBoxSettingCard, FluentIcon, SwitchSettingCard
from app.view.components.setting_card_group import CollapsibleSettingCardGroup
- from features.bili_pack.icons import BiliIcon
- biliGroup = CollapsibleSettingCardGroup(BiliIcon.BILIBILI, self.tr("Bilibili 下载"), "bilibili", parent)
+ biliGroup = CollapsibleSettingCardGroup(self.tr("Bilibili 下载"), "bilibili", parent)
loginCard = BilibiliLoginSettingCard(biliGroup)
biliGroup.addSettingCards([
loginCard,
diff --git a/features/bili_pack/icons/Bilibili_black.svg b/features/bili_pack/icons/Bilibili_black.svg
deleted file mode 100644
index f7dc70cf..00000000
--- a/features/bili_pack/icons/Bilibili_black.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
- <path fill="black" d="M19.5 3.5h-2.38l.94-.94a1.49 1.49 0 0 0 0-2.12a1.51 1.51 0 0 0-2.12 0L12.88 3.5h-1.76L8.06.44a1.51 1.51 0 0 0-2.12 0a1.49 1.49 0 0 0 0 2.12l.94.94H4.5A4.51 4.51 0 0 0 0 8v10a4.51 4.51 0 0 0 4.5 4.5H5a1.75 1.75 0 0 0 3.46 0h7a1.75 1.75 0 0 0 3.46 0h.52A4.51 4.51 0 0 0 24 18V8a4.51 4.51 0 0 0-4.5-4.5M21 18a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 18V8a1.5 1.5 0 0 1 1.5-1.5h15A1.5 1.5 0 0 1 21 8Z" />
- <path fill="black" d="M15 15.1a.73.73 0 0 0-.87.57a.54.54 0 0 1-.34.08c-.65 0-1-1-1-1a.76.76 0 0 0-.71-.49a.76.76 0 0 0-.7.49s-.4 1-1.05 1c-.23 0-.32-.06-.32 0a.75.75 0 0 0-1.55.25a1.69 1.69 0 0 0 1.79 1.24a2.35 2.35 0 0 0 1.75-.82a2.35 2.35 0 0 0 1.75.83A1.69 1.69 0 0 0 15.54 16a.77.77 0 0 0-.54-.9m-5.24-4.45a.74.74 0 0 0-.88-.58l-3.94.8a.75.75 0 0 0-.59.89a.77.77 0 0 0 .74.6h.15l3.94-.8a.76.76 0 0 0 .58-.91m9.3.22l-3.94-.8a.74.74 0 0 0-.88.58a.76.76 0 0 0 .58.89l3.94.8h.15a.77.77 0 0 0 .74-.6a.75.75 0 0 0-.59-.87" />
-</svg>
diff --git a/features/bili_pack/icons/Bilibili_white.svg b/features/bili_pack/icons/Bilibili_white.svg
deleted file mode 100644
index b66eba22..00000000
--- a/features/bili_pack/icons/Bilibili_white.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
- <path fill="white" d="M19.5 3.5h-2.38l.94-.94a1.49 1.49 0 0 0 0-2.12a1.51 1.51 0 0 0-2.12 0L12.88 3.5h-1.76L8.06.44a1.51 1.51 0 0 0-2.12 0a1.49 1.49 0 0 0 0 2.12l.94.94H4.5A4.51 4.51 0 0 0 0 8v10a4.51 4.51 0 0 0 4.5 4.5H5a1.75 1.75 0 0 0 3.46 0h7a1.75 1.75 0 0 0 3.46 0h.52A4.51 4.51 0 0 0 24 18V8a4.51 4.51 0 0 0-4.5-4.5M21 18a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 18V8a1.5 1.5 0 0 1 1.5-1.5h15A1.5 1.5 0 0 1 21 8Z" />
- <path fill="white" d="M15 15.1a.73.73 0 0 0-.87.57a.54.54 0 0 1-.34.08c-.65 0-1-1-1-1a.76.76 0 0 0-.71-.49a.76.76 0 0 0-.7.49s-.4 1-1.05 1c-.23 0-.32-.06-.32 0a.75.75 0 0 0-1.55.25a1.69 1.69 0 0 0 1.79 1.24a2.35 2.35 0 0 0 1.75-.82a2.35 2.35 0 0 0 1.75.83A1.69 1.69 0 0 0 15.54 16a.77.77 0 0 0-.54-.9m-5.24-4.45a.74.74 0 0 0-.88-.58l-3.94.8a.75.75 0 0 0-.59.89a.77.77 0 0 0 .74.6h.15l3.94-.8a.76.76 0 0 0 .58-.91m9.3.22l-3.94-.8a.74.74 0 0 0-.88.58a.76.76 0 0 0 .58.89l3.94.8h.15a.77.77 0 0 0 .74-.6a.75.75 0 0 0-.59-.87" />
-</svg>
diff --git a/features/bili_pack/icons/__init__.py b/features/bili_pack/icons/__init__.py
deleted file mode 100644
index 99f27fc1..00000000
--- a/features/bili_pack/icons/__init__.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from __future__ import annotations
-
-from enum import Enum
-
-from qfluentwidgets import FluentIconBase, Theme, getIconColor
-
-from . import icons_rc # noqa: F401
-
-
-class BiliIcon(FluentIconBase, Enum):
- BILIBILI = "Bilibili"
-
- def path(self, theme: Theme = Theme.AUTO) -> str:
- return f":/bili_pack/{self.value}_{getIconColor(theme)}.svg"
diff --git a/features/bili_pack/icons/icons.qrc b/features/bili_pack/icons/icons.qrc
deleted file mode 100644
index 8de1d6ee..00000000
--- a/features/bili_pack/icons/icons.qrc
+++ /dev/null
@@ -1,6 +0,0 @@
-<RCC>
- <qresource prefix="bili_pack">
- <file>Bilibili_black.svg</file>
- <file>Bilibili_white.svg</file>
- </qresource>
-</RCC>
diff --git a/features/bili_pack/icons/icons_rc.py b/features/bili_pack/icons/icons_rc.py
deleted file mode 100644
index 21bc051c..00000000
--- a/features/bili_pack/icons/icons_rc.py
+++ /dev/null
@@ -1,177 +0,0 @@
-# Resource object code (Python 3)
-# Created by: object code
-# Created by: The Resource Compiler for Qt version 6.10.2
-# WARNING! All changes made in this file will be lost!
-
-from PySide6 import QtCore
-
-qt_resource_data = b"\
-\x00\x00\x03\xfb\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0 0 24 24\x22>\x0a\x09<pa\
-th fill=\x22black\x22 \
-d=\x22M19.5 3.5h-2.\
-38l.94-.94a1.49 \
-1.49 0 0 0 0-2.1\
-2a1.51 1.51 0 0 \
-0-2.12 0L12.88 3\
-.5h-1.76L8.06.44\
-a1.51 1.51 0 0 0\
--2.12 0a1.49 1.4\
-9 0 0 0 0 2.12l.\
-94.94H4.5A4.51 4\
-.51 0 0 0 0 8v10\
-a4.51 4.51 0 0 0\
- 4.5 4.5H5a1.75 \
-1.75 0 0 0 3.46 \
-0h7a1.75 1.75 0 \
-0 0 3.46 0h.52A4\
-.51 4.51 0 0 0 2\
-4 18V8a4.51 4.51\
- 0 0 0-4.5-4.5M2\
-1 18a1.5 1.5 0 0\
- 1-1.5 1.5h-15A1\
-.5 1.5 0 0 1 3 1\
-8V8a1.5 1.5 0 0 \
-1 1.5-1.5h15A1.5\
- 1.5 0 0 1 21 8Z\
-\x22 />\x0a\x09<path fill\
-=\x22black\x22 d=\x22M15 \
-15.1a.73.73 0 0 \
-0-.87.57a.54.54 \
-0 0 1-.34.08c-.6\
-5 0-1-1-1-1a.76.\
-76 0 0 0-.71-.49\
-a.76.76 0 0 0-.7\
-.49s-.4 1-1.05 1\
-c-.23 0-.32-.06-\
-.32 0a.75.75 0 0\
- 0-1.55.25a1.69 \
-1.69 0 0 0 1.79 \
-1.24a2.35 2.35 0\
- 0 0 1.75-.82a2.\
-35 2.35 0 0 0 1.\
-75.83A1.69 1.69 \
-0 0 0 15.54 16a.\
-77.77 0 0 0-.54-\
-.9m-5.24-4.45a.7\
-4.74 0 0 0-.88-.\
-58l-3.94.8a.75.7\
-5 0 0 0-.59.89a.\
-77.77 0 0 0 .74.\
-6h.15l3.94-.8a.7\
-6.76 0 0 0 .58-.\
-91m9.3.22l-3.94-\
-.8a.74.74 0 0 0-\
-.88.58a.76.76 0 \
-0 0 .58.89l3.94.\
-8h.15a.77.77 0 0\
- 0 .74-.6a.75.75\
- 0 0 0-.59-.87\x22 \
-/>\x0a</svg>\x0a\
-\x00\x00\x03\xfb\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0 0 24 24\x22>\x0a\x09<pa\
-th fill=\x22white\x22 \
-d=\x22M19.5 3.5h-2.\
-38l.94-.94a1.49 \
-1.49 0 0 0 0-2.1\
-2a1.51 1.51 0 0 \
-0-2.12 0L12.88 3\
-.5h-1.76L8.06.44\
-a1.51 1.51 0 0 0\
--2.12 0a1.49 1.4\
-9 0 0 0 0 2.12l.\
-94.94H4.5A4.51 4\
-.51 0 0 0 0 8v10\
-a4.51 4.51 0 0 0\
- 4.5 4.5H5a1.75 \
-1.75 0 0 0 3.46 \
-0h7a1.75 1.75 0 \
-0 0 3.46 0h.52A4\
-.51 4.51 0 0 0 2\
-4 18V8a4.51 4.51\
- 0 0 0-4.5-4.5M2\
-1 18a1.5 1.5 0 0\
- 1-1.5 1.5h-15A1\
-.5 1.5 0 0 1 3 1\
-8V8a1.5 1.5 0 0 \
-1 1.5-1.5h15A1.5\
- 1.5 0 0 1 21 8Z\
-\x22 />\x0a\x09<path fill\
-=\x22white\x22 d=\x22M15 \
-15.1a.73.73 0 0 \
-0-.87.57a.54.54 \
-0 0 1-.34.08c-.6\
-5 0-1-1-1-1a.76.\
-76 0 0 0-.71-.49\
-a.76.76 0 0 0-.7\
-.49s-.4 1-1.05 1\
-c-.23 0-.32-.06-\
-.32 0a.75.75 0 0\
- 0-1.55.25a1.69 \
-1.69 0 0 0 1.79 \
-1.24a2.35 2.35 0\
- 0 0 1.75-.82a2.\
-35 2.35 0 0 0 1.\
-75.83A1.69 1.69 \
-0 0 0 15.54 16a.\
-77.77 0 0 0-.54-\
-.9m-5.24-4.45a.7\
-4.74 0 0 0-.88-.\
-58l-3.94.8a.75.7\
-5 0 0 0-.59.89a.\
-77.77 0 0 0 .74.\
-6h.15l3.94-.8a.7\
-6.76 0 0 0 .58-.\
-91m9.3.22l-3.94-\
-.8a.74.74 0 0 0-\
-.88.58a.76.76 0 \
-0 0 .58.89l3.94.\
-8h.15a.77.77 0 0\
- 0 .74-.6a.75.75\
- 0 0 0-.59-.87\x22 \
-/>\x0a</svg>\x0a\
-"
-
-qt_resource_name = b"\
-\x00\x09\
-\x02\xf6\xb5\x9b\
-\x00b\
-\x00i\x00l\x00i\x00_\x00p\x00a\x00c\x00k\
-\x00\x12\
-\x05\x84V\xa7\
-\x00B\
-\x00i\x00l\x00i\x00b\x00i\x00l\x00i\x00_\x00b\x00l\x00a\x00c\x00k\x00.\x00s\x00v\
-\x00g\
-\x00\x12\
-\x02\xba?\x07\
-\x00B\
-\x00i\x00l\x00i\x00b\x00i\x00l\x00i\x00_\x00w\x00h\x00i\x00t\x00e\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\x02\x00\x00\x00\x02\
-\x00\x00\x00\x00\x00\x00\x00\x00\
-\x00\x00\x00B\x00\x00\x00\x00\x00\x01\x00\x00\x03\xff\
-\x00\x00\x01\x9f#[\xcf\x8c\
-\x00\x00\x00\x18\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
-\x00\x00\x01\x9f#[\xb5\xcf\
-"
-
-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()
diff --git a/features/bittorrent_pack/config.py b/features/bittorrent_pack/config.py
index 15c046df..146f2efa 100644
--- a/features/bittorrent_pack/config.py
+++ b/features/bittorrent_pack/config.py
@@ -59,8 +59,7 @@ class BitTorrentConfig(PackConfig):
from app.view.components.setting_cards import SpinBoxSettingCard
from .web_tracker.card import WebTrackerCard
- from features.bittorrent_pack.icons import BTIcon
- btGroup = CollapsibleSettingCardGroup(BTIcon.BITTORRENT, self.tr("BitTorrent 下载"), "bittorrent", parent)
+ btGroup = CollapsibleSettingCardGroup(self.tr("BitTorrent 下载"), "bittorrent", parent)
cards = []
if sys.platform != "darwin":
diff --git a/features/bittorrent_pack/icons/BitTorrent_black.svg b/features/bittorrent_pack/icons/BitTorrent_black.svg
deleted file mode 100644
index 6365a263..00000000
--- a/features/bittorrent_pack/icons/BitTorrent_black.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
- <path fill="black" d="M12 .001C5.374.001.001 5.371 0 11.998a12 12 0 0 0 1.7 6.16a.13.13 0 0 0 .113.038c.03 0 .048-.07.048-.11a1 1 0 0 0-.033-.13a22 22 0 0 1-.423-2.294a9.8 9.8 0 0 1 .428-3.866c1.101-3.396 3.333-5.7 6.664-6.938a10.3 10.3 0 0 1 3.398-.595a.78.78 0 0 1 .856.763c0 .45-.343.737-.85.766a13 13 0 0 0-1.607.165a8.7 8.7 0 0 0-4.864 2.64c-2.083 2.22-2.88 4.86-2.4 7.857a8.7 8.7 0 0 0 2.445 4.785a8.94 8.94 0 0 0 6.37 2.76H12a11.95 11.95 0 0 0 5.613-1.392H12.02a8.4 8.4 0 0 1-1.408-.13a7.71 7.71 0 0 1-6.24-8.824a7.72 7.72 0 0 1 7.034-6.479a7.6 7.6 0 0 1 2.16.137a.75.75 0 0 1 .617.876a.785.785 0 0 1-.96.602a6 6 0 0 0-.802-.115a6.3 6.3 0 0 0-2.899.504a6.2 6.2 0 0 0-3.705 6.383a6.22 6.22 0 0 0 6.163 5.52h6.99c.68 0 .84.014 1.138-.24q.574-.53 1.077-1.126h-9.33A4.35 4.35 0 0 1 9.78 19.2a4.847 4.847 0 1 1 4.619-8.514a.75.75 0 0 1 .317 1.044a.766.766 0 0 1-1.066.271a3.333 3.333 0 0 0-4.547 1.243a3.33 3.33 0 0 0-.396 2.179a3.29 3.29 0 0 0 3.275 2.803c3.36.034 6.72 0 10.08 0a.42.42 0 0 0 .28-.144c3.358-5.713 1.45-13.066-4.263-16.425A12 12 0 0 0 12 .001" />
-</svg>
diff --git a/features/bittorrent_pack/icons/BitTorrent_white.svg b/features/bittorrent_pack/icons/BitTorrent_white.svg
deleted file mode 100644
index 7436834c..00000000
--- a/features/bittorrent_pack/icons/BitTorrent_white.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
- <path fill="white" d="M12 .001C5.374.001.001 5.371 0 11.998a12 12 0 0 0 1.7 6.16a.13.13 0 0 0 .113.038c.03 0 .048-.07.048-.11a1 1 0 0 0-.033-.13a22 22 0 0 1-.423-2.294a9.8 9.8 0 0 1 .428-3.866c1.101-3.396 3.333-5.7 6.664-6.938a10.3 10.3 0 0 1 3.398-.595a.78.78 0 0 1 .856.763c0 .45-.343.737-.85.766a13 13 0 0 0-1.607.165a8.7 8.7 0 0 0-4.864 2.64c-2.083 2.22-2.88 4.86-2.4 7.857a8.7 8.7 0 0 0 2.445 4.785a8.94 8.94 0 0 0 6.37 2.76H12a11.95 11.95 0 0 0 5.613-1.392H12.02a8.4 8.4 0 0 1-1.408-.13a7.71 7.71 0 0 1-6.24-8.824a7.72 7.72 0 0 1 7.034-6.479a7.6 7.6 0 0 1 2.16.137a.75.75 0 0 1 .617.876a.785.785 0 0 1-.96.602a6 6 0 0 0-.802-.115a6.3 6.3 0 0 0-2.899.504a6.2 6.2 0 0 0-3.705 6.383a6.22 6.22 0 0 0 6.163 5.52h6.99c.68 0 .84.014 1.138-.24q.574-.53 1.077-1.126h-9.33A4.35 4.35 0 0 1 9.78 19.2a4.847 4.847 0 1 1 4.619-8.514a.75.75 0 0 1 .317 1.044a.766.766 0 0 1-1.066.271a3.333 3.333 0 0 0-4.547 1.243a3.33 3.33 0 0 0-.396 2.179a3.29 3.29 0 0 0 3.275 2.803c3.36.034 6.72 0 10.08 0a.42.42 0 0 0 .28-.144c3.358-5.713 1.45-13.066-4.263-16.425A12 12 0 0 0 12 .001" />
-</svg>
diff --git a/features/bittorrent_pack/icons/__init__.py b/features/bittorrent_pack/icons/__init__.py
deleted file mode 100644
index 494fa0f9..00000000
--- a/features/bittorrent_pack/icons/__init__.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from __future__ import annotations
-
-from enum import Enum
-
-from qfluentwidgets import FluentIconBase, Theme, getIconColor
-
-from . import icons_rc # noqa: F401
-
-
-class BTIcon(FluentIconBase, Enum):
- BITTORRENT = "BitTorrent"
-
- def path(self, theme: Theme = Theme.AUTO) -> str:
- return f":/bittorrent_pack/{self.value}_{getIconColor(theme)}.svg"
diff --git a/features/bittorrent_pack/icons/icons.qrc b/features/bittorrent_pack/icons/icons.qrc
deleted file mode 100644
index 42eb84de..00000000
--- a/features/bittorrent_pack/icons/icons.qrc
+++ /dev/null
@@ -1,6 +0,0 @@
-<RCC>
- <qresource prefix="bittorrent_pack">
- <file>BitTorrent_black.svg</file>
- <file>BitTorrent_white.svg</file>
- </qresource>
-</RCC>
diff --git a/features/bittorrent_pack/icons/icons_rc.py b/features/bittorrent_pack/icons/icons_rc.py
deleted file mode 100644
index 0aab557a..00000000
--- a/features/bittorrent_pack/icons/icons_rc.py
+++ /dev/null
@@ -1,191 +0,0 @@
-# Resource object code (Python 3)
-# Created by: object code
-# Created by: The Resource Compiler for Qt version 6.10.2
-# WARNING! All changes made in this file will be lost!
-
-from PySide6 import QtCore
-
-qt_resource_data = b"\
-\x00\x00\x04o\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0 0 24 24\x22>\x0a\x09<pa\
-th fill=\x22black\x22 \
-d=\x22M12 .001C5.37\
-4.001.001 5.371 \
-0 11.998a12 12 0\
- 0 0 1.7 6.16a.1\
-3.13 0 0 0 .113.\
-038c.03 0 .048-.\
-07.048-.11a1 1 0\
- 0 0-.033-.13a22\
- 22 0 0 1-.423-2\
-.294a9.8 9.8 0 0\
- 1 .428-3.866c1.\
-101-3.396 3.333-\
-5.7 6.664-6.938a\
-10.3 10.3 0 0 1 \
-3.398-.595a.78.7\
-8 0 0 1 .856.763\
-c0 .45-.343.737-\
-.85.766a13 13 0 \
-0 0-1.607.165a8.\
-7 8.7 0 0 0-4.86\
-4 2.64c-2.083 2.\
-22-2.88 4.86-2.4\
- 7.857a8.7 8.7 0\
- 0 0 2.445 4.785\
-a8.94 8.94 0 0 0\
- 6.37 2.76H12a11\
-.95 11.95 0 0 0 \
-5.613-1.392H12.0\
-2a8.4 8.4 0 0 1-\
-1.408-.13a7.71 7\
-.71 0 0 1-6.24-8\
-.824a7.72 7.72 0\
- 0 1 7.034-6.479\
-a7.6 7.6 0 0 1 2\
-.16.137a.75.75 0\
- 0 1 .617.876a.7\
-85.785 0 0 1-.96\
-.602a6 6 0 0 0-.\
-802-.115a6.3 6.3\
- 0 0 0-2.899.504\
-a6.2 6.2 0 0 0-3\
-.705 6.383a6.22 \
-6.22 0 0 0 6.163\
- 5.52h6.99c.68 0\
- .84.014 1.138-.\
-24q.574-.53 1.07\
-7-1.126h-9.33A4.\
-35 4.35 0 0 1 9.\
-78 19.2a4.847 4.\
-847 0 1 1 4.619-\
-8.514a.75.75 0 0\
- 1 .317 1.044a.7\
-66.766 0 0 1-1.0\
-66.271a3.333 3.3\
-33 0 0 0-4.547 1\
-.243a3.33 3.33 0\
- 0 0-.396 2.179a\
-3.29 3.29 0 0 0 \
-3.275 2.803c3.36\
-.034 6.72 0 10.0\
-8 0a.42.42 0 0 0\
- .28-.144c3.358-\
-5.713 1.45-13.06\
-6-4.263-16.425A1\
-2 12 0 0 0 12 .0\
-01\x22 />\x0a</svg>\x0a\
-\x00\x00\x04o\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0 0 24 24\x22>\x0a\x09<pa\
-th fill=\x22white\x22 \
-d=\x22M12 .001C5.37\
-4.001.001 5.371 \
-0 11.998a12 12 0\
- 0 0 1.7 6.16a.1\
-3.13 0 0 0 .113.\
-038c.03 0 .048-.\
-07.048-.11a1 1 0\
- 0 0-.033-.13a22\
- 22 0 0 1-.423-2\
-.294a9.8 9.8 0 0\
- 1 .428-3.866c1.\
-101-3.396 3.333-\
-5.7 6.664-6.938a\
-10.3 10.3 0 0 1 \
-3.398-.595a.78.7\
-8 0 0 1 .856.763\
-c0 .45-.343.737-\
-.85.766a13 13 0 \
-0 0-1.607.165a8.\
-7 8.7 0 0 0-4.86\
-4 2.64c-2.083 2.\
-22-2.88 4.86-2.4\
- 7.857a8.7 8.7 0\
- 0 0 2.445 4.785\
-a8.94 8.94 0 0 0\
- 6.37 2.76H12a11\
-.95 11.95 0 0 0 \
-5.613-1.392H12.0\
-2a8.4 8.4 0 0 1-\
-1.408-.13a7.71 7\
-.71 0 0 1-6.24-8\
-.824a7.72 7.72 0\
- 0 1 7.034-6.479\
-a7.6 7.6 0 0 1 2\
-.16.137a.75.75 0\
- 0 1 .617.876a.7\
-85.785 0 0 1-.96\
-.602a6 6 0 0 0-.\
-802-.115a6.3 6.3\
- 0 0 0-2.899.504\
-a6.2 6.2 0 0 0-3\
-.705 6.383a6.22 \
-6.22 0 0 0 6.163\
- 5.52h6.99c.68 0\
- .84.014 1.138-.\
-24q.574-.53 1.07\
-7-1.126h-9.33A4.\
-35 4.35 0 0 1 9.\
-78 19.2a4.847 4.\
-847 0 1 1 4.619-\
-8.514a.75.75 0 0\
- 1 .317 1.044a.7\
-66.766 0 0 1-1.0\
-66.271a3.333 3.3\
-33 0 0 0-4.547 1\
-.243a3.33 3.33 0\
- 0 0-.396 2.179a\
-3.29 3.29 0 0 0 \
-3.275 2.803c3.36\
-.034 6.72 0 10.0\
-8 0a.42.42 0 0 0\
- .28-.144c3.358-\
-5.713 1.45-13.06\
-6-4.263-16.425A1\
-2 12 0 0 0 12 .0\
-01\x22 />\x0a</svg>\x0a\
-"
-
-qt_resource_name = b"\
-\x00\x0f\
-\x03\x0a\xf2;\
-\x00b\
-\x00i\x00t\x00t\x00o\x00r\x00r\x00e\x00n\x00t\x00_\x00p\x00a\x00c\x00k\
-\x00\x14\
-\x0d\x7fj'\
-\x00B\
-\x00i\x00t\x00T\x00o\x00r\x00r\x00e\x00n\x00t\x00_\x00b\x00l\x00a\x00c\x00k\x00.\
-\x00s\x00v\x00g\
-\x00\x14\
-\x0aI\x03\x87\
-\x00B\
-\x00i\x00t\x00T\x00o\x00r\x00r\x00e\x00n\x00t\x00_\x00w\x00h\x00i\x00t\x00e\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\x02\x00\x00\x00\x02\
-\x00\x00\x00\x00\x00\x00\x00\x00\
-\x00\x00\x00R\x00\x00\x00\x00\x00\x01\x00\x00\x04s\
-\x00\x00\x01\x9f#b\xccH\
-\x00\x00\x00$\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
-\x00\x00\x01\x9f#b\xb5\xa4\
-"
-
-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()
diff --git a/features/ed2k_pack/config.py b/features/ed2k_pack/config.py
index e5524bc8..674800b4 100644
--- a/features/ed2k_pack/config.py
+++ b/features/ed2k_pack/config.py
@@ -27,8 +27,7 @@ class ED2kConfig(PackConfig):
from app.view.components.setting_card_group import CollapsibleSettingCardGroup
from app.view.components.setting_cards import SelectFolderSettingCard, RuntimeCard, SpinBoxSettingCard
- from features.ed2k_pack.icons import ED2kIcon
- group = CollapsibleSettingCardGroup(ED2kIcon.P2P, self.tr("eD2k 下载"), "ed2k", parent)
+ group = CollapsibleSettingCardGroup(self.tr("eD2k 下载"), "ed2k", parent)
installFolderCard = SelectFolderSettingCard(
ed2kConfig.installFolder, f"{APP_DATA_DIR}/goed2kd",
self.tr("goed2kd 安装目录"),
diff --git a/features/ed2k_pack/icons/P2P_black.svg b/features/ed2k_pack/icons/P2P_black.svg
deleted file mode 100644
index e31933f6..00000000
--- a/features/ed2k_pack/icons/P2P_black.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
- <path fill="black" d="M3 20q-.825 0-1.412-.587T1 18V4q0-.825.588-1.412T3 2h6q.825 0 1.413.588T11 4v5H8q-1.25 0-2.125.875T5 12t.875 2.125T8 15h3v3q0 .825-.587 1.413T9 20zM6.538 6.288q.212-.213.212-.538t-.213-.537T6 5t-.537.213t-.213.537t.213.538T6 6.5t.538-.213m.75 6.426Q7 12.425 7 12t.288-.712T8 11t.713.288T9 12t-.288.713T8 13t-.712-.288m4 0Q11 12.426 11 12t.288-.712T12 11t.713.288T13 12t-.288.713T12 13t-.712-.288M15 22q-.825 0-1.412-.587T13 20v-5h3q1.25 0 2.125-.875T19 12t-.875-2.125T16 9h-3V6q0-.825.588-1.412T15 4h6q.825 0 1.413.588T23 6v14q0 .825-.587 1.413T21 22zm.288-9.287Q15 12.425 15 12t.288-.712T16 11t.713.288T17 12t-.288.713T16 13t-.712-.288m3.25-4.424q.212-.213.212-.538t-.213-.537T18 7t-.537.213t-.213.537t.213.538T18 8.5t.538-.213" />
-</svg>
diff --git a/features/ed2k_pack/icons/P2P_white.svg b/features/ed2k_pack/icons/P2P_white.svg
deleted file mode 100644
index 6e5bdd53..00000000
--- a/features/ed2k_pack/icons/P2P_white.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
- <path fill="white" d="M3 20q-.825 0-1.412-.587T1 18V4q0-.825.588-1.412T3 2h6q.825 0 1.413.588T11 4v5H8q-1.25 0-2.125.875T5 12t.875 2.125T8 15h3v3q0 .825-.587 1.413T9 20zM6.538 6.288q.212-.213.212-.538t-.213-.537T6 5t-.537.213t-.213.537t.213.538T6 6.5t.538-.213m.75 6.426Q7 12.425 7 12t.288-.712T8 11t.713.288T9 12t-.288.713T8 13t-.712-.288m4 0Q11 12.426 11 12t.288-.712T12 11t.713.288T13 12t-.288.713T12 13t-.712-.288M15 22q-.825 0-1.412-.587T13 20v-5h3q1.25 0 2.125-.875T19 12t-.875-2.125T16 9h-3V6q0-.825.588-1.412T15 4h6q.825 0 1.413.588T23 6v14q0 .825-.587 1.413T21 22zm.288-9.287Q15 12.425 15 12t.288-.712T16 11t.713.288T17 12t-.288.713T16 13t-.712-.288m3.25-4.424q.212-.213.212-.538t-.213-.537T18 7t-.537.213t-.213.537t.213.538T18 8.5t.538-.213" />
-</svg>
diff --git a/features/ed2k_pack/icons/__init__.py b/features/ed2k_pack/icons/__init__.py
deleted file mode 100644
index d44354de..00000000
--- a/features/ed2k_pack/icons/__init__.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from __future__ import annotations
-
-from enum import Enum
-
-from qfluentwidgets import FluentIconBase, Theme, getIconColor
-
-from . import icons_rc # noqa: F401
-
-
-class ED2kIcon(FluentIconBase, Enum):
- P2P = "P2P"
-
- def path(self, theme: Theme = Theme.AUTO) -> str:
- return f":/ed2k_pack/{self.value}_{getIconColor(theme)}.svg"
diff --git a/features/ed2k_pack/icons/icons.qrc b/features/ed2k_pack/icons/icons.qrc
deleted file mode 100644
index bb93efe5..00000000
--- a/features/ed2k_pack/icons/icons.qrc
+++ /dev/null
@@ -1,6 +0,0 @@
-<RCC>
- <qresource prefix="ed2k_pack">
- <file>P2P_black.svg</file>
- <file>P2P_white.svg</file>
- </qresource>
-</RCC>
diff --git a/features/ed2k_pack/icons/icons_rc.py b/features/ed2k_pack/icons/icons_rc.py
deleted file mode 100644
index da942b48..00000000
--- a/features/ed2k_pack/icons/icons_rc.py
+++ /dev/null
@@ -1,151 +0,0 @@
-# Resource object code (Python 3)
-# Created by: object code
-# Created by: The Resource Compiler for Qt version 6.10.2
-# WARNING! All changes made in this file will be lost!
-
-from PySide6 import QtCore
-
-qt_resource_data = b"\
-\x00\x00\x038\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0 0 24 24\x22>\x0a\x09<pa\
-th fill=\x22black\x22 \
-d=\x22M3 20q-.825 0\
--1.412-.587T1 18\
-V4q0-.825.588-1.\
-412T3 2h6q.825 0\
- 1.413.588T11 4v\
-5H8q-1.25 0-2.12\
-5.875T5 12t.875 \
-2.125T8 15h3v3q0\
- .825-.587 1.413\
-T9 20zM6.538 6.2\
-88q.212-.213.212\
--.538t-.213-.537\
-T6 5t-.537.213t-\
-.213.537t.213.53\
-8T6 6.5t.538-.21\
-3m.75 6.426Q7 12\
-.425 7 12t.288-.\
-712T8 11t.713.28\
-8T9 12t-.288.713\
-T8 13t-.712-.288\
-m4 0Q11 12.426 1\
-1 12t.288-.712T1\
-2 11t.713.288T13\
- 12t-.288.713T12\
- 13t-.712-.288M1\
-5 22q-.825 0-1.4\
-12-.587T13 20v-5\
-h3q1.25 0 2.125-\
-.875T19 12t-.875\
--2.125T16 9h-3V6\
-q0-.825.588-1.41\
-2T15 4h6q.825 0 \
-1.413.588T23 6v1\
-4q0 .825-.587 1.\
-413T21 22zm.288-\
-9.287Q15 12.425 \
-15 12t.288-.712T\
-16 11t.713.288T1\
-7 12t-.288.713T1\
-6 13t-.712-.288m\
-3.25-4.424q.212-\
-.213.212-.538t-.\
-213-.537T18 7t-.\
-537.213t-.213.53\
-7t.213.538T18 8.\
-5t.538-.213\x22 />\x0a\
-</svg>\x0a\
-\x00\x00\x038\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0 0 24 24\x22>\x0a\x09<pa\
-th fill=\x22white\x22 \
-d=\x22M3 20q-.825 0\
--1.412-.587T1 18\
-V4q0-.825.588-1.\
-412T3 2h6q.825 0\
- 1.413.588T11 4v\
-5H8q-1.25 0-2.12\
-5.875T5 12t.875 \
-2.125T8 15h3v3q0\
- .825-.587 1.413\
-T9 20zM6.538 6.2\
-88q.212-.213.212\
--.538t-.213-.537\
-T6 5t-.537.213t-\
-.213.537t.213.53\
-8T6 6.5t.538-.21\
-3m.75 6.426Q7 12\
-.425 7 12t.288-.\
-712T8 11t.713.28\
-8T9 12t-.288.713\
-T8 13t-.712-.288\
-m4 0Q11 12.426 1\
-1 12t.288-.712T1\
-2 11t.713.288T13\
- 12t-.288.713T12\
- 13t-.712-.288M1\
-5 22q-.825 0-1.4\
-12-.587T13 20v-5\
-h3q1.25 0 2.125-\
-.875T19 12t-.875\
--2.125T16 9h-3V6\
-q0-.825.588-1.41\
-2T15 4h6q.825 0 \
-1.413.588T23 6v1\
-4q0 .825-.587 1.\
-413T21 22zm.288-\
-9.287Q15 12.425 \
-15 12t.288-.712T\
-16 11t.713.288T1\
-7 12t-.288.713T1\
-6 13t-.712-.288m\
-3.25-4.424q.212-\
-.213.212-.538t-.\
-213-.537T18 7t-.\
-537.213t-.213.53\
-7t.213.538T18 8.\
-5t.538-.213\x22 />\x0a\
-</svg>\x0a\
-"
-
-qt_resource_name = b"\
-\x00\x09\
-\x09\x16\xb1{\
-\x00e\
-\x00d\x002\x00k\x00_\x00p\x00a\x00c\x00k\
-\x00\x0d\
-\x01r\xe9\xc7\
-\x00P\
-\x002\x00P\x00_\x00b\x00l\x00a\x00c\x00k\x00.\x00s\x00v\x00g\
-\x00\x0d\
-\x06L\x80g\
-\x00P\
-\x002\x00P\x00_\x00w\x00h\x00i\x00t\x00e\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\x02\x00\x00\x00\x02\
-\x00\x00\x00\x00\x00\x00\x00\x00\
-\x00\x00\x00\x18\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
-\x00\x00\x01\x9f#c^H\
-\x00\x00\x008\x00\x00\x00\x00\x00\x01\x00\x00\x03<\
-\x00\x00\x01\x9f#cav\
-"
-
-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()
diff --git a/features/ffmpeg_pack/config.py b/features/ffmpeg_pack/config.py
index 4d203be3..9508e18d 100644
--- a/features/ffmpeg_pack/config.py
+++ b/features/ffmpeg_pack/config.py
@@ -35,8 +35,7 @@ class FFmpegConfig(PackConfig):
from app.view.components.setting_card_group import CollapsibleSettingCardGroup
from app.view.components.setting_cards import RuntimeCard, SelectFolderSettingCard
- from features.ffmpeg_pack.icons import FFmpegIcon
- ffmpegGroup = CollapsibleSettingCardGroup(FFmpegIcon.FFMPEG, self.tr("FFmpeg"), "ffmpeg", parent)
+ ffmpegGroup = CollapsibleSettingCardGroup(self.tr("FFmpeg"), "ffmpeg", parent)
installFolderCard = SelectFolderSettingCard(
ffmpegConfig.installFolder, f"{APP_DATA_DIR}/FFmpeg",
self.tr("FFmpeg 安装目录"),
diff --git a/features/ffmpeg_pack/icons/FFmpeg_black.svg b/features/ffmpeg_pack/icons/FFmpeg_black.svg
deleted file mode 100644
index f93394ef..00000000
--- a/features/ffmpeg_pack/icons/FFmpeg_black.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 9 512 494">
- <path fill="black" d="M201.459 35.184L93.114 161.545v53.47L254.041 30.733L512 8.902L133.866 406.659l49.874 2.877l274.62-283.015v268.646l-30.716 28.864l78.027 4.612v74.455l-243.583-20.63l123.746-120.395v-59.74L209.185 478L0 460.29L336.764 93.876l-55.874 3.3L37.697 366.981V137.742l22.881-27.544l-56.254 3.326V51.871z" />
-</svg>
diff --git a/features/ffmpeg_pack/icons/FFmpeg_white.svg b/features/ffmpeg_pack/icons/FFmpeg_white.svg
deleted file mode 100644
index 6b2c9780..00000000
--- a/features/ffmpeg_pack/icons/FFmpeg_white.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 9 512 494">
- <path fill="white" d="M201.459 35.184L93.114 161.545v53.47L254.041 30.733L512 8.902L133.866 406.659l49.874 2.877l274.62-283.015v268.646l-30.716 28.864l78.027 4.612v74.455l-243.583-20.63l123.746-120.395v-59.74L209.185 478L0 460.29L336.764 93.876l-55.874 3.3L37.697 366.981V137.742l22.881-27.544l-56.254 3.326V51.871z" />
-</svg>
diff --git a/features/ffmpeg_pack/icons/__init__.py b/features/ffmpeg_pack/icons/__init__.py
deleted file mode 100644
index 9e6a0398..00000000
--- a/features/ffmpeg_pack/icons/__init__.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from __future__ import annotations
-
-from enum import Enum
-
-from qfluentwidgets import FluentIconBase, Theme, getIconColor
-
-from . import icons_rc # noqa: F401
-
-
-class FFmpegIcon(FluentIconBase, Enum):
- FFMPEG = "FFmpeg"
-
- def path(self, theme: Theme = Theme.AUTO) -> str:
- return f":/ffmpeg_pack/{self.value}_{getIconColor(theme)}.svg"
diff --git a/features/ffmpeg_pack/icons/icons.qrc b/features/ffmpeg_pack/icons/icons.qrc
deleted file mode 100644
index cfcf28cd..00000000
--- a/features/ffmpeg_pack/icons/icons.qrc
+++ /dev/null
@@ -1,6 +0,0 @@
-<RCC>
- <qresource prefix="ffmpeg_pack">
- <file>FFmpeg_black.svg</file>
- <file>FFmpeg_white.svg</file>
- </qresource>
-</RCC>
diff --git a/features/ffmpeg_pack/icons/icons_rc.py b/features/ffmpeg_pack/icons/icons_rc.py
deleted file mode 100644
index 3a5bae33..00000000
--- a/features/ffmpeg_pack/icons/icons_rc.py
+++ /dev/null
@@ -1,97 +0,0 @@
-# Resource object code (Python 3)
-# Created by: object code
-# Created by: The Resource Compiler for Qt version 6.10.2
-# WARNING! All changes made in this file will be lost!
-
-from PySide6 import QtCore
-
-qt_resource_data = b"\
-\x00\x00\x01\x87\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0 9 512 494\x22>\x0a\x09<\
-path fill=\x22white\
-\x22 d=\x22M201.459 35\
-.184L93.114 161.\
-545v53.47L254.04\
-1 30.733L512 8.9\
-02L133.866 406.6\
-59l49.874 2.877l\
-274.62-283.015v2\
-68.646l-30.716 2\
-8.864l78.027 4.6\
-12v74.455l-243.5\
-83-20.63l123.746\
--120.395v-59.74L\
-209.185 478L0 46\
-0.29L336.764 93.\
-876l-55.874 3.3L\
-37.697 366.981V1\
-37.742l22.881-27\
-.544l-56.254 3.3\
-26V51.871z\x22 />\x0a<\
-/svg>\x0a\
-\x00\x00\x01\x87\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0 9 512 494\x22>\x0a\x09<\
-path fill=\x22black\
-\x22 d=\x22M201.459 35\
-.184L93.114 161.\
-545v53.47L254.04\
-1 30.733L512 8.9\
-02L133.866 406.6\
-59l49.874 2.877l\
-274.62-283.015v2\
-68.646l-30.716 2\
-8.864l78.027 4.6\
-12v74.455l-243.5\
-83-20.63l123.746\
--120.395v-59.74L\
-209.185 478L0 46\
-0.29L336.764 93.\
-876l-55.874 3.3L\
-37.697 366.981V1\
-37.742l22.881-27\
-.544l-56.254 3.3\
-26V51.871z\x22 />\x0a<\
-/svg>\x0a\
-"
-
-qt_resource_name = b"\
-\x00\x0b\
-\x0b\x0f\xcf[\
-\x00f\
-\x00f\x00m\x00p\x00e\x00g\x00_\x00p\x00a\x00c\x00k\
-\x00\x10\
-\x0d\xd04'\
-\x00F\
-\x00F\x00m\x00p\x00e\x00g\x00_\x00w\x00h\x00i\x00t\x00e\x00.\x00s\x00v\x00g\
-\x00\x10\
-\x0a\xf6]\x87\
-\x00F\
-\x00F\x00m\x00p\x00e\x00g\x00_\x00b\x00l\x00a\x00c\x00k\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\x02\x00\x00\x00\x02\
-\x00\x00\x00\x00\x00\x00\x00\x00\
-\x00\x00\x00B\x00\x00\x00\x00\x00\x01\x00\x00\x01\x8b\
-\x00\x00\x01\x9f#LV\x99\
-\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
-\x00\x00\x01\x9f#LZl\
-"
-
-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()
diff --git a/features/github_pack/config.py b/features/github_pack/config.py
index 13559644..d9499f72 100644
--- a/features/github_pack/config.py
+++ b/features/github_pack/config.py
@@ -205,7 +205,7 @@ class GitHubConfig(PackConfig):
from qfluentwidgets import FluentIcon, SwitchSettingCard
from app.view.components.setting_card_group import CollapsibleSettingCardGroup
- githubGroup = CollapsibleSettingCardGroup(FluentIcon.GITHUB, self.tr("GitHub 加速"), "github", parent)
+ githubGroup = CollapsibleSettingCardGroup(self.tr("GitHub 加速"), "github", parent)
enableCard = SwitchSettingCard(
FluentIcon.LINK, self.tr("启用 GitHub 加速"),
self.tr("命中 GitHub 文件链接时,自动改写为所选反向代理站"),
diff --git a/features/huggingface_pack/config.py b/features/huggingface_pack/config.py
index 6df83c72..4da3dc39 100644
--- a/features/huggingface_pack/config.py
+++ b/features/huggingface_pack/config.py
@@ -230,8 +230,7 @@ class HuggingFaceConfig(PackConfig):
from qfluentwidgets import FluentIcon, SwitchSettingCard
from app.view.components.setting_card_group import CollapsibleSettingCardGroup
- from features.huggingface_pack.icons import HFIcon
- group = CollapsibleSettingCardGroup(HFIcon.HUGGINGFACE, self.tr("HuggingFace"), "huggingface", parent)
+ group = CollapsibleSettingCardGroup(self.tr("HuggingFace"), "huggingface", parent)
group.addSettingCards([
SwitchSettingCard(
FluentIcon.CONNECT, self.tr("启用 HuggingFace 加速"),
diff --git a/features/huggingface_pack/icons/HuggingFace_black.svg b/features/huggingface_pack/icons/HuggingFace_black.svg
deleted file mode 100644
index c185617c..00000000
--- a/features/huggingface_pack/icons/HuggingFace_black.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="1 1 22 22">
- <path fill="black" d="M12.025 1.13c-5.77 0-10.449 4.647-10.449 10.378c0 1.112.178 2.181.503 3.185c.064-.222.203-.444.416-.577a.96.96 0 0 1 .524-.15c.293 0 .584.124.84.284c.278.173.48.408.71.694c.226.282.458.611.684.951v-.014c.017-.324.106-.622.264-.874s.403-.487.762-.543c.3-.047.596.06.787.203s.31.313.4.467c.15.257.212.468.233.542c.01.026.653 1.552 1.657 2.54c.616.605 1.01 1.223 1.082 1.912c.055.537-.096 1.059-.38 1.572c.637.121 1.294.187 1.967.187c.657 0 1.298-.063 1.921-.178c-.287-.517-.44-1.041-.384-1.581c.07-.69.465-1.307 1.081-1.913c1.004-.987 1.647-2.513 1.657-2.539c.021-.074.083-.285.233-.542c.09-.154.208-.323.4-.467a1.08 1.08 0 0 1 .787-.203c.359.056.604.29.762.543s.247.55.265.874v.015c.225-.34.457-.67.683-.952c.23-.286.432-.52.71-.694c.257-.16.547-.284.84-.285a.97.97 0 0 1 .524.151c.228.143.373.388.43.625l.006.04a10.3 10.3 0 0 0 .534-3.273c0-5.731-4.678-10.378-10.449-10.378M8.327 6.583a1.5 1.5 0 0 1 .713.174a1.487 1.487 0 0 1 .617 2.013c-.183.343-.762-.214-1.102-.094c-.38.134-.532.914-.917.71a1.487 1.487 0 0 1 .69-2.803m7.486 0a1.487 1.487 0 0 1 .689 2.803c-.385.204-.536-.576-.916-.71c-.34-.12-.92.437-1.103.094a1.487 1.487 0 0 1 .617-2.013a1.5 1.5 0 0 1 .713-.174m-10.68 1.55a.96.96 0 1 1 0 1.921a.96.96 0 0 1 0-1.92m13.838 0a.96.96 0 1 1 0 1.92a.96.96 0 0 1 0-1.92M8.489 11.458c.588.01 1.965 1.157 3.572 1.164c1.607-.007 2.984-1.155 3.572-1.164c.196-.003.305.12.305.454c0 .886-.424 2.328-1.563 3.202c-.22-.756-1.396-1.366-1.63-1.32q-.011.001-.02.006l-.044.026l-.01.008l-.03.024q-.018.017-.035.036l-.032.04a1 1 0 0 0-.058.09l-.014.025q-.049.088-.11.19a1 1 0 0 1-.083.116a1.2 1.2 0 0 1-.173.18q-.035.029-.075.058a1.3 1.3 0 0 1-.251-.243a1 1 0 0 1-.076-.107c-.124-.193-.177-.363-.337-.444c-.034-.016-.104-.008-.2.022q-.094.03-.216.087q-.06.028-.125.063l-.13.074q-.067.04-.136.086a3 3 0 0 0-.135.096a3 3 0 0 0-.26.219a2 2 0 0 0-.12.121a2 2 0 0 0-.106.128l-.002.002a2 2 0 0 0-.09.132l-.001.001a1.2 1.2 0 0 0-.105.212q-.013.036-.024.073c-1.139-.875-1.563-2.317-1.563-3.203c0-.334.109-.457.305-.454m.836 10.354c.824-1.19.766-2.082-.365-3.194c-1.13-1.112-1.789-2.738-1.789-2.738s-.246-.945-.806-.858s-.97 1.499.202 2.362c1.173.864-.233 1.45-.685.64c-.45-.812-1.683-2.896-2.322-3.295s-1.089-.175-.938.647s2.822 2.813 2.562 3.244s-1.176-.506-1.176-.506s-2.866-2.567-3.49-1.898s.473 1.23 2.037 2.16c1.564.932 1.686 1.178 1.464 1.53s-3.675-2.511-4-1.297c-.323 1.214 3.524 1.567 3.287 2.405c-.238.839-2.71-1.587-3.216-.642c-.506.946 3.49 2.056 3.522 2.064c1.29.33 4.568 1.028 5.713-.624m5.349 0c-.824-1.19-.766-2.082.365-3.194c1.13-1.112 1.789-2.738 1.789-2.738s.246-.945.806-.858s.97 1.499-.202 2.362c-1.173.864.233 1.45.685.64c.451-.812 1.683-2.896 2.322-3.295s1.089-.175.938.647s-2.822 2.813-2.562 3.244s1.176-.506 1.176-.506s2.866-2.567 3.49-1.898s-.473 1.23-2.037 2.16c-1.564.932-1.686 1.178-1.464 1.53s3.675-2.511 4-1.297c.323 1.214-3.524 1.567-3.287 2.405c.238.839 2.71-1.587 3.216-.642c.506.946-3.49 2.056-3.522 2.064c-1.29.33-4.568 1.028-5.713-.624" />
-</svg>
diff --git a/features/huggingface_pack/icons/HuggingFace_white.svg b/features/huggingface_pack/icons/HuggingFace_white.svg
deleted file mode 100644
index 5fda7b7c..00000000
--- a/features/huggingface_pack/icons/HuggingFace_white.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="1 1 22 22">
- <path fill="white" d="M12.025 1.13c-5.77 0-10.449 4.647-10.449 10.378c0 1.112.178 2.181.503 3.185c.064-.222.203-.444.416-.577a.96.96 0 0 1 .524-.15c.293 0 .584.124.84.284c.278.173.48.408.71.694c.226.282.458.611.684.951v-.014c.017-.324.106-.622.264-.874s.403-.487.762-.543c.3-.047.596.06.787.203s.31.313.4.467c.15.257.212.468.233.542c.01.026.653 1.552 1.657 2.54c.616.605 1.01 1.223 1.082 1.912c.055.537-.096 1.059-.38 1.572c.637.121 1.294.187 1.967.187c.657 0 1.298-.063 1.921-.178c-.287-.517-.44-1.041-.384-1.581c.07-.69.465-1.307 1.081-1.913c1.004-.987 1.647-2.513 1.657-2.539c.021-.074.083-.285.233-.542c.09-.154.208-.323.4-.467a1.08 1.08 0 0 1 .787-.203c.359.056.604.29.762.543s.247.55.265.874v.015c.225-.34.457-.67.683-.952c.23-.286.432-.52.71-.694c.257-.16.547-.284.84-.285a.97.97 0 0 1 .524.151c.228.143.373.388.43.625l.006.04a10.3 10.3 0 0 0 .534-3.273c0-5.731-4.678-10.378-10.449-10.378M8.327 6.583a1.5 1.5 0 0 1 .713.174a1.487 1.487 0 0 1 .617 2.013c-.183.343-.762-.214-1.102-.094c-.38.134-.532.914-.917.71a1.487 1.487 0 0 1 .69-2.803m7.486 0a1.487 1.487 0 0 1 .689 2.803c-.385.204-.536-.576-.916-.71c-.34-.12-.92.437-1.103.094a1.487 1.487 0 0 1 .617-2.013a1.5 1.5 0 0 1 .713-.174m-10.68 1.55a.96.96 0 1 1 0 1.921a.96.96 0 0 1 0-1.92m13.838 0a.96.96 0 1 1 0 1.92a.96.96 0 0 1 0-1.92M8.489 11.458c.588.01 1.965 1.157 3.572 1.164c1.607-.007 2.984-1.155 3.572-1.164c.196-.003.305.12.305.454c0 .886-.424 2.328-1.563 3.202c-.22-.756-1.396-1.366-1.63-1.32q-.011.001-.02.006l-.044.026l-.01.008l-.03.024q-.018.017-.035.036l-.032.04a1 1 0 0 0-.058.09l-.014.025q-.049.088-.11.19a1 1 0 0 1-.083.116a1.2 1.2 0 0 1-.173.18q-.035.029-.075.058a1.3 1.3 0 0 1-.251-.243a1 1 0 0 1-.076-.107c-.124-.193-.177-.363-.337-.444c-.034-.016-.104-.008-.2.022q-.094.03-.216.087q-.06.028-.125.063l-.13.074q-.067.04-.136.086a3 3 0 0 0-.135.096a3 3 0 0 0-.26.219a2 2 0 0 0-.12.121a2 2 0 0 0-.106.128l-.002.002a2 2 0 0 0-.09.132l-.001.001a1.2 1.2 0 0 0-.105.212q-.013.036-.024.073c-1.139-.875-1.563-2.317-1.563-3.203c0-.334.109-.457.305-.454m.836 10.354c.824-1.19.766-2.082-.365-3.194c-1.13-1.112-1.789-2.738-1.789-2.738s-.246-.945-.806-.858s-.97 1.499.202 2.362c1.173.864-.233 1.45-.685.64c-.45-.812-1.683-2.896-2.322-3.295s-1.089-.175-.938.647s2.822 2.813 2.562 3.244s-1.176-.506-1.176-.506s-2.866-2.567-3.49-1.898s.473 1.23 2.037 2.16c1.564.932 1.686 1.178 1.464 1.53s-3.675-2.511-4-1.297c-.323 1.214 3.524 1.567 3.287 2.405c-.238.839-2.71-1.587-3.216-.642c-.506.946 3.49 2.056 3.522 2.064c1.29.33 4.568 1.028 5.713-.624m5.349 0c-.824-1.19-.766-2.082.365-3.194c1.13-1.112 1.789-2.738 1.789-2.738s.246-.945.806-.858s.97 1.499-.202 2.362c-1.173.864.233 1.45.685.64c.451-.812 1.683-2.896 2.322-3.295s1.089-.175.938.647s-2.822 2.813-2.562 3.244s1.176-.506 1.176-.506s2.866-2.567 3.49-1.898s-.473 1.23-2.037 2.16c-1.564.932-1.686 1.178-1.464 1.53s3.675-2.511 4-1.297c.323 1.214-3.524 1.567-3.287 2.405c.238.839 2.71-1.587 3.216-.642c.506.946-3.49 2.056-3.522 2.064c-1.29.33-4.568 1.028-5.713-.624" />
-</svg>
diff --git a/features/huggingface_pack/icons/__init__.py b/features/huggingface_pack/icons/__init__.py
deleted file mode 100644
index cb189c17..00000000
--- a/features/huggingface_pack/icons/__init__.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from __future__ import annotations
-
-from enum import Enum
-
-from qfluentwidgets import FluentIconBase, Theme, getIconColor
-
-from . import icons_rc # noqa: F401
-
-
-class HFIcon(FluentIconBase, Enum):
- HUGGINGFACE = "HuggingFace"
-
- def path(self, theme: Theme = Theme.AUTO) -> str:
- return f":/huggingface_pack/{self.value}_{getIconColor(theme)}.svg"
diff --git a/features/huggingface_pack/icons/icons.qrc b/features/huggingface_pack/icons/icons.qrc
deleted file mode 100644
index 976d544b..00000000
--- a/features/huggingface_pack/icons/icons.qrc
+++ /dev/null
@@ -1,6 +0,0 @@
-<RCC>
- <qresource prefix="huggingface_pack">
- <file>HuggingFace_black.svg</file>
- <file>HuggingFace_white.svg</file>
- </qresource>
-</RCC>
diff --git a/features/huggingface_pack/icons/icons_rc.py b/features/huggingface_pack/icons/icons_rc.py
deleted file mode 100644
index adadfb9d..00000000
--- a/features/huggingface_pack/icons/icons_rc.py
+++ /dev/null
@@ -1,431 +0,0 @@
-# Resource object code (Python 3)
-# Created by: object code
-# Created by: The Resource Compiler for Qt version 6.10.2
-# WARNING! All changes made in this file will be lost!
-
-from PySide6 import QtCore
-
-qt_resource_data = b"\
-\x00\x00\x0b\xe6\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-1 1 22 22\x22>\x0a\x09<pa\
-th fill=\x22black\x22 \
-d=\x22M12.025 1.13c\
--5.77 0-10.449 4\
-.647-10.449 10.3\
-78c0 1.112.178 2\
-.181.503 3.185c.\
-064-.222.203-.44\
-4.416-.577a.96.9\
-6 0 0 1 .524-.15\
-c.293 0 .584.124\
-.84.284c.278.173\
-.48.408.71.694c.\
-226.282.458.611.\
-684.951v-.014c.0\
-17-.324.106-.622\
-.264-.874s.403-.\
-487.762-.543c.3-\
-.047.596.06.787.\
-203s.31.313.4.46\
-7c.15.257.212.46\
-8.233.542c.01.02\
-6.653 1.552 1.65\
-7 2.54c.616.605 \
-1.01 1.223 1.082\
- 1.912c.055.537-\
-.096 1.059-.38 1\
-.572c.637.121 1.\
-294.187 1.967.18\
-7c.657 0 1.298-.\
-063 1.921-.178c-\
-.287-.517-.44-1.\
-041-.384-1.581c.\
-07-.69.465-1.307\
- 1.081-1.913c1.0\
-04-.987 1.647-2.\
-513 1.657-2.539c\
-.021-.074.083-.2\
-85.233-.542c.09-\
-.154.208-.323.4-\
-.467a1.08 1.08 0\
- 0 1 .787-.203c.\
-359.056.604.29.7\
-62.543s.247.55.2\
-65.874v.015c.225\
--.34.457-.67.683\
--.952c.23-.286.4\
-32-.52.71-.694c.\
-257-.16.547-.284\
-.84-.285a.97.97 \
-0 0 1 .524.151c.\
-228.143.373.388.\
-43.625l.006.04a1\
-0.3 10.3 0 0 0 .\
-534-3.273c0-5.73\
-1-4.678-10.378-1\
-0.449-10.378M8.3\
-27 6.583a1.5 1.5\
- 0 0 1 .713.174a\
-1.487 1.487 0 0 \
-1 .617 2.013c-.1\
-83.343-.762-.214\
--1.102-.094c-.38\
-.134-.532.914-.9\
-17.71a1.487 1.48\
-7 0 0 1 .69-2.80\
-3m7.486 0a1.487 \
-1.487 0 0 1 .689\
- 2.803c-.385.204\
--.536-.576-.916-\
-.71c-.34-.12-.92\
-.437-1.103.094a1\
-.487 1.487 0 0 1\
- .617-2.013a1.5 \
-1.5 0 0 1 .713-.\
-174m-10.68 1.55a\
-.96.96 0 1 1 0 1\
-.921a.96.96 0 0 \
-1 0-1.92m13.838 \
-0a.96.96 0 1 1 0\
- 1.92a.96.96 0 0\
- 1 0-1.92M8.489 \
-11.458c.588.01 1\
-.965 1.157 3.572\
- 1.164c1.607-.00\
-7 2.984-1.155 3.\
-572-1.164c.196-.\
-003.305.12.305.4\
-54c0 .886-.424 2\
-.328-1.563 3.202\
-c-.22-.756-1.396\
--1.366-1.63-1.32\
-q-.011.001-.02.0\
-06l-.044.026l-.0\
-1.008l-.03.024q-\
-.018.017-.035.03\
-6l-.032.04a1 1 0\
- 0 0-.058.09l-.0\
-14.025q-.049.088\
--.11.19a1 1 0 0 \
-1-.083.116a1.2 1\
-.2 0 0 1-.173.18\
-q-.035.029-.075.\
-058a1.3 1.3 0 0 \
-1-.251-.243a1 1 \
-0 0 1-.076-.107c\
--.124-.193-.177-\
-.363-.337-.444c-\
-.034-.016-.104-.\
-008-.2.022q-.094\
-.03-.216.087q-.0\
-6.028-.125.063l-\
-.13.074q-.067.04\
--.136.086a3 3 0 \
-0 0-.135.096a3 3\
- 0 0 0-.26.219a2\
- 2 0 0 0-.12.121\
-a2 2 0 0 0-.106.\
-128l-.002.002a2 \
-2 0 0 0-.09.132l\
--.001.001a1.2 1.\
-2 0 0 0-.105.212\
-q-.013.036-.024.\
-073c-1.139-.875-\
-1.563-2.317-1.56\
-3-3.203c0-.334.1\
-09-.457.305-.454\
-m.836 10.354c.82\
-4-1.19.766-2.082\
--.365-3.194c-1.1\
-3-1.112-1.789-2.\
-738-1.789-2.738s\
--.246-.945-.806-\
-.858s-.97 1.499.\
-202 2.362c1.173.\
-864-.233 1.45-.6\
-85.64c-.45-.812-\
-1.683-2.896-2.32\
-2-3.295s-1.089-.\
-175-.938.647s2.8\
-22 2.813 2.562 3\
-.244s-1.176-.506\
--1.176-.506s-2.8\
-66-2.567-3.49-1.\
-898s.473 1.23 2.\
-037 2.16c1.564.9\
-32 1.686 1.178 1\
-.464 1.53s-3.675\
--2.511-4-1.297c-\
-.323 1.214 3.524\
- 1.567 3.287 2.4\
-05c-.238.839-2.7\
-1-1.587-3.216-.6\
-42c-.506.946 3.4\
-9 2.056 3.522 2.\
-064c1.29.33 4.56\
-8 1.028 5.713-.6\
-24m5.349 0c-.824\
--1.19-.766-2.082\
-.365-3.194c1.13-\
-1.112 1.789-2.73\
-8 1.789-2.738s.2\
-46-.945.806-.858\
-s.97 1.499-.202 \
-2.362c-1.173.864\
-.233 1.45.685.64\
-c.451-.812 1.683\
--2.896 2.322-3.2\
-95s1.089-.175.93\
-8.647s-2.822 2.8\
-13-2.562 3.244s1\
-.176-.506 1.176-\
-.506s2.866-2.567\
- 3.49-1.898s-.47\
-3 1.23-2.037 2.1\
-6c-1.564.932-1.6\
-86 1.178-1.464 1\
-.53s3.675-2.511 \
-4-1.297c.323 1.2\
-14-3.524 1.567-3\
-.287 2.405c.238.\
-839 2.71-1.587 3\
-.216-.642c.506.9\
-46-3.49 2.056-3.\
-522 2.064c-1.29.\
-33-4.568 1.028-5\
-.713-.624\x22 />\x0a</\
-svg>\x0a\
-\x00\x00\x0b\xe6\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-1 1 22 22\x22>\x0a\x09<pa\
-th fill=\x22white\x22 \
-d=\x22M12.025 1.13c\
--5.77 0-10.449 4\
-.647-10.449 10.3\
-78c0 1.112.178 2\
-.181.503 3.185c.\
-064-.222.203-.44\
-4.416-.577a.96.9\
-6 0 0 1 .524-.15\
-c.293 0 .584.124\
-.84.284c.278.173\
-.48.408.71.694c.\
-226.282.458.611.\
-684.951v-.014c.0\
-17-.324.106-.622\
-.264-.874s.403-.\
-487.762-.543c.3-\
-.047.596.06.787.\
-203s.31.313.4.46\
-7c.15.257.212.46\
-8.233.542c.01.02\
-6.653 1.552 1.65\
-7 2.54c.616.605 \
-1.01 1.223 1.082\
- 1.912c.055.537-\
-.096 1.059-.38 1\
-.572c.637.121 1.\
-294.187 1.967.18\
-7c.657 0 1.298-.\
-063 1.921-.178c-\
-.287-.517-.44-1.\
-041-.384-1.581c.\
-07-.69.465-1.307\
- 1.081-1.913c1.0\
-04-.987 1.647-2.\
-513 1.657-2.539c\
-.021-.074.083-.2\
-85.233-.542c.09-\
-.154.208-.323.4-\
-.467a1.08 1.08 0\
- 0 1 .787-.203c.\
-359.056.604.29.7\
-62.543s.247.55.2\
-65.874v.015c.225\
--.34.457-.67.683\
--.952c.23-.286.4\
-32-.52.71-.694c.\
-257-.16.547-.284\
-.84-.285a.97.97 \
-0 0 1 .524.151c.\
-228.143.373.388.\
-43.625l.006.04a1\
-0.3 10.3 0 0 0 .\
-534-3.273c0-5.73\
-1-4.678-10.378-1\
-0.449-10.378M8.3\
-27 6.583a1.5 1.5\
- 0 0 1 .713.174a\
-1.487 1.487 0 0 \
-1 .617 2.013c-.1\
-83.343-.762-.214\
--1.102-.094c-.38\
-.134-.532.914-.9\
-17.71a1.487 1.48\
-7 0 0 1 .69-2.80\
-3m7.486 0a1.487 \
-1.487 0 0 1 .689\
- 2.803c-.385.204\
--.536-.576-.916-\
-.71c-.34-.12-.92\
-.437-1.103.094a1\
-.487 1.487 0 0 1\
- .617-2.013a1.5 \
-1.5 0 0 1 .713-.\
-174m-10.68 1.55a\
-.96.96 0 1 1 0 1\
-.921a.96.96 0 0 \
-1 0-1.92m13.838 \
-0a.96.96 0 1 1 0\
- 1.92a.96.96 0 0\
- 1 0-1.92M8.489 \
-11.458c.588.01 1\
-.965 1.157 3.572\
- 1.164c1.607-.00\
-7 2.984-1.155 3.\
-572-1.164c.196-.\
-003.305.12.305.4\
-54c0 .886-.424 2\
-.328-1.563 3.202\
-c-.22-.756-1.396\
--1.366-1.63-1.32\
-q-.011.001-.02.0\
-06l-.044.026l-.0\
-1.008l-.03.024q-\
-.018.017-.035.03\
-6l-.032.04a1 1 0\
- 0 0-.058.09l-.0\
-14.025q-.049.088\
--.11.19a1 1 0 0 \
-1-.083.116a1.2 1\
-.2 0 0 1-.173.18\
-q-.035.029-.075.\
-058a1.3 1.3 0 0 \
-1-.251-.243a1 1 \
-0 0 1-.076-.107c\
--.124-.193-.177-\
-.363-.337-.444c-\
-.034-.016-.104-.\
-008-.2.022q-.094\
-.03-.216.087q-.0\
-6.028-.125.063l-\
-.13.074q-.067.04\
--.136.086a3 3 0 \
-0 0-.135.096a3 3\
- 0 0 0-.26.219a2\
- 2 0 0 0-.12.121\
-a2 2 0 0 0-.106.\
-128l-.002.002a2 \
-2 0 0 0-.09.132l\
--.001.001a1.2 1.\
-2 0 0 0-.105.212\
-q-.013.036-.024.\
-073c-1.139-.875-\
-1.563-2.317-1.56\
-3-3.203c0-.334.1\
-09-.457.305-.454\
-m.836 10.354c.82\
-4-1.19.766-2.082\
--.365-3.194c-1.1\
-3-1.112-1.789-2.\
-738-1.789-2.738s\
--.246-.945-.806-\
-.858s-.97 1.499.\
-202 2.362c1.173.\
-864-.233 1.45-.6\
-85.64c-.45-.812-\
-1.683-2.896-2.32\
-2-3.295s-1.089-.\
-175-.938.647s2.8\
-22 2.813 2.562 3\
-.244s-1.176-.506\
--1.176-.506s-2.8\
-66-2.567-3.49-1.\
-898s.473 1.23 2.\
-037 2.16c1.564.9\
-32 1.686 1.178 1\
-.464 1.53s-3.675\
--2.511-4-1.297c-\
-.323 1.214 3.524\
- 1.567 3.287 2.4\
-05c-.238.839-2.7\
-1-1.587-3.216-.6\
-42c-.506.946 3.4\
-9 2.056 3.522 2.\
-064c1.29.33 4.56\
-8 1.028 5.713-.6\
-24m5.349 0c-.824\
--1.19-.766-2.082\
-.365-3.194c1.13-\
-1.112 1.789-2.73\
-8 1.789-2.738s.2\
-46-.945.806-.858\
-s.97 1.499-.202 \
-2.362c-1.173.864\
-.233 1.45.685.64\
-c.451-.812 1.683\
--2.896 2.322-3.2\
-95s1.089-.175.93\
-8.647s-2.822 2.8\
-13-2.562 3.244s1\
-.176-.506 1.176-\
-.506s2.866-2.567\
- 3.49-1.898s-.47\
-3 1.23-2.037 2.1\
-6c-1.564.932-1.6\
-86 1.178-1.464 1\
-.53s3.675-2.511 \
-4-1.297c.323 1.2\
-14-3.524 1.567-3\
-.287 2.405c.238.\
-839 2.71-1.587 3\
-.216-.642c.506.9\
-46-3.49 2.056-3.\
-522 2.064c-1.29.\
-33-4.568 1.028-5\
-.713-.624\x22 />\x0a</\
-svg>\x0a\
-"
-
-qt_resource_name = b"\
-\x00\x10\
-\x05\xa40\x1b\
-\x00h\
-\x00u\x00g\x00g\x00i\x00n\x00g\x00f\x00a\x00c\x00e\x00_\x00p\x00a\x00c\x00k\
-\x00\x15\
-\x0f+\xbag\
-\x00H\
-\x00u\x00g\x00g\x00i\x00n\x00g\x00F\x00a\x00c\x00e\x00_\x00b\x00l\x00a\x00c\x00k\
-\x00.\x00s\x00v\x00g\
-\x00\x15\
-\x08\x15\xd3\xc7\
-\x00H\
-\x00u\x00g\x00g\x00i\x00n\x00g\x00F\x00a\x00c\x00e\x00_\x00w\x00h\x00i\x00t\x00e\
-\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\x02\x00\x00\x00\x02\
-\x00\x00\x00\x00\x00\x00\x00\x00\
-\x00\x00\x00V\x00\x00\x00\x00\x00\x01\x00\x00\x0b\xea\
-\x00\x00\x01\x9f#LI\xa6\
-\x00\x00\x00&\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
-\x00\x00\x01\x9f#LD\x05\
-"
-
-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()
diff --git a/features/m3u8_pack/config.py b/features/m3u8_pack/config.py
index 894800db..3b3a9c25 100644
--- a/features/m3u8_pack/config.py
+++ b/features/m3u8_pack/config.py
@@ -66,8 +66,7 @@ class M3U8Config(PackConfig):
SelectFolderSettingCard, LineEditSettingCard, RuntimeCard, SelectFileCard, SpinBoxSettingCard,
)
- from features.m3u8_pack.icons import M3U8Icon
- m3u8Group = CollapsibleSettingCardGroup(M3U8Icon.STREAM, self.tr("M3U8 下载"), "m3u8", parent)
+ m3u8Group = CollapsibleSettingCardGroup(self.tr("M3U8 下载"), "m3u8", parent)
installFolderCard = SelectFolderSettingCard(
self.installFolder, f"{APP_DATA_DIR}/M3U8DL",
self.tr("N_m3u8DL-RE 安装目录"),
diff --git a/features/m3u8_pack/icons/Stream_black.svg b/features/m3u8_pack/icons/Stream_black.svg
deleted file mode 100644
index b1735e74..00000000
--- a/features/m3u8_pack/icons/Stream_black.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="2 2 20 20">
- <path fill="black" d="M2.588 13.413Q2 12.825 2 12t.588-1.412T4 10t1.413.588T6 12t-.587 1.413T4 14t-1.412-.587M5.65 19.7l-1.4-1.4l4.35-4.35l1.4 1.4zm3-9.7L4.3 5.65l1.4-1.4l4.35 4.35zm1.938 11.413Q10 20.825 10 20t.588-1.412T12 18t1.413.588T14 20t-.587 1.413T12 22t-1.412-.587m0-16Q10 4.825 10 4t.588-1.412T12 2t1.413.588T14 4t-.587 1.413T12 6t-1.412-.587m4.762 4.637l-1.4-1.45l4.4-4.35l1.4 1.4zm3 9.65L14 15.35l1.4-1.4l4.35 4.35zm.238-6.287Q18 12.825 18 12t.588-1.412T20 10t1.413.588T22 12t-.587 1.413T20 14t-1.412-.587" />
-</svg>
diff --git a/features/m3u8_pack/icons/Stream_white.svg b/features/m3u8_pack/icons/Stream_white.svg
deleted file mode 100644
index 6466fa63..00000000
--- a/features/m3u8_pack/icons/Stream_white.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="2 2 20 20">
- <path fill="white" d="M2.588 13.413Q2 12.825 2 12t.588-1.412T4 10t1.413.588T6 12t-.587 1.413T4 14t-1.412-.587M5.65 19.7l-1.4-1.4l4.35-4.35l1.4 1.4zm3-9.7L4.3 5.65l1.4-1.4l4.35 4.35zm1.938 11.413Q10 20.825 10 20t.588-1.412T12 18t1.413.588T14 20t-.587 1.413T12 22t-1.412-.587m0-16Q10 4.825 10 4t.588-1.412T12 2t1.413.588T14 4t-.587 1.413T12 6t-1.412-.587m4.762 4.637l-1.4-1.45l4.4-4.35l1.4 1.4zm3 9.65L14 15.35l1.4-1.4l4.35 4.35zm.238-6.287Q18 12.825 18 12t.588-1.412T20 10t1.413.588T22 12t-.587 1.413T20 14t-1.412-.587" />
-</svg>
diff --git a/features/m3u8_pack/icons/__init__.py b/features/m3u8_pack/icons/__init__.py
deleted file mode 100644
index 23253f10..00000000
--- a/features/m3u8_pack/icons/__init__.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from __future__ import annotations
-
-from enum import Enum
-
-from qfluentwidgets import FluentIconBase, Theme, getIconColor
-
-from . import icons_rc # noqa: F401
-
-
-class M3U8Icon(FluentIconBase, Enum):
- STREAM = "Stream"
-
- def path(self, theme: Theme = Theme.AUTO) -> str:
- return f":/m3u8_pack/{self.value}_{getIconColor(theme)}.svg"
diff --git a/features/m3u8_pack/icons/icons.qrc b/features/m3u8_pack/icons/icons.qrc
deleted file mode 100644
index f50ca3b6..00000000
--- a/features/m3u8_pack/icons/icons.qrc
+++ /dev/null
@@ -1,6 +0,0 @@
-<RCC>
- <qresource prefix="m3u8_pack">
- <file>Stream_black.svg</file>
- <file>Stream_white.svg</file>
- </qresource>
-</RCC>
diff --git a/features/m3u8_pack/icons/icons_rc.py b/features/m3u8_pack/icons/icons_rc.py
deleted file mode 100644
index c072db91..00000000
--- a/features/m3u8_pack/icons/icons_rc.py
+++ /dev/null
@@ -1,121 +0,0 @@
-# Resource object code (Python 3)
-# Created by: object code
-# Created by: The Resource Compiler for Qt version 6.10.2
-# WARNING! All changes made in this file will be lost!
-
-from PySide6 import QtCore
-
-qt_resource_data = b"\
-\x00\x00\x02O\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-2 2 20 20\x22>\x0a\x09<pa\
-th fill=\x22white\x22 \
-d=\x22M2.588 13.413\
-Q2 12.825 2 12t.\
-588-1.412T4 10t1\
-.413.588T6 12t-.\
-587 1.413T4 14t-\
-1.412-.587M5.65 \
-19.7l-1.4-1.4l4.\
-35-4.35l1.4 1.4z\
-m3-9.7L4.3 5.65l\
-1.4-1.4l4.35 4.3\
-5zm1.938 11.413Q\
-10 20.825 10 20t\
-.588-1.412T12 18\
-t1.413.588T14 20\
-t-.587 1.413T12 \
-22t-1.412-.587m0\
--16Q10 4.825 10 \
-4t.588-1.412T12 \
-2t1.413.588T14 4\
-t-.587 1.413T12 \
-6t-1.412-.587m4.\
-762 4.637l-1.4-1\
-.45l4.4-4.35l1.4\
- 1.4zm3 9.65L14 \
-15.35l1.4-1.4l4.\
-35 4.35zm.238-6.\
-287Q18 12.825 18\
- 12t.588-1.412T2\
-0 10t1.413.588T2\
-2 12t-.587 1.413\
-T20 14t-1.412-.5\
-87\x22 />\x0a</svg>\x0a\
-\x00\x00\x02O\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-2 2 20 20\x22>\x0a\x09<pa\
-th fill=\x22black\x22 \
-d=\x22M2.588 13.413\
-Q2 12.825 2 12t.\
-588-1.412T4 10t1\
-.413.588T6 12t-.\
-587 1.413T4 14t-\
-1.412-.587M5.65 \
-19.7l-1.4-1.4l4.\
-35-4.35l1.4 1.4z\
-m3-9.7L4.3 5.65l\
-1.4-1.4l4.35 4.3\
-5zm1.938 11.413Q\
-10 20.825 10 20t\
-.588-1.412T12 18\
-t1.413.588T14 20\
-t-.587 1.413T12 \
-22t-1.412-.587m0\
--16Q10 4.825 10 \
-4t.588-1.412T12 \
-2t1.413.588T14 4\
-t-.587 1.413T12 \
-6t-1.412-.587m4.\
-762 4.637l-1.4-1\
-.45l4.4-4.35l1.4\
- 1.4zm3 9.65L14 \
-15.35l1.4-1.4l4.\
-35 4.35zm.238-6.\
-287Q18 12.825 18\
- 12t.588-1.412T2\
-0 10t1.413.588T2\
-2 12t-.587 1.413\
-T20 14t-1.412-.5\
-87\x22 />\x0a</svg>\x0a\
-"
-
-qt_resource_name = b"\
-\x00\x09\
-\x08\xe6\x86\xdb\
-\x00m\
-\x003\x00u\x008\x00_\x00p\x00a\x00c\x00k\
-\x00\x10\
-\x07\xb8/\x07\
-\x00S\
-\x00t\x00r\x00e\x00a\x00m\x00_\x00w\x00h\x00i\x00t\x00e\x00.\x00s\x00v\x00g\
-\x00\x10\
-\x00\x8eF\xa7\
-\x00S\
-\x00t\x00r\x00e\x00a\x00m\x00_\x00b\x00l\x00a\x00c\x00k\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\x02\x00\x00\x00\x02\
-\x00\x00\x00\x00\x00\x00\x00\x00\
-\x00\x00\x00>\x00\x00\x00\x00\x00\x01\x00\x00\x02S\
-\x00\x00\x01\x9f&V\x8d1\
-\x00\x00\x00\x18\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
-\x00\x00\x01\x9f&V\x9b'\
-"
-
-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()
diff --git a/features/yt_dlp_pack/config.py b/features/yt_dlp_pack/config.py
index 76dc9a95..1ae547a6 100644
--- a/features/yt_dlp_pack/config.py
+++ b/features/yt_dlp_pack/config.py
@@ -34,8 +34,7 @@ class YtDlpConfig(PackConfig):
from app.view.components.setting_card_group import CollapsibleSettingCardGroup
from app.view.components.setting_cards import SelectFolderSettingCard, RuntimeCard
- from features.yt_dlp_pack.icons import YTIcon
- group = CollapsibleSettingCardGroup(YTIcon.YOUTUBE, self.tr("YouTube 下载"), "ytdlp", parent)
+ group = CollapsibleSettingCardGroup(self.tr("YouTube 下载"), "ytdlp", parent)
runtimeCard = RuntimeCard(youTubeRuntime, group)
cards = [runtimeCard]
diff --git a/features/yt_dlp_pack/icons/YouTube_black.svg b/features/yt_dlp_pack/icons/YouTube_black.svg
deleted file mode 100644
index 0205546a..00000000
--- a/features/yt_dlp_pack/icons/YouTube_black.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 14">
- <path fill="black" d="M8 1.5c-6.88 0-7 .62-7 5.5s.12 5.5 7 5.5s7-.62 7-5.5s-.12-5.5-7-5.5m2.24 5.74L7.1 8.74c-.28.13-.5-.02-.5-.33V5.59c0-.31.23-.46.5-.33l3.14 1.5c.28.13.28.35 0 .48" />
-</svg>
diff --git a/features/yt_dlp_pack/icons/YouTube_white.svg b/features/yt_dlp_pack/icons/YouTube_white.svg
deleted file mode 100644
index 323e0521..00000000
--- a/features/yt_dlp_pack/icons/YouTube_white.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 14">
- <path fill="white" d="M8 1.5c-6.88 0-7 .62-7 5.5s.12 5.5 7 5.5s7-.62 7-5.5s-.12-5.5-7-5.5m2.24 5.74L7.1 8.74c-.28.13-.5-.02-.5-.33V5.59c0-.31.23-.46.5-.33l3.14 1.5c.28.13.28.35 0 .48" />
-</svg>
diff --git a/features/yt_dlp_pack/icons/__init__.py b/features/yt_dlp_pack/icons/__init__.py
deleted file mode 100644
index fd26cab8..00000000
--- a/features/yt_dlp_pack/icons/__init__.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from __future__ import annotations
-
-from enum import Enum
-
-from qfluentwidgets import FluentIconBase, Theme, getIconColor
-
-from . import icons_rc # noqa: F401
-
-
-class YTIcon(FluentIconBase, Enum):
- YOUTUBE = "YouTube"
-
- def path(self, theme: Theme = Theme.AUTO) -> str:
- return f":/yt_dlp_pack/{self.value}_{getIconColor(theme)}.svg"
diff --git a/features/yt_dlp_pack/icons/icons.qrc b/features/yt_dlp_pack/icons/icons.qrc
deleted file mode 100644
index 7b644f3e..00000000
--- a/features/yt_dlp_pack/icons/icons.qrc
+++ /dev/null
@@ -1,6 +0,0 @@
-<RCC>
- <qresource prefix="yt_dlp_pack">
- <file>YouTube_black.svg</file>
- <file>YouTube_white.svg</file>
- </qresource>
-</RCC>
diff --git a/features/yt_dlp_pack/icons/icons_rc.py b/features/yt_dlp_pack/icons/icons_rc.py
deleted file mode 100644
index ab0b3ec9..00000000
--- a/features/yt_dlp_pack/icons/icons_rc.py
+++ /dev/null
@@ -1,81 +0,0 @@
-# Resource object code (Python 3)
-# Created by: object code
-# Created by: The Resource Compiler for Qt version 6.10.2
-# WARNING! All changes made in this file will be lost!
-
-from PySide6 import QtCore
-
-qt_resource_data = b"\
-\x00\x00\x01\x00\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0 0 16 14\x22>\x0a\x09<pa\
-th fill=\x22white\x22 \
-d=\x22M8 1.5c-6.88 \
-0-7 .62-7 5.5s.1\
-2 5.5 7 5.5s7-.6\
-2 7-5.5s-.12-5.5\
--7-5.5m2.24 5.74\
-L7.1 8.74c-.28.1\
-3-.5-.02-.5-.33V\
-5.59c0-.31.23-.4\
-6.5-.33l3.14 1.5\
-c.28.13.28.35 0 \
-.48\x22 />\x0a</svg>\x0a\
-\x00\x00\x01\x00\
-<\
-svg xmlns=\x22http:\
-//www.w3.org/200\
-0/svg\x22 viewBox=\x22\
-0 0 16 14\x22>\x0a\x09<pa\
-th fill=\x22black\x22 \
-d=\x22M8 1.5c-6.88 \
-0-7 .62-7 5.5s.1\
-2 5.5 7 5.5s7-.6\
-2 7-5.5s-.12-5.5\
--7-5.5m2.24 5.74\
-L7.1 8.74c-.28.1\
-3-.5-.02-.5-.33V\
-5.59c0-.31.23-.4\
-6.5-.33l3.14 1.5\
-c.28.13.28.35 0 \
-.48\x22 />\x0a</svg>\x0a\
-"
-
-qt_resource_name = b"\
-\x00\x0b\
-\x02g,\xfb\
-\x00y\
-\x00t\x00_\x00d\x00l\x00p\x00_\x00p\x00a\x00c\x00k\
-\x00\x11\
-\x063+\xc7\
-\x00Y\
-\x00o\x00u\x00T\x00u\x00b\x00e\x00_\x00w\x00h\x00i\x00t\x00e\x00.\x00s\x00v\x00g\
-\
-\x00\x11\
-\x01\x0dBg\
-\x00Y\
-\x00o\x00u\x00T\x00u\x00b\x00e\x00_\x00b\x00l\x00a\x00c\x00k\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\x02\x00\x00\x00\x02\
-\x00\x00\x00\x00\x00\x00\x00\x00\
-\x00\x00\x00D\x00\x00\x00\x00\x00\x01\x00\x00\x01\x04\
-\x00\x00\x01\x9f#[\xdeB\
-\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
-\x00\x00\x01\x9f#[\xe5\x99\
-"
-
-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()