Version 1.7.0: Feather Icons via Qt-Ressourcensystem eingebunden
Alle QIcon.fromTheme()-Aufrufe durch eingebettete Feather Icons ersetzt, die unter Windows zuverlässig funktionieren. Icons passen sich automatisch der Palette-Farbe des aktiven Themes an (QSvgRenderer + currentColor). - scripts/download_icons.py: lädt 20 Feather-SVGs von GitHub - src/res/icons/: 20 SVG-Dateien (MIT-Lizenz, stroke=currentColor) - src/res/resources.qrc + resources_rc.py: Qt-Ressourcensystem - src/icons.py: icon()-Hilfsfunktion mit Palette-Farb-Injection - MainWindow, AppSettings, XslDependencyDialog, tree_manager, XsltParamsEditDialog, ProjectXsltParamsDialog: Icons gesetzt - Theme-Wechsel aktualisiert Icons und Tree-Items sofort - THIRD_PARTY_LICENSES.txt: Feather Icons (MIT) eingetragen Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -98,6 +98,9 @@ def main():
|
||||
if icon_path.exists():
|
||||
app.setWindowIcon(QIcon(str(icon_path)))
|
||||
|
||||
# Qt-Ressourcen registrieren (Icons)
|
||||
import res.resources_rc # noqa: F401
|
||||
|
||||
# Hauptfenster erstellen
|
||||
window = MainWindow()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user