Wobuzz/wobuzz/ui/main_container.py

26 lines
800 B
Python
Raw Normal View History

2024-12-20 18:02:59 +01:00
#!/usr/bin/python3
2024-12-22 20:52:49 +01:00
from PyQt6.QtWidgets import QWidget, QFrame, QGridLayout
from .track_control import TrackControl
from .library_dock import LibraryDock
2024-12-20 18:02:59 +01:00
class MainContainer(QWidget):
def __init__(self, parent=None):
super().__init__(parent)
self.layout = QGridLayout()
2024-12-22 20:52:49 +01:00
self.setLayout(self.layout)
2024-12-20 18:02:59 +01:00
self.track_control = TrackControl(self)
self.layout.addWidget(self.track_control)
2024-12-22 20:52:49 +01:00
self.track_control_separator_line = QFrame()
self.track_control_separator_line.setFrameShape(QFrame.Shape.HLine)
self.track_control_separator_line.setFrameShadow(QFrame.Shadow.Sunken)
self.layout.addWidget(self.track_control_separator_line)
self.library_dock = LibraryDock(self)
self.layout.addWidget(self.library_dock)
2024-12-20 18:02:59 +01:00