summaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.py')
-rw-r--r--src/main.py13
1 files changed, 4 insertions, 9 deletions
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_())