Port the accout dialog to UI files.

Patch by Naga Toro <nagatoro at gmail dot com>
Many thanks for the patch!

svn path=/trunk/KDE/kdepim/; revision=817343
wilder-work
Thomas McGuire 18 years ago
parent 6ccdb59271
commit 0db4ae0836
  1. 3
      CMakeLists.txt
  2. 1493
      accountdialog.cpp
  3. 110
      accountdialog.h
  4. 564
      imapsettings.ui
  5. 203
      localsettings.ui
  6. 156
      maildirsettings.ui
  7. 530
      popsettings.ui

@ -58,7 +58,6 @@ endif(Nepomuk_FOUND)
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" )
########### next target ###############
set(kmailprivate_LIB_SRCS
kmmessage.cpp
kmmainwin.cpp
@ -250,7 +249,7 @@ qt4_add_dbus_adaptor( kmailprivate_LIB_SRCS ${CMAKE_SOURCE_DIR}/libkdepim/interf
kde4_add_ui_files(kmailprivate_LIB_SRCS composercryptoconfiguration.ui warningconfiguration.ui smimeconfiguration.ui templatesconfiguration_base.ui customtemplates_base.ui snippetdlgbase.ui )
kde4_add_ui_files(kmailprivate_LIB_SRCS composercryptoconfiguration.ui warningconfiguration.ui smimeconfiguration.ui templatesconfiguration_base.ui customtemplates_base.ui snippetdlgbase.ui imapsettings.ui localsettings.ui maildirsettings.ui popsettings.ui)
kde4_add_kcfg_files(kmailprivate_LIB_SRCS globalsettings_base.kcfgc replyphrases.kcfgc custommimeheader.kcfgc templatesconfiguration_kfg.kcfgc customtemplates_kfg.kcfgc )

File diff suppressed because it is too large Load Diff

@ -25,6 +25,10 @@
#include <config-kmail.h>
#include "imapaccountbase.h"
#include "ui_imapsettings.h"
#include "ui_localsettings.h"
#include "ui_maildirsettings.h"
#include "ui_popsettings.h"
#include <kdialog.h>
#include <klineedit.h>
@ -71,127 +75,29 @@ class AccountDialog : public KDialog
private:
struct LocalWidgets
{
QLabel *titleLabel;
QLineEdit *nameEdit;
QComboBox *locationEdit;
QRadioButton *lockMutt;
QRadioButton *lockMuttPriv;
QRadioButton *lockProcmail;
QComboBox *procmailLockFileName;
QRadioButton *lockFcntl;
QRadioButton *lockNone;
QLineEdit *precommand;
QCheckBox *includeInCheck;
QCheckBox *intervalCheck;
QLabel *intervalLabel;
KIntNumInput *intervalSpin;
QComboBox *folderCombo;
Ui::LocalPage ui;
};
struct MaildirWidgets
{
QLabel *titleLabel;
QLineEdit *nameEdit;
QComboBox *locationEdit;
QLineEdit *precommand;
QCheckBox *includeInCheck;
QCheckBox *intervalCheck;
QLabel *intervalLabel;
KIntNumInput *intervalSpin;
QComboBox *folderCombo;
Ui::MaildirPage ui;
};
struct PopWidgets
{
QLabel *titleLabel;
QLineEdit *nameEdit;
QLineEdit *loginEdit;
QLineEdit *passwordEdit;
QLineEdit *hostEdit;
QLineEdit *portEdit;
QLineEdit *precommand;
QGroupBox *encryptionGroup;
Ui::PopPage ui;
QButtonGroup *encryptionButtonGroup;
QRadioButton *encryptionNone;
QRadioButton *encryptionSSL;
QRadioButton *encryptionTLS;
QGroupBox *authGroup;
QButtonGroup *authButtonGroup;
QRadioButton *authUser;
QRadioButton *authPlain;
QRadioButton *authLogin;
QRadioButton *authCRAM_MD5;
QRadioButton *authDigestMd5;
QRadioButton *authNTLM;
QRadioButton *authGSSAPI;
QRadioButton *authAPOP;
QPushButton *checkCapabilities;
QCheckBox *usePipeliningCheck;
QCheckBox *storePasswordCheck;
QCheckBox *leaveOnServerCheck;
QCheckBox *leaveOnServerDaysCheck;
KIntNumInput *leaveOnServerDaysSpin;
QCheckBox *leaveOnServerCountCheck;
KIntNumInput *leaveOnServerCountSpin;
QCheckBox *leaveOnServerSizeCheck;
KIntNumInput *leaveOnServerSizeSpin;
QCheckBox *includeInCheck;
QCheckBox *intervalCheck;
QCheckBox *filterOnServerCheck;
QLabel *intervalLabel;
KIntNumInput *intervalSpin;
KIntNumInput *filterOnServerSizeSpin;
QComboBox *folderCombo;
};
struct ImapWidgets
{
QLabel *titleLabel;
QLineEdit *nameEdit;
QLineEdit *loginEdit;
QLineEdit *passwordEdit;
QLineEdit *hostEdit;
QLineEdit *portEdit;
QCheckBox *autoExpungeCheck; // only used by normal (online) IMAP
QCheckBox *hiddenFoldersCheck;
QCheckBox *subscribedFoldersCheck;
QCheckBox *locallySubscribedFoldersCheck;
QCheckBox *loadOnDemandCheck;
QCheckBox *storePasswordCheck;
QCheckBox *progressDialogCheck; // only used by Disconnected IMAP
QCheckBox *includeInCheck;
QCheckBox *intervalCheck;
QCheckBox *listOnlyOpenCheck;
QLabel *intervalLabel;
KIntNumInput *intervalSpin;
QGroupBox *encryptionGroup;
Ui::ImapPage ui;
QButtonGroup *encryptionButtonGroup;
QRadioButton *encryptionNone;
QRadioButton *encryptionSSL;
QRadioButton *encryptionTLS;
QGroupBox *authGroup;
QButtonGroup *authButtonGroup;
QRadioButton *authUser;
QRadioButton *authPlain;
QRadioButton *authLogin;
QRadioButton *authCramMd5;
QRadioButton *authDigestMd5;
QRadioButton *authGSSAPI;
QRadioButton *authNTLM;
QRadioButton *authAnonymous;
QPushButton *checkCapabilities;
FolderRequester *trashCombo;
KLineEdit *personalNS;
KLineEdit *otherUsersNS;
KLineEdit *sharedNS;
QToolButton *editPNS;
QToolButton *editONS;
QToolButton *editSNS;
ImapAccountBase::nsDelimMap nsMap;
KPIMIdentities::IdentityCombo *identityCombo;
QCheckBox *useDefaultIdentityCheck;
QLabel *identityLabel;
};
private slots:

@ -0,0 +1,564 @@
<ui version="4.0" >
<class>ImapPage</class>
<widget class="QWidget" name="ImapPage" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>539</width>
<height>713</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_2" >
<item row="0" column="0" >
<widget class="QLabel" name="titleLabel" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="KSeparator" name="kseparator" />
</item>
<item row="2" column="0" >
<widget class="QTabWidget" name="tabWidget" >
<property name="font" >
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="whatsThis" >
<string>Your Internet Service Provider gave you a &lt;em>user name&lt;/em> which is used to authenticate you with their servers. It usually is3 the first part of your email address (the part before &lt;em>@&lt;/em>).</string>
</property>
<property name="currentIndex" >
<number>0</number>
</property>
<widget class="QWidget" name="generalTab" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>519</width>
<height>634</height>
</rect>
</property>
<attribute name="title" >
<string>&amp;General</string>
</attribute>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Account &amp;name:</string>
</property>
<property name="buddy" >
<cstring>nameEdit</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="KLineEdit" name="nameEdit" />
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_5" >
<property name="whatsThis" >
<string>Your Internet Service Provider gave you a &lt;em>user name&lt;/em> which is used to authenticate you with their servers. It usually is the first part of your email address (the part before &lt;em>@&lt;/em>).</string>
</property>
<property name="text" >
<string>&amp;Login:</string>
</property>
<property name="buddy" >
<cstring>loginEdit</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="KLineEdit" name="loginEdit" />
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>P&amp;assword:</string>
</property>
<property name="buddy" >
<cstring>passwordEdit</cstring>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="KLineEdit" name="passwordEdit" >
<property name="echoMode" >
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>Ho&amp;st:</string>
</property>
<property name="buddy" >
<cstring>hostEdit</cstring>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="KLineEdit" name="hostEdit" />
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_7" >
<property name="text" >
<string>&amp;Port:</string>
</property>
<property name="buddy" >
<cstring>portEdit</cstring>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="KLineEdit" name="portEdit" />
</item>
<item row="5" column="0" >
<layout class="QHBoxLayout" name="horizontalLayout_2" >
<item>
<widget class="QLabel" name="label_6" >
<property name="whatsThis" >
<string>Here you see the different namespaces that your IMAP server supports.
Each namespace represents a prefix that separates groups of folders.
Namespaces allow KMail for example to display your personal folders and shared folders in one account.</string>
</property>
<property name="text" >
<string>Namespaces:</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="button" >
<property name="whatsThis" >
<string>Reload the namespaces from the server. This overwrites any changes.</string>
</property>
<property name="text" >
<string>...</string>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="5" column="1" >
<widget class="QWidget" native="1" name="widget_2" >
<layout class="QVBoxLayout" name="verticalLayout_3" >
<item>
<layout class="QGridLayout" name="_3" >
<item row="3" column="2" >
<widget class="KLineEdit" name="otherUsersNS" />
</item>
<item row="4" column="2" >
<widget class="KLineEdit" name="sharedNS" />
</item>
<item row="0" column="2" >
<widget class="KLineEdit" name="personalNS" />
</item>
<item row="0" column="1" >
<widget class="QLabel" name="label_9" >
<property name="whatsThis" >
<string>Personal namespaces include your personal folders.</string>
</property>
<property name="text" >
<string>Personal</string>
</property>
<property name="buddy" >
<cstring>personalNS</cstring>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QLabel" name="label_14" >
<property name="whatsThis" >
<string>These namespaces include the folders of other users.</string>
</property>
<property name="text" >
<string>Other Users</string>
</property>
<property name="buddy" >
<cstring>otherUsersNS</cstring>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QLabel" name="label_15" >
<property name="whatsThis" >
<string>These namespaces include the shared folders.</string>
</property>
<property name="text" >
<string>Shared</string>
</property>
<property name="buddy" >
<cstring>sharedNS</cstring>
</property>
</widget>
</item>
<item row="0" column="3" >
<widget class="QToolButton" name="editPNS" >
<property name="text" >
<string>...</string>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="3" >
<widget class="QToolButton" name="editONS" >
<property name="text" >
<string>...</string>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="3" >
<widget class="QToolButton" name="editSNS" >
<property name="text" >
<string>...</string>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="6" column="0" colspan="2" >
<widget class="QCheckBox" name="storePasswordCheck" >
<property name="whatsThis" >
<string>Check this option to have KMail store the password.
If KWallet is available the password will be stored there which is considered safe.
However, if KWallet is not available, the password will be stored in KMail's configuration file. The password is stored in an obfuscated format, but should not be considered secure from decryption efforts if access to the configuration file is obtained.</string>
</property>
<property name="text" >
<string>Sto&amp;re IMAP Password</string>
</property>
</widget>
</item>
<item row="7" column="0" colspan="2" >
<widget class="QCheckBox" name="autoExpungeCheck" >
<property name="text" >
<string>Automaticall&amp;y compact folders (expunges deleted messages)</string>
</property>
</widget>
</item>
<item row="8" column="0" colspan="2" >
<widget class="QCheckBox" name="hiddenFoldersCheck" >
<property name="text" >
<string>Sho&amp;w hidden folders</string>
</property>
</widget>
</item>
<item row="9" column="0" colspan="2" >
<widget class="QCheckBox" name="subscribedFoldersCheck" >
<property name="text" >
<string>Show only s&amp;ubscribed folders</string>
</property>
</widget>
</item>
<item row="10" column="0" colspan="2" >
<widget class="QCheckBox" name="locallySubscribedFoldersCheck" >
<property name="text" >
<string>Show only &amp;locally subscribed folders</string>
</property>
</widget>
</item>
<item row="11" column="0" colspan="2" >
<widget class="QCheckBox" name="loadOnDemandCheck" >
<property name="whatsThis" >
<string>Activate this to load attachments not automatically when you select the email but only when you click on the attachment. This way also big emails are shown instantly.</string>
</property>
<property name="text" >
<string>Load attach&amp;ments on demand</string>
</property>
</widget>
</item>
<item row="12" column="0" colspan="2" >
<widget class="QCheckBox" name="listOnlyOpenCheck" >
<property name="whatsThis" >
<string>Only folders that are open (expanded) in the folder tree are checked for subfolders. Use this if there are many folders on the server.</string>
</property>
<property name="text" >
<string>List only open folders</string>
</property>
</widget>
</item>
<item row="13" column="0" colspan="2" >
<widget class="QCheckBox" name="includeInCheck" >
<property name="text" >
<string>Include in manual mail chec&amp;k</string>
</property>
</widget>
</item>
<item row="14" column="0" colspan="2" >
<widget class="QCheckBox" name="intervalCheck" >
<property name="text" >
<string>Enable &amp;interval mail checking</string>
</property>
</widget>
</item>
<item row="15" column="0" >
<widget class="QLabel" name="intervalLabel" >
<property name="text" >
<string>Check inter&amp;val:</string>
</property>
<property name="buddy" >
<cstring>intervalSpin</cstring>
</property>
</widget>
</item>
<item row="16" column="0" >
<widget class="QLabel" name="trashLabel" >
<property name="text" >
<string>&amp;Trash folder:</string>
</property>
</widget>
</item>
<item row="17" column="0" colspan="2" >
<widget class="QCheckBox" name="useDefaultIdentityCheck" >
<property name="text" >
<string>Use &amp;default identity</string>
</property>
</widget>
</item>
<item row="18" column="0" >
<widget class="QLabel" name="identityLabel" >
<property name="text" >
<string>Identity:</string>
</property>
</widget>
</item>
<item row="15" column="1" >
<widget class="KIntNumInput" name="intervalSpin" >
<property name="minimum" >
<number>0</number>
</property>
<property name="maximum" >
<number>10000</number>
</property>
<property name="suffix" >
<string> min</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="securityTab" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>519</width>
<height>634</height>
</rect>
</property>
<attribute name="title" >
<string>S&amp;ecurity</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_5" >
<item>
<layout class="QHBoxLayout" name="horizontalLayout" >
<item>
<spacer name="horizontalSpacer_2" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="checkCapabilities" >
<property name="text" >
<string>Check &amp;What the Server Supports</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="encryptionGroup" >
<property name="title" >
<string>Encryption</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2" >
<item>
<widget class="QRadioButton" name="encryptionNone" >
<property name="text" >
<string>&amp;None</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="encryptionSSL" >
<property name="text" >
<string>Use &amp;SSL for secure mail download</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="encryptionTLS" >
<property name="text" >
<string>Use &amp;TLS for secure mail download</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="authGroup" >
<property name="title" >
<string>Authentication Method</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4" >
<item>
<widget class="QRadioButton" name="authUser" >
<property name="text" >
<string>Clear te&amp;xt</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authLogin" >
<property name="text" >
<string>&amp;LOGIN</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authPlain" >
<property name="text" >
<string>&amp;PLAIN</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authCramMd5" >
<property name="text" >
<string>CRAM-MD&amp;5</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authDigestMd5" >
<property name="text" >
<string>&amp;DIGEST-MD5</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authNTLM" >
<property name="text" >
<string>&amp;NTLM</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authGSSAPI" >
<property name="text" >
<string>&amp;GSSAPI</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authAnonymous" >
<property name="text" >
<string>&amp;Anonymous</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
<item row="3" column="0" >
<spacer name="verticalSpacer_2" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KIntNumInput</class>
<extends>QWidget</extends>
<header>knuminput.h</header>
</customwidget>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
<customwidget>
<class>KSeparator</class>
<extends>QFrame</extends>
<header>kseparator.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>

@ -0,0 +1,203 @@
<ui version="4.0" >
<class>LocalPage</class>
<widget class="QWidget" name="LocalPage" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>370</width>
<height>455</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" colspan="3" >
<widget class="QLabel" name="titleLabel" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Account Type: Local Account</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="3" >
<widget class="KSeparator" name="kseparator" />
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Account &amp;name:</string>
</property>
<property name="buddy" >
<cstring>nameEdit</cstring>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="KLineEdit" name="nameEdit" />
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>File &amp;location:</string>
</property>
<property name="buddy" >
<cstring>locationEdit</cstring>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QComboBox" name="locationEdit" />
</item>
<item row="3" column="2" >
<widget class="QPushButton" name="choose" >
<property name="text" >
<string>Choo&amp;se...</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3" >
<widget class="QGroupBox" name="group" >
<property name="title" >
<string>Locking Method</string>
</property>
<layout class="QGridLayout" name="gridLayout_2" >
<item row="0" column="0" >
<widget class="QRadioButton" name="lockProcmail" >
<property name="text" >
<string>Procmail loc&amp;kfile:</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="procmailLockFileName" />
</item>
<item row="1" column="0" colspan="2" >
<widget class="QRadioButton" name="lockMutt" >
<property name="text" >
<string>&amp;Mutt dotlock</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2" >
<widget class="QRadioButton" name="lockMuttPriv" >
<property name="text" >
<string>M&amp;utt dotlock privileged</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QRadioButton" name="lockFcntl" >
<property name="text" >
<string>&amp;FCNTL</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="2" >
<widget class="QRadioButton" name="lockNone" >
<property name="text" >
<string>Non&amp;e (use with care)</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="5" column="0" colspan="3" >
<widget class="QCheckBox" name="includeInCheck" >
<property name="text" >
<string>Include in m&amp;anual mail check</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="3" >
<widget class="QCheckBox" name="intervalCheck" >
<property name="text" >
<string>Enable &amp;interval mail checking</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QLabel" name="intervalLabel" >
<property name="text" >
<string>Check inter&amp;val:</string>
</property>
<property name="buddy" >
<cstring>intervalSpin</cstring>
</property>
</widget>
</item>
<item row="7" column="1" >
<widget class="KIntNumInput" name="intervalSpin" >
<property name="suffix" >
<string> min</string>
</property>
</widget>
</item>
<item row="8" column="0" >
<widget class="QLabel" name="label_5" >
<property name="text" >
<string>&amp;Destination folder:</string>
</property>
<property name="buddy" >
<cstring>folderCombo</cstring>
</property>
</widget>
</item>
<item row="8" column="1" >
<widget class="QComboBox" name="folderCombo" />
</item>
<item row="9" column="0" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<string>&amp;Pre-command</string>
</property>
<property name="buddy" >
<cstring>precommand</cstring>
</property>
</widget>
</item>
<item row="9" column="1" >
<widget class="KLineEdit" name="precommand" />
</item>
<item row="10" column="0" >
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>3</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KIntNumInput</class>
<extends>QWidget</extends>
<header>knuminput.h</header>
</customwidget>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
<customwidget>
<class>KSeparator</class>
<extends>QFrame</extends>
<header>kseparator.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>

@ -0,0 +1,156 @@
<ui version="4.0" >
<class>MaildirPage</class>
<widget class="QWidget" name="MaildirPage" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>419</width>
<height>261</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" colspan="2" >
<widget class="QLabel" name="titleLabel" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Account Type: Maildir Account</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Account &amp;name:</string>
</property>
<property name="buddy" >
<cstring>nameEdit</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="KSeparator" name="kseparator" />
</item>
<item row="2" column="1" >
<widget class="KLineEdit" name="nameEdit" />
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Folder &amp;location:</string>
</property>
<property name="buddy" >
<cstring>locationEdit</cstring>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QComboBox" name="locationEdit" />
</item>
<item row="3" column="2" >
<widget class="QPushButton" name="choose" >
<property name="text" >
<string>Choo&amp;se..</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3" >
<widget class="QCheckBox" name="includeInCheck" >
<property name="text" >
<string>Include in &amp;manual mail check</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="3" >
<widget class="QCheckBox" name="intervalCheck" >
<property name="text" >
<string>Enable &amp;interval mail checking</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QLabel" name="intervalLabel" >
<property name="text" >
<string>Check inter&amp;val:</string>
</property>
<property name="buddy" >
<cstring>intervalSpin</cstring>
</property>
</widget>
</item>
<item row="6" column="1" >
<widget class="KIntNumInput" name="intervalSpin" >
<property name="suffix" >
<string> min</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QLabel" name="label_5" >
<property name="text" >
<string>&amp;Destination folder:</string>
</property>
<property name="buddy" >
<cstring>folderCombo</cstring>
</property>
</widget>
</item>
<item row="7" column="1" >
<widget class="QComboBox" name="folderCombo" />
</item>
<item row="8" column="0" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<string>&amp;Pre-command:</string>
</property>
<property name="buddy" >
<cstring>precommand</cstring>
</property>
</widget>
</item>
<item row="8" column="1" >
<widget class="KLineEdit" name="precommand" />
</item>
<item row="9" column="0" >
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KIntNumInput</class>
<extends>QWidget</extends>
<header>knuminput.h</header>
</customwidget>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
<customwidget>
<class>KSeparator</class>
<extends>QFrame</extends>
<header>kseparator.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>

@ -0,0 +1,530 @@
<ui version="4.0" >
<class>PopPage</class>
<widget class="QWidget" name="PopPage" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>506</width>
<height>611</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<widget class="QLabel" name="titleLabel" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Account Type: POP Account</string>
</property>
</widget>
</item>
<item>
<widget class="KSeparator" name="kseparator" />
</item>
<item>
<widget class="QTabWidget" name="tabWidget" >
<property name="currentIndex" >
<number>0</number>
</property>
<widget class="QWidget" name="page1" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>486</width>
<height>536</height>
</rect>
</property>
<attribute name="title" >
<string>Gene&amp;ral</string>
</attribute>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="label_2" >
<property name="whatsThis" >
<string>Your Internet Service Provider gave you a &lt;em>user name&lt;/em> which is used to authenticate you with their servers. It usually is the first part of your email address (the part before &lt;em>@&lt;/em>).</string>
</property>
<property name="text" >
<string>Account &amp;name:</string>
</property>
<property name="buddy" >
<cstring>nameEdit</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="KLineEdit" name="nameEdit" />
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>&amp;Login:</string>
</property>
<property name="buddy" >
<cstring>loginEdit</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="KLineEdit" name="loginEdit" />
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>P&amp;assword:</string>
</property>
<property name="buddy" >
<cstring>passwordEdit</cstring>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="KLineEdit" name="passwordEdit" >
<property name="echoMode" >
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_5" >
<property name="text" >
<string>Ho&amp;st:</string>
</property>
<property name="buddy" >
<cstring>hostEdit</cstring>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="KLineEdit" name="hostEdit" />
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<string>&amp;Port:</string>
</property>
<property name="buddy" >
<cstring>portEdit</cstring>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="KLineEdit" name="portEdit" />
</item>
<item row="5" column="0" colspan="2" >
<widget class="QCheckBox" name="storePasswordCheck" >
<property name="text" >
<string>Sto&amp;re POP password</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="2" >
<widget class="QCheckBox" name="leaveOnServerCheck" >
<property name="text" >
<string>Lea&amp;ve fetched messages on the server</string>
</property>
</widget>
</item>
<item row="7" column="0" colspan="2" >
<layout class="QHBoxLayout" name="horizontalLayout_3" >
<item>
<widget class="QCheckBox" name="leaveOnServerDaysCheck" >
<property name="text" >
<string>Leave messages on the server for</string>
</property>
</widget>
</item>
<item>
<widget class="KIntNumInput" name="leaveOnServerDaysSpin" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="value" >
<number>1</number>
</property>
<property name="minimum" >
<number>0</number>
</property>
<property name="maximum" >
<number>365</number>
</property>
<property name="suffix" >
<string> days</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="8" column="0" colspan="2" >
<layout class="QHBoxLayout" name="horizontalLayout" >
<item>
<widget class="QCheckBox" name="leaveOnServerCountCheck" >
<property name="text" >
<string>Keep onl&amp;y the last</string>
</property>
</widget>
</item>
<item>
<widget class="KIntNumInput" name="leaveOnServerCountSpin" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="value" >
<number>100</number>
</property>
<property name="minimum" >
<number>0</number>
</property>
<property name="maximum" >
<number>999999</number>
</property>
<property name="suffix" >
<string> messages</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="9" column="0" colspan="2" >
<layout class="QHBoxLayout" name="horizontalLayout_2" >
<item>
<widget class="QCheckBox" name="leaveOnServerSizeCheck" >
<property name="text" >
<string>Keep only the last</string>
</property>
</widget>
</item>
<item>
<widget class="KIntNumInput" name="leaveOnServerSizeSpin" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="value" >
<number>10</number>
</property>
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>999999</number>
</property>
<property name="suffix" >
<string> MB</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="10" column="0" colspan="2" >
<widget class="QCheckBox" name="includeInCheck" >
<property name="text" >
<string>Include in man&amp;ual mail check</string>
</property>
</widget>
</item>
<item row="11" column="0" colspan="2" >
<layout class="QHBoxLayout" name="horizontalLayout_4" >
<item>
<widget class="QCheckBox" name="filterOnServerCheck" >
<property name="whatsThis" >
<string>If you select this option, POP Filters will be used to decide what to do with messages. You can then select to download, delete or keep them on the server.</string>
</property>
<property name="text" >
<string>&amp;Filter messages if they are greater than</string>
</property>
</widget>
</item>
<item>
<widget class="KIntNumInput" name="filterOnServerSizeSpin" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="whatsThis" >
<string>If you select this option, POP Filters will be used to decide what to do with messages. You can then select to download, delete or keep them on the server.</string>
</property>
<property name="value" >
<number>50000</number>
</property>
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>10000000</number>
</property>
<property name="referencePoint" >
<number>100</number>
</property>
<property name="suffix" >
<string> bytes</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="12" column="0" colspan="2" >
<widget class="QCheckBox" name="intervalCheck" >
<property name="text" >
<string>Enable &amp;interval mail checking</string>
</property>
</widget>
</item>
<item row="13" column="0" >
<widget class="QLabel" name="intervalLabel" >
<property name="text" >
<string>Chec&amp;k interval:</string>
</property>
<property name="buddy" >
<cstring>intervalSpin</cstring>
</property>
</widget>
</item>
<item row="13" column="1" >
<widget class="KIntNumInput" name="intervalSpin" >
<property name="minimum" >
<number>0</number>
</property>
<property name="suffix" >
<string> min</string>
</property>
</widget>
</item>
<item row="14" column="0" >
<widget class="QLabel" name="label_8" >
<property name="text" >
<string>Des&amp;tination folder:</string>
</property>
<property name="buddy" >
<cstring>folderCombo</cstring>
</property>
</widget>
</item>
<item row="14" column="1" >
<widget class="QComboBox" name="folderCombo" />
</item>
<item row="15" column="0" >
<widget class="QLabel" name="label_9" >
<property name="text" >
<string>Pre-com&amp;mand:</string>
</property>
<property name="buddy" >
<cstring>precommand</cstring>
</property>
</widget>
</item>
<item row="15" column="1" >
<widget class="KLineEdit" name="precommand" />
</item>
<item row="16" column="0" >
<spacer name="verticalSpacer_2" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="page2" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>486</width>
<height>536</height>
</rect>
</property>
<attribute name="title" >
<string>&amp;Extras</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4" >
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5" >
<item>
<spacer name="horizontalSpacer" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="checkCapabilities" >
<property name="text" >
<string>Check &amp;What the Server Supports</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<string>Encryption</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3" >
<item>
<widget class="QRadioButton" name="encryptionNone" >
<property name="text" >
<string>&amp;None</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="encryptionSSL" >
<property name="text" >
<string>Use &amp;SSL for secure mail download</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="encryptionTLS" >
<property name="text" >
<string>Use &amp;TLS for secure mail download</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2" >
<property name="title" >
<string>Authentication Method</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2" >
<item>
<widget class="QRadioButton" name="authUser" >
<property name="text" >
<string>Clear te&amp;xt</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authLogin" >
<property name="text" >
<string>&amp;LOGIN</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authPlain" >
<property name="text" >
<string>&amp;PLAIN</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authCRAM_MD5" >
<property name="text" >
<string>CRAM-MD&amp;5</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authDigestMd5" >
<property name="text" >
<string>&amp;DIGEST-MD5</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authNTLM" >
<property name="text" >
<string>NTL&amp;M</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authGSSAPI" >
<property name="text" >
<string>&amp;GSSAPI</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="authAPOP" >
<property name="text" >
<string>&amp;APOP</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QCheckBox" name="usePipeliningCheck" >
<property name="text" >
<string>&amp;Use pipelining for faster mail download</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KIntNumInput</class>
<extends>QWidget</extends>
<header>knuminput.h</header>
</customwidget>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
<customwidget>
<class>KSeparator</class>
<extends>QFrame</extends>
<header>kseparator.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
Loading…
Cancel
Save