Improved library style.

This commit is contained in:
The Wobbler 2024-12-22 21:20:18 +01:00
parent 2f0c01601d
commit 368bbbe6f8
5 changed files with 40 additions and 15 deletions

View file

@ -1,12 +1,15 @@
#!/usr/bin/python3
from PyQt6.QtWidgets import QToolBox, QLabel
from PyQt6.QtWidgets import QToolBox, QLabel, QFrame
class Library(QToolBox):
def __init__(self, parent=None):
super().__init__(parent)
self.setFrameShape(QFrame.Shape.Box)
self.setFrameShadow(QFrame.Shadow.Sunken)
label = QLabel()
self.addItem(label, "Playlists")
label = QLabel()