summaryrefslogtreecommitdiff
path: root/src/ui.py
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2019-06-17 18:25:15 +0200
committerPaweł Redman <pawel.redman@gmail.com>2019-06-17 18:25:15 +0200
commit30a8d019417f59ce825ccdf44b16e0a51bdda3f2 (patch)
treec7b05d11c1b243024a48f7722b0ec525eb780c4f /src/ui.py
parentdb132a783c70908e4a9666307f24b34db29b6560 (diff)
Nuke Jones
Diffstat (limited to 'src/ui.py')
-rw-r--r--src/ui.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ui.py b/src/ui.py
index 60f2fac..22ae436 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -69,8 +69,7 @@ def update():
row.stokes[4].setText("%g°" % (ellipse.alpha * 180 / np.pi))
row.stokes[5].setText("%g°" % (ellipse.theta * 180 / np.pi))
- GUI.widok.intensity = I
- GUI.widok.repaint()
+ GUI.poincare.repaint()
#if GUI.auto_optimize.isChecked():
# optimize()
@@ -144,9 +143,8 @@ class MainWindow(QMainWindow):
rhs = QVBoxLayout()
split.addWidget(LayoutWrapper(rhs))
- Widocques.image = QImage("jones.jpg")
- GUI.widok = Widocques()
- rhs.addWidget(GUI.widok)
+ GUI.poincare = PoincareWidget()
+ rhs.addWidget(GUI.poincare)
GUI.table.populate(system)
update()