#!/usr/bin/python3 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() self.addItem(label, "Genres") label = QLabel() self.addItem(label, "Albums") label = QLabel() self.addItem(label, "Artists") label = QLabel() self.addItem(label, "Tracks")