2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'sslclient.ui'
|
|
|
|
**
|
|
|
|
** Created: Fri Sep 4 10:17:14 2009
|
|
|
|
** by: Qt User Interface Compiler version 4.6.0
|
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef SSLCLIENT_H
|
|
|
|
#define SSLCLIENT_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QAction>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QButtonGroup>
|
|
|
|
#include <QtWidgets/QGridLayout>
|
|
|
|
#include <QtWidgets/QGroupBox>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QLineEdit>
|
|
|
|
#include <QtWidgets/QPushButton>
|
|
|
|
#include <QtWidgets/QSpinBox>
|
|
|
|
#include <QtWidgets/QTextEdit>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
|
|
|
#include <QtWidgets/QWidget>
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_Form
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QVBoxLayout *vboxLayout;
|
|
|
|
QGridLayout *gridLayout;
|
|
|
|
QLabel *hostNameLabel;
|
|
|
|
QLineEdit *hostNameEdit;
|
|
|
|
QLabel *portLabel;
|
|
|
|
QSpinBox *portBox;
|
|
|
|
QPushButton *connectButton;
|
|
|
|
QGroupBox *sessionBox;
|
|
|
|
QVBoxLayout *vboxLayout1;
|
|
|
|
QHBoxLayout *hboxLayout;
|
|
|
|
QLabel *cipherText;
|
|
|
|
QLabel *cipherLabel;
|
|
|
|
QTextEdit *sessionOutput;
|
|
|
|
QHBoxLayout *hboxLayout1;
|
|
|
|
QLabel *sessionInputLabel;
|
|
|
|
QLineEdit *sessionInput;
|
|
|
|
QPushButton *sendButton;
|
|
|
|
|
|
|
|
void setupUi(QWidget *Form)
|
|
|
|
{
|
|
|
|
if (Form->objectName().isEmpty())
|
2011-12-11 15:55:01 +00:00
|
|
|
Form->setObjectName(QStringLiteral("Form"));
|
2011-04-27 10:05:43 +00:00
|
|
|
Form->resize(343, 320);
|
|
|
|
vboxLayout = new QVBoxLayout(Form);
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
gridLayout = new QGridLayout();
|
2011-12-11 15:55:01 +00:00
|
|
|
gridLayout->setObjectName(QStringLiteral("gridLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
hostNameLabel = new QLabel(Form);
|
2011-12-11 15:55:01 +00:00
|
|
|
hostNameLabel->setObjectName(QStringLiteral("hostNameLabel"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(hostNameLabel, 0, 0, 1, 1);
|
|
|
|
|
|
|
|
hostNameEdit = new QLineEdit(Form);
|
2011-12-11 15:55:01 +00:00
|
|
|
hostNameEdit->setObjectName(QStringLiteral("hostNameEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(hostNameEdit, 0, 1, 1, 1);
|
|
|
|
|
|
|
|
portLabel = new QLabel(Form);
|
2011-12-11 15:55:01 +00:00
|
|
|
portLabel->setObjectName(QStringLiteral("portLabel"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(portLabel, 1, 0, 1, 1);
|
|
|
|
|
|
|
|
portBox = new QSpinBox(Form);
|
2011-12-11 15:55:01 +00:00
|
|
|
portBox->setObjectName(QStringLiteral("portBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
portBox->setMinimum(1);
|
|
|
|
portBox->setMaximum(65535);
|
|
|
|
portBox->setValue(993);
|
|
|
|
|
|
|
|
gridLayout->addWidget(portBox, 1, 1, 1, 1);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addLayout(gridLayout);
|
|
|
|
|
|
|
|
connectButton = new QPushButton(Form);
|
2011-12-11 15:55:01 +00:00
|
|
|
connectButton->setObjectName(QStringLiteral("connectButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
connectButton->setEnabled(true);
|
|
|
|
connectButton->setDefault(true);
|
|
|
|
|
|
|
|
vboxLayout->addWidget(connectButton);
|
|
|
|
|
|
|
|
sessionBox = new QGroupBox(Form);
|
2011-12-11 15:55:01 +00:00
|
|
|
sessionBox->setObjectName(QStringLiteral("sessionBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
sessionBox->setEnabled(false);
|
|
|
|
vboxLayout1 = new QVBoxLayout(sessionBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout1->setObjectName(QStringLiteral("vboxLayout1"));
|
2011-04-27 10:05:43 +00:00
|
|
|
hboxLayout = new QHBoxLayout();
|
2011-12-11 15:55:01 +00:00
|
|
|
hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
cipherText = new QLabel(sessionBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
cipherText->setObjectName(QStringLiteral("cipherText"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout->addWidget(cipherText);
|
|
|
|
|
|
|
|
cipherLabel = new QLabel(sessionBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
cipherLabel->setObjectName(QStringLiteral("cipherLabel"));
|
2011-04-27 10:05:43 +00:00
|
|
|
cipherLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(cipherLabel);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout1->addLayout(hboxLayout);
|
|
|
|
|
|
|
|
sessionOutput = new QTextEdit(sessionBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
sessionOutput->setObjectName(QStringLiteral("sessionOutput"));
|
2011-04-27 10:05:43 +00:00
|
|
|
sessionOutput->setEnabled(false);
|
|
|
|
sessionOutput->setFocusPolicy(Qt::NoFocus);
|
|
|
|
sessionOutput->setReadOnly(true);
|
|
|
|
|
|
|
|
vboxLayout1->addWidget(sessionOutput);
|
|
|
|
|
|
|
|
hboxLayout1 = new QHBoxLayout();
|
2011-12-11 15:55:01 +00:00
|
|
|
hboxLayout1->setObjectName(QStringLiteral("hboxLayout1"));
|
2011-04-27 10:05:43 +00:00
|
|
|
sessionInputLabel = new QLabel(sessionBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
sessionInputLabel->setObjectName(QStringLiteral("sessionInputLabel"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout1->addWidget(sessionInputLabel);
|
|
|
|
|
|
|
|
sessionInput = new QLineEdit(sessionBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
sessionInput->setObjectName(QStringLiteral("sessionInput"));
|
2011-04-27 10:05:43 +00:00
|
|
|
sessionInput->setEnabled(false);
|
|
|
|
|
|
|
|
hboxLayout1->addWidget(sessionInput);
|
|
|
|
|
|
|
|
sendButton = new QPushButton(sessionBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
sendButton->setObjectName(QStringLiteral("sendButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
sendButton->setEnabled(false);
|
|
|
|
sendButton->setFocusPolicy(Qt::TabFocus);
|
|
|
|
sendButton->setDefault(true);
|
|
|
|
|
|
|
|
hboxLayout1->addWidget(sendButton);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout1->addLayout(hboxLayout1);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addWidget(sessionBox);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(Form);
|
|
|
|
QObject::connect(hostNameEdit, SIGNAL(returnPressed()), connectButton, SLOT(animateClick()));
|
|
|
|
QObject::connect(sessionInput, SIGNAL(returnPressed()), sendButton, SLOT(animateClick()));
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(Form);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QWidget *Form)
|
|
|
|
{
|
|
|
|
Form->setWindowTitle(QApplication::translate("Form", "Secure Socket Client", 0, QApplication::UnicodeUTF8));
|
|
|
|
hostNameLabel->setText(QApplication::translate("Form", "Host name:", 0, QApplication::UnicodeUTF8));
|
|
|
|
hostNameEdit->setText(QApplication::translate("Form", "imap.example.com", 0, QApplication::UnicodeUTF8));
|
|
|
|
portLabel->setText(QApplication::translate("Form", "Port:", 0, QApplication::UnicodeUTF8));
|
|
|
|
connectButton->setText(QApplication::translate("Form", "Connect to host", 0, QApplication::UnicodeUTF8));
|
|
|
|
sessionBox->setTitle(QApplication::translate("Form", "Active session", 0, QApplication::UnicodeUTF8));
|
|
|
|
cipherText->setText(QApplication::translate("Form", "Cryptographic Cipher:", 0, QApplication::UnicodeUTF8));
|
|
|
|
cipherLabel->setText(QApplication::translate("Form", "<none>", 0, QApplication::UnicodeUTF8));
|
|
|
|
sessionOutput->setHtml(QApplication::translate("Form", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
|
|
|
"p, li { white-space: pre-wrap; }\n"
|
|
|
|
"</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
|
|
|
"<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>", 0, QApplication::UnicodeUTF8));
|
|
|
|
sessionInputLabel->setText(QApplication::translate("Form", "Input:", 0, QApplication::UnicodeUTF8));
|
|
|
|
sendButton->setText(QApplication::translate("Form", "&Send", 0, QApplication::UnicodeUTF8));
|
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class Form: public Ui_Form {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // SSLCLIENT_H
|