| 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/QToolBar> | 
| 23 | #include <QtWidgets/QVBoxLayout> | 
| 24 | #include <QtWidgets/QWidget> | 
| 25 |  | 
| 26 | QT_BEGIN_NAMESPACE | 
| 27 |  | 
| 28 | class Ui_MainWindow | 
| 29 | { | 
| 30 | public: | 
| 31 |     QWidget *centralWidget; | 
| 32 |     QWidget *layoutWidget; | 
| 33 |     QVBoxLayout *verticalLayout; | 
| 34 |     QHBoxLayout *horizontalLayout; | 
| 35 |     QGroupBox *infoBox; | 
| 36 |     QTextEdit *serverInfo; | 
| 37 |     QGroupBox *groupBox; | 
| 38 |     QTextEdit *messages; | 
| 39 |     QHBoxLayout *horizontalLayout_2; | 
| 40 |     QSpacerItem *horizontalSpacer; | 
| 41 |     QPushButton *startButton; | 
| 42 |     QPushButton *quitButton; | 
| 43 |     QSpacerItem *horizontalSpacer_2; | 
| 44 |     QMenuBar *menuBar; | 
| 45 |     QToolBar *mainToolBar; | 
| 46 |     QStatusBar *statusBar; | 
| 47 |  | 
| 48 |     void setupUi(QMainWindow *MainWindow) | 
| 49 |     { | 
| 50 |         if (MainWindow->objectName().isEmpty()) | 
| 51 |             MainWindow->setObjectName(QString::fromUtf8(str: "MainWindow" )); | 
| 52 |         MainWindow->resize(w: 1090, h: 670); | 
| 53 |         MainWindow->setMinimumSize(QSize(1090, 670)); | 
| 54 |         MainWindow->setMaximumSize(QSize(1090, 670)); | 
| 55 |         centralWidget = new QWidget(MainWindow); | 
| 56 |         centralWidget->setObjectName(QString::fromUtf8(str: "centralWidget" )); | 
| 57 |         layoutWidget = new QWidget(centralWidget); | 
| 58 |         layoutWidget->setObjectName(QString::fromUtf8(str: "layoutWidget" )); | 
| 59 |         layoutWidget->setGeometry(QRect(20, 20, 1050, 576)); | 
| 60 |         verticalLayout = new QVBoxLayout(layoutWidget); | 
| 61 |         verticalLayout->setSpacing(6); | 
| 62 |         verticalLayout->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11); | 
| 63 |         verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); | 
| 64 |         verticalLayout->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0); | 
| 65 |         horizontalLayout = new QHBoxLayout(); | 
| 66 |         horizontalLayout->setSpacing(6); | 
| 67 |         horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout" )); | 
| 68 |         infoBox = new QGroupBox(layoutWidget); | 
| 69 |         infoBox->setObjectName(QString::fromUtf8(str: "infoBox" )); | 
| 70 |         infoBox->setMinimumSize(QSize(520, 540)); | 
| 71 |         infoBox->setMaximumSize(QSize(520, 540)); | 
| 72 |         infoBox->setFlat(true); | 
| 73 |         serverInfo = new QTextEdit(infoBox); | 
| 74 |         serverInfo->setObjectName(QString::fromUtf8(str: "serverInfo" )); | 
| 75 |         serverInfo->setGeometry(QRect(10, 30, 500, 500)); | 
| 76 |         serverInfo->setMinimumSize(QSize(500, 500)); | 
| 77 |         serverInfo->setMaximumSize(QSize(500, 500)); | 
| 78 |         serverInfo->setReadOnly(true); | 
| 79 |  | 
| 80 |         horizontalLayout->addWidget(infoBox); | 
| 81 |  | 
| 82 |         groupBox = new QGroupBox(layoutWidget); | 
| 83 |         groupBox->setObjectName(QString::fromUtf8(str: "groupBox" )); | 
| 84 |         groupBox->setMinimumSize(QSize(520, 540)); | 
| 85 |         groupBox->setMaximumSize(QSize(520, 540)); | 
| 86 |         groupBox->setFlat(true); | 
| 87 |         messages = new QTextEdit(groupBox); | 
| 88 |         messages->setObjectName(QString::fromUtf8(str: "messages" )); | 
| 89 |         messages->setGeometry(QRect(10, 30, 500, 500)); | 
| 90 |         messages->setMinimumSize(QSize(500, 500)); | 
| 91 |         messages->setMaximumSize(QSize(500, 500)); | 
| 92 |         messages->setReadOnly(true); | 
| 93 |  | 
| 94 |         horizontalLayout->addWidget(groupBox); | 
| 95 |  | 
| 96 |  | 
| 97 |         verticalLayout->addLayout(layout: horizontalLayout); | 
| 98 |  | 
| 99 |         horizontalLayout_2 = new QHBoxLayout(); | 
| 100 |         horizontalLayout_2->setSpacing(6); | 
| 101 |         horizontalLayout_2->setObjectName(QString::fromUtf8(str: "horizontalLayout_2" )); | 
| 102 |         horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); | 
| 103 |  | 
| 104 |         horizontalLayout_2->addItem(horizontalSpacer); | 
| 105 |  | 
| 106 |         startButton = new QPushButton(layoutWidget); | 
| 107 |         startButton->setObjectName(QString::fromUtf8(str: "startButton" )); | 
| 108 |  | 
| 109 |         horizontalLayout_2->addWidget(startButton); | 
| 110 |  | 
| 111 |         quitButton = new QPushButton(layoutWidget); | 
| 112 |         quitButton->setObjectName(QString::fromUtf8(str: "quitButton" )); | 
| 113 |  | 
| 114 |         horizontalLayout_2->addWidget(quitButton); | 
| 115 |  | 
| 116 |         horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); | 
| 117 |  | 
| 118 |         horizontalLayout_2->addItem(horizontalSpacer_2); | 
| 119 |  | 
| 120 |  | 
| 121 |         verticalLayout->addLayout(layout: horizontalLayout_2); | 
| 122 |  | 
| 123 |         MainWindow->setCentralWidget(centralWidget); | 
| 124 |         menuBar = new QMenuBar(MainWindow); | 
| 125 |         menuBar->setObjectName(QString::fromUtf8(str: "menuBar" )); | 
| 126 |         menuBar->setGeometry(QRect(0, 0, 1090, 22)); | 
| 127 |         MainWindow->setMenuBar(menuBar); | 
| 128 |         mainToolBar = new QToolBar(MainWindow); | 
| 129 |         mainToolBar->setObjectName(QString::fromUtf8(str: "mainToolBar" )); | 
| 130 |         MainWindow->addToolBar(area: Qt::TopToolBarArea, toolbar: mainToolBar); | 
| 131 |         statusBar = new QStatusBar(MainWindow); | 
| 132 |         statusBar->setObjectName(QString::fromUtf8(str: "statusBar" )); | 
| 133 |         MainWindow->setStatusBar(statusBar); | 
| 134 |  | 
| 135 |         retranslateUi(MainWindow); | 
| 136 |  | 
| 137 |         QMetaObject::connectSlotsByName(o: MainWindow); | 
| 138 |     } // setupUi | 
| 139 |  | 
| 140 |     void retranslateUi(QMainWindow *MainWindow) | 
| 141 |     { | 
| 142 |         MainWindow->setWindowTitle(QCoreApplication::translate(context: "MainWindow" , key: "DTLS server" , disambiguation: nullptr)); | 
| 143 |         infoBox->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "Dtls server info:" , disambiguation: nullptr)); | 
| 144 |         groupBox->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "Received messages:" , disambiguation: nullptr)); | 
| 145 |         startButton->setText(QCoreApplication::translate(context: "MainWindow" , key: "Start listening" , disambiguation: nullptr)); | 
| 146 |         quitButton->setText(QCoreApplication::translate(context: "MainWindow" , key: "Quit" , disambiguation: nullptr)); | 
| 147 |     } // retranslateUi | 
| 148 |  | 
| 149 | }; | 
| 150 |  | 
| 151 | namespace Ui { | 
| 152 |     class MainWindow: public Ui_MainWindow {}; | 
| 153 | } // namespace Ui | 
| 154 |  | 
| 155 | QT_END_NAMESPACE | 
| 156 |  | 
| 157 | #endif // UI_MAINWINDOW_H | 
| 158 |  |