summaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2019-04-28 17:29:18 +0200
committerPaweł Redman <pawel.redman@gmail.com>2019-04-28 19:07:20 +0200
commit52a8a95a8553f5b2a1224db474e6cf1d649533c8 (patch)
tree003e0c94839b6daebef19049c75ba0ed43082a7b /src/main.py
Initial commit
Diffstat (limited to 'src/main.py')
-rw-r--r--src/main.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main.py b/src/main.py
new file mode 100644
index 0000000..df90be5
--- /dev/null
+++ b/src/main.py
@@ -0,0 +1,19 @@
+import re, sys, traceback
+from PyQt5.QtWidgets import *
+from PyQt5.QtGui import *
+from PyQt5.QtCore import *
+
+import ui, phys, io
+
+system = phys.System()
+
+class Window(QMainWindow):
+ def __init__(self):
+ super().__init__()
+ self.statusBar()
+ self.setWindowTitle("Polarizzazione italiana")
+ ui.setup(self, system)
+
+app = QApplication(sys.argv)
+win = Window()
+sys.exit(app.exec_())