修改界面小数保留位数

This commit is contained in:
zhangsheng 2024-12-19 10:24:27 +08:00
parent 8911ba7601
commit 7421afff1d
4 changed files with 41 additions and 8 deletions

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>699</width>
<height>530</height>
<height>563</height>
</rect>
</property>
<property name="windowTitle">
@ -19,11 +19,11 @@
<x>40</x>
<y>100</y>
<width>621</width>
<height>361</height>
<height>391</height>
</rect>
</property>
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
@ -477,6 +477,9 @@
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
</widget>
<widget class="QComboBox" name="comboBox_4">
<property name="geometry">
@ -533,6 +536,9 @@
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="maximum">
<double>99.900000000000006</double>
</property>
@ -556,6 +562,9 @@
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
</widget>
<widget class="QComboBox" name="comboBox_5">
<property name="geometry">
@ -640,6 +649,9 @@
<height>16</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_5">
<property name="geometry">
@ -855,7 +867,7 @@
<property name="geometry">
<rect>
<x>20</x>
<y>480</y>
<y>510</y>
<width>651</width>
<height>29</height>
</rect>

View File

@ -413,6 +413,9 @@
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="maximum">
<double>99.900000000000006</double>
</property>
@ -436,6 +439,9 @@
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="maximum">
<double>99.900000000000006</double>
</property>
@ -573,6 +579,9 @@
<height>16</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="maximum">
<double>99.900000000000006</double>
</property>

View File

@ -113,7 +113,7 @@
<rect>
<x>20</x>
<y>520</y>
<width>113</width>
<width>119</width>
<height>22</height>
</rect>
</property>
@ -121,7 +121,7 @@
<item>
<widget class="QLabel" name="label_20">
<property name="text">
<string>板卡 2</string>
<string>槽位号2</string>
</property>
</widget>
</item>
@ -315,7 +315,7 @@
</rect>
</property>
<property name="text">
<string>1X 幅值</string>
<string>1倍频幅值</string>
</property>
</widget>
<widget class="QLabel" name="label_28">
@ -403,7 +403,7 @@
</rect>
</property>
<property name="text">
<string>2X 幅值</string>
<string>2倍频幅值</string>
</property>
</widget>
</widget>

View File

@ -534,6 +534,9 @@
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
</widget>
<widget class="QComboBox" name="comboBox_16">
<property name="geometry">
@ -590,6 +593,9 @@
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
</widget>
<widget class="QDoubleSpinBox" name="doubleSpinBox_21">
<property name="geometry">
@ -610,6 +616,9 @@
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
</widget>
<widget class="QComboBox" name="comboBox_17">
<property name="geometry">
@ -694,6 +703,9 @@
<height>16</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_23">
<property name="geometry">