Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
5af6a039c2 |
@ -178,7 +178,8 @@ HPPA::HPPA(QWidget *parent)
|
|||||||
connect(this->ui.ymotor_backward_btn, SIGNAL(released()), this, SLOT(onyMotorStop()));
|
connect(this->ui.ymotor_backward_btn, SIGNAL(released()), this, SLOT(onyMotorStop()));
|
||||||
|
|
||||||
//<2F>ٶ<EFBFBD>
|
//<2F>ٶ<EFBFBD>
|
||||||
QRegExp rx("\\d{0,3}[1-9]$");
|
//QRegExp rx("\\d{0,3}.[1-9]$");
|
||||||
|
QRegExp rx("^\\d+(\\.\\d+)?$");
|
||||||
ui.xmotor_speed_lineEdit->setValidator(new QRegExpValidator(rx));
|
ui.xmotor_speed_lineEdit->setValidator(new QRegExpValidator(rx));
|
||||||
|
|
||||||
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
|
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>756</width>
|
<width>523</width>
|
||||||
<height>463</height>
|
<height>463</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -25,7 +25,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>90</x>
|
<x>90</x>
|
||||||
<y>250</y>
|
<y>250</y>
|
||||||
<width>578</width>
|
<width>341</width>
|
||||||
<height>134</height>
|
<height>134</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -70,7 +70,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>版本:1.8.4</string>
|
<string>版本:1.8.5</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_4">
|
<widget class="QLabel" name="label_4">
|
||||||
|
Reference in New Issue
Block a user