🎨 style(MainWindow.ui, UI_MainWindow.py): update GUI elements default values

The default value of the "show_graph_checkbox" element has been changed from false to true. The "x_mean" element has been set to read-only mode. The "scrollAreaWidgetContents" element has been shifted upwards by 179 pixels to improve the layout. These changes improve the user experience and make the GUI more intuitive.
This commit is contained in:
Djalim Simaila 2023-05-10 15:54:51 +02:00
parent e1d3ad7a55
commit 283930b1b0
2 changed files with 6 additions and 3 deletions

View File

@ -135,7 +135,7 @@
<string>afficher les graphes</string>
</property>
<property name="checked">
<bool>false</bool>
<bool>true</bool>
</property>
</widget>
</item>
@ -262,6 +262,9 @@
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="x_mean">
<property name="readOnly">
<bool>true</bool>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::NoButtons</enum>
</property>

View File

@ -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)