refine ui.

This commit is contained in:
pandx 2024-12-24 14:11:20 +08:00
parent 910f6c5ebb
commit 6e4a8013cb
11 changed files with 2354 additions and 1379 deletions

View File

@ -13,8 +13,6 @@ SOURCES += \
keyphase.cpp \ keyphase.cpp \
main.cpp \ main.cpp \
mainwindow.cpp \ mainwindow.cpp \
overspeedgroup.cpp \
overspeedrelay.cpp \
radial_vibration.cpp \ radial_vibration.cpp \
seismic_monitor.cpp \ seismic_monitor.cpp \
setpoint.cpp \ setpoint.cpp \
@ -25,8 +23,6 @@ HEADERS += \
acceleration.h \ acceleration.h \
keyphase.h \ keyphase.h \
mainwindow.h \ mainwindow.h \
overspeedgroup.h \
overspeedrelay.h \
radial_vibration.h \ radial_vibration.h \
seismic_monitor.h \ seismic_monitor.h \
setpoint.h \ setpoint.h \
@ -37,8 +33,6 @@ FORMS += \
acceleration.ui \ acceleration.ui \
keyphase.ui \ keyphase.ui \
mainwindow.ui \ mainwindow.ui \
overspeedgroup.ui \
overspeedrelay.ui \
radial_vibration.ui \ radial_vibration.ui \
seismic_monitor.ui \ seismic_monitor.ui \
setpoint.ui \ setpoint.ui \

View File

@ -48,11 +48,11 @@
<x>10</x> <x>10</x>
<y>110</y> <y>110</y>
<width>251</width> <width>251</width>
<height>141</height> <height>191</height>
</rect> </rect>
</property> </property>
<property name="title"> <property name="title">
<string>阈值</string> <string>阈值与回差</string>
</property> </property>
<widget class="QGroupBox" name="groupBox_2"> <widget class="QGroupBox" name="groupBox_2">
<property name="geometry"> <property name="geometry">
@ -99,14 +99,14 @@
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>140</x> <x>130</x>
<y>50</y> <y>50</y>
<width>41</width> <width>41</width>
<height>16</height> <height>20</height>
</rect> </rect>
</property> </property>
<property name="text"> <property name="text">
<string>值:</string> <string>值:</string>
</property> </property>
</widget> </widget>
<widget class="QDoubleSpinBox" name="doubleSpinBox"> <widget class="QDoubleSpinBox" name="doubleSpinBox">
@ -138,12 +138,24 @@
<string>-20.0 to 0.0 Volts</string> <string>-20.0 to 0.0 Volts</string>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>140</x>
<y>150</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>0.2 to 2.5 Volts</string>
</property>
</widget> </widget>
<widget class="QLabel" name="label_5"> <widget class="QLabel" name="label_5">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>10</x> <x>10</x>
<y>275</y> <y>150</y>
<width>58</width> <width>58</width>
<height>16</height> <height>16</height>
</rect> </rect>
@ -156,7 +168,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>60</x> <x>60</x>
<y>275</y> <y>150</y>
<width>62</width> <width>62</width>
<height>22</height> <height>22</height>
</rect> </rect>
@ -168,18 +180,6 @@
<double>2.000000000000000</double> <double>2.000000000000000</double>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>140</x>
<y>280</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>0.2 to 2.5 Volts</string>
</property>
</widget> </widget>
<widget class="QGroupBox" name="groupBox_3"> <widget class="QGroupBox" name="groupBox_3">
<property name="geometry"> <property name="geometry">
@ -488,19 +488,6 @@
<string>键齿数:</string> <string>键齿数:</string>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label_14">
<property name="geometry">
<rect>
<x>140</x>
<y>281</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>0.2 to 2.5 Volts</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_6"> <widget class="QGroupBox" name="groupBox_6">
<property name="geometry"> <property name="geometry">
<rect> <rect>
@ -566,19 +553,6 @@
</property> </property>
</widget> </widget>
</widget> </widget>
<widget class="QLabel" name="label_16">
<property name="geometry">
<rect>
<x>10</x>
<y>276</y>
<width>58</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>回差:</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_2"> <widget class="QCheckBox" name="checkBox_2">
<property name="geometry"> <property name="geometry">
<rect> <rect>
@ -605,22 +579,6 @@
<string>&lt;===</string> <string>&lt;===</string>
</property> </property>
</widget> </widget>
<widget class="QDoubleSpinBox" name="doubleSpinBox_7">
<property name="geometry">
<rect>
<x>60</x>
<y>276</y>
<width>62</width>
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_17"> <widget class="QLabel" name="label_17">
<property name="geometry"> <property name="geometry">
<rect> <rect>
@ -634,17 +592,30 @@
<string>1 - 255</string> <string>1 - 255</string>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label_20">
<property name="geometry">
<rect>
<x>80</x>
<y>480</y>
<width>58</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>通道 1</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_7"> <widget class="QGroupBox" name="groupBox_7">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>10</x> <x>10</x>
<y>111</y> <y>110</y>
<width>251</width> <width>251</width>
<height>141</height> <height>191</height>
</rect> </rect>
</property> </property>
<property name="title"> <property name="title">
<string>阈值</string> <string>阈值与回差</string>
</property> </property>
<widget class="QGroupBox" name="groupBox_8"> <widget class="QGroupBox" name="groupBox_8">
<property name="geometry"> <property name="geometry">
@ -688,20 +659,20 @@
</property> </property>
</widget> </widget>
</widget> </widget>
<widget class="QLabel" name="label_18"> <widget class="QLabel" name="label_14">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>140</x> <x>130</x>
<y>50</y> <y>50</y>
<width>41</width> <width>41</width>
<height>16</height> <height>20</height>
</rect> </rect>
</property> </property>
<property name="text"> <property name="text">
<string>值:</string> <string>值:</string>
</property> </property>
</widget> </widget>
<widget class="QDoubleSpinBox" name="doubleSpinBox_8"> <widget class="QDoubleSpinBox" name="doubleSpinBox_7">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
@ -717,7 +688,7 @@
<number>1</number> <number>1</number>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label_19"> <widget class="QLabel" name="label_16">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>140</x> <x>140</x>
@ -730,20 +701,49 @@
<string>-20.0 to 0.0 Volts</string> <string>-20.0 to 0.0 Volts</string>
</property> </property>
</widget> </widget>
</widget> <widget class="QLabel" name="label_18">
<widget class="QLabel" name="label_20">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>80</x> <x>140</x>
<y>480</y> <y>150</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>0.2 to 2.5 Volts</string>
</property>
</widget>
<widget class="QLabel" name="label_19">
<property name="geometry">
<rect>
<x>10</x>
<y>150</y>
<width>58</width> <width>58</width>
<height>16</height> <height>16</height>
</rect> </rect>
</property> </property>
<property name="text"> <property name="text">
<string>通道 1</string> <string>回差:</string>
</property> </property>
</widget> </widget>
<widget class="QDoubleSpinBox" name="doubleSpinBox_8">
<property name="geometry">
<rect>
<x>60</x>
<y>150</y>
<width>62</width>
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</widget>
</widget> </widget>
</widget> </widget>
<widget class="QTabWidget" name="tabWidget_2"> <widget class="QTabWidget" name="tabWidget_2">
@ -756,7 +756,7 @@
</rect> </rect>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>1</number>
</property> </property>
<widget class="QWidget" name="tab_5"> <widget class="QWidget" name="tab_5">
<attribute name="title"> <attribute name="title">
@ -861,19 +861,6 @@
<string>键齿数:</string> <string>键齿数:</string>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label_23">
<property name="geometry">
<rect>
<x>140</x>
<y>271</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>0.2 to 2.5 Volts</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_10"> <widget class="QGroupBox" name="groupBox_10">
<property name="geometry"> <property name="geometry">
<rect> <rect>
@ -939,19 +926,6 @@
</property> </property>
</widget> </widget>
</widget> </widget>
<widget class="QLabel" name="label_25">
<property name="geometry">
<rect>
<x>10</x>
<y>266</y>
<width>58</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>回差:</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_3"> <widget class="QCheckBox" name="checkBox_3">
<property name="geometry"> <property name="geometry">
<rect> <rect>
@ -978,22 +952,6 @@
<string>===&gt;</string> <string>===&gt;</string>
</property> </property>
</widget> </widget>
<widget class="QDoubleSpinBox" name="doubleSpinBox_11">
<property name="geometry">
<rect>
<x>60</x>
<y>266</y>
<width>62</width>
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_26"> <widget class="QLabel" name="label_26">
<property name="geometry"> <property name="geometry">
<rect> <rect>
@ -1007,17 +965,30 @@
<string>1 - 255</string> <string>1 - 255</string>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label_29">
<property name="geometry">
<rect>
<x>130</x>
<y>470</y>
<width>58</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>通道 4</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_11"> <widget class="QGroupBox" name="groupBox_11">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>10</x> <x>10</x>
<y>101</y> <y>110</y>
<width>251</width> <width>251</width>
<height>141</height> <height>191</height>
</rect> </rect>
</property> </property>
<property name="title"> <property name="title">
<string>阈值</string> <string>阈值与回差</string>
</property> </property>
<widget class="QGroupBox" name="groupBox_12"> <widget class="QGroupBox" name="groupBox_12">
<property name="geometry"> <property name="geometry">
@ -1061,20 +1032,20 @@
</property> </property>
</widget> </widget>
</widget> </widget>
<widget class="QLabel" name="label_27"> <widget class="QLabel" name="label_23">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>140</x> <x>130</x>
<y>50</y> <y>50</y>
<width>41</width> <width>41</width>
<height>16</height> <height>20</height>
</rect> </rect>
</property> </property>
<property name="text"> <property name="text">
<string>值:</string> <string>值:</string>
</property> </property>
</widget> </widget>
<widget class="QDoubleSpinBox" name="doubleSpinBox_12"> <widget class="QDoubleSpinBox" name="doubleSpinBox_11">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
@ -1090,7 +1061,7 @@
<number>1</number> <number>1</number>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label_28"> <widget class="QLabel" name="label_25">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>140</x> <x>140</x>
@ -1103,20 +1074,49 @@
<string>-20.0 to 0.0 Volts</string> <string>-20.0 to 0.0 Volts</string>
</property> </property>
</widget> </widget>
</widget> <widget class="QLabel" name="label_27">
<widget class="QLabel" name="label_29">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>130</x> <x>140</x>
<y>470</y> <y>150</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>0.2 to 2.5 Volts</string>
</property>
</widget>
<widget class="QLabel" name="label_28">
<property name="geometry">
<rect>
<x>10</x>
<y>150</y>
<width>58</width> <width>58</width>
<height>16</height> <height>16</height>
</rect> </rect>
</property> </property>
<property name="text"> <property name="text">
<string>通道 4</string> <string>回差:</string>
</property> </property>
</widget> </widget>
<widget class="QDoubleSpinBox" name="doubleSpinBox_12">
<property name="geometry">
<rect>
<x>60</x>
<y>150</y>
<width>62</width>
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</widget>
</widget> </widget>
<widget class="QWidget" name="tab_6"> <widget class="QWidget" name="tab_6">
<attribute name="title"> <attribute name="title">
@ -1221,19 +1221,6 @@
<string>键齿数:</string> <string>键齿数:</string>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label_32">
<property name="geometry">
<rect>
<x>140</x>
<y>281</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>0.2 to 2.5 Volts</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_14"> <widget class="QGroupBox" name="groupBox_14">
<property name="geometry"> <property name="geometry">
<rect> <rect>
@ -1299,19 +1286,6 @@
</property> </property>
</widget> </widget>
</widget> </widget>
<widget class="QLabel" name="label_34">
<property name="geometry">
<rect>
<x>10</x>
<y>276</y>
<width>58</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>回差:</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_4"> <widget class="QCheckBox" name="checkBox_4">
<property name="geometry"> <property name="geometry">
<rect> <rect>
@ -1338,22 +1312,6 @@
<string>&lt;===</string> <string>&lt;===</string>
</property> </property>
</widget> </widget>
<widget class="QDoubleSpinBox" name="doubleSpinBox_15">
<property name="geometry">
<rect>
<x>60</x>
<y>276</y>
<width>62</width>
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_35"> <widget class="QLabel" name="label_35">
<property name="geometry"> <property name="geometry">
<rect> <rect>
@ -1367,17 +1325,30 @@
<string>1 - 255</string> <string>1 - 255</string>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label_38">
<property name="geometry">
<rect>
<x>60</x>
<y>480</y>
<width>58</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>通道 3</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_15"> <widget class="QGroupBox" name="groupBox_15">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>10</x> <x>10</x>
<y>111</y> <y>110</y>
<width>251</width> <width>251</width>
<height>141</height> <height>191</height>
</rect> </rect>
</property> </property>
<property name="title"> <property name="title">
<string>阈值</string> <string>阈值与回差</string>
</property> </property>
<widget class="QGroupBox" name="groupBox_16"> <widget class="QGroupBox" name="groupBox_16">
<property name="geometry"> <property name="geometry">
@ -1421,20 +1392,20 @@
</property> </property>
</widget> </widget>
</widget> </widget>
<widget class="QLabel" name="label_36"> <widget class="QLabel" name="label_32">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>140</x> <x>130</x>
<y>50</y> <y>50</y>
<width>41</width> <width>41</width>
<height>16</height> <height>20</height>
</rect> </rect>
</property> </property>
<property name="text"> <property name="text">
<string>值:</string> <string>值:</string>
</property> </property>
</widget> </widget>
<widget class="QDoubleSpinBox" name="doubleSpinBox_16"> <widget class="QDoubleSpinBox" name="doubleSpinBox_15">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
@ -1450,7 +1421,7 @@
<number>1</number> <number>1</number>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label_37"> <widget class="QLabel" name="label_34">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>140</x> <x>140</x>
@ -1463,20 +1434,49 @@
<string>-20.0 to 0.0 Volts</string> <string>-20.0 to 0.0 Volts</string>
</property> </property>
</widget> </widget>
</widget> <widget class="QLabel" name="label_36">
<widget class="QLabel" name="label_38">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>60</x> <x>140</x>
<y>480</y> <y>150</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>0.2 to 2.5 Volts</string>
</property>
</widget>
<widget class="QLabel" name="label_37">
<property name="geometry">
<rect>
<x>10</x>
<y>150</y>
<width>58</width> <width>58</width>
<height>16</height> <height>16</height>
</rect> </rect>
</property> </property>
<property name="text"> <property name="text">
<string>通道 3</string> <string>回差:</string>
</property> </property>
</widget> </widget>
<widget class="QDoubleSpinBox" name="doubleSpinBox_16">
<property name="geometry">
<rect>
<x>60</x>
<y>150</y>
<width>62</width>
<height>22</height>
</rect>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</widget>
</widget> </widget>
</widget> </widget>
<widget class="QPushButton" name="pushButton_2"> <widget class="QPushButton" name="pushButton_2">
@ -1583,7 +1583,7 @@
<string>测点名称</string> <string>测点名称</string>
</property> </property>
</widget> </widget>
<widget class="QWidget" name=""> <widget class="QWidget" name="layoutWidget">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>40</x> <x>40</x>

View File

@ -1,14 +0,0 @@
#include "overspeedgroup.h"
#include "ui_overspeedgroup.h"
OverspeedGroup::OverspeedGroup(QWidget *parent)
: QDialog(parent)
, ui(new Ui::OverspeedGroup)
{
ui->setupUi(this);
}
OverspeedGroup::~OverspeedGroup()
{
delete ui;
}

View File

@ -1,22 +0,0 @@
#ifndef OVERSPEEDGROUP_H
#define OVERSPEEDGROUP_H
#include <QDialog>
namespace Ui {
class OverspeedGroup;
}
class OverspeedGroup : public QDialog
{
Q_OBJECT
public:
explicit OverspeedGroup(QWidget *parent = nullptr);
~OverspeedGroup();
private:
Ui::OverspeedGroup *ui;
};
#endif // OVERSPEEDGROUP_H

View File

@ -1,223 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>OverspeedGroup</class>
<widget class="QDialog" name="OverspeedGroup">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>504</width>
<height>384</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>50</x>
<y>40</y>
<width>171</width>
<height>91</height>
</rect>
</property>
<property name="title">
<string>组投票</string>
</property>
<widget class="QRadioButton" name="radioButton">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>99</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>独立投票</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QRadioButton" name="radioButton_2">
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>99</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>非独立投票</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>280</x>
<y>50</y>
<width>201</width>
<height>80</height>
</rect>
</property>
<property name="title">
<string>模块间比较 </string>
</property>
<widget class="QCheckBox" name="checkBox">
<property name="geometry">
<rect>
<x>30</x>
<y>30</y>
<width>85</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>使能</string>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>32</x>
<y>59</y>
<width>58</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>% 比较</string>
</property>
</widget>
<widget class="QSpinBox" name="spinBox">
<property name="geometry">
<rect>
<x>102</x>
<y>57</y>
<width>42</width>
<height>22</height>
</rect>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>10</number>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_3">
<property name="geometry">
<rect>
<x>50</x>
<y>170</y>
<width>431</width>
<height>121</height>
</rect>
</property>
<property name="title">
<string>非正常投票</string>
</property>
<widget class="QRadioButton" name="radioButton_3">
<property name="geometry">
<rect>
<x>30</x>
<y>30</y>
<width>99</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>不投票</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QRadioButton" name="radioButton_4">
<property name="geometry">
<rect>
<x>30</x>
<y>60</y>
<width>341</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>参与投票</string>
</property>
</widget>
<widget class="QRadioButton" name="radioButton_5">
<property name="geometry">
<rect>
<x>30</x>
<y>90</y>
<width>321</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>组成员全出错时,直接告警</string>
</property>
</widget>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>50</x>
<y>320</y>
<width>61</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>确 认</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_2">
<property name="geometry">
<rect>
<x>140</x>
<y>320</y>
<width>81</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>取 消</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_5">
<property name="geometry">
<rect>
<x>350</x>
<y>320</y>
<width>81</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>帮 助</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_4">
<property name="geometry">
<rect>
<x>260</x>
<y>320</y>
<width>71</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>打 印...</string>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -1,14 +0,0 @@
#include "overspeedrelay.h"
#include "ui_overspeedrelay.h"
OverspeedRelay::OverspeedRelay(QWidget *parent)
: QDialog(parent)
, ui(new Ui::OverspeedRelay)
{
ui->setupUi(this);
}
OverspeedRelay::~OverspeedRelay()
{
delete ui;
}

View File

@ -1,22 +0,0 @@
#ifndef OVERSPEEDRELAY_H
#define OVERSPEEDRELAY_H
#include <QDialog>
namespace Ui {
class OverspeedRelay;
}
class OverspeedRelay : public QDialog
{
Q_OBJECT
public:
explicit OverspeedRelay(QWidget *parent = nullptr);
~OverspeedRelay();
private:
Ui::OverspeedRelay *ui;
};
#endif // OVERSPEEDRELAY_H

View File

@ -1,230 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>OverspeedRelay</class>
<widget class="QDialog" name="OverspeedRelay">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>504</width>
<height>316</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>30</x>
<y>30</y>
<width>251</width>
<height>221</height>
</rect>
</property>
<property name="title">
<string>关联继电器</string>
</property>
<widget class="QComboBox" name="comboBox">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>103</width>
<height>32</height>
</rect>
</property>
<item>
<property name="text">
<string>继电器 1</string>
</property>
</item>
<item>
<property name="text">
<string>继电器 2</string>
</property>
</item>
<item>
<property name="text">
<string>继电器 3</string>
</property>
</item>
<item>
<property name="text">
<string>继电器 4</string>
</property>
</item>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>30</x>
<y>80</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>报警参数:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit">
<property name="geometry">
<rect>
<x>30</x>
<y>100</y>
<width>113</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>超速</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>30</x>
<y>140</y>
<width>161</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>继电器 NE/NDE 切换状态:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_2">
<property name="geometry">
<rect>
<x>30</x>
<y>170</y>
<width>113</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>数据不可用</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>320</x>
<y>50</y>
<width>58</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>可用参数</string>
</property>
</widget>
<widget class="QListWidget" name="listWidget">
<property name="geometry">
<rect>
<x>320</x>
<y>70</y>
<width>151</width>
<height>101</height>
</rect>
</property>
<item>
<property name="text">
<string>空的(不使能)</string>
</property>
</item>
<item>
<property name="text">
<string>低于告警值</string>
</property>
</item>
<item>
<property name="text">
<string>高于告警值</string>
</property>
</item>
<item>
<property name="text">
<string>超速</string>
</property>
</item>
<item>
<property name="text">
<string>通道不正常</string>
</property>
</item>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>340</x>
<y>200</y>
<width>100</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>选择参数</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_2">
<property name="geometry">
<rect>
<x>90</x>
<y>270</y>
<width>71</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>确 定</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_3">
<property name="geometry">
<rect>
<x>180</x>
<y>270</y>
<width>71</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>取 消</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_4">
<property name="geometry">
<rect>
<x>270</x>
<y>270</y>
<width>71</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>打 印...</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_5">
<property name="geometry">
<rect>
<x>360</x>
<y>270</y>
<width>81</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>帮 助</string>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -121,32 +121,6 @@ p, li { white-space: pre-wrap; }
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'.AppleSystemUIFont'; font-size:13pt;&quot;&gt;S02C01P##NO&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'.AppleSystemUIFont'; font-size:13pt;&quot;&gt;S02C01P##NO&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>500</x>
<y>310</y>
<width>271</width>
<height>51</height>
</rect>
</property>
<property name="title">
<string>0 of 15 逻辑操作数/通道</string>
</property>
<widget class="QProgressBar" name="progressBar">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>261</width>
<height>31</height>
</rect>
</property>
<property name="value">
<number>24</number>
</property>
</widget>
</widget>
<widget class="QPushButton" name="pushButton_22"> <widget class="QPushButton" name="pushButton_22">
<property name="geometry"> <property name="geometry">
<rect> <rect>
@ -644,6 +618,19 @@ p, li { white-space: pre-wrap; }
<string>取 消</string> <string>取 消</string>
</property> </property>
</widget> </widget>
<widget class="QPushButton" name="pushButton_8">
<property name="geometry">
<rect>
<x>510</x>
<y>320</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>总告警信号</string>
</property>
</widget>
</widget> </widget>
<resources/> <resources/>
<connections/> <connections/>

File diff suppressed because it is too large Load Diff

View File

@ -463,22 +463,82 @@
</property> </property>
<item> <item>
<property name="text"> <property name="text">
<string>通道 1-4</string> <string>通道 1</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>通道 5-8</string> <string>通道 2</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>通道 9-12</string> <string>通道 3</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>通道 13-16</string> <string>通道 4</string>
</property>
</item>
<item>
<property name="text">
<string>通道 5</string>
</property>
</item>
<item>
<property name="text">
<string>通道 6</string>
</property>
</item>
<item>
<property name="text">
<string>通道 7</string>
</property>
</item>
<item>
<property name="text">
<string>通道 8</string>
</property>
</item>
<item>
<property name="text">
<string>通道 9</string>
</property>
</item>
<item>
<property name="text">
<string>通道 10</string>
</property>
</item>
<item>
<property name="text">
<string>通道 11</string>
</property>
</item>
<item>
<property name="text">
<string>通道 12</string>
</property>
</item>
<item>
<property name="text">
<string>通道 13</string>
</property>
</item>
<item>
<property name="text">
<string>通道 14</string>
</property>
</item>
<item>
<property name="text">
<string>通道 15</string>
</property>
</item>
<item>
<property name="text">
<string>通道 16</string>
</property> </property>
</item> </item>
</widget> </widget>
@ -495,6 +555,19 @@
<string>激活</string> <string>激活</string>
</property> </property>
</widget> </widget>
<widget class="QPushButton" name="pushButton_8">
<property name="geometry">
<rect>
<x>131</x>
<y>38</y>
<width>51</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>成组</string>
</property>
</widget>
</widget> </widget>
<widget class="QLabel" name="label_4"> <widget class="QLabel" name="label_4">
<property name="geometry"> <property name="geometry">