You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
160 lines
5.9 KiB
160 lines
5.9 KiB
/********************************************************************************
|
|
** Form generated from reading UI file 'widget.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.14.2
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_WIDGET_H
|
|
#define UI_WIDGET_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QLineEdit>
|
|
#include <QtWidgets/QPlainTextEdit>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QSpacerItem>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_Widget
|
|
{
|
|
public:
|
|
QGridLayout *gridLayout;
|
|
QPlainTextEdit *messageRCV;
|
|
QHBoxLayout *horizontalLayout;
|
|
QLineEdit *tcpPort;
|
|
QLabel *label;
|
|
QSpacerItem *horizontalSpacer_3;
|
|
QLineEdit *editMessageSend;
|
|
QHBoxLayout *horizontalLayout_2;
|
|
QPushButton *btnOpenServer;
|
|
QSpacerItem *horizontalSpacer;
|
|
QPushButton *btnCloseNow;
|
|
QSpacerItem *horizontalSpacer_4;
|
|
QPushButton *btnCloseServer;
|
|
QSpacerItem *horizontalSpacer_2;
|
|
QPushButton *btnSendMessage;
|
|
|
|
void setupUi(QWidget *Widget)
|
|
{
|
|
if (Widget->objectName().isEmpty())
|
|
Widget->setObjectName(QString::fromUtf8("Widget"));
|
|
Widget->resize(662, 554);
|
|
gridLayout = new QGridLayout(Widget);
|
|
gridLayout->setSpacing(6);
|
|
gridLayout->setContentsMargins(11, 11, 11, 11);
|
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
|
messageRCV = new QPlainTextEdit(Widget);
|
|
messageRCV->setObjectName(QString::fromUtf8("messageRCV"));
|
|
|
|
gridLayout->addWidget(messageRCV, 0, 0, 1, 1);
|
|
|
|
horizontalLayout = new QHBoxLayout();
|
|
horizontalLayout->setSpacing(6);
|
|
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
|
tcpPort = new QLineEdit(Widget);
|
|
tcpPort->setObjectName(QString::fromUtf8("tcpPort"));
|
|
tcpPort->setMinimumSize(QSize(0, 41));
|
|
tcpPort->setMaximumSize(QSize(16777215, 41));
|
|
|
|
horizontalLayout->addWidget(tcpPort);
|
|
|
|
label = new QLabel(Widget);
|
|
label->setObjectName(QString::fromUtf8("label"));
|
|
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
|
sizePolicy.setHorizontalStretch(0);
|
|
sizePolicy.setVerticalStretch(0);
|
|
sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
|
|
label->setSizePolicy(sizePolicy);
|
|
label->setMaximumSize(QSize(16777215, 51));
|
|
|
|
horizontalLayout->addWidget(label);
|
|
|
|
horizontalSpacer_3 = new QSpacerItem(335, 17, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
horizontalLayout->addItem(horizontalSpacer_3);
|
|
|
|
|
|
gridLayout->addLayout(horizontalLayout, 1, 0, 1, 1);
|
|
|
|
editMessageSend = new QLineEdit(Widget);
|
|
editMessageSend->setObjectName(QString::fromUtf8("editMessageSend"));
|
|
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
|
sizePolicy1.setHorizontalStretch(0);
|
|
sizePolicy1.setVerticalStretch(61);
|
|
sizePolicy1.setHeightForWidth(editMessageSend->sizePolicy().hasHeightForWidth());
|
|
editMessageSend->setSizePolicy(sizePolicy1);
|
|
editMessageSend->setMinimumSize(QSize(0, 61));
|
|
editMessageSend->setMaximumSize(QSize(16777215, 61));
|
|
|
|
gridLayout->addWidget(editMessageSend, 2, 0, 1, 1);
|
|
|
|
horizontalLayout_2 = new QHBoxLayout();
|
|
horizontalLayout_2->setSpacing(6);
|
|
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
|
btnOpenServer = new QPushButton(Widget);
|
|
btnOpenServer->setObjectName(QString::fromUtf8("btnOpenServer"));
|
|
|
|
horizontalLayout_2->addWidget(btnOpenServer);
|
|
|
|
horizontalSpacer = new QSpacerItem(58, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
horizontalLayout_2->addItem(horizontalSpacer);
|
|
|
|
btnCloseNow = new QPushButton(Widget);
|
|
btnCloseNow->setObjectName(QString::fromUtf8("btnCloseNow"));
|
|
|
|
horizontalLayout_2->addWidget(btnCloseNow);
|
|
|
|
horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
horizontalLayout_2->addItem(horizontalSpacer_4);
|
|
|
|
btnCloseServer = new QPushButton(Widget);
|
|
btnCloseServer->setObjectName(QString::fromUtf8("btnCloseServer"));
|
|
|
|
horizontalLayout_2->addWidget(btnCloseServer);
|
|
|
|
horizontalSpacer_2 = new QSpacerItem(108, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
horizontalLayout_2->addItem(horizontalSpacer_2);
|
|
|
|
btnSendMessage = new QPushButton(Widget);
|
|
btnSendMessage->setObjectName(QString::fromUtf8("btnSendMessage"));
|
|
|
|
horizontalLayout_2->addWidget(btnSendMessage);
|
|
|
|
|
|
gridLayout->addLayout(horizontalLayout_2, 3, 0, 1, 1);
|
|
|
|
|
|
retranslateUi(Widget);
|
|
|
|
QMetaObject::connectSlotsByName(Widget);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *Widget)
|
|
{
|
|
Widget->setWindowTitle(QCoreApplication::translate("Widget", "Widget", nullptr));
|
|
label->setText(QCoreApplication::translate("Widget", "\347\253\257\345\217\243\345\217\267", nullptr));
|
|
btnOpenServer->setText(QCoreApplication::translate("Widget", "\346\211\223\345\274\200\346\234\215\345\212\241\345\231\250", nullptr));
|
|
btnCloseNow->setText(QCoreApplication::translate("Widget", "\345\205\263\351\227\255\345\275\223\345\211\215\350\277\236\346\216\245", nullptr));
|
|
btnCloseServer->setText(QCoreApplication::translate("Widget", "\345\205\263\351\227\255\346\234\215\345\212\241\345\231\250", nullptr));
|
|
btnSendMessage->setText(QCoreApplication::translate("Widget", "\345\217\221\351\200\201", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class Widget: public Ui_Widget {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_WIDGET_H
|
|
|