Wobuzz/wobuzz/ui/library.py

22 lines
534 B
Python
Raw Permalink Normal View History

2024-12-22 20:52:49 +01:00
#!/usr/bin/python3
2024-12-23 16:02:22 +01:00
from PyQt6.QtWidgets import QToolBox, QLabel, QFrame, QTabWidget
2024-12-22 20:52:49 +01:00
class Library(QToolBox):
def __init__(self, parent=None):
super().__init__(parent)
self.playlist_tabs = QTabWidget()
self.addItem(self.playlist_tabs, "Playlists")
2024-12-22 20:52:49 +01:00
label = QLabel()
self.addItem(label, "Genres")
label = QLabel()
self.addItem(label, "Albums")
label = QLabel()
self.addItem(label, "Artists")
label = QLabel()
self.addItem(label, "Tracks")