Tired and Poor and Old - Radio Panel v0.1.1

This commit is contained in:
2026-04-30 00:30:23 +10:00
parent a9249d395f
commit 0c8900ac36
18 changed files with 491 additions and 189 deletions
+10
View File
@@ -178,6 +178,16 @@ class HistoryWidget(QFrame):
self.scroll.setWidget(self.list_widget)
root.addWidget(self.scroll)
def apply_theme(self, theme: dict):
"""Apply theme to history border."""
self.setStyleSheet(f"""
QFrame {{
background-color: {theme['bg2']};
border: 2px solid {theme['border']};
border-radius: 6px;
}}
""")
def add_track(self, filepath: str):
index = len(self._history) + 1
metadata = _read_file_tags(filepath)