• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

mailtransport

  • mailtransport
ui_smtpsettings_desktop.h
1 #include <kdialog.h>
2 #include <klocale.h>
3 
4 /********************************************************************************
5 ** Form generated from reading UI file 'smtpsettings_desktop.ui'
6 **
7 ** Created by: Qt User Interface Compiler version 4.8.7
8 **
9 ** WARNING! All changes made in this file will be lost when recompiling UI file!
10 ********************************************************************************/
11 
12 #ifndef UI_SMTPSETTINGS_DESKTOP_H
13 #define UI_SMTPSETTINGS_DESKTOP_H
14 
15 #include <QtCore/QVariant>
16 #include <QtGui/QAction>
17 #include <QtGui/QApplication>
18 #include <QtGui/QButtonGroup>
19 #include <QtGui/QCheckBox>
20 #include <QtGui/QFormLayout>
21 #include <QtGui/QGridLayout>
22 #include <QtGui/QGroupBox>
23 #include <QtGui/QHBoxLayout>
24 #include <QtGui/QHeaderView>
25 #include <QtGui/QLabel>
26 #include <QtGui/QProgressBar>
27 #include <QtGui/QRadioButton>
28 #include <QtGui/QSpacerItem>
29 #include <QtGui/QStackedWidget>
30 #include <QtGui/QVBoxLayout>
31 #include <QtGui/QWidget>
32 #include "kbuttongroup.h"
33 #include "kcombobox.h"
34 #include "klineedit.h"
35 #include "knuminput.h"
36 #include "kpushbutton.h"
37 #include "ktabwidget.h"
38 
39 QT_BEGIN_NAMESPACE
40 
41 class Ui_SMTPSettings
42 {
43 public:
44  QVBoxLayout *verticalLayout;
45  KTabWidget *tabWidget;
46  QWidget *smptTab;
47  QVBoxLayout *verticalLayout_2;
48  QGroupBox *groupBox;
49  QGridLayout *gridLayout;
50  QLabel *hostLabel;
51  KLineEdit *kcfg_host;
52  QLabel *usernameLabel;
53  KLineEdit *kcfg_userName;
54  QLabel *passwordLabel;
55  KLineEdit *password;
56  QCheckBox *kcfg_storePassword;
57  QCheckBox *kcfg_requiresAuthentication;
58  QSpacerItem *verticalSpacer;
59  QWidget *advancedTab;
60  QVBoxLayout *verticalLayout_7;
61  KButtonGroup *kcfg_encryption;
62  QVBoxLayout *verticalLayout_5;
63  QStackedWidget *checkCapabilitiesStack;
64  QWidget *page;
65  QVBoxLayout *verticalLayout_3;
66  KPushButton *checkCapabilities;
67  QWidget *page_2;
68  QVBoxLayout *verticalLayout_4;
69  QProgressBar *checkCapabilitiesProgress;
70  QLabel *noAuthPossible;
71  QFormLayout *formLayout_2;
72  QLabel *label;
73  QHBoxLayout *encryptHLayout;
74  QRadioButton *none;
75  QRadioButton *ssl;
76  QRadioButton *tls;
77  QLabel *portLabel;
78  KIntNumInput *kcfg_port;
79  QLabel *authLabel;
80  KComboBox *authCombo;
81  QGroupBox *groupBox_2;
82  QFormLayout *formLayout;
83  QCheckBox *kcfg_specifyHostname;
84  QLabel *hostnameLabel;
85  KLineEdit *kcfg_localHostname;
86  QCheckBox *kcfg_specifySenderOverwriteAddress;
87  QLabel *label_2;
88  KLineEdit *kcfg_senderOverwriteAddress;
89  QLabel *precommandLabel;
90  KLineEdit *kcfg_precommand;
91  QSpacerItem *verticalSpacer_2;
92 
93  void setupUi(QWidget *SMTPSettings)
94  {
95  if (SMTPSettings->objectName().isEmpty())
96  SMTPSettings->setObjectName(QString::fromUtf8("SMTPSettings"));
97  SMTPSettings->resize(392, 446);
98  verticalLayout = new QVBoxLayout(SMTPSettings);
99  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
100  tabWidget = new KTabWidget(SMTPSettings);
101  tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
102  smptTab = new QWidget();
103  smptTab->setObjectName(QString::fromUtf8("smptTab"));
104  verticalLayout_2 = new QVBoxLayout(smptTab);
105  verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
106  groupBox = new QGroupBox(smptTab);
107  groupBox->setObjectName(QString::fromUtf8("groupBox"));
108  gridLayout = new QGridLayout(groupBox);
109  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
110  hostLabel = new QLabel(groupBox);
111  hostLabel->setObjectName(QString::fromUtf8("hostLabel"));
112  hostLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
113 
114  gridLayout->addWidget(hostLabel, 0, 0, 1, 1);
115 
116  kcfg_host = new KLineEdit(groupBox);
117  kcfg_host->setObjectName(QString::fromUtf8("kcfg_host"));
118 
119  gridLayout->addWidget(kcfg_host, 0, 1, 1, 1);
120 
121  usernameLabel = new QLabel(groupBox);
122  usernameLabel->setObjectName(QString::fromUtf8("usernameLabel"));
123  usernameLabel->setEnabled(false);
124  usernameLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
125 
126  gridLayout->addWidget(usernameLabel, 2, 0, 1, 1);
127 
128  kcfg_userName = new KLineEdit(groupBox);
129  kcfg_userName->setObjectName(QString::fromUtf8("kcfg_userName"));
130  kcfg_userName->setEnabled(false);
131 
132  gridLayout->addWidget(kcfg_userName, 2, 1, 1, 1);
133 
134  passwordLabel = new QLabel(groupBox);
135  passwordLabel->setObjectName(QString::fromUtf8("passwordLabel"));
136  passwordLabel->setEnabled(false);
137  passwordLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
138 
139  gridLayout->addWidget(passwordLabel, 3, 0, 1, 1);
140 
141  password = new KLineEdit(groupBox);
142  password->setObjectName(QString::fromUtf8("password"));
143  password->setEnabled(false);
144  password->setEchoMode(QLineEdit::Password);
145 
146  gridLayout->addWidget(password, 3, 1, 1, 1);
147 
148  kcfg_storePassword = new QCheckBox(groupBox);
149  kcfg_storePassword->setObjectName(QString::fromUtf8("kcfg_storePassword"));
150  kcfg_storePassword->setEnabled(false);
151 
152  gridLayout->addWidget(kcfg_storePassword, 4, 1, 1, 1);
153 
154  kcfg_requiresAuthentication = new QCheckBox(groupBox);
155  kcfg_requiresAuthentication->setObjectName(QString::fromUtf8("kcfg_requiresAuthentication"));
156 
157  gridLayout->addWidget(kcfg_requiresAuthentication, 1, 1, 1, 1);
158 
159 
160  verticalLayout_2->addWidget(groupBox);
161 
162  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
163 
164  verticalLayout_2->addItem(verticalSpacer);
165 
166  tabWidget->addTab(smptTab, QString());
167  advancedTab = new QWidget();
168  advancedTab->setObjectName(QString::fromUtf8("advancedTab"));
169  verticalLayout_7 = new QVBoxLayout(advancedTab);
170  verticalLayout_7->setObjectName(QString::fromUtf8("verticalLayout_7"));
171  kcfg_encryption = new KButtonGroup(advancedTab);
172  kcfg_encryption->setObjectName(QString::fromUtf8("kcfg_encryption"));
173  kcfg_encryption->setEnabled(true);
174  verticalLayout_5 = new QVBoxLayout(kcfg_encryption);
175  verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
176  checkCapabilitiesStack = new QStackedWidget(kcfg_encryption);
177  checkCapabilitiesStack->setObjectName(QString::fromUtf8("checkCapabilitiesStack"));
178  page = new QWidget();
179  page->setObjectName(QString::fromUtf8("page"));
180  verticalLayout_3 = new QVBoxLayout(page);
181  verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
182  checkCapabilities = new KPushButton(page);
183  checkCapabilities->setObjectName(QString::fromUtf8("checkCapabilities"));
184 
185  verticalLayout_3->addWidget(checkCapabilities);
186 
187  checkCapabilitiesStack->addWidget(page);
188  page_2 = new QWidget();
189  page_2->setObjectName(QString::fromUtf8("page_2"));
190  verticalLayout_4 = new QVBoxLayout(page_2);
191  verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
192  checkCapabilitiesProgress = new QProgressBar(page_2);
193  checkCapabilitiesProgress->setObjectName(QString::fromUtf8("checkCapabilitiesProgress"));
194  checkCapabilitiesProgress->setValue(0);
195 
196  verticalLayout_4->addWidget(checkCapabilitiesProgress);
197 
198  checkCapabilitiesStack->addWidget(page_2);
199 
200  verticalLayout_5->addWidget(checkCapabilitiesStack);
201 
202  noAuthPossible = new QLabel(kcfg_encryption);
203  noAuthPossible->setObjectName(QString::fromUtf8("noAuthPossible"));
204  noAuthPossible->setVisible(false);
205  noAuthPossible->setFrameShape(QFrame::Box);
206  noAuthPossible->setFrameShadow(QFrame::Plain);
207  noAuthPossible->setLineWidth(0);
208  noAuthPossible->setAlignment(Qt::AlignCenter);
209 
210  verticalLayout_5->addWidget(noAuthPossible);
211 
212  formLayout_2 = new QFormLayout();
213  formLayout_2->setObjectName(QString::fromUtf8("formLayout_2"));
214  formLayout_2->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
215  label = new QLabel(kcfg_encryption);
216  label->setObjectName(QString::fromUtf8("label"));
217 
218  formLayout_2->setWidget(0, QFormLayout::LabelRole, label);
219 
220  encryptHLayout = new QHBoxLayout();
221  encryptHLayout->setObjectName(QString::fromUtf8("encryptHLayout"));
222  none = new QRadioButton(kcfg_encryption);
223  none->setObjectName(QString::fromUtf8("none"));
224 
225  encryptHLayout->addWidget(none);
226 
227  ssl = new QRadioButton(kcfg_encryption);
228  ssl->setObjectName(QString::fromUtf8("ssl"));
229 
230  encryptHLayout->addWidget(ssl);
231 
232  tls = new QRadioButton(kcfg_encryption);
233  tls->setObjectName(QString::fromUtf8("tls"));
234 
235  encryptHLayout->addWidget(tls);
236 
237 
238  formLayout_2->setLayout(0, QFormLayout::FieldRole, encryptHLayout);
239 
240  portLabel = new QLabel(kcfg_encryption);
241  portLabel->setObjectName(QString::fromUtf8("portLabel"));
242  portLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
243 
244  formLayout_2->setWidget(1, QFormLayout::LabelRole, portLabel);
245 
246  kcfg_port = new KIntNumInput(kcfg_encryption);
247  kcfg_port->setObjectName(QString::fromUtf8("kcfg_port"));
248  kcfg_port->setValue(25);
249  kcfg_port->setMinimum(1);
250 
251  formLayout_2->setWidget(1, QFormLayout::FieldRole, kcfg_port);
252 
253  authLabel = new QLabel(kcfg_encryption);
254  authLabel->setObjectName(QString::fromUtf8("authLabel"));
255 
256  formLayout_2->setWidget(2, QFormLayout::LabelRole, authLabel);
257 
258  authCombo = new KComboBox(kcfg_encryption);
259  authCombo->setObjectName(QString::fromUtf8("authCombo"));
260 
261  formLayout_2->setWidget(2, QFormLayout::FieldRole, authCombo);
262 
263 
264  verticalLayout_5->addLayout(formLayout_2);
265 
266 
267  verticalLayout_7->addWidget(kcfg_encryption);
268 
269  groupBox_2 = new QGroupBox(advancedTab);
270  groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
271  formLayout = new QFormLayout(groupBox_2);
272  formLayout->setObjectName(QString::fromUtf8("formLayout"));
273  kcfg_specifyHostname = new QCheckBox(groupBox_2);
274  kcfg_specifyHostname->setObjectName(QString::fromUtf8("kcfg_specifyHostname"));
275 
276  formLayout->setWidget(0, QFormLayout::SpanningRole, kcfg_specifyHostname);
277 
278  hostnameLabel = new QLabel(groupBox_2);
279  hostnameLabel->setObjectName(QString::fromUtf8("hostnameLabel"));
280  hostnameLabel->setEnabled(false);
281  hostnameLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
282 
283  formLayout->setWidget(1, QFormLayout::LabelRole, hostnameLabel);
284 
285  kcfg_localHostname = new KLineEdit(groupBox_2);
286  kcfg_localHostname->setObjectName(QString::fromUtf8("kcfg_localHostname"));
287  kcfg_localHostname->setEnabled(false);
288 
289  formLayout->setWidget(1, QFormLayout::FieldRole, kcfg_localHostname);
290 
291  kcfg_specifySenderOverwriteAddress = new QCheckBox(groupBox_2);
292  kcfg_specifySenderOverwriteAddress->setObjectName(QString::fromUtf8("kcfg_specifySenderOverwriteAddress"));
293 
294  formLayout->setWidget(2, QFormLayout::SpanningRole, kcfg_specifySenderOverwriteAddress);
295 
296  label_2 = new QLabel(groupBox_2);
297  label_2->setObjectName(QString::fromUtf8("label_2"));
298  label_2->setEnabled(false);
299 
300  formLayout->setWidget(3, QFormLayout::LabelRole, label_2);
301 
302  kcfg_senderOverwriteAddress = new KLineEdit(groupBox_2);
303  kcfg_senderOverwriteAddress->setObjectName(QString::fromUtf8("kcfg_senderOverwriteAddress"));
304  kcfg_senderOverwriteAddress->setEnabled(false);
305 
306  formLayout->setWidget(3, QFormLayout::FieldRole, kcfg_senderOverwriteAddress);
307 
308  precommandLabel = new QLabel(groupBox_2);
309  precommandLabel->setObjectName(QString::fromUtf8("precommandLabel"));
310  precommandLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
311 
312  formLayout->setWidget(4, QFormLayout::LabelRole, precommandLabel);
313 
314  kcfg_precommand = new KLineEdit(groupBox_2);
315  kcfg_precommand->setObjectName(QString::fromUtf8("kcfg_precommand"));
316  precommandLabel->raise();
317 
318  formLayout->setWidget(4, QFormLayout::FieldRole, kcfg_precommand);
319 
320 
321  verticalLayout_7->addWidget(groupBox_2);
322 
323  verticalSpacer_2 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
324 
325  verticalLayout_7->addItem(verticalSpacer_2);
326 
327  tabWidget->addTab(advancedTab, QString());
328 
329  verticalLayout->addWidget(tabWidget);
330 
331 #ifndef UI_QT_NO_SHORTCUT
332  hostLabel->setBuddy(kcfg_host);
333  usernameLabel->setBuddy(kcfg_userName);
334  passwordLabel->setBuddy(password);
335  portLabel->setBuddy(kcfg_port);
336  hostnameLabel->setBuddy(kcfg_localHostname);
337 #endif // QT_NO_SHORTCUT
338  QWidget::setTabOrder(tabWidget, kcfg_host);
339  QWidget::setTabOrder(kcfg_host, kcfg_requiresAuthentication);
340  QWidget::setTabOrder(kcfg_requiresAuthentication, kcfg_userName);
341  QWidget::setTabOrder(kcfg_userName, password);
342  QWidget::setTabOrder(password, kcfg_storePassword);
343  QWidget::setTabOrder(kcfg_storePassword, checkCapabilities);
344  QWidget::setTabOrder(checkCapabilities, none);
345  QWidget::setTabOrder(none, ssl);
346  QWidget::setTabOrder(ssl, tls);
347  QWidget::setTabOrder(tls, authCombo);
348  QWidget::setTabOrder(authCombo, kcfg_specifyHostname);
349  QWidget::setTabOrder(kcfg_specifyHostname, kcfg_localHostname);
350  QWidget::setTabOrder(kcfg_localHostname, kcfg_specifySenderOverwriteAddress);
351  QWidget::setTabOrder(kcfg_specifySenderOverwriteAddress, kcfg_senderOverwriteAddress);
352  QWidget::setTabOrder(kcfg_senderOverwriteAddress, kcfg_precommand);
353 
354  retranslateUi(SMTPSettings);
355  QObject::connect(kcfg_specifyHostname, SIGNAL(toggled(bool)), hostnameLabel, SLOT(setEnabled(bool)));
356  QObject::connect(kcfg_specifyHostname, SIGNAL(toggled(bool)), kcfg_localHostname, SLOT(setEnabled(bool)));
357  QObject::connect(kcfg_requiresAuthentication, SIGNAL(toggled(bool)), kcfg_userName, SLOT(setEnabled(bool)));
358  QObject::connect(kcfg_requiresAuthentication, SIGNAL(toggled(bool)), usernameLabel, SLOT(setEnabled(bool)));
359  QObject::connect(kcfg_requiresAuthentication, SIGNAL(toggled(bool)), passwordLabel, SLOT(setEnabled(bool)));
360  QObject::connect(kcfg_requiresAuthentication, SIGNAL(toggled(bool)), password, SLOT(setEnabled(bool)));
361  QObject::connect(kcfg_requiresAuthentication, SIGNAL(toggled(bool)), kcfg_storePassword, SLOT(setEnabled(bool)));
362  QObject::connect(kcfg_specifySenderOverwriteAddress, SIGNAL(toggled(bool)), label_2, SLOT(setEnabled(bool)));
363  QObject::connect(kcfg_specifySenderOverwriteAddress, SIGNAL(toggled(bool)), kcfg_senderOverwriteAddress, SLOT(setEnabled(bool)));
364 
365  tabWidget->setCurrentIndex(0);
366  checkCapabilitiesStack->setCurrentIndex(0);
367 
368 
369  QMetaObject::connectSlotsByName(SMTPSettings);
370  } // setupUi
371 
372  void retranslateUi(QWidget *SMTPSettings)
373  {
374  groupBox->setTitle(tr2i18n("Account Information", 0));
375  hostLabel->setText(tr2i18n("Outgoing mail &server:", 0));
376  usernameLabel->setText(tr2i18n("&Login:", 0));
377  passwordLabel->setText(tr2i18n("P&assword:", 0));
378 #ifndef UI_QT_NO_WHATSTHIS
379  password->setWhatsThis(tr2i18n("The password to send to the server for authorization.", 0));
380 #endif // QT_NO_WHATSTHIS
381  kcfg_storePassword->setText(tr2i18n("&Store SMTP password", 0));
382  kcfg_requiresAuthentication->setText(tr2i18n("Server &requires authentication", 0));
383  tabWidget->setTabText(tabWidget->indexOf(smptTab), tr2i18n("General", "general smtp settings"));
384  kcfg_encryption->setTitle(tr2i18n("Connection Settings", 0));
385  checkCapabilities->setText(tr2i18n("Auto Detect", 0));
386  noAuthPossible->setText(tr2i18n("This server does not support authentication", 0));
387  label->setText(tr2i18n("Encryption:", 0));
388  none->setText(tr2i18n("&None", 0));
389  ssl->setText(tr2i18n("&SSL", 0));
390  tls->setText(tr2i18n("&TLS", 0));
391  portLabel->setText(tr2i18n("&Port:", 0));
392  authLabel->setText(tr2i18n("Authentication:", 0));
393  groupBox_2->setTitle(tr2i18n("SMTP Settings", 0));
394  kcfg_specifyHostname->setText(tr2i18n("Sen&d custom hostname to server", 0));
395  hostnameLabel->setText(tr2i18n("Hos&tname:", 0));
396  kcfg_specifySenderOverwriteAddress->setText(tr2i18n("Use custom sender address", 0));
397  label_2->setText(tr2i18n("Sender Address:", 0));
398  precommandLabel->setText(tr2i18n("Precommand:", 0));
399  tabWidget->setTabText(tabWidget->indexOf(advancedTab), tr2i18n("Advanced", "advanced smtp settings"));
400  Q_UNUSED(SMTPSettings);
401  } // retranslateUi
402 
403 };
404 
405 namespace Ui {
406  class SMTPSettings: public Ui_SMTPSettings {};
407 } // namespace Ui
408 
409 QT_END_NAMESPACE
410 
411 #endif // SMTPSETTINGS_DESKTOP_H
412 
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jul 27 2021 06:50:52 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailtransport

Skip menu "mailtransport"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal