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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/NetworkPage.ui'
#
# Created: Sun Jan 18 22:19:52 2015
#      by: PyQt4 UI code generator 4.11.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_NetworkPage(object):
    def setupUi(self, NetworkPage):
        NetworkPage.setObjectName(_fromUtf8("NetworkPage"))
        NetworkPage.resize(591, 769)
        self.verticalLayout_4 = QtGui.QVBoxLayout(NetworkPage)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.headerLabel = QtGui.QLabel(NetworkPage)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout_4.addWidget(self.headerLabel)
        self.line9_3 = QtGui.QFrame(NetworkPage)
        self.line9_3.setFrameShape(QtGui.QFrame.HLine)
        self.line9_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line9_3.setFrameShape(QtGui.QFrame.HLine)
        self.line9_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line9_3.setObjectName(_fromUtf8("line9_3"))
        self.verticalLayout_4.addWidget(self.line9_3)
        self.groupBox_2 = QtGui.QGroupBox(NetworkPage)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_6 = QtGui.QLabel(self.groupBox_2)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout.addWidget(self.label_6)
        self.downloadDirEdit = QtGui.QLineEdit(self.groupBox_2)
        self.downloadDirEdit.setObjectName(_fromUtf8("downloadDirEdit"))
        self.horizontalLayout.addWidget(self.downloadDirEdit)
        self.downloadDirButton = QtGui.QToolButton(self.groupBox_2)
        self.downloadDirButton.setObjectName(_fromUtf8("downloadDirButton"))
        self.horizontalLayout.addWidget(self.downloadDirButton)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.requestFilenameCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.requestFilenameCheckBox.setObjectName(_fromUtf8("requestFilenameCheckBox"))
        self.verticalLayout_3.addWidget(self.requestFilenameCheckBox)
        self.groupBox_3 = QtGui.QGroupBox(self.groupBox_2)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.cleanupNeverButton = QtGui.QRadioButton(self.groupBox_3)
        self.cleanupNeverButton.setObjectName(_fromUtf8("cleanupNeverButton"))
        self.verticalLayout_2.addWidget(self.cleanupNeverButton)
        self.cleanupExitButton = QtGui.QRadioButton(self.groupBox_3)
        self.cleanupExitButton.setObjectName(_fromUtf8("cleanupExitButton"))
        self.verticalLayout_2.addWidget(self.cleanupExitButton)
        self.cleanupSuccessfulButton = QtGui.QRadioButton(self.groupBox_3)
        self.cleanupSuccessfulButton.setObjectName(_fromUtf8("cleanupSuccessfulButton"))
        self.verticalLayout_2.addWidget(self.cleanupSuccessfulButton)
        self.verticalLayout_3.addWidget(self.groupBox_3)
        self.verticalLayout_4.addWidget(self.groupBox_2)
        self.proxyGroup = QtGui.QGroupBox(NetworkPage)
        self.proxyGroup.setCheckable(True)
        self.proxyGroup.setChecked(True)
        self.proxyGroup.setObjectName(_fromUtf8("proxyGroup"))
        self.verticalLayout = QtGui.QVBoxLayout(self.proxyGroup)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.systemProxyButton = QtGui.QRadioButton(self.proxyGroup)
        self.systemProxyButton.setChecked(True)
        self.systemProxyButton.setObjectName(_fromUtf8("systemProxyButton"))
        self.verticalLayout.addWidget(self.systemProxyButton)
        self.manualProxyButton = QtGui.QRadioButton(self.proxyGroup)
        self.manualProxyButton.setChecked(False)
        self.manualProxyButton.setObjectName(_fromUtf8("manualProxyButton"))
        self.verticalLayout.addWidget(self.manualProxyButton)
        self.groupBox = QtGui.QGroupBox(self.proxyGroup)
        self.groupBox.setEnabled(False)
        self.groupBox.setFlat(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.httpProxyHostEdit = QtGui.QLineEdit(self.groupBox)
        self.httpProxyHostEdit.setObjectName(_fromUtf8("httpProxyHostEdit"))
        self.gridLayout_2.addWidget(self.httpProxyHostEdit, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 0, 2, 1, 1)
        self.httpProxyPortSpin = QtGui.QSpinBox(self.groupBox)
        self.httpProxyPortSpin.setAlignment(QtCore.Qt.AlignRight)
        self.httpProxyPortSpin.setMinimum(1)
        self.httpProxyPortSpin.setMaximum(65535)
        self.httpProxyPortSpin.setProperty("value", 80)
        self.httpProxyPortSpin.setObjectName(_fromUtf8("httpProxyPortSpin"))
        self.gridLayout_2.addWidget(self.httpProxyPortSpin, 0, 3, 1, 1)
        self.httpProxyForAllCheckBox = QtGui.QCheckBox(self.groupBox)
        self.httpProxyForAllCheckBox.setObjectName(_fromUtf8("httpProxyForAllCheckBox"))
        self.gridLayout_2.addWidget(self.httpProxyForAllCheckBox, 1, 1, 1, 3)
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 2, 0, 1, 1)
        self.httpsProxyHostEdit = QtGui.QLineEdit(self.groupBox)
        self.httpsProxyHostEdit.setObjectName(_fromUtf8("httpsProxyHostEdit"))
        self.gridLayout_2.addWidget(self.httpsProxyHostEdit, 2, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_2.addWidget(self.label_5, 2, 2, 1, 1)
        self.httpsProxyPortSpin = QtGui.QSpinBox(self.groupBox)
        self.httpsProxyPortSpin.setAlignment(QtCore.Qt.AlignRight)
        self.httpsProxyPortSpin.setMinimum(1)
        self.httpsProxyPortSpin.setMaximum(65535)
        self.httpsProxyPortSpin.setProperty("value", 443)
        self.httpsProxyPortSpin.setObjectName(_fromUtf8("httpsProxyPortSpin"))
        self.gridLayout_2.addWidget(self.httpsProxyPortSpin, 2, 3, 1, 1)
        self.groupBox_4 = QtGui.QGroupBox(self.groupBox)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox_4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_3 = QtGui.QLabel(self.groupBox_4)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
        self.ftpProxyHostEdit = QtGui.QLineEdit(self.groupBox_4)
        self.ftpProxyHostEdit.setObjectName(_fromUtf8("ftpProxyHostEdit"))
        self.gridLayout.addWidget(self.ftpProxyHostEdit, 0, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.groupBox_4)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout.addWidget(self.label_7, 0, 2, 1, 1)
        self.ftpProxyPortSpin = QtGui.QSpinBox(self.groupBox_4)
        self.ftpProxyPortSpin.setAlignment(QtCore.Qt.AlignRight)
        self.ftpProxyPortSpin.setMinimum(1)
        self.ftpProxyPortSpin.setMaximum(65535)
        self.ftpProxyPortSpin.setProperty("value", 21)
        self.ftpProxyPortSpin.setObjectName(_fromUtf8("ftpProxyPortSpin"))
        self.gridLayout.addWidget(self.ftpProxyPortSpin, 0, 3, 1, 1)
        self.label_8 = QtGui.QLabel(self.groupBox_4)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout.addWidget(self.label_8, 1, 0, 1, 1)
        self.ftpProxyTypeCombo = QtGui.QComboBox(self.groupBox_4)
        self.ftpProxyTypeCombo.setObjectName(_fromUtf8("ftpProxyTypeCombo"))
        self.gridLayout.addWidget(self.ftpProxyTypeCombo, 1, 1, 1, 3)
        self.label_9 = QtGui.QLabel(self.groupBox_4)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout.addWidget(self.label_9, 2, 0, 1, 1)
        self.ftpProxyUserEdit = QtGui.QLineEdit(self.groupBox_4)
        self.ftpProxyUserEdit.setObjectName(_fromUtf8("ftpProxyUserEdit"))
        self.gridLayout.addWidget(self.ftpProxyUserEdit, 2, 1, 1, 3)
        self.label_10 = QtGui.QLabel(self.groupBox_4)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout.addWidget(self.label_10, 3, 0, 1, 1)
        self.ftpProxyPasswordEdit = QtGui.QLineEdit(self.groupBox_4)
        self.ftpProxyPasswordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.ftpProxyPasswordEdit.setObjectName(_fromUtf8("ftpProxyPasswordEdit"))
        self.gridLayout.addWidget(self.ftpProxyPasswordEdit, 3, 1, 1, 3)
        self.label_11 = QtGui.QLabel(self.groupBox_4)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.gridLayout.addWidget(self.label_11, 4, 0, 1, 1)
        self.ftpProxyAccountEdit = QtGui.QLineEdit(self.groupBox_4)
        self.ftpProxyAccountEdit.setObjectName(_fromUtf8("ftpProxyAccountEdit"))
        self.gridLayout.addWidget(self.ftpProxyAccountEdit, 4, 1, 1, 3)
        self.gridLayout_2.addWidget(self.groupBox_4, 3, 0, 1, 4)
        self.verticalLayout.addWidget(self.groupBox)
        self.clearProxyPasswordsButton = QtGui.QPushButton(self.proxyGroup)
        self.clearProxyPasswordsButton.setObjectName(_fromUtf8("clearProxyPasswordsButton"))
        self.verticalLayout.addWidget(self.clearProxyPasswordsButton)
        self.verticalLayout_4.addWidget(self.proxyGroup)
        spacerItem = QtGui.QSpacerItem(571, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem)

        self.retranslateUi(NetworkPage)
        QtCore.QObject.connect(self.manualProxyButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.groupBox.setEnabled)
        QtCore.QObject.connect(self.httpProxyForAllCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.label_4.setDisabled)
        QtCore.QObject.connect(self.httpProxyForAllCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.label_3.setDisabled)
        QtCore.QObject.connect(self.httpProxyForAllCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.httpsProxyHostEdit.setDisabled)
        QtCore.QObject.connect(self.httpProxyForAllCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.ftpProxyHostEdit.setDisabled)
        QtCore.QObject.connect(self.httpProxyForAllCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.label_5.setDisabled)
        QtCore.QObject.connect(self.httpProxyForAllCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.label_7.setDisabled)
        QtCore.QObject.connect(self.httpProxyForAllCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.httpsProxyPortSpin.setDisabled)
        QtCore.QObject.connect(self.httpProxyForAllCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.ftpProxyPortSpin.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(NetworkPage)
        NetworkPage.setTabOrder(self.downloadDirEdit, self.downloadDirButton)
        NetworkPage.setTabOrder(self.downloadDirButton, self.requestFilenameCheckBox)
        NetworkPage.setTabOrder(self.requestFilenameCheckBox, self.cleanupNeverButton)
        NetworkPage.setTabOrder(self.cleanupNeverButton, self.cleanupExitButton)
        NetworkPage.setTabOrder(self.cleanupExitButton, self.cleanupSuccessfulButton)
        NetworkPage.setTabOrder(self.cleanupSuccessfulButton, self.proxyGroup)
        NetworkPage.setTabOrder(self.proxyGroup, self.systemProxyButton)
        NetworkPage.setTabOrder(self.systemProxyButton, self.manualProxyButton)
        NetworkPage.setTabOrder(self.manualProxyButton, self.httpProxyHostEdit)
        NetworkPage.setTabOrder(self.httpProxyHostEdit, self.httpProxyPortSpin)
        NetworkPage.setTabOrder(self.httpProxyPortSpin, self.httpProxyForAllCheckBox)
        NetworkPage.setTabOrder(self.httpProxyForAllCheckBox, self.httpsProxyHostEdit)
        NetworkPage.setTabOrder(self.httpsProxyHostEdit, self.httpsProxyPortSpin)
        NetworkPage.setTabOrder(self.httpsProxyPortSpin, self.ftpProxyHostEdit)
        NetworkPage.setTabOrder(self.ftpProxyHostEdit, self.ftpProxyPortSpin)
        NetworkPage.setTabOrder(self.ftpProxyPortSpin, self.ftpProxyTypeCombo)
        NetworkPage.setTabOrder(self.ftpProxyTypeCombo, self.ftpProxyUserEdit)
        NetworkPage.setTabOrder(self.ftpProxyUserEdit, self.ftpProxyPasswordEdit)
        NetworkPage.setTabOrder(self.ftpProxyPasswordEdit, self.ftpProxyAccountEdit)
        NetworkPage.setTabOrder(self.ftpProxyAccountEdit, self.clearProxyPasswordsButton)

    def retranslateUi(self, NetworkPage):
        self.headerLabel.setText(_translate("NetworkPage", "<b>Configure Network</b>", None))
        self.groupBox_2.setTitle(_translate("NetworkPage", "Downloads", None))
        self.label_6.setText(_translate("NetworkPage", "Download directory:", None))
        self.downloadDirEdit.setToolTip(_translate("NetworkPage", "Enter the download directory (leave empty to use the default location)", None))
        self.downloadDirButton.setToolTip(_translate("NetworkPage", "Select the download directory via a directory selection dialog", None))
        self.requestFilenameCheckBox.setToolTip(_translate("NetworkPage", "Select to ask the user for a download filename", None))
        self.requestFilenameCheckBox.setText(_translate("NetworkPage", "Request name of downloaded file", None))
        self.groupBox_3.setTitle(_translate("NetworkPage", "Download Manager Cleanup Policy", None))
        self.cleanupNeverButton.setToolTip(_translate("NetworkPage", "Select to never cleanup automatically", None))
        self.cleanupNeverButton.setText(_translate("NetworkPage", "Never", None))
        self.cleanupExitButton.setToolTip(_translate("NetworkPage", "Select to cleanup upon exiting", None))
        self.cleanupExitButton.setText(_translate("NetworkPage", "When exiting the application", None))
        self.cleanupSuccessfulButton.setToolTip(_translate("NetworkPage", "Select to cleanup after a successful download", None))
        self.cleanupSuccessfulButton.setText(_translate("NetworkPage", "When download finished successfully", None))
        self.proxyGroup.setToolTip(_translate("NetworkPage", "Select to use a web proxy", None))
        self.proxyGroup.setTitle(_translate("NetworkPage", "Use network proxy", None))
        self.systemProxyButton.setToolTip(_translate("NetworkPage", "Select to use the system proxy configuration", None))
        self.systemProxyButton.setText(_translate("NetworkPage", "Use system proxy configuration", None))
        self.manualProxyButton.setToolTip(_translate("NetworkPage", "Select to use an application specific proxy configuration", None))
        self.manualProxyButton.setText(_translate("NetworkPage", "Manual proxy configuration:", None))
        self.groupBox.setTitle(_translate("NetworkPage", "Manual proxy settings", None))
        self.label.setText(_translate("NetworkPage", "HTTP-Proxy:", None))
        self.httpProxyHostEdit.setToolTip(_translate("NetworkPage", "Enter the name of the HTTP proxy host", None))
        self.label_2.setText(_translate("NetworkPage", "Port:", None))
        self.httpProxyPortSpin.setToolTip(_translate("NetworkPage", "Enter the HTTP proxy port", None))
        self.httpProxyForAllCheckBox.setToolTip(_translate("NetworkPage", "Select to use the HTTP proxy for all", None))
        self.httpProxyForAllCheckBox.setText(_translate("NetworkPage", "Use this proxy for all protocols", None))
        self.label_4.setText(_translate("NetworkPage", "HTTPS-Proxy:", None))
        self.httpsProxyHostEdit.setToolTip(_translate("NetworkPage", "Enter the name of the HTTPS proxy host", None))
        self.label_5.setText(_translate("NetworkPage", "Port:", None))
        self.httpsProxyPortSpin.setToolTip(_translate("NetworkPage", "Enter the HTTPS proxy port", None))
        self.groupBox_4.setTitle(_translate("NetworkPage", "FTP-Proxy", None))
        self.label_3.setText(_translate("NetworkPage", "Hostname:", None))
        self.ftpProxyHostEdit.setToolTip(_translate("NetworkPage", "Enter the name of the FTP proxy host", None))
        self.label_7.setText(_translate("NetworkPage", "Port:", None))
        self.ftpProxyPortSpin.setToolTip(_translate("NetworkPage", "Enter the FTP proxy port", None))
        self.label_8.setText(_translate("NetworkPage", "Proxy Type:", None))
        self.ftpProxyTypeCombo.setToolTip(_translate("NetworkPage", "Select the type of the FTP proxy", None))
        self.label_9.setText(_translate("NetworkPage", "User Name:", None))
        self.ftpProxyUserEdit.setToolTip(_translate("NetworkPage", "Enter the user name for the proxy authentication", None))
        self.label_10.setText(_translate("NetworkPage", "Password:", None))
        self.ftpProxyPasswordEdit.setToolTip(_translate("NetworkPage", "Enter the password for the proxy authentication", None))
        self.label_11.setText(_translate("NetworkPage", "Account:", None))
        self.ftpProxyAccountEdit.setToolTip(_translate("NetworkPage", "Enter the account info for the proxy authentication", None))
        self.clearProxyPasswordsButton.setToolTip(_translate("NetworkPage", "Press to clear the saved passwords for the Http(s) proxy", None))
        self.clearProxyPasswordsButton.setText(_translate("NetworkPage", "Clear HTTP(S) Proxy Passwords", None))

