| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'sslclient.ui' |
| 3 |
** |
| 4 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 5 |
** |
| 6 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 |
********************************************************************************/ |
| 8 |
|
| 9 |
#ifndef SSLCLIENT_H |
| 10 |
#define SSLCLIENT_H |
| 11 |
|
| 12 |
#include <QtCore/QVariant> |
| 13 |
#include <QtWidgets/QApplication> |
| 14 |
#include <QtWidgets/QGridLayout> |
| 15 |
#include <QtWidgets/QGroupBox> |
| 16 |
#include <QtWidgets/QHBoxLayout> |
| 17 |
#include <QtWidgets/QLabel> |
| 18 |
#include <QtWidgets/QLineEdit> |
| 19 |
#include <QtWidgets/QPushButton> |
| 20 |
#include <QtWidgets/QSpinBox> |
| 21 |
#include <QtWidgets/QTextEdit> |
| 22 |
#include <QtWidgets/QVBoxLayout> |
| 23 |
#include <QtWidgets/QWidget> |
| 24 |
|
| 25 |
QT_BEGIN_NAMESPACE |
| 26 |
|
| 27 |
class Ui_Form |
| 28 |
{ |
| 29 |
public: |
| 30 |
QVBoxLayout *vboxLayout; |
| 31 |
QGridLayout *gridLayout; |
| 32 |
QLabel *hostNameLabel; |
| 33 |
QLineEdit *hostNameEdit; |
| 34 |
QLabel *portLabel; |
| 35 |
QSpinBox *portBox; |
| 36 |
QPushButton *connectButton; |
| 37 |
QGroupBox *sessionBox; |
| 38 |
QVBoxLayout *vboxLayout1; |
| 39 |
QHBoxLayout *hboxLayout; |
| 40 |
QLabel *cipherText; |
| 41 |
QLabel *cipherLabel; |
| 42 |
QTextEdit *sessionOutput; |
| 43 |
QHBoxLayout *hboxLayout1; |
| 44 |
QLabel *sessionInputLabel; |
| 45 |
QLineEdit *sessionInput; |
| 46 |
QPushButton *sendButton; |
| 47 |
|
| 48 |
void setupUi(QWidget *Form) |
| 49 |
{ |
| 50 |
if (Form->objectName().isEmpty()) |
| 51 |
Form->setObjectName(QString::fromUtf8("Form")); |
| 52 |
Form->resize(343, 320); |
| 53 |
vboxLayout = new QVBoxLayout(Form); |
| 54 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
| 55 |
gridLayout = new QGridLayout(); |
| 56 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
| 57 |
hostNameLabel = new QLabel(Form); |
| 58 |
hostNameLabel->setObjectName(QString::fromUtf8("hostNameLabel")); |
| 59 |
|
| 60 |
gridLayout->addWidget(hostNameLabel, 0, 0, 1, 1); |
| 61 |
|
| 62 |
hostNameEdit = new QLineEdit(Form); |
| 63 |
hostNameEdit->setObjectName(QString::fromUtf8("hostNameEdit")); |
| 64 |
|
| 65 |
gridLayout->addWidget(hostNameEdit, 0, 1, 1, 1); |
| 66 |
|
| 67 |
portLabel = new QLabel(Form); |
| 68 |
portLabel->setObjectName(QString::fromUtf8("portLabel")); |
| 69 |
|
| 70 |
gridLayout->addWidget(portLabel, 1, 0, 1, 1); |
| 71 |
|
| 72 |
portBox = new QSpinBox(Form); |
| 73 |
portBox->setObjectName(QString::fromUtf8("portBox")); |
| 74 |
portBox->setMinimum(1); |
| 75 |
portBox->setMaximum(65535); |
| 76 |
portBox->setValue(993); |
| 77 |
|
| 78 |
gridLayout->addWidget(portBox, 1, 1, 1, 1); |
| 79 |
|
| 80 |
|
| 81 |
vboxLayout->addLayout(gridLayout); |
| 82 |
|
| 83 |
connectButton = new QPushButton(Form); |
| 84 |
connectButton->setObjectName(QString::fromUtf8("connectButton")); |
| 85 |
connectButton->setEnabled(true); |
| 86 |
|
| 87 |
vboxLayout->addWidget(connectButton); |
| 88 |
|
| 89 |
sessionBox = new QGroupBox(Form); |
| 90 |
sessionBox->setObjectName(QString::fromUtf8("sessionBox")); |
| 91 |
sessionBox->setEnabled(false); |
| 92 |
vboxLayout1 = new QVBoxLayout(sessionBox); |
| 93 |
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); |
| 94 |
hboxLayout = new QHBoxLayout(); |
| 95 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
| 96 |
cipherText = new QLabel(sessionBox); |
| 97 |
cipherText->setObjectName(QString::fromUtf8("cipherText")); |
| 98 |
|
| 99 |
hboxLayout->addWidget(cipherText); |
| 100 |
|
| 101 |
cipherLabel = new QLabel(sessionBox); |
| 102 |
cipherLabel->setObjectName(QString::fromUtf8("cipherLabel")); |
| 103 |
cipherLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 104 |
|
| 105 |
hboxLayout->addWidget(cipherLabel); |
| 106 |
|
| 107 |
|
| 108 |
vboxLayout1->addLayout(hboxLayout); |
| 109 |
|
| 110 |
sessionOutput = new QTextEdit(sessionBox); |
| 111 |
sessionOutput->setObjectName(QString::fromUtf8("sessionOutput")); |
| 112 |
sessionOutput->setEnabled(false); |
| 113 |
sessionOutput->setFocusPolicy(Qt::NoFocus); |
| 114 |
sessionOutput->setReadOnly(true); |
| 115 |
|
| 116 |
vboxLayout1->addWidget(sessionOutput); |
| 117 |
|
| 118 |
hboxLayout1 = new QHBoxLayout(); |
| 119 |
hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); |
| 120 |
sessionInputLabel = new QLabel(sessionBox); |
| 121 |
sessionInputLabel->setObjectName(QString::fromUtf8("sessionInputLabel")); |
| 122 |
|
| 123 |
hboxLayout1->addWidget(sessionInputLabel); |
| 124 |
|
| 125 |
sessionInput = new QLineEdit(sessionBox); |
| 126 |
sessionInput->setObjectName(QString::fromUtf8("sessionInput")); |
| 127 |
sessionInput->setEnabled(false); |
| 128 |
|
| 129 |
hboxLayout1->addWidget(sessionInput); |
| 130 |
|
| 131 |
sendButton = new QPushButton(sessionBox); |
| 132 |
sendButton->setObjectName(QString::fromUtf8("sendButton")); |
| 133 |
sendButton->setEnabled(false); |
| 134 |
sendButton->setFocusPolicy(Qt::TabFocus); |
| 135 |
|
| 136 |
hboxLayout1->addWidget(sendButton); |
| 137 |
|
| 138 |
|
| 139 |
vboxLayout1->addLayout(hboxLayout1); |
| 140 |
|
| 141 |
|
| 142 |
vboxLayout->addWidget(sessionBox); |
| 143 |
|
| 144 |
|
| 145 |
retranslateUi(Form); |
| 146 |
QObject::connect(hostNameEdit, SIGNAL(returnPressed()), connectButton, SLOT(animateClick())); |
| 147 |
QObject::connect(sessionInput, SIGNAL(returnPressed()), sendButton, SLOT(animateClick())); |
| 148 |
|
| 149 |
connectButton->setDefault(true); |
| 150 |
sendButton->setDefault(true); |
| 151 |
|
| 152 |
|
| 153 |
QMetaObject::connectSlotsByName(Form); |
| 154 |
} // setupUi |
| 155 |
|
| 156 |
void retranslateUi(QWidget *Form) |
| 157 |
{ |
| 158 |
Form->setWindowTitle(QCoreApplication::translate("Form", "Secure Socket Client", nullptr)); |
| 159 |
hostNameLabel->setText(QCoreApplication::translate("Form", "Host name:", nullptr)); |
| 160 |
hostNameEdit->setText(QCoreApplication::translate("Form", "imap.example.com", nullptr)); |
| 161 |
portLabel->setText(QCoreApplication::translate("Form", "Port:", nullptr)); |
| 162 |
connectButton->setText(QCoreApplication::translate("Form", "Connect to host", nullptr)); |
| 163 |
sessionBox->setTitle(QCoreApplication::translate("Form", "Active session", nullptr)); |
| 164 |
cipherText->setText(QCoreApplication::translate("Form", "Cryptographic Cipher:", nullptr)); |
| 165 |
cipherLabel->setText(QCoreApplication::translate("Form", "<none>", nullptr)); |
| 166 |
sessionOutput->setHtml(QCoreApplication::translate("Form", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" |
| 167 |
"p, li { white-space: pre-wrap; }\n" |
| 168 |
"</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;\">\n" |
| 169 |
"<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;\"></p></body></html>", nullptr)); |
| 170 |
sessionInputLabel->setText(QCoreApplication::translate("Form", "Input:", nullptr)); |
| 171 |
sendButton->setText(QCoreApplication::translate("Form", "&Send", nullptr)); |
| 172 |
} // retranslateUi |
| 173 |
|
| 174 |
}; |
| 175 |
|
| 176 |
namespace Ui { |
| 177 |
class Form: public Ui_Form {}; |
| 178 |
} // namespace Ui |
| 179 |
|
| 180 |
QT_END_NAMESPACE |
| 181 |
|
| 182 |
#endif // SSLCLIENT_H |