2024-12-20 18:02:59 +01:00
|
|
|
#!/usr/bin/python3
|
|
|
|
|
2024-12-23 16:02:22 +01:00
|
|
|
from PyQt6.QtWidgets import QWidget, QGridLayout, QSizePolicy
|
2024-12-22 20:52:49 +01:00
|
|
|
from .track_control import TrackControl
|
2024-12-22 21:20:18 +01:00
|
|
|
from .lines import HLine
|
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-23 16:02:22 +01:00
|
|
|
self.layout.addWidget(HLine(self)) # track_control separator line
|
|
|
|
|
|
|
|
self.setSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
|
2024-12-20 18:02:59 +01:00
|
|
|
|