| 1 | /******************************************************************************** | 
| 2 | ** Form generated from reading UI file 'sslclient.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_SSLCLIENT_H | 
| 10 | #define UI_SSLCLIENT_H | 
| 11 |  | 
| 12 | #include <QtCore/QVariant> | 
| 13 | #include <QtWidgets/QApplication> | 
| 14 | #include <QtWidgets/QGridLayout> | 
| 15 | #include <QtWidgets/QHBoxLayout> | 
| 16 | #include <QtWidgets/QLabel> | 
| 17 | #include <QtWidgets/QLineEdit> | 
| 18 | #include <QtWidgets/QPushButton> | 
| 19 | #include <QtWidgets/QSpinBox> | 
| 20 | #include <QtWidgets/QTextEdit> | 
| 21 | #include <QtWidgets/QWidget> | 
| 22 |  | 
| 23 | QT_BEGIN_NAMESPACE | 
| 24 |  | 
| 25 | class Ui_Form | 
| 26 | { | 
| 27 | public: | 
| 28 |     QGridLayout *gridLayout; | 
| 29 |     QGridLayout *gridLayout1; | 
| 30 |     QLabel *hostNameLabel; | 
| 31 |     QLineEdit *hostNameEdit; | 
| 32 |     QLabel *portLabel; | 
| 33 |     QSpinBox *portBox; | 
| 34 |     QLabel *label; | 
| 35 |     QPushButton *connectButton; | 
| 36 |     QHBoxLayout *hboxLayout; | 
| 37 |     QLabel *cipherText; | 
| 38 |     QLabel *cipherLabel; | 
| 39 |     QTextEdit *sessionOutput; | 
| 40 |     QHBoxLayout *hboxLayout1; | 
| 41 |     QLabel *sessionInputLabel; | 
| 42 |     QLineEdit *sessionInput; | 
| 43 |     QPushButton *sendButton; | 
| 44 |  | 
| 45 |     void setupUi(QWidget *Form) | 
| 46 |     { | 
| 47 |         if (Form->objectName().isEmpty()) | 
| 48 |             Form->setObjectName(QString::fromUtf8(str: "Form" )); | 
| 49 |         Form->resize(w: 343, h: 320); | 
| 50 |         Form->setMinimumSize(QSize(343, 320)); | 
| 51 |         gridLayout = new QGridLayout(Form); | 
| 52 |         gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); | 
| 53 |         gridLayout1 = new QGridLayout(); | 
| 54 |         gridLayout1->setObjectName(QString::fromUtf8(str: "gridLayout1" )); | 
| 55 |         hostNameLabel = new QLabel(Form); | 
| 56 |         hostNameLabel->setObjectName(QString::fromUtf8(str: "hostNameLabel" )); | 
| 57 |  | 
| 58 |         gridLayout1->addWidget(hostNameLabel, row: 0, column: 0, rowSpan: 1, columnSpan: 1); | 
| 59 |  | 
| 60 |         hostNameEdit = new QLineEdit(Form); | 
| 61 |         hostNameEdit->setObjectName(QString::fromUtf8(str: "hostNameEdit" )); | 
| 62 |  | 
| 63 |         gridLayout1->addWidget(hostNameEdit, row: 0, column: 1, rowSpan: 1, columnSpan: 1); | 
| 64 |  | 
| 65 |         portLabel = new QLabel(Form); | 
| 66 |         portLabel->setObjectName(QString::fromUtf8(str: "portLabel" )); | 
| 67 |  | 
| 68 |         gridLayout1->addWidget(portLabel, row: 1, column: 0, rowSpan: 1, columnSpan: 1); | 
| 69 |  | 
| 70 |         portBox = new QSpinBox(Form); | 
| 71 |         portBox->setObjectName(QString::fromUtf8(str: "portBox" )); | 
| 72 |         portBox->setMinimum(1); | 
| 73 |         portBox->setMaximum(65535); | 
| 74 |         portBox->setValue(443); | 
| 75 |  | 
| 76 |         gridLayout1->addWidget(portBox, row: 1, column: 1, rowSpan: 1, columnSpan: 1); | 
| 77 |  | 
| 78 |  | 
| 79 |         gridLayout->addLayout(gridLayout1, row: 0, column: 0, rowSpan: 1, columnSpan: 2); | 
| 80 |  | 
| 81 |         label = new QLabel(Form); | 
| 82 |         label->setObjectName(QString::fromUtf8(str: "label" )); | 
| 83 |  | 
| 84 |         gridLayout->addWidget(label, row: 1, column: 0, rowSpan: 1, columnSpan: 1); | 
| 85 |  | 
| 86 |         connectButton = new QPushButton(Form); | 
| 87 |         connectButton->setObjectName(QString::fromUtf8(str: "connectButton" )); | 
| 88 |         connectButton->setEnabled(true); | 
| 89 |  | 
| 90 |         gridLayout->addWidget(connectButton, row: 1, column: 1, rowSpan: 1, columnSpan: 1); | 
| 91 |  | 
| 92 |         hboxLayout = new QHBoxLayout(); | 
| 93 |         hboxLayout->setObjectName(QString::fromUtf8(str: "hboxLayout" )); | 
| 94 |         cipherText = new QLabel(Form); | 
| 95 |         cipherText->setObjectName(QString::fromUtf8(str: "cipherText" )); | 
| 96 |         cipherText->setWordWrap(true); | 
| 97 |  | 
| 98 |         hboxLayout->addWidget(cipherText); | 
| 99 |  | 
| 100 |         cipherLabel = new QLabel(Form); | 
| 101 |         cipherLabel->setObjectName(QString::fromUtf8(str: "cipherLabel" )); | 
| 102 |         cipherLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); | 
| 103 |         cipherLabel->setWordWrap(true); | 
| 104 |  | 
| 105 |         hboxLayout->addWidget(cipherLabel); | 
| 106 |  | 
| 107 |  | 
| 108 |         gridLayout->addLayout(hboxLayout, row: 2, column: 0, rowSpan: 1, columnSpan: 2); | 
| 109 |  | 
| 110 |         sessionOutput = new QTextEdit(Form); | 
| 111 |         sessionOutput->setObjectName(QString::fromUtf8(str: "sessionOutput" )); | 
| 112 |         sessionOutput->setEnabled(false); | 
| 113 |         sessionOutput->setFocusPolicy(Qt::StrongFocus); | 
| 114 |         sessionOutput->setReadOnly(true); | 
| 115 |  | 
| 116 |         gridLayout->addWidget(sessionOutput, row: 3, column: 0, rowSpan: 1, columnSpan: 2); | 
| 117 |  | 
| 118 |         hboxLayout1 = new QHBoxLayout(); | 
| 119 |         hboxLayout1->setObjectName(QString::fromUtf8(str: "hboxLayout1" )); | 
| 120 |         sessionInputLabel = new QLabel(Form); | 
| 121 |         sessionInputLabel->setObjectName(QString::fromUtf8(str: "sessionInputLabel" )); | 
| 122 |  | 
| 123 |         hboxLayout1->addWidget(sessionInputLabel); | 
| 124 |  | 
| 125 |         sessionInput = new QLineEdit(Form); | 
| 126 |         sessionInput->setObjectName(QString::fromUtf8(str: "sessionInput" )); | 
| 127 |         sessionInput->setEnabled(false); | 
| 128 |  | 
| 129 |         hboxLayout1->addWidget(sessionInput); | 
| 130 |  | 
| 131 |         sendButton = new QPushButton(Form); | 
| 132 |         sendButton->setObjectName(QString::fromUtf8(str: "sendButton" )); | 
| 133 |         sendButton->setEnabled(false); | 
| 134 |         sendButton->setFocusPolicy(Qt::TabFocus); | 
| 135 |  | 
| 136 |         hboxLayout1->addWidget(sendButton); | 
| 137 |  | 
| 138 |  | 
| 139 |         gridLayout->addLayout(hboxLayout1, row: 4, column: 0, rowSpan: 1, columnSpan: 2); | 
| 140 |  | 
| 141 |  | 
| 142 |         retranslateUi(Form); | 
| 143 |         QObject::connect(sender: hostNameEdit, SIGNAL(returnPressed()), receiver: connectButton, SLOT(animateClick())); | 
| 144 |         QObject::connect(sender: sessionInput, SIGNAL(returnPressed()), receiver: sendButton, SLOT(animateClick())); | 
| 145 |  | 
| 146 |         connectButton->setDefault(true); | 
| 147 |         sendButton->setDefault(true); | 
| 148 |  | 
| 149 |  | 
| 150 |         QMetaObject::connectSlotsByName(o: Form); | 
| 151 |     } // setupUi | 
| 152 |  | 
| 153 |     void retranslateUi(QWidget *Form) | 
| 154 |     { | 
| 155 |         Form->setWindowTitle(QCoreApplication::translate(context: "Form" , key: "Secure Socket Client" , disambiguation: nullptr)); | 
| 156 |         hostNameLabel->setText(QCoreApplication::translate(context: "Form" , key: "Host name:" , disambiguation: nullptr)); | 
| 157 |         hostNameEdit->setText(QCoreApplication::translate(context: "Form" , key: "www.qt.io" , disambiguation: nullptr)); | 
| 158 |         portLabel->setText(QCoreApplication::translate(context: "Form" , key: "Port:" , disambiguation: nullptr)); | 
| 159 |         label->setText(QCoreApplication::translate(context: "Form" , key: "Active session" , disambiguation: nullptr)); | 
| 160 |         connectButton->setText(QCoreApplication::translate(context: "Form" , key: "Connect to host" , disambiguation: nullptr)); | 
| 161 |         cipherText->setText(QCoreApplication::translate(context: "Form" , key: "Cryptographic Cipher:" , disambiguation: nullptr)); | 
| 162 |         cipherLabel->setText(QCoreApplication::translate(context: "Form" , key: "<none>" , disambiguation: nullptr)); | 
| 163 |         sessionOutput->setHtml(QCoreApplication::translate(context: "Form" , key: "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"  | 
| 164 | "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"  | 
| 165 | "p, li { white-space: pre-wrap; }\n"  | 
| 166 | "</style></head><body style=\" font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;\">\n"  | 
| 167 | "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;\"><br /></p></body></html>" , disambiguation: nullptr)); | 
| 168 |         sessionInputLabel->setText(QCoreApplication::translate(context: "Form" , key: "Input:" , disambiguation: nullptr)); | 
| 169 |         sendButton->setText(QCoreApplication::translate(context: "Form" , key: "&Send" , disambiguation: nullptr)); | 
| 170 |     } // retranslateUi | 
| 171 |  | 
| 172 | }; | 
| 173 |  | 
| 174 | namespace Ui { | 
| 175 |     class Form: public Ui_Form {}; | 
| 176 | } // namespace Ui | 
| 177 |  | 
| 178 | QT_END_NAMESPACE | 
| 179 |  | 
| 180 | #endif // UI_SSLCLIENT_H | 
| 181 |  |