CodeLibrary/04_QtCreator_Cplus_TCPClient_20240423/ui_widget.h
2024-04-24 23:08:17 +08:00

136 lines
5.1 KiB
C++

/********************************************************************************
** 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/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QTextEdit>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_Widget
{
public:
QGroupBox *groupBox_Client;
QWidget *horizontalLayoutWidget_3;
QHBoxLayout *horizontalLayout_Group;
QHBoxLayout *horizontalLayout_IP;
QLabel *IP_Label;
QLineEdit *IP_Edit;
QHBoxLayout *horizontalLayout_Label;
QLabel *Port_Label;
QLineEdit *Port_Edit;
QVBoxLayout *verticalLayout;
QPushButton *ConnectButton;
QPushButton *ClearButton;
QGroupBox *groupBox_Message;
QTextEdit *Message_Edit;
void setupUi(QWidget *Widget)
{
if (Widget->objectName().isEmpty())
Widget->setObjectName(QString::fromUtf8("Widget"));
Widget->resize(503, 325);
groupBox_Client = new QGroupBox(Widget);
groupBox_Client->setObjectName(QString::fromUtf8("groupBox_Client"));
groupBox_Client->setGeometry(QRect(10, 10, 481, 111));
horizontalLayoutWidget_3 = new QWidget(groupBox_Client);
horizontalLayoutWidget_3->setObjectName(QString::fromUtf8("horizontalLayoutWidget_3"));
horizontalLayoutWidget_3->setGeometry(QRect(10, 20, 461, 91));
horizontalLayout_Group = new QHBoxLayout(horizontalLayoutWidget_3);
horizontalLayout_Group->setObjectName(QString::fromUtf8("horizontalLayout_Group"));
horizontalLayout_Group->setContentsMargins(0, 0, 0, 0);
horizontalLayout_IP = new QHBoxLayout();
horizontalLayout_IP->setObjectName(QString::fromUtf8("horizontalLayout_IP"));
IP_Label = new QLabel(horizontalLayoutWidget_3);
IP_Label->setObjectName(QString::fromUtf8("IP_Label"));
horizontalLayout_IP->addWidget(IP_Label);
IP_Edit = new QLineEdit(horizontalLayoutWidget_3);
IP_Edit->setObjectName(QString::fromUtf8("IP_Edit"));
horizontalLayout_IP->addWidget(IP_Edit);
horizontalLayout_Label = new QHBoxLayout();
horizontalLayout_Label->setObjectName(QString::fromUtf8("horizontalLayout_Label"));
Port_Label = new QLabel(horizontalLayoutWidget_3);
Port_Label->setObjectName(QString::fromUtf8("Port_Label"));
Port_Label->setMaximumSize(QSize(16777215, 16777215));
horizontalLayout_Label->addWidget(Port_Label);
Port_Edit = new QLineEdit(horizontalLayoutWidget_3);
Port_Edit->setObjectName(QString::fromUtf8("Port_Edit"));
Port_Edit->setMaximumSize(QSize(80, 16777215));
horizontalLayout_Label->addWidget(Port_Edit);
horizontalLayout_IP->addLayout(horizontalLayout_Label);
horizontalLayout_Group->addLayout(horizontalLayout_IP);
verticalLayout = new QVBoxLayout();
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
ConnectButton = new QPushButton(horizontalLayoutWidget_3);
ConnectButton->setObjectName(QString::fromUtf8("ConnectButton"));
verticalLayout->addWidget(ConnectButton);
ClearButton = new QPushButton(horizontalLayoutWidget_3);
ClearButton->setObjectName(QString::fromUtf8("ClearButton"));
verticalLayout->addWidget(ClearButton);
horizontalLayout_Group->addLayout(verticalLayout);
groupBox_Message = new QGroupBox(Widget);
groupBox_Message->setObjectName(QString::fromUtf8("groupBox_Message"));
groupBox_Message->setGeometry(QRect(10, 130, 471, 181));
Message_Edit = new QTextEdit(groupBox_Message);
Message_Edit->setObjectName(QString::fromUtf8("Message_Edit"));
Message_Edit->setGeometry(QRect(10, 20, 451, 151));
retranslateUi(Widget);
QMetaObject::connectSlotsByName(Widget);
} // setupUi
void retranslateUi(QWidget *Widget)
{
Widget->setWindowTitle(QCoreApplication::translate("Widget", "Widget", nullptr));
groupBox_Client->setTitle(QCoreApplication::translate("Widget", "Client", nullptr));
IP_Label->setText(QCoreApplication::translate("Widget", "IP", nullptr));
Port_Label->setText(QCoreApplication::translate("Widget", "<html><head/><body><p align=\"right\">Prot</p></body></html>", nullptr));
ConnectButton->setText(QCoreApplication::translate("Widget", "Connect", nullptr));
ClearButton->setText(QCoreApplication::translate("Widget", "Clear", nullptr));
groupBox_Message->setTitle(QCoreApplication::translate("Widget", "Message", nullptr));
} // retranslateUi
};
namespace Ui {
class Widget: public Ui_Widget {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_WIDGET_H