#!/usr/bin/python3 from PyQt6.QtWidgets import QDockWidget, QHBoxLayout from.library import Library class LibraryDock(QDockWidget): def __init__(self, parent=None): super().__init__(parent) self.library = Library(self) self.setWidget(self.library)