Wobuzz/wobuzz/ui/library.py

24 lines
587 B
Python
Raw Normal View History

2024-12-22 20:52:49 +01:00
#!/usr/bin/python3
2024-12-22 21:20:18 +01:00
from PyQt6.QtWidgets import QToolBox, QLabel, QFrame
2024-12-22 20:52:49 +01:00
class Library(QToolBox):
def __init__(self, parent=None):
super().__init__(parent)
2024-12-22 21:20:18 +01:00
self.setFrameShape(QFrame.Shape.Box)
self.setFrameShadow(QFrame.Shadow.Sunken)
2024-12-22 20:52:49 +01:00
label = QLabel()
self.addItem(label, "Playlists")
label = QLabel()
self.addItem(label, "Genres")
label = QLabel()
self.addItem(label, "Albums")
label = QLabel()
self.addItem(label, "Artists")
label = QLabel()
self.addItem(label, "Tracks")