# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/EmailPage.ui'
#
# Created: Mon May 10 20:39:43 2010
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_EmailPage(object):
    def setupUi(self, EmailPage):
        EmailPage.setObjectName("EmailPage")
        EmailPage.resize(422, 512)
        self.verticalLayout = QtGui.QVBoxLayout(EmailPage)
        self.verticalLayout.setObjectName("verticalLayout")
        self.headerLabel = QtGui.QLabel(EmailPage)
        self.headerLabel.setObjectName("headerLabel")
        self.verticalLayout.addWidget(self.headerLabel)
        self.line16 = QtGui.QFrame(EmailPage)
        self.line16.setFrameShape(QtGui.QFrame.HLine)
        self.line16.setFrameShadow(QtGui.QFrame.Sunken)
        self.line16.setFrameShape(QtGui.QFrame.HLine)
        self.line16.setFrameShadow(QtGui.QFrame.Sunken)
        self.line16.setObjectName("line16")
        self.verticalLayout.addWidget(self.line16)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.textLabel2_2 = QtGui.QLabel(EmailPage)
        self.textLabel2_2.setObjectName("textLabel2_2")
        self.gridLayout_2.addWidget(self.textLabel2_2, 0, 0, 1, 1)
        self.mailServerEdit = QtGui.QLineEdit(EmailPage)
        self.mailServerEdit.setObjectName("mailServerEdit")
        self.gridLayout_2.addWidget(self.mailServerEdit, 0, 1, 1, 1)
        self.label = QtGui.QLabel(EmailPage)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 1, 0, 1, 1)
        self.portEdit = QtGui.QLineEdit(EmailPage)
        self.portEdit.setObjectName("portEdit")
        self.gridLayout_2.addWidget(self.portEdit, 1, 1, 1, 1)
        self.textLabel1_5 = QtGui.QLabel(EmailPage)
        self.textLabel1_5.setObjectName("textLabel1_5")
        self.gridLayout_2.addWidget(self.textLabel1_5, 2, 0, 1, 1)
        self.emailEdit = QtGui.QLineEdit(EmailPage)
        self.emailEdit.setObjectName("emailEdit")
        self.gridLayout_2.addWidget(self.emailEdit, 2, 1, 1, 1)
        self.textLabel1_6 = QtGui.QLabel(EmailPage)
        self.textLabel1_6.setAlignment(QtCore.Qt.AlignTop)
        self.textLabel1_6.setObjectName("textLabel1_6")
        self.gridLayout_2.addWidget(self.textLabel1_6, 3, 0, 1, 1)
        self.signatureEdit = QtGui.QTextEdit(EmailPage)
        self.signatureEdit.setAcceptRichText(False)
        self.signatureEdit.setObjectName("signatureEdit")
        self.gridLayout_2.addWidget(self.signatureEdit, 3, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_2)
        self.useTlsCheckBox = QtGui.QCheckBox(EmailPage)
        self.useTlsCheckBox.setObjectName("useTlsCheckBox")
        self.verticalLayout.addWidget(self.useTlsCheckBox)
        self.mailAuthenticationCheckBox = QtGui.QCheckBox(EmailPage)
        self.mailAuthenticationCheckBox.setObjectName("mailAuthenticationCheckBox")
        self.verticalLayout.addWidget(self.mailAuthenticationCheckBox)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.textLabel1_15 = QtGui.QLabel(EmailPage)
        self.textLabel1_15.setEnabled(False)
        self.textLabel1_15.setObjectName("textLabel1_15")
        self.gridLayout.addWidget(self.textLabel1_15, 0, 0, 1, 1)
        self.mailUserEdit = QtGui.QLineEdit(EmailPage)
        self.mailUserEdit.setEnabled(False)
        self.mailUserEdit.setObjectName("mailUserEdit")
        self.gridLayout.addWidget(self.mailUserEdit, 0, 1, 1, 1)
        self.textLabel2_7 = QtGui.QLabel(EmailPage)
        self.textLabel2_7.setEnabled(False)
        self.textLabel2_7.setObjectName("textLabel2_7")
        self.gridLayout.addWidget(self.textLabel2_7, 1, 0, 1, 1)
        self.mailPasswordEdit = QtGui.QLineEdit(EmailPage)
        self.mailPasswordEdit.setEnabled(False)
        self.mailPasswordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.mailPasswordEdit.setObjectName("mailPasswordEdit")
        self.gridLayout.addWidget(self.mailPasswordEdit, 1, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)

        self.retranslateUi(EmailPage)
        QtCore.QObject.connect(self.mailAuthenticationCheckBox, QtCore.SIGNAL("toggled(bool)"), self.textLabel1_15.setEnabled)
        QtCore.QObject.connect(self.mailAuthenticationCheckBox, QtCore.SIGNAL("toggled(bool)"), self.textLabel2_7.setEnabled)
        QtCore.QObject.connect(self.mailAuthenticationCheckBox, QtCore.SIGNAL("toggled(bool)"), self.mailUserEdit.setEnabled)
        QtCore.QObject.connect(self.mailAuthenticationCheckBox, QtCore.SIGNAL("toggled(bool)"), self.mailPasswordEdit.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(EmailPage)
        EmailPage.setTabOrder(self.mailServerEdit, self.portEdit)
        EmailPage.setTabOrder(self.portEdit, self.emailEdit)
        EmailPage.setTabOrder(self.emailEdit, self.signatureEdit)
        EmailPage.setTabOrder(self.signatureEdit, self.useTlsCheckBox)
        EmailPage.setTabOrder(self.useTlsCheckBox, self.mailAuthenticationCheckBox)
        EmailPage.setTabOrder(self.mailAuthenticationCheckBox, self.mailUserEdit)
        EmailPage.setTabOrder(self.mailUserEdit, self.mailPasswordEdit)

    def retranslateUi(self, EmailPage):
        self.headerLabel.setText(QtGui.QApplication.translate("EmailPage", "<b>Configure Email</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2_2.setText(QtGui.QApplication.translate("EmailPage", "Outgoing mail server (SMTP):", None, QtGui.QApplication.UnicodeUTF8))
        self.mailServerEdit.setToolTip(QtGui.QApplication.translate("EmailPage", "Enter the address of your mail server", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("EmailPage", "Outgoing mail server port:", None, QtGui.QApplication.UnicodeUTF8))
        self.portEdit.setToolTip(QtGui.QApplication.translate("EmailPage", "Enter the port of the mail server", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_5.setText(QtGui.QApplication.translate("EmailPage", "Email address:", None, QtGui.QApplication.UnicodeUTF8))
        self.emailEdit.setToolTip(QtGui.QApplication.translate("EmailPage", "Enter your email address", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_6.setText(QtGui.QApplication.translate("EmailPage", "Signature:", None, QtGui.QApplication.UnicodeUTF8))
        self.signatureEdit.setToolTip(QtGui.QApplication.translate("EmailPage", "Enter your email signature", None, QtGui.QApplication.UnicodeUTF8))
        self.useTlsCheckBox.setToolTip(QtGui.QApplication.translate("EmailPage", "Select to use TLS", None, QtGui.QApplication.UnicodeUTF8))
        self.useTlsCheckBox.setText(QtGui.QApplication.translate("EmailPage", "Use TLS", None, QtGui.QApplication.UnicodeUTF8))
        self.mailAuthenticationCheckBox.setToolTip(QtGui.QApplication.translate("EmailPage", "Select to authenticatate against the mail server", None, QtGui.QApplication.UnicodeUTF8))
        self.mailAuthenticationCheckBox.setText(QtGui.QApplication.translate("EmailPage", "Mail server needs authentication", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_15.setText(QtGui.QApplication.translate("EmailPage", "Username:", None, QtGui.QApplication.UnicodeUTF8))
        self.mailUserEdit.setToolTip(QtGui.QApplication.translate("EmailPage", "Enter your mail server username", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2_7.setText(QtGui.QApplication.translate("EmailPage", "Password:", None, QtGui.QApplication.UnicodeUTF8))
        self.mailPasswordEdit.setToolTip(QtGui.QApplication.translate("EmailPage", "Enter your password for accessing the mail server", None, QtGui.QApplication.UnicodeUTF8))

