1435 lines
65 KiB
C++
1435 lines
65 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'mainwindow.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 6.8.0
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_MAINWINDOW_H
|
|
#define UI_MAINWINDOW_H
|
|
|
|
#include <QtCharts/QChartView>
|
|
#include <QtCore/QVariant>
|
|
#include <QtGui/QAction>
|
|
#include <QtGui/QIcon>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QCheckBox>
|
|
#include <QtWidgets/QComboBox>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QLineEdit>
|
|
#include <QtWidgets/QMainWindow>
|
|
#include <QtWidgets/QProgressBar>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QRadioButton>
|
|
#include <QtWidgets/QSpacerItem>
|
|
#include <QtWidgets/QSpinBox>
|
|
#include <QtWidgets/QStatusBar>
|
|
#include <QtWidgets/QTabWidget>
|
|
#include <QtWidgets/QTextEdit>
|
|
#include <QtWidgets/QToolBar>
|
|
#include <QtWidgets/QVBoxLayout>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_MainWindow
|
|
{
|
|
public:
|
|
QAction *setSerilport;
|
|
QAction *fileSet;
|
|
QAction *help_action;
|
|
QWidget *centralwidget;
|
|
QHBoxLayout *horizontalLayout;
|
|
QTabWidget *tabWidget;
|
|
QWidget *tab1;
|
|
QHBoxLayout *horizontalLayout_4;
|
|
QVBoxLayout *verticalLayout_2;
|
|
QGroupBox *groupBox_5;
|
|
QGridLayout *gridLayout_4;
|
|
QPushButton *readVersion;
|
|
QLineEdit *lineEdit_Factor;
|
|
QLineEdit *lineEdit_Version;
|
|
QPushButton *setFactor;
|
|
QPushButton *readFactor;
|
|
QPushButton *readPWM;
|
|
QLineEdit *lineEdit_PWM;
|
|
QPushButton *setPWM;
|
|
QLineEdit *lineEdit_addr;
|
|
QGroupBox *groupBox;
|
|
QGridLayout *gridLayout;
|
|
QLabel *label;
|
|
QLabel *label_2;
|
|
QLabel *label_3;
|
|
QCheckBox *checkBox_timer;
|
|
QLineEdit *lineEdit_addr03;
|
|
QLineEdit *lineEdit_reg03;
|
|
QLineEdit *lineEdit_num03;
|
|
QSpinBox *spinBox_timer;
|
|
QPushButton *pushButton_addrUP;
|
|
QPushButton *pushButton_addrDOWN;
|
|
QPushButton *pushButton_reset03;
|
|
QLineEdit *lineEdit_data03;
|
|
QLineEdit *lineEdit_state03;
|
|
QPushButton *pushButton_read03;
|
|
QGroupBox *groupBox_2;
|
|
QGridLayout *gridLayout_3;
|
|
QLabel *label_4;
|
|
QComboBox *comboBox_aim;
|
|
QLineEdit *lineEdit_reg06;
|
|
QLineEdit *lineEdit_addr06;
|
|
QPushButton *pushButton_send06;
|
|
QLabel *label_8;
|
|
QLabel *label_5;
|
|
QComboBox *comboBox_current;
|
|
QLabel *label_7;
|
|
QLabel *label_6;
|
|
QLineEdit *lineEdit_num06;
|
|
QCheckBox *checkBox_increase;
|
|
QHBoxLayout *horizontalLayout_3;
|
|
QGroupBox *groupBox_3;
|
|
QGridLayout *gridLayout_5;
|
|
QSpacerItem *horizontalSpacer;
|
|
QPushButton *pushButton_ClearS;
|
|
QTextEdit *textEdit_Send;
|
|
QGroupBox *groupBox_4;
|
|
QGridLayout *gridLayout_6;
|
|
QPushButton *pushButton_ClearR;
|
|
QTextEdit *textEdit_Receive;
|
|
QSpacerItem *horizontalSpacer_2;
|
|
QGroupBox *groupBox_6;
|
|
QHBoxLayout *horizontalLayout_2;
|
|
QGridLayout *gridLayout_8;
|
|
QSpacerItem *horizontalSpacer_3;
|
|
QPushButton *pButton_HorizInc;
|
|
QChartView *graphicsView;
|
|
QPushButton *pButton_HorizDec;
|
|
QSpacerItem *horizontalSpacer_4;
|
|
QVBoxLayout *verticalLayout;
|
|
QSpacerItem *verticalSpacer;
|
|
QPushButton *phButton_VertitalInc;
|
|
QPushButton *phButton_VertitalDec;
|
|
QPushButton *pButton_gViewClear;
|
|
QSpacerItem *verticalSpacer_2;
|
|
QWidget *tab2;
|
|
QHBoxLayout *horizontalLayout_12;
|
|
QVBoxLayout *verticalLayout_3;
|
|
QGridLayout *gridLayout_2;
|
|
QPushButton *pushButton_25;
|
|
QPushButton *pushButton;
|
|
QLineEdit *lineEdit_r2;
|
|
QPushButton *pushButton_2;
|
|
QLineEdit *lineEdit_r3;
|
|
QPushButton *pushButton_3;
|
|
QLineEdit *lineEdit_r4;
|
|
QPushButton *pushButton_4;
|
|
QLineEdit *lineEdit_r5;
|
|
QPushButton *pushButton_setPWM;
|
|
QPushButton *pushButton_5;
|
|
QLineEdit *lineEdit_r6;
|
|
QPushButton *pushButton_21;
|
|
QPushButton *pushButton_6;
|
|
QLineEdit *lineEdit_r7;
|
|
QPushButton *pushButton_22;
|
|
QPushButton *pushButton_7;
|
|
QLineEdit *lineEdit_r8;
|
|
QPushButton *pushButton_16;
|
|
QPushButton *pushButton_8;
|
|
QLineEdit *lineEdit_r9;
|
|
QPushButton *pushButton_15;
|
|
QPushButton *pushButton_27;
|
|
QLineEdit *lineEdit_r10;
|
|
QPushButton *pushButton_29;
|
|
QLineEdit *lineEdit_r11;
|
|
QPushButton *pushButton_9;
|
|
QLineEdit *lineEdit_r12;
|
|
QPushButton *pushButton_estimate;
|
|
QPushButton *pushButton_10;
|
|
QLineEdit *lineEdit_r13;
|
|
QPushButton *pushButton_17;
|
|
QPushButton *pushButton_11;
|
|
QLineEdit *lineEdit_r14;
|
|
QPushButton *pushButton_18;
|
|
QPushButton *pushButton_12;
|
|
QLineEdit *lineEdit_r15;
|
|
QPushButton *pushButton_20;
|
|
QSpinBox *spinBox_addr;
|
|
QHBoxLayout *horizontalLayout_5;
|
|
QGridLayout *gridLayout_7;
|
|
QCheckBox *checkBox;
|
|
QPushButton *pushButton_readonce;
|
|
QSpinBox *spinBox_timer_2;
|
|
QVBoxLayout *verticalLayout_7;
|
|
QGridLayout *gridLayout_17;
|
|
QChartView *graphicsView_2;
|
|
QCheckBox *checkBox_data;
|
|
QCheckBox *checkBox_state;
|
|
QCheckBox *checkBox_temp;
|
|
QCheckBox *checkBox_humi;
|
|
QCheckBox *checkBox_voltage;
|
|
QSpacerItem *verticalSpacer_3;
|
|
QPushButton *pushButton_Ysmall;
|
|
QPushButton *pushButton_Ylargr;
|
|
QPushButton *pushButton_Xsmall;
|
|
QPushButton *pushButton_Xlargr;
|
|
QPushButton *pushButton_chartclear;
|
|
QHBoxLayout *horizontalLayout_6;
|
|
QTextEdit *textEdit_RxTx;
|
|
QPushButton *pushButton_clear2;
|
|
QWidget *tab;
|
|
QGroupBox *groupBox_7;
|
|
QRadioButton *guangbo_rBtn;
|
|
QWidget *layoutWidget;
|
|
QHBoxLayout *horizontalLayout_7;
|
|
QRadioButton *danbo_rBtn;
|
|
QSpacerItem *horizontalSpacer_5;
|
|
QLabel *label_9;
|
|
QSpinBox *start_spinBox;
|
|
QLabel *label_10;
|
|
QSpinBox *end_spinBox;
|
|
QPushButton *clear3_Btn;
|
|
QTextEdit *SendFile_textEdit;
|
|
QWidget *layoutWidget1;
|
|
QGridLayout *gridLayout_9;
|
|
QLineEdit *fileName_LEdit;
|
|
QPushButton *SenFile_Btn;
|
|
QProgressBar *progressBar;
|
|
QPushButton *OpenFile_Btn;
|
|
QPushButton *overSend_Btn;
|
|
QStatusBar *statusbar;
|
|
QToolBar *toolBar;
|
|
|
|
void setupUi(QMainWindow *MainWindow)
|
|
{
|
|
if (MainWindow->objectName().isEmpty())
|
|
MainWindow->setObjectName("MainWindow");
|
|
MainWindow->resize(1198, 717);
|
|
setSerilport = new QAction(MainWindow);
|
|
setSerilport->setObjectName("setSerilport");
|
|
QIcon icon;
|
|
icon.addFile(QString::fromUtf8(":/img/image/setting.ico"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
|
|
setSerilport->setIcon(icon);
|
|
fileSet = new QAction(MainWindow);
|
|
fileSet->setObjectName("fileSet");
|
|
QIcon icon1;
|
|
icon1.addFile(QString::fromUtf8(":/img/image/fileSet.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
|
|
fileSet->setIcon(icon1);
|
|
help_action = new QAction(MainWindow);
|
|
help_action->setObjectName("help_action");
|
|
QIcon icon2;
|
|
icon2.addFile(QString::fromUtf8(":/img/image/help.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
|
|
help_action->setIcon(icon2);
|
|
centralwidget = new QWidget(MainWindow);
|
|
centralwidget->setObjectName("centralwidget");
|
|
horizontalLayout = new QHBoxLayout(centralwidget);
|
|
horizontalLayout->setObjectName("horizontalLayout");
|
|
tabWidget = new QTabWidget(centralwidget);
|
|
tabWidget->setObjectName("tabWidget");
|
|
QFont font;
|
|
font.setFamilies({QString::fromUtf8("\345\256\213\344\275\223")});
|
|
font.setPointSize(12);
|
|
tabWidget->setFont(font);
|
|
tabWidget->setContextMenuPolicy(Qt::ContextMenuPolicy::CustomContextMenu);
|
|
tabWidget->setStyleSheet(QString::fromUtf8("/* for QtCreator */\n"
|
|
"/*QDockWidget#ObjectInspectorDockWidget \344\271\237\345\217\257*/\n"
|
|
"QDockWidget #ObjectInspector QTreeView::item::selected\n"
|
|
"{\n"
|
|
" background-color: #40735d;\n"
|
|
" color: white;\n"
|
|
"}\n"
|
|
"\n"
|
|
"/* for QDesigner */\n"
|
|
"QDockWidget#qt_designer_objectinspector_dock QTreeView::item::selected\n"
|
|
"{\n"
|
|
" background-color: #40735d;\n"
|
|
" color: white;\n"
|
|
"}"));
|
|
tab1 = new QWidget();
|
|
tab1->setObjectName("tab1");
|
|
tab1->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
horizontalLayout_4 = new QHBoxLayout(tab1);
|
|
horizontalLayout_4->setObjectName("horizontalLayout_4");
|
|
verticalLayout_2 = new QVBoxLayout();
|
|
verticalLayout_2->setObjectName("verticalLayout_2");
|
|
groupBox_5 = new QGroupBox(tab1);
|
|
groupBox_5->setObjectName("groupBox_5");
|
|
QPalette palette;
|
|
QBrush brush(QColor(240, 240, 240, 255));
|
|
brush.setStyle(Qt::SolidPattern);
|
|
palette.setBrush(QPalette::Active, QPalette::Button, brush);
|
|
palette.setBrush(QPalette::Active, QPalette::Base, brush);
|
|
palette.setBrush(QPalette::Active, QPalette::Window, brush);
|
|
palette.setBrush(QPalette::Inactive, QPalette::Button, brush);
|
|
palette.setBrush(QPalette::Inactive, QPalette::Base, brush);
|
|
palette.setBrush(QPalette::Inactive, QPalette::Window, brush);
|
|
palette.setBrush(QPalette::Disabled, QPalette::Button, brush);
|
|
palette.setBrush(QPalette::Disabled, QPalette::Base, brush);
|
|
palette.setBrush(QPalette::Disabled, QPalette::Window, brush);
|
|
groupBox_5->setPalette(palette);
|
|
QFont font1;
|
|
font1.setFamilies({QString::fromUtf8("Microsoft YaHei UI")});
|
|
font1.setPointSize(9);
|
|
groupBox_5->setFont(font1);
|
|
groupBox_5->setStyleSheet(QString::fromUtf8("background-color: rgb(240, 240, 240);"));
|
|
gridLayout_4 = new QGridLayout(groupBox_5);
|
|
gridLayout_4->setObjectName("gridLayout_4");
|
|
readVersion = new QPushButton(groupBox_5);
|
|
readVersion->setObjectName("readVersion");
|
|
|
|
gridLayout_4->addWidget(readVersion, 0, 0, 1, 1);
|
|
|
|
lineEdit_Factor = new QLineEdit(groupBox_5);
|
|
lineEdit_Factor->setObjectName("lineEdit_Factor");
|
|
lineEdit_Factor->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_4->addWidget(lineEdit_Factor, 2, 1, 1, 1);
|
|
|
|
lineEdit_Version = new QLineEdit(groupBox_5);
|
|
lineEdit_Version->setObjectName("lineEdit_Version");
|
|
lineEdit_Version->setEnabled(true);
|
|
lineEdit_Version->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
lineEdit_Version->setFrame(true);
|
|
lineEdit_Version->setCursorMoveStyle(Qt::CursorMoveStyle::LogicalMoveStyle);
|
|
|
|
gridLayout_4->addWidget(lineEdit_Version, 0, 1, 1, 1);
|
|
|
|
setFactor = new QPushButton(groupBox_5);
|
|
setFactor->setObjectName("setFactor");
|
|
|
|
gridLayout_4->addWidget(setFactor, 2, 2, 1, 1);
|
|
|
|
readFactor = new QPushButton(groupBox_5);
|
|
readFactor->setObjectName("readFactor");
|
|
|
|
gridLayout_4->addWidget(readFactor, 2, 0, 1, 1);
|
|
|
|
readPWM = new QPushButton(groupBox_5);
|
|
readPWM->setObjectName("readPWM");
|
|
|
|
gridLayout_4->addWidget(readPWM, 1, 0, 1, 1);
|
|
|
|
lineEdit_PWM = new QLineEdit(groupBox_5);
|
|
lineEdit_PWM->setObjectName("lineEdit_PWM");
|
|
lineEdit_PWM->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_4->addWidget(lineEdit_PWM, 1, 1, 1, 1);
|
|
|
|
setPWM = new QPushButton(groupBox_5);
|
|
setPWM->setObjectName("setPWM");
|
|
|
|
gridLayout_4->addWidget(setPWM, 1, 2, 1, 1);
|
|
|
|
lineEdit_addr = new QLineEdit(groupBox_5);
|
|
lineEdit_addr->setObjectName("lineEdit_addr");
|
|
lineEdit_addr->setMaximumSize(QSize(100, 16777215));
|
|
|
|
gridLayout_4->addWidget(lineEdit_addr, 0, 2, 1, 1);
|
|
|
|
|
|
verticalLayout_2->addWidget(groupBox_5);
|
|
|
|
groupBox = new QGroupBox(tab1);
|
|
groupBox->setObjectName("groupBox");
|
|
groupBox->setFont(font);
|
|
groupBox->setStyleSheet(QString::fromUtf8("background-color: rgb(240, 240, 240);"));
|
|
gridLayout = new QGridLayout(groupBox);
|
|
gridLayout->setObjectName("gridLayout");
|
|
label = new QLabel(groupBox);
|
|
label->setObjectName("label");
|
|
label->setFont(font);
|
|
|
|
gridLayout->addWidget(label, 0, 0, 1, 2);
|
|
|
|
label_2 = new QLabel(groupBox);
|
|
label_2->setObjectName("label_2");
|
|
label_2->setFont(font);
|
|
|
|
gridLayout->addWidget(label_2, 0, 2, 1, 1);
|
|
|
|
label_3 = new QLabel(groupBox);
|
|
label_3->setObjectName("label_3");
|
|
label_3->setFont(font);
|
|
|
|
gridLayout->addWidget(label_3, 0, 3, 1, 2);
|
|
|
|
checkBox_timer = new QCheckBox(groupBox);
|
|
checkBox_timer->setObjectName("checkBox_timer");
|
|
checkBox_timer->setFont(font);
|
|
|
|
gridLayout->addWidget(checkBox_timer, 0, 5, 1, 1);
|
|
|
|
lineEdit_addr03 = new QLineEdit(groupBox);
|
|
lineEdit_addr03->setObjectName("lineEdit_addr03");
|
|
lineEdit_addr03->setFont(font);
|
|
lineEdit_addr03->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout->addWidget(lineEdit_addr03, 1, 0, 1, 2);
|
|
|
|
lineEdit_reg03 = new QLineEdit(groupBox);
|
|
lineEdit_reg03->setObjectName("lineEdit_reg03");
|
|
lineEdit_reg03->setFont(font);
|
|
lineEdit_reg03->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout->addWidget(lineEdit_reg03, 1, 2, 1, 1);
|
|
|
|
lineEdit_num03 = new QLineEdit(groupBox);
|
|
lineEdit_num03->setObjectName("lineEdit_num03");
|
|
lineEdit_num03->setFont(font);
|
|
lineEdit_num03->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout->addWidget(lineEdit_num03, 1, 3, 1, 2);
|
|
|
|
spinBox_timer = new QSpinBox(groupBox);
|
|
spinBox_timer->setObjectName("spinBox_timer");
|
|
spinBox_timer->setFont(font);
|
|
spinBox_timer->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
spinBox_timer->setMaximum(10000);
|
|
spinBox_timer->setValue(250);
|
|
|
|
gridLayout->addWidget(spinBox_timer, 1, 5, 1, 1);
|
|
|
|
pushButton_addrUP = new QPushButton(groupBox);
|
|
pushButton_addrUP->setObjectName("pushButton_addrUP");
|
|
pushButton_addrUP->setFont(font);
|
|
pushButton_addrUP->setAutoFillBackground(false);
|
|
QIcon icon3;
|
|
icon3.addFile(QString::fromUtf8(":/img/image/up1.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
|
|
pushButton_addrUP->setIcon(icon3);
|
|
|
|
gridLayout->addWidget(pushButton_addrUP, 2, 0, 1, 1);
|
|
|
|
pushButton_addrDOWN = new QPushButton(groupBox);
|
|
pushButton_addrDOWN->setObjectName("pushButton_addrDOWN");
|
|
pushButton_addrDOWN->setFont(font);
|
|
QIcon icon4;
|
|
icon4.addFile(QString::fromUtf8(":/img/image/down1.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
|
|
pushButton_addrDOWN->setIcon(icon4);
|
|
|
|
gridLayout->addWidget(pushButton_addrDOWN, 2, 1, 1, 1);
|
|
|
|
pushButton_reset03 = new QPushButton(groupBox);
|
|
pushButton_reset03->setObjectName("pushButton_reset03");
|
|
pushButton_reset03->setFont(font);
|
|
|
|
gridLayout->addWidget(pushButton_reset03, 2, 2, 1, 1);
|
|
|
|
lineEdit_data03 = new QLineEdit(groupBox);
|
|
lineEdit_data03->setObjectName("lineEdit_data03");
|
|
lineEdit_data03->setFont(font);
|
|
lineEdit_data03->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout->addWidget(lineEdit_data03, 2, 3, 1, 1);
|
|
|
|
lineEdit_state03 = new QLineEdit(groupBox);
|
|
lineEdit_state03->setObjectName("lineEdit_state03");
|
|
lineEdit_state03->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout->addWidget(lineEdit_state03, 2, 4, 1, 1);
|
|
|
|
pushButton_read03 = new QPushButton(groupBox);
|
|
pushButton_read03->setObjectName("pushButton_read03");
|
|
pushButton_read03->setFont(font);
|
|
|
|
gridLayout->addWidget(pushButton_read03, 2, 5, 1, 1);
|
|
|
|
|
|
verticalLayout_2->addWidget(groupBox);
|
|
|
|
groupBox_2 = new QGroupBox(tab1);
|
|
groupBox_2->setObjectName("groupBox_2");
|
|
groupBox_2->setFont(font);
|
|
groupBox_2->setStyleSheet(QString::fromUtf8("background-color: rgb(240, 240, 240);"));
|
|
gridLayout_3 = new QGridLayout(groupBox_2);
|
|
gridLayout_3->setObjectName("gridLayout_3");
|
|
label_4 = new QLabel(groupBox_2);
|
|
label_4->setObjectName("label_4");
|
|
label_4->setFont(font);
|
|
|
|
gridLayout_3->addWidget(label_4, 0, 3, 1, 2);
|
|
|
|
comboBox_aim = new QComboBox(groupBox_2);
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->addItem(QString());
|
|
comboBox_aim->setObjectName("comboBox_aim");
|
|
comboBox_aim->setFont(font);
|
|
comboBox_aim->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_3->addWidget(comboBox_aim, 2, 4, 1, 1);
|
|
|
|
lineEdit_reg06 = new QLineEdit(groupBox_2);
|
|
lineEdit_reg06->setObjectName("lineEdit_reg06");
|
|
lineEdit_reg06->setFont(font);
|
|
lineEdit_reg06->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_3->addWidget(lineEdit_reg06, 1, 3, 1, 2);
|
|
|
|
lineEdit_addr06 = new QLineEdit(groupBox_2);
|
|
lineEdit_addr06->setObjectName("lineEdit_addr06");
|
|
lineEdit_addr06->setFont(font);
|
|
lineEdit_addr06->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_3->addWidget(lineEdit_addr06, 1, 0, 1, 2);
|
|
|
|
pushButton_send06 = new QPushButton(groupBox_2);
|
|
pushButton_send06->setObjectName("pushButton_send06");
|
|
pushButton_send06->setFont(font);
|
|
|
|
gridLayout_3->addWidget(pushButton_send06, 1, 6, 1, 1);
|
|
|
|
label_8 = new QLabel(groupBox_2);
|
|
label_8->setObjectName("label_8");
|
|
label_8->setFont(font);
|
|
|
|
gridLayout_3->addWidget(label_8, 2, 3, 1, 1);
|
|
|
|
label_5 = new QLabel(groupBox_2);
|
|
label_5->setObjectName("label_5");
|
|
label_5->setFont(font);
|
|
|
|
gridLayout_3->addWidget(label_5, 0, 5, 1, 1);
|
|
|
|
comboBox_current = new QComboBox(groupBox_2);
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->addItem(QString());
|
|
comboBox_current->setObjectName("comboBox_current");
|
|
comboBox_current->setFont(font);
|
|
comboBox_current->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_3->addWidget(comboBox_current, 2, 1, 1, 1);
|
|
|
|
label_7 = new QLabel(groupBox_2);
|
|
label_7->setObjectName("label_7");
|
|
label_7->setFont(font);
|
|
|
|
gridLayout_3->addWidget(label_7, 2, 0, 1, 1);
|
|
|
|
label_6 = new QLabel(groupBox_2);
|
|
label_6->setObjectName("label_6");
|
|
label_6->setFont(font);
|
|
|
|
gridLayout_3->addWidget(label_6, 0, 0, 1, 3);
|
|
|
|
lineEdit_num06 = new QLineEdit(groupBox_2);
|
|
lineEdit_num06->setObjectName("lineEdit_num06");
|
|
lineEdit_num06->setFont(font);
|
|
lineEdit_num06->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_3->addWidget(lineEdit_num06, 1, 5, 1, 1);
|
|
|
|
checkBox_increase = new QCheckBox(groupBox_2);
|
|
checkBox_increase->setObjectName("checkBox_increase");
|
|
checkBox_increase->setFont(font);
|
|
|
|
gridLayout_3->addWidget(checkBox_increase, 2, 5, 1, 1);
|
|
|
|
|
|
verticalLayout_2->addWidget(groupBox_2);
|
|
|
|
horizontalLayout_3 = new QHBoxLayout();
|
|
horizontalLayout_3->setObjectName("horizontalLayout_3");
|
|
groupBox_3 = new QGroupBox(tab1);
|
|
groupBox_3->setObjectName("groupBox_3");
|
|
groupBox_3->setFont(font);
|
|
groupBox_3->setStyleSheet(QString::fromUtf8("background-color: rgb(240, 240, 240);"));
|
|
gridLayout_5 = new QGridLayout(groupBox_3);
|
|
gridLayout_5->setObjectName("gridLayout_5");
|
|
horizontalSpacer = new QSpacerItem(163, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
|
|
|
gridLayout_5->addItem(horizontalSpacer, 0, 0, 1, 1);
|
|
|
|
pushButton_ClearS = new QPushButton(groupBox_3);
|
|
pushButton_ClearS->setObjectName("pushButton_ClearS");
|
|
|
|
gridLayout_5->addWidget(pushButton_ClearS, 0, 1, 1, 1);
|
|
|
|
textEdit_Send = new QTextEdit(groupBox_3);
|
|
textEdit_Send->setObjectName("textEdit_Send");
|
|
textEdit_Send->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_5->addWidget(textEdit_Send, 1, 0, 1, 2);
|
|
|
|
|
|
horizontalLayout_3->addWidget(groupBox_3);
|
|
|
|
groupBox_4 = new QGroupBox(tab1);
|
|
groupBox_4->setObjectName("groupBox_4");
|
|
groupBox_4->setFont(font);
|
|
groupBox_4->setStyleSheet(QString::fromUtf8("background-color: rgb(240, 240, 240);"));
|
|
gridLayout_6 = new QGridLayout(groupBox_4);
|
|
gridLayout_6->setObjectName("gridLayout_6");
|
|
pushButton_ClearR = new QPushButton(groupBox_4);
|
|
pushButton_ClearR->setObjectName("pushButton_ClearR");
|
|
|
|
gridLayout_6->addWidget(pushButton_ClearR, 0, 1, 1, 1);
|
|
|
|
textEdit_Receive = new QTextEdit(groupBox_4);
|
|
textEdit_Receive->setObjectName("textEdit_Receive");
|
|
textEdit_Receive->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_6->addWidget(textEdit_Receive, 1, 0, 1, 2);
|
|
|
|
horizontalSpacer_2 = new QSpacerItem(163, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
|
|
|
gridLayout_6->addItem(horizontalSpacer_2, 0, 0, 1, 1);
|
|
|
|
|
|
horizontalLayout_3->addWidget(groupBox_4);
|
|
|
|
|
|
verticalLayout_2->addLayout(horizontalLayout_3);
|
|
|
|
|
|
horizontalLayout_4->addLayout(verticalLayout_2);
|
|
|
|
groupBox_6 = new QGroupBox(tab1);
|
|
groupBox_6->setObjectName("groupBox_6");
|
|
groupBox_6->setFont(font1);
|
|
groupBox_6->setStyleSheet(QString::fromUtf8("background-color: rgb(240, 240, 240);"));
|
|
horizontalLayout_2 = new QHBoxLayout(groupBox_6);
|
|
horizontalLayout_2->setSpacing(0);
|
|
horizontalLayout_2->setObjectName("horizontalLayout_2");
|
|
horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
|
|
gridLayout_8 = new QGridLayout();
|
|
gridLayout_8->setObjectName("gridLayout_8");
|
|
horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
|
|
|
gridLayout_8->addItem(horizontalSpacer_3, 1, 0, 1, 1);
|
|
|
|
pButton_HorizInc = new QPushButton(groupBox_6);
|
|
pButton_HorizInc->setObjectName("pButton_HorizInc");
|
|
QIcon icon5;
|
|
icon5.addFile(QString::fromUtf8(":/img/image/right.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
|
|
pButton_HorizInc->setIcon(icon5);
|
|
|
|
gridLayout_8->addWidget(pButton_HorizInc, 1, 2, 1, 1);
|
|
|
|
graphicsView = new QChartView(groupBox_6);
|
|
graphicsView->setObjectName("graphicsView");
|
|
graphicsView->setAutoFillBackground(true);
|
|
graphicsView->setStyleSheet(QString::fromUtf8(""));
|
|
|
|
gridLayout_8->addWidget(graphicsView, 0, 0, 1, 4);
|
|
|
|
pButton_HorizDec = new QPushButton(groupBox_6);
|
|
pButton_HorizDec->setObjectName("pButton_HorizDec");
|
|
QIcon icon6;
|
|
icon6.addFile(QString::fromUtf8(":/img/image/left.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
|
|
pButton_HorizDec->setIcon(icon6);
|
|
|
|
gridLayout_8->addWidget(pButton_HorizDec, 1, 1, 1, 1);
|
|
|
|
horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
|
|
|
gridLayout_8->addItem(horizontalSpacer_4, 1, 3, 1, 1);
|
|
|
|
|
|
horizontalLayout_2->addLayout(gridLayout_8);
|
|
|
|
verticalLayout = new QVBoxLayout();
|
|
verticalLayout->setObjectName("verticalLayout");
|
|
verticalSpacer = new QSpacerItem(20, 239, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
|
|
|
|
verticalLayout->addItem(verticalSpacer);
|
|
|
|
phButton_VertitalInc = new QPushButton(groupBox_6);
|
|
phButton_VertitalInc->setObjectName("phButton_VertitalInc");
|
|
phButton_VertitalInc->setLayoutDirection(Qt::LayoutDirection::LeftToRight);
|
|
phButton_VertitalInc->setAutoFillBackground(false);
|
|
QIcon icon7;
|
|
icon7.addFile(QString::fromUtf8(":/img/image/up.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
|
|
phButton_VertitalInc->setIcon(icon7);
|
|
|
|
verticalLayout->addWidget(phButton_VertitalInc);
|
|
|
|
phButton_VertitalDec = new QPushButton(groupBox_6);
|
|
phButton_VertitalDec->setObjectName("phButton_VertitalDec");
|
|
QIcon icon8;
|
|
icon8.addFile(QString::fromUtf8(":/img/image/down.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
|
|
phButton_VertitalDec->setIcon(icon8);
|
|
|
|
verticalLayout->addWidget(phButton_VertitalDec);
|
|
|
|
pButton_gViewClear = new QPushButton(groupBox_6);
|
|
pButton_gViewClear->setObjectName("pButton_gViewClear");
|
|
|
|
verticalLayout->addWidget(pButton_gViewClear);
|
|
|
|
verticalSpacer_2 = new QSpacerItem(20, 233, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
|
|
|
|
verticalLayout->addItem(verticalSpacer_2);
|
|
|
|
|
|
horizontalLayout_2->addLayout(verticalLayout);
|
|
|
|
horizontalLayout_2->setStretch(0, 25);
|
|
horizontalLayout_2->setStretch(1, 1);
|
|
|
|
horizontalLayout_4->addWidget(groupBox_6);
|
|
|
|
horizontalLayout_4->setStretch(0, 2);
|
|
horizontalLayout_4->setStretch(1, 3);
|
|
tabWidget->addTab(tab1, QString());
|
|
tab2 = new QWidget();
|
|
tab2->setObjectName("tab2");
|
|
tab2->setStyleSheet(QString::fromUtf8("background-color: rgb(242, 242, 242);"));
|
|
horizontalLayout_12 = new QHBoxLayout(tab2);
|
|
horizontalLayout_12->setObjectName("horizontalLayout_12");
|
|
verticalLayout_3 = new QVBoxLayout();
|
|
verticalLayout_3->setObjectName("verticalLayout_3");
|
|
gridLayout_2 = new QGridLayout();
|
|
gridLayout_2->setObjectName("gridLayout_2");
|
|
pushButton_25 = new QPushButton(tab2);
|
|
pushButton_25->setObjectName("pushButton_25");
|
|
QFont font2;
|
|
font2.setFamilies({QString::fromUtf8("\345\256\213\344\275\223")});
|
|
font2.setPointSize(16);
|
|
pushButton_25->setFont(font2);
|
|
pushButton_25->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);\n"
|
|
"selection-background-color: rgb(85, 85, 255);\n"
|
|
"selection-color: rgb(255, 0, 0);\n"
|
|
"gridline-color: rgb(170, 0, 127);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_25, 0, 0, 1, 1);
|
|
|
|
pushButton = new QPushButton(tab2);
|
|
pushButton->setObjectName("pushButton");
|
|
pushButton->setFont(font2);
|
|
pushButton->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton, 1, 0, 1, 1);
|
|
|
|
lineEdit_r2 = new QLineEdit(tab2);
|
|
lineEdit_r2->setObjectName("lineEdit_r2");
|
|
lineEdit_r2->setFont(font2);
|
|
lineEdit_r2->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r2, 1, 1, 1, 1);
|
|
|
|
pushButton_2 = new QPushButton(tab2);
|
|
pushButton_2->setObjectName("pushButton_2");
|
|
pushButton_2->setFont(font2);
|
|
pushButton_2->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_2, 2, 0, 1, 1);
|
|
|
|
lineEdit_r3 = new QLineEdit(tab2);
|
|
lineEdit_r3->setObjectName("lineEdit_r3");
|
|
lineEdit_r3->setFont(font2);
|
|
lineEdit_r3->setLayoutDirection(Qt::LayoutDirection::RightToLeft);
|
|
lineEdit_r3->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r3, 2, 1, 1, 1);
|
|
|
|
pushButton_3 = new QPushButton(tab2);
|
|
pushButton_3->setObjectName("pushButton_3");
|
|
pushButton_3->setFont(font2);
|
|
pushButton_3->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_3, 3, 0, 1, 1);
|
|
|
|
lineEdit_r4 = new QLineEdit(tab2);
|
|
lineEdit_r4->setObjectName("lineEdit_r4");
|
|
lineEdit_r4->setFont(font2);
|
|
lineEdit_r4->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r4, 3, 1, 1, 1);
|
|
|
|
pushButton_4 = new QPushButton(tab2);
|
|
pushButton_4->setObjectName("pushButton_4");
|
|
pushButton_4->setFont(font2);
|
|
pushButton_4->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_4, 4, 0, 1, 1);
|
|
|
|
lineEdit_r5 = new QLineEdit(tab2);
|
|
lineEdit_r5->setObjectName("lineEdit_r5");
|
|
lineEdit_r5->setFont(font2);
|
|
lineEdit_r5->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r5, 4, 1, 1, 1);
|
|
|
|
pushButton_setPWM = new QPushButton(tab2);
|
|
pushButton_setPWM->setObjectName("pushButton_setPWM");
|
|
pushButton_setPWM->setFont(font2);
|
|
pushButton_setPWM->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_setPWM, 4, 2, 1, 1);
|
|
|
|
pushButton_5 = new QPushButton(tab2);
|
|
pushButton_5->setObjectName("pushButton_5");
|
|
pushButton_5->setFont(font2);
|
|
pushButton_5->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_5, 5, 0, 1, 1);
|
|
|
|
lineEdit_r6 = new QLineEdit(tab2);
|
|
lineEdit_r6->setObjectName("lineEdit_r6");
|
|
lineEdit_r6->setFont(font2);
|
|
lineEdit_r6->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r6, 5, 1, 1, 1);
|
|
|
|
pushButton_21 = new QPushButton(tab2);
|
|
pushButton_21->setObjectName("pushButton_21");
|
|
pushButton_21->setFont(font2);
|
|
pushButton_21->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_21, 5, 2, 1, 1);
|
|
|
|
pushButton_6 = new QPushButton(tab2);
|
|
pushButton_6->setObjectName("pushButton_6");
|
|
pushButton_6->setEnabled(true);
|
|
pushButton_6->setFont(font2);
|
|
pushButton_6->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_6, 6, 0, 1, 1);
|
|
|
|
lineEdit_r7 = new QLineEdit(tab2);
|
|
lineEdit_r7->setObjectName("lineEdit_r7");
|
|
lineEdit_r7->setFont(font2);
|
|
lineEdit_r7->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r7, 6, 1, 1, 1);
|
|
|
|
pushButton_22 = new QPushButton(tab2);
|
|
pushButton_22->setObjectName("pushButton_22");
|
|
pushButton_22->setFont(font2);
|
|
pushButton_22->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_22, 6, 2, 1, 1);
|
|
|
|
pushButton_7 = new QPushButton(tab2);
|
|
pushButton_7->setObjectName("pushButton_7");
|
|
pushButton_7->setFont(font2);
|
|
pushButton_7->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_7, 7, 0, 1, 1);
|
|
|
|
lineEdit_r8 = new QLineEdit(tab2);
|
|
lineEdit_r8->setObjectName("lineEdit_r8");
|
|
lineEdit_r8->setFont(font2);
|
|
lineEdit_r8->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r8, 7, 1, 1, 1);
|
|
|
|
pushButton_16 = new QPushButton(tab2);
|
|
pushButton_16->setObjectName("pushButton_16");
|
|
pushButton_16->setFont(font2);
|
|
pushButton_16->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_16, 7, 2, 1, 1);
|
|
|
|
pushButton_8 = new QPushButton(tab2);
|
|
pushButton_8->setObjectName("pushButton_8");
|
|
pushButton_8->setFont(font2);
|
|
pushButton_8->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_8, 8, 0, 1, 1);
|
|
|
|
lineEdit_r9 = new QLineEdit(tab2);
|
|
lineEdit_r9->setObjectName("lineEdit_r9");
|
|
lineEdit_r9->setFont(font2);
|
|
lineEdit_r9->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r9, 8, 1, 1, 1);
|
|
|
|
pushButton_15 = new QPushButton(tab2);
|
|
pushButton_15->setObjectName("pushButton_15");
|
|
pushButton_15->setFont(font2);
|
|
pushButton_15->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_15, 8, 2, 1, 1);
|
|
|
|
pushButton_27 = new QPushButton(tab2);
|
|
pushButton_27->setObjectName("pushButton_27");
|
|
pushButton_27->setFont(font2);
|
|
pushButton_27->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_27, 9, 0, 1, 1);
|
|
|
|
lineEdit_r10 = new QLineEdit(tab2);
|
|
lineEdit_r10->setObjectName("lineEdit_r10");
|
|
lineEdit_r10->setFont(font2);
|
|
lineEdit_r10->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r10, 9, 1, 1, 1);
|
|
|
|
pushButton_29 = new QPushButton(tab2);
|
|
pushButton_29->setObjectName("pushButton_29");
|
|
pushButton_29->setFont(font2);
|
|
pushButton_29->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_29, 10, 0, 1, 1);
|
|
|
|
lineEdit_r11 = new QLineEdit(tab2);
|
|
lineEdit_r11->setObjectName("lineEdit_r11");
|
|
lineEdit_r11->setFont(font2);
|
|
lineEdit_r11->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r11, 10, 1, 1, 1);
|
|
|
|
pushButton_9 = new QPushButton(tab2);
|
|
pushButton_9->setObjectName("pushButton_9");
|
|
pushButton_9->setFont(font2);
|
|
pushButton_9->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_9, 11, 0, 1, 1);
|
|
|
|
lineEdit_r12 = new QLineEdit(tab2);
|
|
lineEdit_r12->setObjectName("lineEdit_r12");
|
|
lineEdit_r12->setFont(font2);
|
|
lineEdit_r12->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r12, 11, 1, 1, 1);
|
|
|
|
pushButton_estimate = new QPushButton(tab2);
|
|
pushButton_estimate->setObjectName("pushButton_estimate");
|
|
pushButton_estimate->setFont(font2);
|
|
pushButton_estimate->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_estimate, 11, 2, 1, 1);
|
|
|
|
pushButton_10 = new QPushButton(tab2);
|
|
pushButton_10->setObjectName("pushButton_10");
|
|
pushButton_10->setFont(font2);
|
|
pushButton_10->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_10, 12, 0, 1, 1);
|
|
|
|
lineEdit_r13 = new QLineEdit(tab2);
|
|
lineEdit_r13->setObjectName("lineEdit_r13");
|
|
lineEdit_r13->setFont(font2);
|
|
lineEdit_r13->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r13, 12, 1, 1, 1);
|
|
|
|
pushButton_17 = new QPushButton(tab2);
|
|
pushButton_17->setObjectName("pushButton_17");
|
|
pushButton_17->setFont(font2);
|
|
pushButton_17->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_17, 12, 2, 1, 1);
|
|
|
|
pushButton_11 = new QPushButton(tab2);
|
|
pushButton_11->setObjectName("pushButton_11");
|
|
pushButton_11->setFont(font2);
|
|
pushButton_11->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_11, 13, 0, 1, 1);
|
|
|
|
lineEdit_r14 = new QLineEdit(tab2);
|
|
lineEdit_r14->setObjectName("lineEdit_r14");
|
|
lineEdit_r14->setFont(font2);
|
|
lineEdit_r14->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r14, 13, 1, 1, 1);
|
|
|
|
pushButton_18 = new QPushButton(tab2);
|
|
pushButton_18->setObjectName("pushButton_18");
|
|
pushButton_18->setFont(font2);
|
|
pushButton_18->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_18, 13, 2, 1, 1);
|
|
|
|
pushButton_12 = new QPushButton(tab2);
|
|
pushButton_12->setObjectName("pushButton_12");
|
|
pushButton_12->setFont(font2);
|
|
pushButton_12->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_12, 14, 0, 1, 1);
|
|
|
|
lineEdit_r15 = new QLineEdit(tab2);
|
|
lineEdit_r15->setObjectName("lineEdit_r15");
|
|
lineEdit_r15->setFont(font2);
|
|
lineEdit_r15->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(lineEdit_r15, 14, 1, 1, 1);
|
|
|
|
pushButton_20 = new QPushButton(tab2);
|
|
pushButton_20->setObjectName("pushButton_20");
|
|
pushButton_20->setFont(font2);
|
|
pushButton_20->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_2->addWidget(pushButton_20, 14, 2, 1, 1);
|
|
|
|
spinBox_addr = new QSpinBox(tab2);
|
|
spinBox_addr->setObjectName("spinBox_addr");
|
|
spinBox_addr->setMinimumSize(QSize(0, 29));
|
|
spinBox_addr->setFont(font2);
|
|
spinBox_addr->setMinimum(1);
|
|
spinBox_addr->setMaximum(999);
|
|
spinBox_addr->setValue(1);
|
|
|
|
gridLayout_2->addWidget(spinBox_addr, 0, 1, 1, 1);
|
|
|
|
|
|
verticalLayout_3->addLayout(gridLayout_2);
|
|
|
|
horizontalLayout_5 = new QHBoxLayout();
|
|
horizontalLayout_5->setObjectName("horizontalLayout_5");
|
|
gridLayout_7 = new QGridLayout();
|
|
gridLayout_7->setObjectName("gridLayout_7");
|
|
checkBox = new QCheckBox(tab2);
|
|
checkBox->setObjectName("checkBox");
|
|
checkBox->setFont(font2);
|
|
checkBox->setLayoutDirection(Qt::LayoutDirection::RightToLeft);
|
|
checkBox->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_7->addWidget(checkBox, 1, 0, 1, 1);
|
|
|
|
pushButton_readonce = new QPushButton(tab2);
|
|
pushButton_readonce->setObjectName("pushButton_readonce");
|
|
pushButton_readonce->setFont(font2);
|
|
pushButton_readonce->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_7->addWidget(pushButton_readonce, 0, 0, 1, 1);
|
|
|
|
spinBox_timer_2 = new QSpinBox(tab2);
|
|
spinBox_timer_2->setObjectName("spinBox_timer_2");
|
|
spinBox_timer_2->setFont(font2);
|
|
spinBox_timer_2->setFocusPolicy(Qt::FocusPolicy::StrongFocus);
|
|
spinBox_timer_2->setLayoutDirection(Qt::LayoutDirection::LeftToRight);
|
|
spinBox_timer_2->setAutoFillBackground(true);
|
|
spinBox_timer_2->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
spinBox_timer_2->setButtonSymbols(QAbstractSpinBox::ButtonSymbols::UpDownArrows);
|
|
spinBox_timer_2->setMaximum(10000);
|
|
spinBox_timer_2->setValue(250);
|
|
|
|
gridLayout_7->addWidget(spinBox_timer_2, 1, 1, 1, 1);
|
|
|
|
|
|
horizontalLayout_5->addLayout(gridLayout_7);
|
|
|
|
|
|
verticalLayout_3->addLayout(horizontalLayout_5);
|
|
|
|
|
|
horizontalLayout_12->addLayout(verticalLayout_3);
|
|
|
|
verticalLayout_7 = new QVBoxLayout();
|
|
verticalLayout_7->setObjectName("verticalLayout_7");
|
|
gridLayout_17 = new QGridLayout();
|
|
gridLayout_17->setObjectName("gridLayout_17");
|
|
graphicsView_2 = new QChartView(tab2);
|
|
graphicsView_2->setObjectName("graphicsView_2");
|
|
graphicsView_2->setAutoFillBackground(true);
|
|
graphicsView_2->setStyleSheet(QString::fromUtf8("background-color: rgb(242, 242, 242);"));
|
|
|
|
gridLayout_17->addWidget(graphicsView_2, 0, 0, 11, 1);
|
|
|
|
checkBox_data = new QCheckBox(tab2);
|
|
checkBox_data->setObjectName("checkBox_data");
|
|
checkBox_data->setFont(font2);
|
|
checkBox_data->setLayoutDirection(Qt::LayoutDirection::LeftToRight);
|
|
checkBox_data->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
checkBox_data->setChecked(true);
|
|
|
|
gridLayout_17->addWidget(checkBox_data, 0, 1, 1, 1);
|
|
|
|
checkBox_state = new QCheckBox(tab2);
|
|
checkBox_state->setObjectName("checkBox_state");
|
|
checkBox_state->setFont(font2);
|
|
checkBox_state->setLayoutDirection(Qt::LayoutDirection::LeftToRight);
|
|
checkBox_state->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_17->addWidget(checkBox_state, 1, 1, 1, 1);
|
|
|
|
checkBox_temp = new QCheckBox(tab2);
|
|
checkBox_temp->setObjectName("checkBox_temp");
|
|
checkBox_temp->setFont(font2);
|
|
checkBox_temp->setLayoutDirection(Qt::LayoutDirection::LeftToRight);
|
|
checkBox_temp->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_17->addWidget(checkBox_temp, 2, 1, 1, 1);
|
|
|
|
checkBox_humi = new QCheckBox(tab2);
|
|
checkBox_humi->setObjectName("checkBox_humi");
|
|
checkBox_humi->setFont(font2);
|
|
checkBox_humi->setLayoutDirection(Qt::LayoutDirection::LeftToRight);
|
|
checkBox_humi->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_17->addWidget(checkBox_humi, 3, 1, 1, 1);
|
|
|
|
checkBox_voltage = new QCheckBox(tab2);
|
|
checkBox_voltage->setObjectName("checkBox_voltage");
|
|
checkBox_voltage->setFont(font2);
|
|
checkBox_voltage->setLayoutDirection(Qt::LayoutDirection::LeftToRight);
|
|
checkBox_voltage->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_17->addWidget(checkBox_voltage, 4, 1, 1, 1);
|
|
|
|
verticalSpacer_3 = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
|
|
|
|
gridLayout_17->addItem(verticalSpacer_3, 5, 1, 1, 1);
|
|
|
|
pushButton_Ysmall = new QPushButton(tab2);
|
|
pushButton_Ysmall->setObjectName("pushButton_Ysmall");
|
|
pushButton_Ysmall->setEnabled(true);
|
|
pushButton_Ysmall->setFont(font2);
|
|
pushButton_Ysmall->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_17->addWidget(pushButton_Ysmall, 6, 1, 1, 1);
|
|
|
|
pushButton_Ylargr = new QPushButton(tab2);
|
|
pushButton_Ylargr->setObjectName("pushButton_Ylargr");
|
|
pushButton_Ylargr->setEnabled(true);
|
|
pushButton_Ylargr->setFont(font2);
|
|
pushButton_Ylargr->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_17->addWidget(pushButton_Ylargr, 7, 1, 1, 1);
|
|
|
|
pushButton_Xsmall = new QPushButton(tab2);
|
|
pushButton_Xsmall->setObjectName("pushButton_Xsmall");
|
|
pushButton_Xsmall->setEnabled(true);
|
|
pushButton_Xsmall->setFont(font2);
|
|
pushButton_Xsmall->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_17->addWidget(pushButton_Xsmall, 8, 1, 1, 1);
|
|
|
|
pushButton_Xlargr = new QPushButton(tab2);
|
|
pushButton_Xlargr->setObjectName("pushButton_Xlargr");
|
|
pushButton_Xlargr->setEnabled(true);
|
|
pushButton_Xlargr->setFont(font2);
|
|
pushButton_Xlargr->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_17->addWidget(pushButton_Xlargr, 9, 1, 1, 1);
|
|
|
|
pushButton_chartclear = new QPushButton(tab2);
|
|
pushButton_chartclear->setObjectName("pushButton_chartclear");
|
|
pushButton_chartclear->setEnabled(true);
|
|
pushButton_chartclear->setFont(font2);
|
|
pushButton_chartclear->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
gridLayout_17->addWidget(pushButton_chartclear, 10, 1, 1, 1);
|
|
|
|
|
|
verticalLayout_7->addLayout(gridLayout_17);
|
|
|
|
horizontalLayout_6 = new QHBoxLayout();
|
|
horizontalLayout_6->setObjectName("horizontalLayout_6");
|
|
textEdit_RxTx = new QTextEdit(tab2);
|
|
textEdit_RxTx->setObjectName("textEdit_RxTx");
|
|
textEdit_RxTx->setStyleSheet(QString::fromUtf8("background-color: rgb(242, 242, 242);\n"
|
|
"background-color: rgb(255, 255, 255);"));
|
|
|
|
horizontalLayout_6->addWidget(textEdit_RxTx);
|
|
|
|
pushButton_clear2 = new QPushButton(tab2);
|
|
pushButton_clear2->setObjectName("pushButton_clear2");
|
|
pushButton_clear2->setEnabled(true);
|
|
pushButton_clear2->setFont(font2);
|
|
pushButton_clear2->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
|
|
|
horizontalLayout_6->addWidget(pushButton_clear2);
|
|
|
|
|
|
verticalLayout_7->addLayout(horizontalLayout_6);
|
|
|
|
verticalLayout_7->setStretch(0, 3);
|
|
verticalLayout_7->setStretch(1, 1);
|
|
|
|
horizontalLayout_12->addLayout(verticalLayout_7);
|
|
|
|
horizontalLayout_12->setStretch(0, 1);
|
|
horizontalLayout_12->setStretch(1, 2);
|
|
tabWidget->addTab(tab2, QString());
|
|
tab = new QWidget();
|
|
tab->setObjectName("tab");
|
|
groupBox_7 = new QGroupBox(tab);
|
|
groupBox_7->setObjectName("groupBox_7");
|
|
groupBox_7->setGeometry(QRect(10, 80, 891, 91));
|
|
guangbo_rBtn = new QRadioButton(groupBox_7);
|
|
guangbo_rBtn->setObjectName("guangbo_rBtn");
|
|
guangbo_rBtn->setGeometry(QRect(20, 20, 131, 30));
|
|
QFont font3;
|
|
font3.setPointSize(16);
|
|
guangbo_rBtn->setFont(font3);
|
|
layoutWidget = new QWidget(groupBox_7);
|
|
layoutWidget->setObjectName("layoutWidget");
|
|
layoutWidget->setGeometry(QRect(21, 47, 511, 33));
|
|
horizontalLayout_7 = new QHBoxLayout(layoutWidget);
|
|
horizontalLayout_7->setObjectName("horizontalLayout_7");
|
|
horizontalLayout_7->setContentsMargins(0, 0, 0, 0);
|
|
danbo_rBtn = new QRadioButton(layoutWidget);
|
|
danbo_rBtn->setObjectName("danbo_rBtn");
|
|
danbo_rBtn->setFont(font3);
|
|
danbo_rBtn->setTabletTracking(false);
|
|
danbo_rBtn->setChecked(true);
|
|
|
|
horizontalLayout_7->addWidget(danbo_rBtn);
|
|
|
|
horizontalSpacer_5 = new QSpacerItem(13, 17, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
|
|
|
horizontalLayout_7->addItem(horizontalSpacer_5);
|
|
|
|
label_9 = new QLabel(layoutWidget);
|
|
label_9->setObjectName("label_9");
|
|
label_9->setFont(font3);
|
|
|
|
horizontalLayout_7->addWidget(label_9);
|
|
|
|
start_spinBox = new QSpinBox(layoutWidget);
|
|
start_spinBox->setObjectName("start_spinBox");
|
|
start_spinBox->setFont(font3);
|
|
start_spinBox->setMinimum(1);
|
|
start_spinBox->setMaximum(255);
|
|
|
|
horizontalLayout_7->addWidget(start_spinBox);
|
|
|
|
label_10 = new QLabel(layoutWidget);
|
|
label_10->setObjectName("label_10");
|
|
label_10->setFont(font3);
|
|
|
|
horizontalLayout_7->addWidget(label_10);
|
|
|
|
end_spinBox = new QSpinBox(layoutWidget);
|
|
end_spinBox->setObjectName("end_spinBox");
|
|
end_spinBox->setFont(font3);
|
|
end_spinBox->setMinimum(1);
|
|
end_spinBox->setMaximum(255);
|
|
|
|
horizontalLayout_7->addWidget(end_spinBox);
|
|
|
|
clear3_Btn = new QPushButton(groupBox_7);
|
|
clear3_Btn->setObjectName("clear3_Btn");
|
|
clear3_Btn->setGeometry(QRect(560, 50, 75, 31));
|
|
SendFile_textEdit = new QTextEdit(tab);
|
|
SendFile_textEdit->setObjectName("SendFile_textEdit");
|
|
SendFile_textEdit->setGeometry(QRect(10, 180, 891, 461));
|
|
SendFile_textEdit->setTabletTracking(false);
|
|
SendFile_textEdit->setFrameShadow(QFrame::Shadow::Sunken);
|
|
layoutWidget1 = new QWidget(tab);
|
|
layoutWidget1->setObjectName("layoutWidget1");
|
|
layoutWidget1->setGeometry(QRect(10, 10, 891, 56));
|
|
gridLayout_9 = new QGridLayout(layoutWidget1);
|
|
gridLayout_9->setObjectName("gridLayout_9");
|
|
gridLayout_9->setContentsMargins(0, 0, 0, 0);
|
|
fileName_LEdit = new QLineEdit(layoutWidget1);
|
|
fileName_LEdit->setObjectName("fileName_LEdit");
|
|
|
|
gridLayout_9->addWidget(fileName_LEdit, 0, 1, 1, 1);
|
|
|
|
SenFile_Btn = new QPushButton(layoutWidget1);
|
|
SenFile_Btn->setObjectName("SenFile_Btn");
|
|
|
|
gridLayout_9->addWidget(SenFile_Btn, 1, 0, 1, 1);
|
|
|
|
progressBar = new QProgressBar(layoutWidget1);
|
|
progressBar->setObjectName("progressBar");
|
|
progressBar->setValue(0);
|
|
progressBar->setTextVisible(true);
|
|
|
|
gridLayout_9->addWidget(progressBar, 1, 1, 1, 1);
|
|
|
|
OpenFile_Btn = new QPushButton(layoutWidget1);
|
|
OpenFile_Btn->setObjectName("OpenFile_Btn");
|
|
|
|
gridLayout_9->addWidget(OpenFile_Btn, 0, 0, 1, 1);
|
|
|
|
overSend_Btn = new QPushButton(layoutWidget1);
|
|
overSend_Btn->setObjectName("overSend_Btn");
|
|
|
|
gridLayout_9->addWidget(overSend_Btn, 1, 2, 1, 1);
|
|
|
|
tabWidget->addTab(tab, QString());
|
|
|
|
horizontalLayout->addWidget(tabWidget);
|
|
|
|
MainWindow->setCentralWidget(centralwidget);
|
|
statusbar = new QStatusBar(MainWindow);
|
|
statusbar->setObjectName("statusbar");
|
|
MainWindow->setStatusBar(statusbar);
|
|
toolBar = new QToolBar(MainWindow);
|
|
toolBar->setObjectName("toolBar");
|
|
toolBar->setToolButtonStyle(Qt::ToolButtonStyle::ToolButtonTextUnderIcon);
|
|
MainWindow->addToolBar(Qt::ToolBarArea::LeftToolBarArea, toolBar);
|
|
|
|
toolBar->addAction(setSerilport);
|
|
toolBar->addSeparator();
|
|
toolBar->addAction(fileSet);
|
|
toolBar->addSeparator();
|
|
toolBar->addAction(help_action);
|
|
toolBar->addSeparator();
|
|
|
|
retranslateUi(MainWindow);
|
|
|
|
tabWidget->setCurrentIndex(1);
|
|
|
|
|
|
QMetaObject::connectSlotsByName(MainWindow);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QMainWindow *MainWindow)
|
|
{
|
|
MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "110V\344\274\240\346\204\237\345\231\250\344\270\212\344\275\215\346\234\272\350\260\203\350\257\225\345\212\251\346\211\213", nullptr));
|
|
setSerilport->setText(QCoreApplication::translate("MainWindow", "\344\270\262\345\217\243\350\256\276\347\275\256", nullptr));
|
|
fileSet->setText(QCoreApplication::translate("MainWindow", "\346\226\207\344\273\266\350\256\276\347\275\256", nullptr));
|
|
help_action->setText(QCoreApplication::translate("MainWindow", "\345\270\256\345\212\251", nullptr));
|
|
groupBox_5->setTitle(QCoreApplication::translate("MainWindow", "\345\205\266\344\273\226\350\256\276\347\275\256", nullptr));
|
|
readVersion->setText(QCoreApplication::translate("MainWindow", "\347\211\210\346\234\254\344\277\241\346\201\257", nullptr));
|
|
lineEdit_Version->setPlaceholderText(QString());
|
|
setFactor->setText(QCoreApplication::translate("MainWindow", "\350\256\276\347\275\256", nullptr));
|
|
readFactor->setText(QCoreApplication::translate("MainWindow", "\344\277\256\346\255\243\347\263\273\346\225\260", nullptr));
|
|
readPWM->setText(QCoreApplication::translate("MainWindow", "PWM\346\263\242", nullptr));
|
|
setPWM->setText(QCoreApplication::translate("MainWindow", "\350\256\276\347\275\256", nullptr));
|
|
lineEdit_addr->setText(QCoreApplication::translate("MainWindow", "1", nullptr));
|
|
groupBox->setTitle(QCoreApplication::translate("MainWindow", "03H\346\214\207\344\273\244\357\274\214\350\257\273\345\217\226\346\225\260\346\215\256", nullptr));
|
|
label->setText(QCoreApplication::translate("MainWindow", "485\345\234\260\345\235\200", nullptr));
|
|
label_2->setText(QCoreApplication::translate("MainWindow", "\345\257\204\345\255\230\345\231\250\345\234\260\345\235\200", nullptr));
|
|
label_3->setText(QCoreApplication::translate("MainWindow", "\345\257\204\345\255\230\345\231\250\344\270\252\346\225\260", nullptr));
|
|
checkBox_timer->setText(QCoreApplication::translate("MainWindow", "\350\207\252\345\212\250\357\274\210ms\357\274\211", nullptr));
|
|
lineEdit_addr03->setText(QCoreApplication::translate("MainWindow", "0x01", nullptr));
|
|
lineEdit_reg03->setText(QCoreApplication::translate("MainWindow", "0x0001", nullptr));
|
|
lineEdit_num03->setText(QCoreApplication::translate("MainWindow", "0x0002", nullptr));
|
|
pushButton_addrUP->setText(QString());
|
|
pushButton_addrDOWN->setText(QString());
|
|
pushButton_reset03->setText(QCoreApplication::translate("MainWindow", "\345\244\215\344\275\215", nullptr));
|
|
pushButton_read03->setText(QCoreApplication::translate("MainWindow", "\350\257\273\345\217\226", nullptr));
|
|
groupBox_2->setTitle(QCoreApplication::translate("MainWindow", "06H\346\214\207\344\273\244\357\274\214\344\277\256\346\224\271\345\234\260\345\235\200", nullptr));
|
|
label_4->setText(QCoreApplication::translate("MainWindow", "\345\257\204\345\255\230\345\231\250\345\234\260\345\235\200", nullptr));
|
|
comboBox_aim->setItemText(0, QCoreApplication::translate("MainWindow", "1", nullptr));
|
|
comboBox_aim->setItemText(1, QCoreApplication::translate("MainWindow", "2", nullptr));
|
|
comboBox_aim->setItemText(2, QCoreApplication::translate("MainWindow", "3", nullptr));
|
|
comboBox_aim->setItemText(3, QCoreApplication::translate("MainWindow", "4", nullptr));
|
|
comboBox_aim->setItemText(4, QCoreApplication::translate("MainWindow", "5", nullptr));
|
|
comboBox_aim->setItemText(5, QCoreApplication::translate("MainWindow", "6", nullptr));
|
|
comboBox_aim->setItemText(6, QCoreApplication::translate("MainWindow", "7", nullptr));
|
|
comboBox_aim->setItemText(7, QCoreApplication::translate("MainWindow", "8", nullptr));
|
|
comboBox_aim->setItemText(8, QCoreApplication::translate("MainWindow", "9", nullptr));
|
|
comboBox_aim->setItemText(9, QCoreApplication::translate("MainWindow", "10", nullptr));
|
|
comboBox_aim->setItemText(10, QCoreApplication::translate("MainWindow", "11", nullptr));
|
|
comboBox_aim->setItemText(11, QCoreApplication::translate("MainWindow", "12", nullptr));
|
|
comboBox_aim->setItemText(12, QCoreApplication::translate("MainWindow", "13", nullptr));
|
|
comboBox_aim->setItemText(13, QCoreApplication::translate("MainWindow", "14", nullptr));
|
|
comboBox_aim->setItemText(14, QCoreApplication::translate("MainWindow", "15", nullptr));
|
|
comboBox_aim->setItemText(15, QCoreApplication::translate("MainWindow", "16", nullptr));
|
|
|
|
lineEdit_reg06->setText(QCoreApplication::translate("MainWindow", "0x000F", nullptr));
|
|
lineEdit_addr06->setText(QCoreApplication::translate("MainWindow", "0x01", nullptr));
|
|
pushButton_send06->setText(QCoreApplication::translate("MainWindow", "\345\217\221\351\200\201", nullptr));
|
|
label_8->setText(QCoreApplication::translate("MainWindow", "\350\207\252\345\242\236\345\200\274", nullptr));
|
|
label_5->setText(QCoreApplication::translate("MainWindow", "\350\246\201\344\277\256\346\224\271\347\232\204\345\234\260\345\235\200", nullptr));
|
|
comboBox_current->setItemText(0, QCoreApplication::translate("MainWindow", "1", nullptr));
|
|
comboBox_current->setItemText(1, QCoreApplication::translate("MainWindow", "2", nullptr));
|
|
comboBox_current->setItemText(2, QCoreApplication::translate("MainWindow", "3", nullptr));
|
|
comboBox_current->setItemText(3, QCoreApplication::translate("MainWindow", "4", nullptr));
|
|
comboBox_current->setItemText(4, QCoreApplication::translate("MainWindow", "5", nullptr));
|
|
comboBox_current->setItemText(5, QCoreApplication::translate("MainWindow", "6", nullptr));
|
|
comboBox_current->setItemText(6, QCoreApplication::translate("MainWindow", "7", nullptr));
|
|
comboBox_current->setItemText(7, QCoreApplication::translate("MainWindow", "8", nullptr));
|
|
comboBox_current->setItemText(8, QCoreApplication::translate("MainWindow", "9", nullptr));
|
|
comboBox_current->setItemText(9, QCoreApplication::translate("MainWindow", "10", nullptr));
|
|
comboBox_current->setItemText(10, QCoreApplication::translate("MainWindow", "11", nullptr));
|
|
comboBox_current->setItemText(11, QCoreApplication::translate("MainWindow", "12", nullptr));
|
|
comboBox_current->setItemText(12, QCoreApplication::translate("MainWindow", "13", nullptr));
|
|
comboBox_current->setItemText(13, QCoreApplication::translate("MainWindow", "14", nullptr));
|
|
comboBox_current->setItemText(14, QCoreApplication::translate("MainWindow", "15", nullptr));
|
|
|
|
label_7->setText(QCoreApplication::translate("MainWindow", "\345\275\223\345\211\215\345\200\274", nullptr));
|
|
label_6->setText(QCoreApplication::translate("MainWindow", "485\345\234\260\345\235\200", nullptr));
|
|
lineEdit_num06->setText(QCoreApplication::translate("MainWindow", "0x0001", nullptr));
|
|
checkBox_increase->setText(QCoreApplication::translate("MainWindow", "\350\207\252\345\242\236", nullptr));
|
|
groupBox_3->setTitle(QCoreApplication::translate("MainWindow", "\345\217\221\351\200\201\347\274\223\345\206\262\345\214\272", nullptr));
|
|
pushButton_ClearS->setText(QCoreApplication::translate("MainWindow", "\346\270\205\351\231\244", nullptr));
|
|
groupBox_4->setTitle(QCoreApplication::translate("MainWindow", "\346\216\245\346\224\266\347\274\223\345\206\262\345\214\272", nullptr));
|
|
pushButton_ClearR->setText(QCoreApplication::translate("MainWindow", "\346\270\205\351\231\244", nullptr));
|
|
groupBox_6->setTitle(QString());
|
|
pButton_HorizInc->setText(QCoreApplication::translate("MainWindow", "\346\224\276\345\244\247", nullptr));
|
|
pButton_HorizDec->setText(QCoreApplication::translate("MainWindow", "\347\274\251\345\260\217", nullptr));
|
|
phButton_VertitalInc->setText(QCoreApplication::translate("MainWindow", "\346\224\276\345\244\247", nullptr));
|
|
phButton_VertitalDec->setText(QCoreApplication::translate("MainWindow", "\347\274\251\345\260\217", nullptr));
|
|
pButton_gViewClear->setText(QCoreApplication::translate("MainWindow", "\346\270\205\351\231\244", nullptr));
|
|
tabWidget->setTabText(tabWidget->indexOf(tab1), QCoreApplication::translate("MainWindow", "\344\270\212\344\275\215\346\234\272", nullptr));
|
|
pushButton_25->setText(QCoreApplication::translate("MainWindow", "modbus\345\234\260\345\235\200", nullptr));
|
|
pushButton->setText(QCoreApplication::translate("MainWindow", "\344\274\240\346\204\237\345\231\250\346\225\260\346\215\256", nullptr));
|
|
pushButton_2->setText(QCoreApplication::translate("MainWindow", "\346\212\225\351\200\200\347\212\266\346\200\201", nullptr));
|
|
lineEdit_r3->setText(QString());
|
|
pushButton_3->setText(QCoreApplication::translate("MainWindow", "\347\224\265\346\234\272\347\212\266\346\200\201", nullptr));
|
|
pushButton_4->setText(QCoreApplication::translate("MainWindow", "PWM\345\215\240\347\251\272\346\257\224", nullptr));
|
|
pushButton_setPWM->setText(QCoreApplication::translate("MainWindow", "\350\256\276\347\275\256", nullptr));
|
|
pushButton_5->setText(QCoreApplication::translate("MainWindow", "\347\274\251\346\224\276\347\263\273\346\225\260", nullptr));
|
|
pushButton_21->setText(QCoreApplication::translate("MainWindow", "\350\256\276\347\275\256", nullptr));
|
|
pushButton_6->setText(QCoreApplication::translate("MainWindow", "\345\212\240\345\207\217\347\263\273\346\225\260", nullptr));
|
|
pushButton_22->setText(QCoreApplication::translate("MainWindow", "\350\256\276\347\275\256", nullptr));
|
|
pushButton_7->setText(QCoreApplication::translate("MainWindow", "\347\224\265\346\234\272\350\277\220\350\241\214\346\227\266\351\227\264", nullptr));
|
|
pushButton_16->setText(QCoreApplication::translate("MainWindow", "\350\256\276\347\275\256", nullptr));
|
|
pushButton_8->setText(QCoreApplication::translate("MainWindow", "\346\263\242\347\211\271\347\216\207", nullptr));
|
|
pushButton_15->setText(QCoreApplication::translate("MainWindow", "\350\256\276\347\275\256", nullptr));
|
|
pushButton_27->setText(QCoreApplication::translate("MainWindow", "\346\270\251\345\272\246", nullptr));
|
|
pushButton_29->setText(QCoreApplication::translate("MainWindow", "\346\271\277\345\272\246", nullptr));
|
|
pushButton_9->setText(QCoreApplication::translate("MainWindow", "\346\226\271\346\263\242\345\210\244\346\226\255\351\230\210\345\200\274", nullptr));
|
|
pushButton_estimate->setText(QCoreApplication::translate("MainWindow", "\350\256\276\347\275\256", nullptr));
|
|
pushButton_10->setText(QCoreApplication::translate("MainWindow", "\346\212\225\351\200\200\344\270\213\351\231\220\351\230\210\345\200\274", nullptr));
|
|
pushButton_17->setText(QCoreApplication::translate("MainWindow", "\350\256\276\347\275\256", nullptr));
|
|
pushButton_11->setText(QCoreApplication::translate("MainWindow", "\347\224\265\345\216\213\350\257\273\345\217\226/\346\240\241\345\207\206", nullptr));
|
|
pushButton_18->setText(QCoreApplication::translate("MainWindow", "\346\240\241\345\207\206", nullptr));
|
|
pushButton_12->setText(QCoreApplication::translate("MainWindow", "\347\224\265\345\216\213\351\230\210\345\200\274", nullptr));
|
|
pushButton_20->setText(QCoreApplication::translate("MainWindow", "\350\256\276\347\275\256", nullptr));
|
|
checkBox->setText(QCoreApplication::translate("MainWindow", "\350\207\252\345\212\250(ms)", nullptr));
|
|
pushButton_readonce->setText(QCoreApplication::translate("MainWindow", "\345\215\225\346\254\241\350\257\273\345\217\226", nullptr));
|
|
checkBox_data->setText(QCoreApplication::translate("MainWindow", "\346\225\260\346\215\256", nullptr));
|
|
checkBox_state->setText(QCoreApplication::translate("MainWindow", "\346\212\225\351\200\200\347\212\266\346\200\201", nullptr));
|
|
checkBox_temp->setText(QCoreApplication::translate("MainWindow", "\346\270\251\345\272\246", nullptr));
|
|
checkBox_humi->setText(QCoreApplication::translate("MainWindow", "\346\271\277\345\272\246", nullptr));
|
|
checkBox_voltage->setText(QCoreApplication::translate("MainWindow", "\347\224\265\345\216\213", nullptr));
|
|
pushButton_Ysmall->setText(QCoreApplication::translate("MainWindow", "Y\350\275\264\347\274\251\345\260\217", nullptr));
|
|
pushButton_Ylargr->setText(QCoreApplication::translate("MainWindow", "Y\350\275\264\346\224\276\345\244\247", nullptr));
|
|
pushButton_Xsmall->setText(QCoreApplication::translate("MainWindow", "X\350\275\264\347\274\251\345\260\217", nullptr));
|
|
pushButton_Xlargr->setText(QCoreApplication::translate("MainWindow", "x\350\275\264\346\224\276\345\244\247", nullptr));
|
|
pushButton_chartclear->setText(QCoreApplication::translate("MainWindow", " \346\270\205\351\231\244 ", nullptr));
|
|
pushButton_clear2->setText(QCoreApplication::translate("MainWindow", " \346\270\205\351\231\244 ", nullptr));
|
|
tabWidget->setTabText(tabWidget->indexOf(tab2), QCoreApplication::translate("MainWindow", "\346\225\260\346\215\256\350\257\273\345\217\226", nullptr));
|
|
groupBox_7->setTitle(QCoreApplication::translate("MainWindow", "GroupBox", nullptr));
|
|
guangbo_rBtn->setText(QCoreApplication::translate("MainWindow", "\345\271\277\346\222\255\344\274\240\350\276\223", nullptr));
|
|
danbo_rBtn->setText(QCoreApplication::translate("MainWindow", "\346\214\207\345\256\232\344\274\240\350\276\223", nullptr));
|
|
label_9->setText(QCoreApplication::translate("MainWindow", "\350\265\267\345\247\213\345\234\260\345\235\200", nullptr));
|
|
label_10->setText(QCoreApplication::translate("MainWindow", "\347\273\210\346\255\242\345\234\260\345\235\200", nullptr));
|
|
clear3_Btn->setText(QCoreApplication::translate("MainWindow", "\346\270\205\351\231\244", nullptr));
|
|
SenFile_Btn->setText(QCoreApplication::translate("MainWindow", "\345\217\221\351\200\201\346\226\207\344\273\266", nullptr));
|
|
progressBar->setFormat(QCoreApplication::translate("MainWindow", "%p%", nullptr));
|
|
OpenFile_Btn->setText(QCoreApplication::translate("MainWindow", "\346\211\223\345\274\200\346\226\207\344\273\266", nullptr));
|
|
overSend_Btn->setText(QCoreApplication::translate("MainWindow", "\347\273\223\346\235\237\345\217\221\351\200\201", nullptr));
|
|
tabWidget->setTabText(tabWidget->indexOf(tab), QCoreApplication::translate("MainWindow", "\345\215\207\347\272\247", nullptr));
|
|
toolBar->setWindowTitle(QCoreApplication::translate("MainWindow", "toolBar", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class MainWindow: public Ui_MainWindow {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_MAINWINDOW_H
|