diff options
Diffstat (limited to 'src/ui.py')
-rw-r--r-- | src/ui.py | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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() |