From 39e6f494bda9025f3c4946b3976c40a1813b8eb2 Mon Sep 17 00:00:00 2001 From: Djalim Simaila Date: Thu, 27 Apr 2023 15:22:32 +0200 Subject: [PATCH] renamed graphs --- utils/gui/pyqt/main_window/MainWindow.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/gui/pyqt/main_window/MainWindow.py b/utils/gui/pyqt/main_window/MainWindow.py index 299e946..71d8714 100644 --- a/utils/gui/pyqt/main_window/MainWindow.py +++ b/utils/gui/pyqt/main_window/MainWindow.py @@ -31,9 +31,9 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): self.graphType = [ "Aucun", "Mesh3D", - "CoupeXZ", - "CoupeYZ", - "EvolutionRayon", + "Coupe XZ", + "Coupe YZ", + "Evolution du rayon moyen", ] self.obj = None @@ -248,11 +248,11 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): graph_type = slot[1] if graph_type == "Mesh3D": current_slot.addWidget(render3D(obj,False).native) - if graph_type == "CoupeXZ": + if graph_type == "Coupe XZ": current_slot.addWidget(cross_section(obj.get_x(),obj.get_z(),"Coupe XZ",False).native) - if graph_type == "CoupeYZ": + if graph_type == "Coupe YZ": current_slot.addWidget(cross_section(obj.get_y(),obj.get_z(),"Coupe YZ",False).native) - if graph_type == "EvolutionRayon": + if graph_type == "Evolution du rayon moyen": current_slot.addWidget(render2D(list(zip(discrete_data['Z moy (en mm)'],discrete_data['Rayon moyen (en mm)'])),"Evolution du rayon moyen",False).native) def clear_graphs(self):