From 283930b1b08557d06af1799a19bdc65ee61543c6 Mon Sep 17 00:00:00 2001 From: Djalim Simaila Date: Wed, 10 May 2023 15:54:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style(MainWindow.ui,=20UI=5FMain?= =?UTF-8?q?Window.py):=20update=20GUI=20elements=20default=20values=20The?= =?UTF-8?q?=20default=20value=20of=20the=20"show=5Fgraph=5Fcheckbox"=20ele?= =?UTF-8?q?ment=20has=20been=20changed=20from=20false=20to=20true.=20The?= =?UTF-8?q?=20"x=5Fmean"=20element=20has=20been=20set=20to=20read-only=20m?= =?UTF-8?q?ode.=20The=20"scrollAreaWidgetContents"=20element=20has=20been?= =?UTF-8?q?=20shifted=20upwards=20by=20179=20pixels=20to=20improve=20the?= =?UTF-8?q?=20layout.=20These=20changes=20improve=20the=20user=20experienc?= =?UTF-8?q?e=20and=20make=20the=20GUI=20more=20intuitive.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/gui/pyqt/main_window/MainWindow.ui | 5 ++++- utils/gui/pyqt/main_window/UI_MainWindow.py | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/utils/gui/pyqt/main_window/MainWindow.ui b/utils/gui/pyqt/main_window/MainWindow.ui index fc22876..bdf34fd 100644 --- a/utils/gui/pyqt/main_window/MainWindow.ui +++ b/utils/gui/pyqt/main_window/MainWindow.ui @@ -135,7 +135,7 @@ afficher les graphes - false + true @@ -262,6 +262,9 @@ + + true + QAbstractSpinBox::NoButtons diff --git a/utils/gui/pyqt/main_window/UI_MainWindow.py b/utils/gui/pyqt/main_window/UI_MainWindow.py index e257896..4ac9872 100644 --- a/utils/gui/pyqt/main_window/UI_MainWindow.py +++ b/utils/gui/pyqt/main_window/UI_MainWindow.py @@ -84,7 +84,7 @@ class Ui_MainWindow(object): self.graphs_params_layout = QtWidgets.QHBoxLayout() self.graphs_params_layout.setObjectName("graphs_params_layout") self.show_graph_checkbox = QtWidgets.QCheckBox(self.parameters) - self.show_graph_checkbox.setChecked(False) + self.show_graph_checkbox.setChecked(True) self.show_graph_checkbox.setObjectName("show_graph_checkbox") self.graphs_params_layout.addWidget(self.show_graph_checkbox) self.label = QtWidgets.QLabel(self.parameters) @@ -114,7 +114,7 @@ class Ui_MainWindow(object): self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() - self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 431, 907)) + self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, -179, 431, 907)) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0)