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