Wobuzz/wobuzz/ui/main_container.py

22 lines
518 B
Python
Raw Normal View History

2024-12-20 18:02:59 +01:00
#!/usr/bin/python3
2024-12-22 21:20:18 +01:00
from PyQt6.QtWidgets import QWidget, QFrame, QDockWidget, QGridLayout
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
2024-12-22 21:20:18 +01:00
self.layout.addWidget(HLine(self))
2024-12-20 18:02:59 +01:00
self.track_control = TrackControl(self)
self.layout.addWidget(self.track_control)
2024-12-22 21:20:18 +01:00
self.layout.addWidget(HLine(self))
2024-12-20 18:02:59 +01:00