122 lines
5.1 KiB
C++
122 lines
5.1 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'mainwindow.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.9.1
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_MAINWINDOW_H
|
|
#define UI_MAINWINDOW_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QAction>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QButtonGroup>
|
|
#include <QtWidgets/QComboBox>
|
|
#include <QtWidgets/QHeaderView>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QMainWindow>
|
|
#include <QtWidgets/QMenuBar>
|
|
#include <QtWidgets/QPlainTextEdit>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QStatusBar>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_MainWindow
|
|
{
|
|
public:
|
|
QWidget *centralwidget;
|
|
QLabel *label;
|
|
QComboBox *portComboBox;
|
|
QPushButton *openCloseButton;
|
|
QPlainTextEdit *receiveTextEdit;
|
|
QPlainTextEdit *sendTextEdit;
|
|
QPushButton *sendButton;
|
|
QLabel *label_2;
|
|
QLabel *label_3;
|
|
QLabel *label_4;
|
|
QLabel *label_5;
|
|
QMenuBar *menubar;
|
|
QStatusBar *statusbar;
|
|
|
|
void setupUi(QMainWindow *MainWindow)
|
|
{
|
|
if (MainWindow->objectName().isEmpty())
|
|
MainWindow->setObjectName(QStringLiteral("MainWindow"));
|
|
MainWindow->resize(800, 600);
|
|
centralwidget = new QWidget(MainWindow);
|
|
centralwidget->setObjectName(QStringLiteral("centralwidget"));
|
|
label = new QLabel(centralwidget);
|
|
label->setObjectName(QStringLiteral("label"));
|
|
label->setGeometry(QRect(120, 160, 141, 51));
|
|
portComboBox = new QComboBox(centralwidget);
|
|
portComboBox->setObjectName(QStringLiteral("portComboBox"));
|
|
portComboBox->setGeometry(QRect(10, 50, 87, 22));
|
|
openCloseButton = new QPushButton(centralwidget);
|
|
openCloseButton->setObjectName(QStringLiteral("openCloseButton"));
|
|
openCloseButton->setGeometry(QRect(10, 110, 93, 28));
|
|
receiveTextEdit = new QPlainTextEdit(centralwidget);
|
|
receiveTextEdit->setObjectName(QStringLiteral("receiveTextEdit"));
|
|
receiveTextEdit->setGeometry(QRect(230, 100, 331, 201));
|
|
sendTextEdit = new QPlainTextEdit(centralwidget);
|
|
sendTextEdit->setObjectName(QStringLiteral("sendTextEdit"));
|
|
sendTextEdit->setGeometry(QRect(240, 390, 301, 81));
|
|
sendButton = new QPushButton(centralwidget);
|
|
sendButton->setObjectName(QStringLiteral("sendButton"));
|
|
sendButton->setGeometry(QRect(670, 490, 93, 28));
|
|
label_2 = new QLabel(centralwidget);
|
|
label_2->setObjectName(QStringLiteral("label_2"));
|
|
label_2->setGeometry(QRect(140, 420, 101, 21));
|
|
label_3 = new QLabel(centralwidget);
|
|
label_3->setObjectName(QStringLiteral("label_3"));
|
|
label_3->setGeometry(QRect(10, 80, 131, 21));
|
|
label_4 = new QLabel(centralwidget);
|
|
label_4->setObjectName(QStringLiteral("label_4"));
|
|
label_4->setGeometry(QRect(10, 20, 72, 15));
|
|
label_5 = new QLabel(centralwidget);
|
|
label_5->setObjectName(QStringLiteral("label_5"));
|
|
label_5->setGeometry(QRect(580, 500, 81, 21));
|
|
MainWindow->setCentralWidget(centralwidget);
|
|
menubar = new QMenuBar(MainWindow);
|
|
menubar->setObjectName(QStringLiteral("menubar"));
|
|
menubar->setGeometry(QRect(0, 0, 800, 26));
|
|
MainWindow->setMenuBar(menubar);
|
|
statusbar = new QStatusBar(MainWindow);
|
|
statusbar->setObjectName(QStringLiteral("statusbar"));
|
|
MainWindow->setStatusBar(statusbar);
|
|
|
|
retranslateUi(MainWindow);
|
|
|
|
QMetaObject::connectSlotsByName(MainWindow);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QMainWindow *MainWindow)
|
|
{
|
|
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", Q_NULLPTR));
|
|
label->setText(QApplication::translate("MainWindow", "\346\216\245\346\224\266\346\266\210\346\201\257", Q_NULLPTR));
|
|
portComboBox->clear();
|
|
portComboBox->insertItems(0, QStringList()
|
|
<< QApplication::translate("MainWindow", "port1", Q_NULLPTR)
|
|
<< QApplication::translate("MainWindow", "port2", Q_NULLPTR)
|
|
);
|
|
openCloseButton->setText(QApplication::translate("MainWindow", "PushButton", Q_NULLPTR));
|
|
sendButton->setText(QApplication::translate("MainWindow", "PushButton", Q_NULLPTR));
|
|
label_2->setText(QApplication::translate("MainWindow", "\345\217\221\351\200\201\346\266\210\346\201\257", Q_NULLPTR));
|
|
label_3->setText(QApplication::translate("MainWindow", "\346\211\223\345\274\200\344\270\262\345\217\243/\345\205\263\351\227\255\344\270\262\345\217\243", Q_NULLPTR));
|
|
label_4->setText(QApplication::translate("MainWindow", "\344\270\262\345\217\243\351\200\211\346\213\251", Q_NULLPTR));
|
|
label_5->setText(QApplication::translate("MainWindow", "\345\274\200\345\247\213\345\217\221\351\200\201", Q_NULLPTR));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class MainWindow: public Ui_MainWindow {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_MAINWINDOW_H
|