modify screen
This commit is contained in:
parent
1c8bdeaaac
commit
84dad3a3aa
@ -238,7 +238,9 @@ enum CMTCommand {
|
||||
kConfigDeviceID = 32, // 配置设备编号,编号范围为1~99
|
||||
kGetVoltageRangeValue = 33, // 获取子板动态电压范围
|
||||
kGetVibAuxProcessVersion = 34,
|
||||
kGetProcessID = 38 // 获取进程号
|
||||
kGetProcessID = 38, // 获取进程号
|
||||
kGetProductInfo = 101, // 获取产品信息
|
||||
kSetProductInfo = 102 // 填写产品信息
|
||||
};
|
||||
enum RS485Baudrate {
|
||||
kBaudrate2400 = 0,
|
||||
|
||||
@ -239,7 +239,7 @@
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab">
|
||||
<attribute name="title">
|
||||
@ -1109,7 +1109,7 @@
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget_2">
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab_5">
|
||||
<attribute name="title">
|
||||
|
||||
@ -116,7 +116,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
//qInstallMessageHandler(messageHandler);
|
||||
#endif
|
||||
QDate buildDate = QLocale( QLocale::English ).toDate( QString(__DATE__).replace(" ", " 0"), "MMM dd yyyy");
|
||||
QString Version = "V1.0_" + buildDate.toString("yyyyMMdd") + "_f7e5";
|
||||
QString Version = "V1.0_" + buildDate.toString("yyyyMMdd") + "_1c8b";
|
||||
ui->label_version->setText(Version);
|
||||
}
|
||||
|
||||
|
||||
102
tachometer.ui
102
tachometer.ui
@ -311,6 +311,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_51">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>V</string>
|
||||
</property>
|
||||
@ -366,6 +372,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_50">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>V</string>
|
||||
</property>
|
||||
@ -851,6 +863,12 @@
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_12">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_28">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>105</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>键齿数:</string>
|
||||
</property>
|
||||
@ -874,6 +892,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_25">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>1 - 10000</string>
|
||||
</property>
|
||||
@ -888,8 +912,6 @@
|
||||
<property name="title">
|
||||
<string>警报</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_23">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_22">
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_50">
|
||||
@ -1479,15 +1501,13 @@
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<width>150</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@ -1553,6 +1573,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_52">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>V</string>
|
||||
</property>
|
||||
@ -1608,6 +1634,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_53">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>V</string>
|
||||
</property>
|
||||
@ -2084,6 +2116,12 @@
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_24">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_32">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>105</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>键齿数:</string>
|
||||
</property>
|
||||
@ -2107,6 +2145,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_33">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>1 - 10000</string>
|
||||
</property>
|
||||
@ -2782,6 +2826,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_54">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>V</string>
|
||||
</property>
|
||||
@ -2837,6 +2887,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_55">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>V</string>
|
||||
</property>
|
||||
@ -3313,6 +3369,12 @@
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_36">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_36">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>105</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>键齿数:</string>
|
||||
</property>
|
||||
@ -3336,6 +3398,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_37">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>1 - 10000</string>
|
||||
</property>
|
||||
@ -4011,6 +4079,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_56">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>V</string>
|
||||
</property>
|
||||
@ -4066,6 +4140,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_57">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>V</string>
|
||||
</property>
|
||||
@ -4545,6 +4625,12 @@
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_45">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_40">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>105</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>键齿数:</string>
|
||||
</property>
|
||||
@ -4568,6 +4654,12 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_41">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>1 - 10000</string>
|
||||
</property>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user