修改界面小数保留位数

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

View File

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

View File

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

View File

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