diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d4302b4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +TSI_Config.pro.user diff --git a/TSI_Config.pro b/TSI_Config.pro index 93fc252..6455812 100644 --- a/TSI_Config.pro +++ b/TSI_Config.pro @@ -16,6 +16,7 @@ SOURCES += \ overspeedgroup.cpp \ overspeedrelay.cpp \ radial_vibration.cpp \ + seismic_monitor.cpp \ setpoint.cpp \ tachometer.cpp \ velocity.cpp @@ -27,6 +28,7 @@ HEADERS += \ overspeedgroup.h \ overspeedrelay.h \ radial_vibration.h \ + seismic_monitor.h \ setpoint.h \ tachometer.h \ velocity.h @@ -38,6 +40,7 @@ FORMS += \ overspeedgroup.ui \ overspeedrelay.ui \ radial_vibration.ui \ + seismic_monitor.ui \ setpoint.ui \ tachometer.ui \ velocity.ui diff --git a/mainwindow.ui b/mainwindow.ui index b232854..ad500c3 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -6,7 +6,7 @@ 0 0 - 800 + 822 600 @@ -14,8 +14,6 @@ MainWindow - - diff --git a/seismic_monitor.cpp b/seismic_monitor.cpp new file mode 100644 index 0000000..3161a05 --- /dev/null +++ b/seismic_monitor.cpp @@ -0,0 +1,14 @@ +#include "seismic_monitor.h" +#include "ui_seismic_monitor.h" + +seismic_monitor::seismic_monitor(QWidget *parent) : + QWidget(parent), + ui(new Ui::seismic_monitor) +{ + ui->setupUi(this); +} + +seismic_monitor::~seismic_monitor() +{ + delete ui; +} diff --git a/seismic_monitor.h b/seismic_monitor.h new file mode 100644 index 0000000..831bcbe --- /dev/null +++ b/seismic_monitor.h @@ -0,0 +1,22 @@ +#ifndef SEISMIC_MONITOR_H +#define SEISMIC_MONITOR_H + +#include + +namespace Ui { +class seismic_monitor; +} + +class seismic_monitor : public QWidget +{ + Q_OBJECT + +public: + explicit seismic_monitor(QWidget *parent = nullptr); + ~seismic_monitor(); + +private: + Ui::seismic_monitor *ui; +}; + +#endif // SEISMIC_MONITOR_H diff --git a/seismic_monitor.ui b/seismic_monitor.ui new file mode 100644 index 0000000..2f215f8 --- /dev/null +++ b/seismic_monitor.ui @@ -0,0 +1,799 @@ + + + seismic_monitor + + + + 0 + 0 + 747 + 516 + + + + Form + + + + + 390 + 80 + 331 + 361 + + + + 通道 3 和 4 + + + + + 20 + 110 + 71 + 16 + + + + 没有键相 + + + + + + 10 + 130 + 151 + 131 + + + + + + + + + 10 + 30 + 89 + 16 + + + + 通道 1 + + + + + + 10 + 50 + 89 + 16 + + + + 通道 2 + + + + + + 10 + 70 + 89 + 16 + + + + 通道 3 + + + + + + 10 + 90 + 89 + 16 + + + + 通道 4 + + + + + + + 170 + 130 + 151 + 131 + + + + + + + + + 10 + 90 + 89 + 16 + + + + 通道 4 + + + + + + 10 + 50 + 89 + 16 + + + + 通道 2 + + + + + + 10 + 30 + 89 + 16 + + + + 通道 1 + + + + + + 10 + 70 + 89 + 16 + + + + 通道 3 + + + + + + + 10 + 270 + 120 + 80 + + + + 通道3 + + + + + 20 + 20 + 71 + 16 + + + + 启用 + + + + + + 30 + 50 + 37 + 18 + + + + 配置 + + + + + + + 200 + 270 + 120 + 80 + + + + 通道4 + + + + + 10 + 20 + 71 + 16 + + + + 启用 + + + + + + 30 + 50 + 37 + 18 + + + + 配置 + + + + + + + 20 + 30 + 122 + 40 + + + + + + + 通道3类型 + + + + + + + + 120 + 0 + + + + + + + + + + 170 + 30 + 122 + 40 + + + + + + + 通道4类型 + + + + + + + + 120 + 0 + + + + + + + + + + 150 + 280 + 45 + 62 + + + + + + + ===> + + + + + + + = + + + Qt::AlignCenter + + + + + + + <=== + + + + + + + + + 10 + 80 + 311 + 181 + + + + 关联键相 + + + groupBox_12 + checkBox_4 + groupBox_7 + groupBox_8 + groupBox_9 + groupBox_10 + layoutWidget + layoutWidget_2 + layoutWidget_3 + + + + + 10 + 20 + 189 + 22 + + + + + + + 板卡号: + + + + + + + true + + + + + + + + + 10 + 80 + 331 + 361 + + + + 通道 1 和 2 + + + + + 20 + 110 + 71 + 16 + + + + 没有键相 + + + + + + 10 + 130 + 151 + 131 + + + + + + + + + 10 + 30 + 89 + 16 + + + + 通道 1 + + + + + + 10 + 50 + 89 + 16 + + + + 通道 2 + + + + + + 10 + 70 + 89 + 16 + + + + 通道 3 + + + + + + 10 + 90 + 89 + 16 + + + + 通道 4 + + + + + + + 170 + 130 + 151 + 131 + + + + + + + + + 10 + 90 + 89 + 16 + + + + 通道 4 + + + + + + 10 + 50 + 89 + 16 + + + + 通道 2 + + + + + + 10 + 30 + 89 + 16 + + + + 通道 1 + + + + + + 10 + 70 + 89 + 16 + + + + 通道 3 + + + + + + + 10 + 270 + 120 + 80 + + + + 通道1 + + + + + 20 + 20 + 71 + 16 + + + + 启用 + + + + + + 30 + 50 + 37 + 18 + + + + 配置 + + + + + + + 200 + 270 + 120 + 80 + + + + 通道2 + + + + + 10 + 20 + 71 + 16 + + + + 启用 + + + + + + 30 + 50 + 37 + 18 + + + + 配置 + + + + + + + 10 + 80 + 311 + 181 + + + + 关联键相 + + + + + + 20 + 30 + 122 + 40 + + + + + + + 通道1类型 + + + + + + + + 120 + 0 + + + + + + + + + + 170 + 30 + 122 + 40 + + + + + + + 通道2类型 + + + + + + + + 120 + 0 + + + + + + + + + + 150 + 280 + 45 + 62 + + + + + + + ===> + + + + + + + = + + + Qt::AlignCenter + + + + + + + <=== + + + + + + layoutWidget_5 + layoutWidget_6 + layoutWidget_7 + groupBox_11 + checkBox + groupBox_3 + groupBox_4 + groupBox_5 + groupBox_6 + + + + + 40 + 460 + 651 + 29 + + + + + + + 确定 + + + + + + + 设置为默认值 + + + + + + + 测点名称 + + + + + + + 取消 + + + + + + + 打印 + + + + + + + 帮助 + + + + + + + + +