update 更新部分UI,增加速度设置

This commit is contained in:
FrankCV2048
2024-09-05 23:01:15 +08:00
parent 371ee321d4
commit 1918520cc9
7 changed files with 575 additions and 281 deletions

View File

@ -270,7 +270,7 @@ QSlider::sub-page:horizontal
<enum>Qt::Orientation::Horizontal</enum>
</property>
</widget>
<widget class="QLabel" name="label_maxNum_2">
<widget class="QLabel" name="label_maxNum">
<property name="geometry">
<rect>
<x>800</x>
@ -290,9 +290,9 @@ QSlider::sub-page:horizontal
<property name="geometry">
<rect>
<x>500</x>
<y>200</y>
<y>190</y>
<width>331</width>
<height>251</height>
<height>281</height>
</rect>
</property>
<property name="styleSheet">
@ -307,9 +307,9 @@ QSlider::sub-page:horizontal
<widget class="QSlider" name="horizontalSlider_J1">
<property name="geometry">
<rect>
<x>60</x>
<y>20</y>
<width>221</width>
<x>65</x>
<y>50</y>
<width>171</width>
<height>22</height>
</rect>
</property>
@ -320,8 +320,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_j1_min">
<property name="geometry">
<rect>
<x>60</x>
<y>0</y>
<x>65</x>
<y>30</y>
<width>31</width>
<height>21</height>
</rect>
@ -333,8 +333,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_j1_max">
<property name="geometry">
<rect>
<x>260</x>
<y>0</y>
<x>215</x>
<y>30</y>
<width>31</width>
<height>21</height>
</rect>
@ -346,8 +346,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_j2_min">
<property name="geometry">
<rect>
<x>60</x>
<y>40</y>
<x>65</x>
<y>70</y>
<width>53</width>
<height>21</height>
</rect>
@ -359,8 +359,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_j2_max">
<property name="geometry">
<rect>
<x>260</x>
<y>40</y>
<x>215</x>
<y>70</y>
<width>21</width>
<height>21</height>
</rect>
@ -372,9 +372,9 @@ QSlider::sub-page:horizontal
<widget class="QSlider" name="horizontalSlider_J2">
<property name="geometry">
<rect>
<x>60</x>
<y>60</y>
<width>221</width>
<x>65</x>
<y>90</y>
<width>171</width>
<height>22</height>
</rect>
</property>
@ -385,8 +385,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_j3_min">
<property name="geometry">
<rect>
<x>60</x>
<y>80</y>
<x>65</x>
<y>110</y>
<width>53</width>
<height>21</height>
</rect>
@ -398,8 +398,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_j3_max">
<property name="geometry">
<rect>
<x>260</x>
<y>80</y>
<x>215</x>
<y>110</y>
<width>21</width>
<height>21</height>
</rect>
@ -411,9 +411,9 @@ QSlider::sub-page:horizontal
<widget class="QSlider" name="horizontalSlider_J3">
<property name="geometry">
<rect>
<x>60</x>
<y>100</y>
<width>221</width>
<x>65</x>
<y>130</y>
<width>171</width>
<height>22</height>
</rect>
</property>
@ -424,8 +424,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_j5_min">
<property name="geometry">
<rect>
<x>60</x>
<y>160</y>
<x>65</x>
<y>190</y>
<width>53</width>
<height>21</height>
</rect>
@ -437,9 +437,9 @@ QSlider::sub-page:horizontal
<widget class="QSlider" name="horizontalSlider_J5">
<property name="geometry">
<rect>
<x>60</x>
<y>180</y>
<width>221</width>
<x>65</x>
<y>210</y>
<width>171</width>
<height>22</height>
</rect>
</property>
@ -450,8 +450,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_j5_max">
<property name="geometry">
<rect>
<x>260</x>
<y>160</y>
<x>215</x>
<y>190</y>
<width>21</width>
<height>21</height>
</rect>
@ -463,8 +463,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_j6_min">
<property name="geometry">
<rect>
<x>60</x>
<y>200</y>
<x>65</x>
<y>230</y>
<width>53</width>
<height>21</height>
</rect>
@ -476,9 +476,9 @@ QSlider::sub-page:horizontal
<widget class="QSlider" name="horizontalSlider_J6">
<property name="geometry">
<rect>
<x>60</x>
<y>220</y>
<width>221</width>
<x>65</x>
<y>250</y>
<width>171</width>
<height>22</height>
</rect>
</property>
@ -489,8 +489,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_j6_max">
<property name="geometry">
<rect>
<x>260</x>
<y>200</y>
<x>215</x>
<y>230</y>
<width>21</width>
<height>21</height>
</rect>
@ -502,8 +502,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_j4_min">
<property name="geometry">
<rect>
<x>60</x>
<y>120</y>
<x>65</x>
<y>150</y>
<width>53</width>
<height>21</height>
</rect>
@ -515,9 +515,9 @@ QSlider::sub-page:horizontal
<widget class="QSlider" name="horizontalSlider_J4">
<property name="geometry">
<rect>
<x>60</x>
<y>140</y>
<width>221</width>
<x>65</x>
<y>170</y>
<width>171</width>
<height>22</height>
</rect>
</property>
@ -528,8 +528,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_j4_max">
<property name="geometry">
<rect>
<x>260</x>
<y>120</y>
<x>215</x>
<y>150</y>
<width>21</width>
<height>21</height>
</rect>
@ -541,8 +541,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_26">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<x>15</x>
<y>50</y>
<width>21</width>
<height>21</height>
</rect>
@ -557,8 +557,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_27">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<x>15</x>
<y>90</y>
<width>21</width>
<height>21</height>
</rect>
@ -573,8 +573,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_28">
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<x>15</x>
<y>130</y>
<width>21</width>
<height>21</height>
</rect>
@ -589,8 +589,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_29">
<property name="geometry">
<rect>
<x>10</x>
<y>140</y>
<x>15</x>
<y>170</y>
<width>21</width>
<height>21</height>
</rect>
@ -605,8 +605,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_30">
<property name="geometry">
<rect>
<x>10</x>
<y>180</y>
<x>15</x>
<y>210</y>
<width>21</width>
<height>21</height>
</rect>
@ -621,8 +621,8 @@ QSlider::sub-page:horizontal
<widget class="QLabel" name="label_31">
<property name="geometry">
<rect>
<x>10</x>
<y>220</y>
<x>15</x>
<y>250</y>
<width>21</width>
<height>21</height>
</rect>
@ -634,11 +634,11 @@ QSlider::sub-page:horizontal
<string>J6</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_39">
<widget class="QPushButton" name="pushButton_j1_add">
<property name="geometry">
<rect>
<x>290</x>
<y>20</y>
<x>245</x>
<y>50</y>
<width>31</width>
<height>21</height>
</rect>
@ -664,11 +664,11 @@ font: 10pt &quot;楷体&quot;;
<iconset theme="QIcon::ThemeIcon::ListAdd"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_40">
<widget class="QPushButton" name="pushButton_j1_sub">
<property name="geometry">
<rect>
<x>25</x>
<y>20</y>
<x>30</x>
<y>50</y>
<width>31</width>
<height>21</height>
</rect>
@ -694,11 +694,11 @@ font: 10pt &quot;楷体&quot;;
<iconset theme="QIcon::ThemeIcon::ListRemove"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_41">
<widget class="QPushButton" name="pushButton_j2_sub">
<property name="geometry">
<rect>
<x>25</x>
<y>60</y>
<x>30</x>
<y>90</y>
<width>31</width>
<height>21</height>
</rect>
@ -724,11 +724,11 @@ font: 10pt &quot;楷体&quot;;
<iconset theme="QIcon::ThemeIcon::ListRemove"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_42">
<widget class="QPushButton" name="pushButton_j2_add">
<property name="geometry">
<rect>
<x>290</x>
<y>60</y>
<x>245</x>
<y>90</y>
<width>31</width>
<height>21</height>
</rect>
@ -754,11 +754,11 @@ font: 10pt &quot;楷体&quot;;
<iconset theme="QIcon::ThemeIcon::ListAdd"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_43">
<widget class="QPushButton" name="pushButton_j3_sub">
<property name="geometry">
<rect>
<x>25</x>
<y>100</y>
<x>30</x>
<y>130</y>
<width>31</width>
<height>21</height>
</rect>
@ -784,11 +784,11 @@ font: 10pt &quot;楷体&quot;;
<iconset theme="QIcon::ThemeIcon::ListRemove"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_44">
<widget class="QPushButton" name="pushButton_j3_add">
<property name="geometry">
<rect>
<x>290</x>
<y>100</y>
<x>245</x>
<y>130</y>
<width>31</width>
<height>21</height>
</rect>
@ -814,11 +814,11 @@ font: 10pt &quot;楷体&quot;;
<iconset theme="QIcon::ThemeIcon::ListAdd"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_45">
<widget class="QPushButton" name="pushButton_j4_add">
<property name="geometry">
<rect>
<x>290</x>
<y>140</y>
<x>245</x>
<y>170</y>
<width>31</width>
<height>21</height>
</rect>
@ -844,11 +844,11 @@ font: 10pt &quot;楷体&quot;;
<iconset theme="QIcon::ThemeIcon::ListAdd"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_46">
<widget class="QPushButton" name="pushButton_j5_sub">
<property name="geometry">
<rect>
<x>25</x>
<y>180</y>
<x>30</x>
<y>210</y>
<width>31</width>
<height>21</height>
</rect>
@ -874,11 +874,11 @@ font: 10pt &quot;楷体&quot;;
<iconset theme="QIcon::ThemeIcon::ListRemove"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_47">
<widget class="QPushButton" name="pushButton_j6_add">
<property name="geometry">
<rect>
<x>290</x>
<y>220</y>
<x>245</x>
<y>250</y>
<width>31</width>
<height>21</height>
</rect>
@ -904,11 +904,11 @@ font: 10pt &quot;楷体&quot;;
<iconset theme="QIcon::ThemeIcon::ListAdd"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_48">
<widget class="QPushButton" name="pushButton_j6_sub">
<property name="geometry">
<rect>
<x>25</x>
<y>220</y>
<x>30</x>
<y>250</y>
<width>31</width>
<height>21</height>
</rect>
@ -934,11 +934,11 @@ font: 10pt &quot;楷体&quot;;
<iconset theme="QIcon::ThemeIcon::ListRemove"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_49">
<widget class="QPushButton" name="pushButton_j4_sub">
<property name="geometry">
<rect>
<x>25</x>
<y>140</y>
<x>30</x>
<y>170</y>
<width>31</width>
<height>21</height>
</rect>
@ -964,11 +964,11 @@ font: 10pt &quot;楷体&quot;;
<iconset theme="QIcon::ThemeIcon::ListRemove"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_50">
<widget class="QPushButton" name="pushButton_j5_add">
<property name="geometry">
<rect>
<x>290</x>
<y>180</y>
<x>245</x>
<y>210</y>
<width>31</width>
<height>21</height>
</rect>
@ -997,8 +997,8 @@ font: 10pt &quot;楷体&quot;;
<widget class="QLineEdit" name="lineEdit_j1">
<property name="geometry">
<rect>
<x>140</x>
<y>3</y>
<x>285</x>
<y>50</y>
<width>41</width>
<height>21</height>
</rect>
@ -1007,8 +1007,8 @@ font: 10pt &quot;楷体&quot;;
<widget class="QLineEdit" name="lineEdit_j2">
<property name="geometry">
<rect>
<x>140</x>
<y>41</y>
<x>285</x>
<y>90</y>
<width>41</width>
<height>21</height>
</rect>
@ -1017,8 +1017,8 @@ font: 10pt &quot;楷体&quot;;
<widget class="QLineEdit" name="lineEdit_j3">
<property name="geometry">
<rect>
<x>140</x>
<y>82</y>
<x>285</x>
<y>130</y>
<width>41</width>
<height>21</height>
</rect>
@ -1027,8 +1027,8 @@ font: 10pt &quot;楷体&quot;;
<widget class="QLineEdit" name="lineEdit_j4">
<property name="geometry">
<rect>
<x>140</x>
<y>120</y>
<x>285</x>
<y>170</y>
<width>41</width>
<height>21</height>
</rect>
@ -1037,8 +1037,8 @@ font: 10pt &quot;楷体&quot;;
<widget class="QLineEdit" name="lineEdit_j5">
<property name="geometry">
<rect>
<x>140</x>
<y>162</y>
<x>285</x>
<y>210</y>
<width>41</width>
<height>21</height>
</rect>
@ -1047,13 +1047,120 @@ font: 10pt &quot;楷体&quot;;
<widget class="QLineEdit" name="lineEdit_j6">
<property name="geometry">
<rect>
<x>140</x>
<y>200</y>
<x>285</x>
<y>250</y>
<width>41</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_j1">
<property name="geometry">
<rect>
<x>125</x>
<y>32</y>
<width>53</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_j2">
<property name="geometry">
<rect>
<x>125</x>
<y>70</y>
<width>53</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_j3">
<property name="geometry">
<rect>
<x>125</x>
<y>110</y>
<width>53</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_j4">
<property name="geometry">
<rect>
<x>125</x>
<y>150</y>
<width>53</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_j5">
<property name="geometry">
<rect>
<x>125</x>
<y>190</y>
<width>53</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_j6">
<property name="geometry">
<rect>
<x>125</x>
<y>230</y>
<width>53</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_manual_adjust_accuracy">
<property name="geometry">
<rect>
<x>110</x>
<y>10</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>1</string>
</property>
<property name="placeholderText">
<string>0.001-20</string>
</property>
</widget>
<widget class="QLabel" name="label_manual_adjust_accuracy">
<property name="geometry">
<rect>
<x>50</x>
<y>13</y>
<width>53</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>调整间隔:</string>
</property>
</widget>
</widget>
<widget class="QTextEdit" name="textEdit_log">
<property name="geometry">
@ -1061,7 +1168,7 @@ font: 10pt &quot;楷体&quot;;
<x>10</x>
<y>280</y>
<width>481</width>
<height>171</height>
<height>191</height>
</rect>
</property>
<property name="styleSheet">
@ -1444,7 +1551,7 @@ background-color: #499c8a;
<property name="geometry">
<rect>
<x>750</x>
<y>470</y>
<y>480</y>
<width>91</width>
<height>31</height>
</rect>
@ -1474,7 +1581,7 @@ background-color:#1cb052;
<property name="geometry">
<rect>
<x>350</x>
<y>470</y>
<y>480</y>
<width>91</width>
<height>31</height>
</rect>
@ -1503,7 +1610,7 @@ background-color: #499c8a;
<property name="geometry">
<rect>
<x>450</x>
<y>470</y>
<y>480</y>
<width>91</width>
<height>31</height>
</rect>
@ -1532,7 +1639,7 @@ background-color: #FFF000;
<property name="geometry">
<rect>
<x>650</x>
<y>470</y>
<y>480</y>
<width>91</width>
<height>31</height>
</rect>
@ -1563,7 +1670,7 @@ background-color:#1053b2;
<property name="geometry">
<rect>
<x>550</x>
<y>470</y>
<y>480</y>
<width>91</width>
<height>31</height>
</rect>
@ -1589,6 +1696,63 @@ background-color: #ff6e00;
<iconset theme="QIcon::ThemeIcon::WindowClose"/>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_speed">
<property name="geometry">
<rect>
<x>110</x>
<y>490</y>
<width>113</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>10</string>
</property>
<property name="placeholderText">
<string>输入整数,切勿超速</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>20</x>
<y>493</y>
<width>81</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>当前自动速度:</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_speed">
<property name="geometry">
<rect>
<x>100</x>
<y>490</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">
*{background-color: #F9FAFC;
border: 1px solid #dcdfe6;
border-radius: 10px;
font: 10pt &quot;楷体&quot;;
}
*:hover {
background-color: lightgreen;
color: black;
}*:pressed {
background-color: red;
color: white;
}</string>
</property>
<property name="text">
<string>PushButton</string>
</property>
</widget>
</widget>
</widget>
</widget>