1 /********************************************************************************
2 ** Form generated from reading UI file 'TecAccountSettingsWidget.ui'
4 ** Created: Fri Jun 18 17:40:58 2010
5 ** by: Qt User Interface Compiler version 4.6.2
7 ** WARNING! All changes made in this file will be lost when recompiling UI file!
8 ********************************************************************************/
10 #ifndef UI_TECACCOUNTSETTINGSWIDGET_H
11 #define UI_TECACCOUNTSETTINGSWIDGET_H
13 #include <QtCore/QVariant>
14 #include <QtGui/QAction>
15 #include <QtGui/QApplication>
16 #include <QtGui/QButtonGroup>
17 #include <QtGui/QComboBox>
18 #include <QtGui/QFormLayout>
19 #include <QtGui/QFrame>
20 #include <QtGui/QHBoxLayout>
21 #include <QtGui/QHeaderView>
22 #include <QtGui/QLabel>
23 #include <QtGui/QLineEdit>
24 #include <QtGui/QPushButton>
25 #include <QtGui/QSpacerItem>
26 #include <QtGui/QVBoxLayout>
27 #include <QtGui/QWidget>
31 class Ui_TecAccountSettingsWidgetClass
34 QHBoxLayout *horizontalLayout_2;
36 QHBoxLayout *horizontalLayout;
37 QVBoxLayout *applyButtonLayout_2;
38 QPushButton *editVCardButton;
39 QSpacerItem *verticalSpacer_6;
40 QPushButton *backButton;
41 QVBoxLayout *verticalLayout_2;
42 QFormLayout *formLayout;
44 QLineEdit *loginLineEdit;
45 QLabel *passwordLabel;
46 QLineEdit *passwordLineEdit;
47 QLabel *passwordConfirmLabel;
48 QLineEdit *passwordConfirmLineEdit;
49 QSpacerItem *verticalSpacer_5;
50 QSpacerItem *verticalSpacer_4;
51 QSpacerItem *verticalSpacer_3;
52 QHBoxLayout *horizontalLayout_4;
53 QLabel *protocolLabel;
54 QComboBox *protocolComboBox;
56 QLineEdit *serverLineEdit;
58 QLineEdit *portLineEdit;
59 QSpacerItem *verticalSpacer_2;
60 QVBoxLayout *applyButtonLayout;
61 QPushButton *changePasswordButton;
62 QSpacerItem *verticalSpacer;
63 QPushButton *okButton;
65 void setupUi(QWidget *TecAccountSettingsWidgetClass)
67 if (TecAccountSettingsWidgetClass->objectName().isEmpty())
68 TecAccountSettingsWidgetClass->setObjectName(QString::fromUtf8("TecAccountSettingsWidgetClass"));
69 TecAccountSettingsWidgetClass->resize(609, 388);
70 TecAccountSettingsWidgetClass->setStyleSheet(QString::fromUtf8(""));
71 horizontalLayout_2 = new QHBoxLayout(TecAccountSettingsWidgetClass);
72 horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
73 frame = new QFrame(TecAccountSettingsWidgetClass);
74 frame->setObjectName(QString::fromUtf8("frame"));
75 frame->setEnabled(true);
76 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
77 sizePolicy.setHorizontalStretch(0);
78 sizePolicy.setVerticalStretch(0);
79 sizePolicy.setHeightForWidth(frame->sizePolicy().hasHeightForWidth());
80 frame->setSizePolicy(sizePolicy);
81 frame->setMaximumSize(QSize(16777215, 16777215));
82 frame->setStyleSheet(QString::fromUtf8(""));
83 frame->setFrameShape(QFrame::Box);
84 frame->setFrameShadow(QFrame::Sunken);
85 frame->setLineWidth(1);
86 horizontalLayout = new QHBoxLayout(frame);
87 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
88 applyButtonLayout_2 = new QVBoxLayout();
90 applyButtonLayout_2->setSpacing(-1);
92 applyButtonLayout_2->setObjectName(QString::fromUtf8("applyButtonLayout_2"));
93 applyButtonLayout_2->setSizeConstraint(QLayout::SetMinimumSize);
94 editVCardButton = new QPushButton(frame);
95 editVCardButton->setObjectName(QString::fromUtf8("editVCardButton"));
96 editVCardButton->setEnabled(false);
97 editVCardButton->setMinimumSize(QSize(80, 80));
98 editVCardButton->setMaximumSize(QSize(80, 80));
99 editVCardButton->setStyleSheet(QString::fromUtf8("QPushButton{\n"
100 " font: bold 16px;\n"
101 " border-radius: 5px;\n"
102 " min-height: 80px;\n"
103 " min-width: 80px;\n"
104 " max-height: 80px;\n"
105 " max-width: 80px;\n"
108 applyButtonLayout_2->addWidget(editVCardButton);
110 verticalSpacer_6 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
112 applyButtonLayout_2->addItem(verticalSpacer_6);
114 backButton = new QPushButton(frame);
115 backButton->setObjectName(QString::fromUtf8("backButton"));
116 backButton->setMinimumSize(QSize(80, 80));
117 backButton->setMaximumSize(QSize(80, 80));
118 backButton->setStyleSheet(QString::fromUtf8("QPushButton{\n"
119 " font: bold 16px;\n"
120 " border-radius: 5px;\n"
121 " min-height: 80px;\n"
122 " min-width: 80px;\n"
123 " max-height: 80px;\n"
124 " max-width: 80px;\n"
127 applyButtonLayout_2->addWidget(backButton);
130 horizontalLayout->addLayout(applyButtonLayout_2);
132 verticalLayout_2 = new QVBoxLayout();
133 verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
134 formLayout = new QFormLayout();
135 formLayout->setObjectName(QString::fromUtf8("formLayout"));
136 loginLabel = new QLabel(frame);
137 loginLabel->setObjectName(QString::fromUtf8("loginLabel"));
138 loginLabel->setStyleSheet(QString::fromUtf8("QLabel {\n"
139 " background: none;\n"
140 " min-height: 48px;\n"
141 " font: bold 14px;\n"
144 formLayout->setWidget(0, QFormLayout::LabelRole, loginLabel);
146 loginLineEdit = new QLineEdit(frame);
147 loginLineEdit->setObjectName(QString::fromUtf8("loginLineEdit"));
148 loginLineEdit->setStyleSheet(QString::fromUtf8("QLineEdit{\n"
149 " border-radius: 5px;\n"
150 " min-height: 48px;\n"
151 " font: bold 14px;\n"
154 formLayout->setWidget(0, QFormLayout::FieldRole, loginLineEdit);
156 passwordLabel = new QLabel(frame);
157 passwordLabel->setObjectName(QString::fromUtf8("passwordLabel"));
158 passwordLabel->setStyleSheet(QString::fromUtf8("QLabel{\n"
159 " background: none;\n"
160 " min-height: 48px;\n"
161 " font: bold 14px;\n"
164 formLayout->setWidget(2, QFormLayout::LabelRole, passwordLabel);
166 passwordLineEdit = new QLineEdit(frame);
167 passwordLineEdit->setObjectName(QString::fromUtf8("passwordLineEdit"));
168 passwordLineEdit->setStyleSheet(QString::fromUtf8("QLineEdit{\n"
169 " border-radius: 5px;\n"
170 " min-height: 48px;\n"
171 " font: bold 14px;\n"
173 passwordLineEdit->setEchoMode(QLineEdit::Password);
175 formLayout->setWidget(2, QFormLayout::FieldRole, passwordLineEdit);
177 passwordConfirmLabel = new QLabel(frame);
178 passwordConfirmLabel->setObjectName(QString::fromUtf8("passwordConfirmLabel"));
179 passwordConfirmLabel->setStyleSheet(QString::fromUtf8("QLabel{\n"
180 " background: none;\n"
181 " min-height: 48px;\n"
182 " font: bold 14px;\n"
184 passwordConfirmLabel->setWordWrap(true);
185 passwordConfirmLabel->setIndent(-1);
187 formLayout->setWidget(4, QFormLayout::LabelRole, passwordConfirmLabel);
189 passwordConfirmLineEdit = new QLineEdit(frame);
190 passwordConfirmLineEdit->setObjectName(QString::fromUtf8("passwordConfirmLineEdit"));
191 passwordConfirmLineEdit->setStyleSheet(QString::fromUtf8("QLineEdit{\n"
192 " border-radius: 5px;\n"
193 " min-height: 48px;\n"
194 " font: bold 14px;\n"
196 passwordConfirmLineEdit->setEchoMode(QLineEdit::Password);
198 formLayout->setWidget(4, QFormLayout::FieldRole, passwordConfirmLineEdit);
200 verticalSpacer_5 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Maximum);
202 formLayout->setItem(1, QFormLayout::LabelRole, verticalSpacer_5);
204 verticalSpacer_4 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Maximum);
206 formLayout->setItem(3, QFormLayout::LabelRole, verticalSpacer_4);
209 verticalLayout_2->addLayout(formLayout);
211 verticalSpacer_3 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Maximum);
213 verticalLayout_2->addItem(verticalSpacer_3);
215 horizontalLayout_4 = new QHBoxLayout();
216 horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
217 protocolLabel = new QLabel(frame);
218 protocolLabel->setObjectName(QString::fromUtf8("protocolLabel"));
219 protocolLabel->setStyleSheet(QString::fromUtf8("QLabel{\n"
220 " background: none;\n"
221 " min-height: 48px;\n"
222 " font: bold 14px;\n"
225 horizontalLayout_4->addWidget(protocolLabel);
227 protocolComboBox = new QComboBox(frame);
228 protocolComboBox->setObjectName(QString::fromUtf8("protocolComboBox"));
229 protocolComboBox->setMinimumSize(QSize(79, 52));
230 protocolComboBox->setStyleSheet(QString::fromUtf8("QComboBox {\n"
231 " min-height: 48px;\n"
232 " font: bold 16px;\n"
236 horizontalLayout_4->addWidget(protocolComboBox);
238 serverLabel = new QLabel(frame);
239 serverLabel->setObjectName(QString::fromUtf8("serverLabel"));
240 serverLabel->setStyleSheet(QString::fromUtf8("QLabel{\n"
241 " background: none;\n"
242 " min-height: 48px;\n"
243 " font: bold 14px;\n"
246 horizontalLayout_4->addWidget(serverLabel);
248 serverLineEdit = new QLineEdit(frame);
249 serverLineEdit->setObjectName(QString::fromUtf8("serverLineEdit"));
250 serverLineEdit->setStyleSheet(QString::fromUtf8("QLineEdit{\n"
251 " border-radius: 5px;\n"
252 " min-height: 48px;\n"
253 " font: bold 14px;\n"
256 horizontalLayout_4->addWidget(serverLineEdit);
258 portLabel = new QLabel(frame);
259 portLabel->setObjectName(QString::fromUtf8("portLabel"));
260 portLabel->setStyleSheet(QString::fromUtf8("QLabel{\n"
261 " background: none;\n"
262 " min-height: 48px;\n"
263 " font: bold 14px;\n"
266 horizontalLayout_4->addWidget(portLabel);
268 portLineEdit = new QLineEdit(frame);
269 portLineEdit->setObjectName(QString::fromUtf8("portLineEdit"));
270 portLineEdit->setMaximumSize(QSize(80, 16777215));
271 portLineEdit->setStyleSheet(QString::fromUtf8("QLineEdit{\n"
272 " border-radius: 5px;\n"
273 " min-height: 48px;\n"
274 " min-width: 48px;\n"
275 " font: bold 14px;\n"
278 horizontalLayout_4->addWidget(portLineEdit);
281 verticalLayout_2->addLayout(horizontalLayout_4);
283 verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
285 verticalLayout_2->addItem(verticalSpacer_2);
288 horizontalLayout->addLayout(verticalLayout_2);
290 applyButtonLayout = new QVBoxLayout();
292 applyButtonLayout->setSpacing(-1);
294 applyButtonLayout->setObjectName(QString::fromUtf8("applyButtonLayout"));
295 applyButtonLayout->setSizeConstraint(QLayout::SetMinimumSize);
296 changePasswordButton = new QPushButton(frame);
297 changePasswordButton->setObjectName(QString::fromUtf8("changePasswordButton"));
298 changePasswordButton->setEnabled(false);
299 changePasswordButton->setMinimumSize(QSize(80, 80));
300 changePasswordButton->setMaximumSize(QSize(80, 80));
301 changePasswordButton->setStyleSheet(QString::fromUtf8("QPushButton{\n"
302 " font: bold 16px;\n"
303 " border-radius: 5px;\n"
304 " min-height: 80px;\n"
305 " min-width: 80px;\n"
306 " max-height: 80px;\n"
307 " max-width: 80px;\n"
310 applyButtonLayout->addWidget(changePasswordButton);
312 verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
314 applyButtonLayout->addItem(verticalSpacer);
316 okButton = new QPushButton(frame);
317 okButton->setObjectName(QString::fromUtf8("okButton"));
318 okButton->setMinimumSize(QSize(80, 80));
319 okButton->setMaximumSize(QSize(80, 80));
320 okButton->setStyleSheet(QString::fromUtf8("QPushButton{\n"
321 " font: bold 16px;\n"
322 " border-radius: 5px;\n"
323 " min-height: 80px;\n"
324 " min-width: 80px;\n"
325 " max-height: 80px;\n"
326 " max-width: 80px;\n"
329 applyButtonLayout->addWidget(okButton);
332 horizontalLayout->addLayout(applyButtonLayout);
335 horizontalLayout_2->addWidget(frame);
338 retranslateUi(TecAccountSettingsWidgetClass);
339 QObject::connect(loginLineEdit, SIGNAL(textEdited(QString)), TecAccountSettingsWidgetClass, SLOT(loginEdited(QString)));
340 QObject::connect(protocolComboBox, SIGNAL(currentIndexChanged(QString)), TecAccountSettingsWidgetClass, SLOT(protocolEdited(QString)));
341 QObject::connect(okButton, SIGNAL(clicked()), TecAccountSettingsWidgetClass, SLOT(onOkButton()));
342 QObject::connect(changePasswordButton, SIGNAL(clicked()), TecAccountSettingsWidgetClass, SLOT(onChangePasswordButton()));
343 QObject::connect(serverLineEdit, SIGNAL(textEdited(QString)), TecAccountSettingsWidgetClass, SLOT(disconnectHints()));
344 QObject::connect(portLineEdit, SIGNAL(textEdited(QString)), TecAccountSettingsWidgetClass, SLOT(disconnectHints()));
346 QMetaObject::connectSlotsByName(TecAccountSettingsWidgetClass);
349 void retranslateUi(QWidget *TecAccountSettingsWidgetClass)
351 TecAccountSettingsWidgetClass->setWindowTitle(QApplication::translate("TecAccountSettingsWidgetClass", "Form", 0, QApplication::UnicodeUTF8));
352 editVCardButton->setText(QApplication::translate("TecAccountSettingsWidgetClass", "Edit\n"
353 "VCard", 0, QApplication::UnicodeUTF8));
354 backButton->setText(QApplication::translate("TecAccountSettingsWidgetClass", "Back", 0, QApplication::UnicodeUTF8));
355 loginLabel->setText(QApplication::translate("TecAccountSettingsWidgetClass", "Login", 0, QApplication::UnicodeUTF8));
356 passwordLabel->setText(QApplication::translate("TecAccountSettingsWidgetClass", "Password", 0, QApplication::UnicodeUTF8));
357 passwordConfirmLabel->setText(QApplication::translate("TecAccountSettingsWidgetClass", "Confirm Password", 0, QApplication::UnicodeUTF8));
358 protocolLabel->setText(QApplication::translate("TecAccountSettingsWidgetClass", "Protocol", 0, QApplication::UnicodeUTF8));
359 serverLabel->setText(QApplication::translate("TecAccountSettingsWidgetClass", "Server", 0, QApplication::UnicodeUTF8));
360 portLabel->setText(QApplication::translate("TecAccountSettingsWidgetClass", "Port", 0, QApplication::UnicodeUTF8));
361 changePasswordButton->setText(QApplication::translate("TecAccountSettingsWidgetClass", "Change\n"
362 "password", 0, QApplication::UnicodeUTF8));
363 okButton->setText(QApplication::translate("TecAccountSettingsWidgetClass", "Ok", 0, QApplication::UnicodeUTF8));
369 class TecAccountSettingsWidgetClass: public Ui_TecAccountSettingsWidgetClass {};
374 #endif // UI_TECACCOUNTSETTINGSWIDGET_H