| 1 | /******************************************************************************** |
| 2 | ** Form generated from reading UI file 'mainwindow.ui' |
| 3 | ** |
| 4 | ** Created by: Qt User Interface Compiler version 5.15.9 |
| 5 | ** |
| 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 | ********************************************************************************/ |
| 8 | |
| 9 | #ifndef UI_MAINWINDOW_H |
| 10 | #define UI_MAINWINDOW_H |
| 11 | |
| 12 | #include <QtCore/QVariant> |
| 13 | #include <QtWidgets/QApplication> |
| 14 | #include <QtWidgets/QGroupBox> |
| 15 | #include <QtWidgets/QHBoxLayout> |
| 16 | #include <QtWidgets/QMainWindow> |
| 17 | #include <QtWidgets/QMenuBar> |
| 18 | #include <QtWidgets/QPushButton> |
| 19 | #include <QtWidgets/QSpacerItem> |
| 20 | #include <QtWidgets/QStatusBar> |
| 21 | #include <QtWidgets/QTextEdit> |
| 22 | #include <QtWidgets/QVBoxLayout> |
| 23 | #include <QtWidgets/QWidget> |
| 24 | |
| 25 | QT_BEGIN_NAMESPACE |
| 26 | |
| 27 | class Ui_MainWindow |
| 28 | { |
| 29 | public: |
| 30 | QWidget *centralwidget; |
| 31 | QHBoxLayout *horizontalLayout_3; |
| 32 | QHBoxLayout *horizontalLayout_2; |
| 33 | QVBoxLayout *verticalLayout_2; |
| 34 | QGroupBox *groupBox; |
| 35 | QTextEdit *clientMessages; |
| 36 | QHBoxLayout *horizontalLayout; |
| 37 | QVBoxLayout *verticalLayout; |
| 38 | QPushButton *connectButton; |
| 39 | QPushButton *shutdownButton; |
| 40 | QSpacerItem *horizontalSpacer; |
| 41 | QGroupBox *groupBox_2; |
| 42 | QTextEdit *serverMessages; |
| 43 | QMenuBar *menubar; |
| 44 | QStatusBar *statusbar; |
| 45 | |
| 46 | void setupUi(QMainWindow *MainWindow) |
| 47 | { |
| 48 | if (MainWindow->objectName().isEmpty()) |
| 49 | MainWindow->setObjectName(QString::fromUtf8(str: "MainWindow" )); |
| 50 | MainWindow->resize(w: 1200, h: 550); |
| 51 | MainWindow->setMinimumSize(QSize(1200, 550)); |
| 52 | MainWindow->setMaximumSize(QSize(1200, 550)); |
| 53 | centralwidget = new QWidget(MainWindow); |
| 54 | centralwidget->setObjectName(QString::fromUtf8(str: "centralwidget" )); |
| 55 | horizontalLayout_3 = new QHBoxLayout(centralwidget); |
| 56 | horizontalLayout_3->setObjectName(QString::fromUtf8(str: "horizontalLayout_3" )); |
| 57 | horizontalLayout_2 = new QHBoxLayout(); |
| 58 | horizontalLayout_2->setObjectName(QString::fromUtf8(str: "horizontalLayout_2" )); |
| 59 | verticalLayout_2 = new QVBoxLayout(); |
| 60 | verticalLayout_2->setObjectName(QString::fromUtf8(str: "verticalLayout_2" )); |
| 61 | groupBox = new QGroupBox(centralwidget); |
| 62 | groupBox->setObjectName(QString::fromUtf8(str: "groupBox" )); |
| 63 | QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); |
| 64 | sizePolicy.setHorizontalStretch(0); |
| 65 | sizePolicy.setVerticalStretch(0); |
| 66 | sizePolicy.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth()); |
| 67 | groupBox->setSizePolicy(sizePolicy); |
| 68 | groupBox->setMinimumSize(QSize(590, 400)); |
| 69 | groupBox->setFlat(true); |
| 70 | clientMessages = new QTextEdit(groupBox); |
| 71 | clientMessages->setObjectName(QString::fromUtf8(str: "clientMessages" )); |
| 72 | clientMessages->setGeometry(QRect(10, 30, 570, 360)); |
| 73 | clientMessages->setMinimumSize(QSize(570, 360)); |
| 74 | clientMessages->setMaximumSize(QSize(570, 360)); |
| 75 | clientMessages->setAcceptDrops(false); |
| 76 | clientMessages->setFrameShape(QFrame::StyledPanel); |
| 77 | clientMessages->setFrameShadow(QFrame::Plain); |
| 78 | clientMessages->setReadOnly(true); |
| 79 | |
| 80 | verticalLayout_2->addWidget(groupBox); |
| 81 | |
| 82 | horizontalLayout = new QHBoxLayout(); |
| 83 | horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout" )); |
| 84 | verticalLayout = new QVBoxLayout(); |
| 85 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
| 86 | connectButton = new QPushButton(centralwidget); |
| 87 | connectButton->setObjectName(QString::fromUtf8(str: "connectButton" )); |
| 88 | |
| 89 | verticalLayout->addWidget(connectButton); |
| 90 | |
| 91 | shutdownButton = new QPushButton(centralwidget); |
| 92 | shutdownButton->setObjectName(QString::fromUtf8(str: "shutdownButton" )); |
| 93 | |
| 94 | verticalLayout->addWidget(shutdownButton); |
| 95 | |
| 96 | |
| 97 | horizontalLayout->addLayout(layout: verticalLayout); |
| 98 | |
| 99 | horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 100 | |
| 101 | horizontalLayout->addItem(horizontalSpacer); |
| 102 | |
| 103 | |
| 104 | verticalLayout_2->addLayout(layout: horizontalLayout); |
| 105 | |
| 106 | |
| 107 | horizontalLayout_2->addLayout(layout: verticalLayout_2); |
| 108 | |
| 109 | groupBox_2 = new QGroupBox(centralwidget); |
| 110 | groupBox_2->setObjectName(QString::fromUtf8(str: "groupBox_2" )); |
| 111 | groupBox_2->setMinimumSize(QSize(580, 490)); |
| 112 | groupBox_2->setMaximumSize(QSize(580, 490)); |
| 113 | groupBox_2->setFlat(true); |
| 114 | serverMessages = new QTextEdit(groupBox_2); |
| 115 | serverMessages->setObjectName(QString::fromUtf8(str: "serverMessages" )); |
| 116 | serverMessages->setGeometry(QRect(10, 30, 560, 450)); |
| 117 | serverMessages->setMinimumSize(QSize(560, 450)); |
| 118 | serverMessages->setMaximumSize(QSize(560, 450)); |
| 119 | serverMessages->setFrameShape(QFrame::StyledPanel); |
| 120 | serverMessages->setFrameShadow(QFrame::Plain); |
| 121 | serverMessages->setReadOnly(true); |
| 122 | |
| 123 | horizontalLayout_2->addWidget(groupBox_2); |
| 124 | |
| 125 | |
| 126 | horizontalLayout_3->addLayout(layout: horizontalLayout_2); |
| 127 | |
| 128 | MainWindow->setCentralWidget(centralwidget); |
| 129 | menubar = new QMenuBar(MainWindow); |
| 130 | menubar->setObjectName(QString::fromUtf8(str: "menubar" )); |
| 131 | menubar->setGeometry(QRect(0, 0, 1200, 22)); |
| 132 | MainWindow->setMenuBar(menubar); |
| 133 | statusbar = new QStatusBar(MainWindow); |
| 134 | statusbar->setObjectName(QString::fromUtf8(str: "statusbar" )); |
| 135 | MainWindow->setStatusBar(statusbar); |
| 136 | |
| 137 | retranslateUi(MainWindow); |
| 138 | |
| 139 | QMetaObject::connectSlotsByName(o: MainWindow); |
| 140 | } // setupUi |
| 141 | |
| 142 | void retranslateUi(QMainWindow *MainWindow) |
| 143 | { |
| 144 | MainWindow->setWindowTitle(QCoreApplication::translate(context: "MainWindow" , key: "DTLS client" , disambiguation: nullptr)); |
| 145 | groupBox->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "DTLS info messages:" , disambiguation: nullptr)); |
| 146 | connectButton->setText(QCoreApplication::translate(context: "MainWindow" , key: "Connect ..." , disambiguation: nullptr)); |
| 147 | shutdownButton->setText(QCoreApplication::translate(context: "MainWindow" , key: "Shutdown connections" , disambiguation: nullptr)); |
| 148 | groupBox_2->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "Received datagrams:" , disambiguation: nullptr)); |
| 149 | } // retranslateUi |
| 150 | |
| 151 | }; |
| 152 | |
| 153 | namespace Ui { |
| 154 | class MainWindow: public Ui_MainWindow {}; |
| 155 | } // namespace Ui |
| 156 | |
| 157 | QT_END_NAMESPACE |
| 158 | |
| 159 | #endif // UI_MAINWINDOW_H |
| 160 | |