优化SA打标界面布局,调整垂直间距和伸缩因子,提升界面可用性
This commit is contained in:
@ -85,10 +85,6 @@ class Ui_MainWindow_SA_label(object):
|
||||
|
||||
self.verticalLayout_2.addLayout(self.horizontalLayout)
|
||||
|
||||
self.verticalSpacer = QSpacerItem(20, 20, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
self.verticalLayout_2.addItem(self.verticalSpacer)
|
||||
|
||||
self.groupBox = QGroupBox(self.groupBox_left)
|
||||
self.groupBox.setObjectName(u"groupBox")
|
||||
self.verticalLayout_5 = QVBoxLayout(self.groupBox)
|
||||
@ -250,7 +246,7 @@ class Ui_MainWindow_SA_label(object):
|
||||
|
||||
self.verticalLayout_2.addWidget(self.pushButton_reset_event)
|
||||
|
||||
self.verticalSpacer_3 = QSpacerItem(20, 20, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
self.verticalSpacer_3 = QSpacerItem(20, 20, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Maximum)
|
||||
|
||||
self.verticalLayout_2.addItem(self.verticalSpacer_3)
|
||||
|
||||
@ -279,13 +275,12 @@ class Ui_MainWindow_SA_label(object):
|
||||
|
||||
self.verticalLayout_2.setStretch(0, 1)
|
||||
self.verticalLayout_2.setStretch(1, 1)
|
||||
self.verticalLayout_2.setStretch(2, 1)
|
||||
self.verticalLayout_2.setStretch(3, 4)
|
||||
self.verticalLayout_2.setStretch(4, 15)
|
||||
self.verticalLayout_2.setStretch(2, 4)
|
||||
self.verticalLayout_2.setStretch(3, 15)
|
||||
self.verticalLayout_2.setStretch(4, 1)
|
||||
self.verticalLayout_2.setStretch(5, 1)
|
||||
self.verticalLayout_2.setStretch(6, 1)
|
||||
self.verticalLayout_2.setStretch(7, 2)
|
||||
self.verticalLayout_2.setStretch(8, 5)
|
||||
self.verticalLayout_2.setStretch(6, 2)
|
||||
self.verticalLayout_2.setStretch(7, 5)
|
||||
|
||||
self.gridLayout.addWidget(self.groupBox_left, 0, 0, 1, 1)
|
||||
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
<property name="title">
|
||||
<string>睡眠呼吸暂停事件标注</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="1,1,1,4,15,1,1,2,5">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="1,1,4,15,1,1,2,5">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_sampno">
|
||||
<property name="font">
|
||||
@ -95,19 +95,6 @@
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="title">
|
||||
@ -404,7 +391,7 @@
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Expanding</enum>
|
||||
<enum>QSizePolicy::Maximum</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
|
||||
Reference in New Issue
Block a user