summaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2019-05-03 14:40:08 +0200
committerPaweł Redman <pawel.redman@gmail.com>2019-05-03 14:40:08 +0200
commit5a952899e095c82ff706449ee4d3f8c5eaac7911 (patch)
tree493ca4750349d70c5b6fccfafee92b4234241406 /src/main.py
parent3d2e11a1eba4e8b5ff411c9d1e4be61f2c6321e8 (diff)
Start reworking the layout using a QTableWidget
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_())