From 5a952899e095c82ff706449ee4d3f8c5eaac7911 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Fri, 3 May 2019 14:40:08 +0200 Subject: Start reworking the layout using a QTableWidget --- src/main.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/main.py') diff --git a/src/main.py b/src/main.py index ea1122c..ce3a9ff 100644 --- a/src/main.py +++ b/src/main.py @@ -5,15 +5,10 @@ from PyQt5.QtCore import * import ui, phys, file -system = phys.System() - -class Window(QMainWindow): - def __init__(self): - super().__init__() - self.statusBar() - self.setWindowTitle("Polarizzazione italiana") - ui.setup(self, system) +#system = phys.System() +system = file.open_system("4.woz") app = QApplication(sys.argv) -win = Window() +win = ui.MainWindow(system) +win.show() sys.exit(app.exec_()) -- cgit