Spaces:
Runtime error
Runtime error
File size: 807 Bytes
970efde |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
from PySide6.QtWidgets import QWidget, QVBoxLayout, QHBoxLayout, QPushButton
from qt.components import ComboWithLabel, TextWithLabel
class ConfigWidget(QWidget):
def __init__(self):
super().__init__()
layout = QVBoxLayout(self)
top_layout = QHBoxLayout()
layout.addLayout(top_layout)
bottom_layout = QHBoxLayout()
layout.addLayout(bottom_layout)
self.config_select = ComboWithLabel("Select")
top_layout.addWidget(self.config_select, 1)
self.load_config = QPushButton("Load")
bottom_layout.addWidget(self.load_config, 1)
self.config_name = TextWithLabel("Name")
top_layout.addWidget(self.config_name, 1)
self.save_config = QPushButton("Save")
bottom_layout.addWidget(self.save_config, 1)
|