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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/NetworkPage.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# 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, 941)
        self.verticalLayout_5 = QtGui.QVBoxLayout(NetworkPage)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.headerLabel = QtGui.QLabel(NetworkPage)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout_5.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.setObjectName(_fromUtf8("line9_3"))
        self.verticalLayout_5.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.cleanupGroup = QtGui.QGroupBox(self.groupBox_2)
        self.cleanupGroup.setObjectName(_fromUtf8("cleanupGroup"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.cleanupGroup)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.cleanupNeverButton = QtGui.QRadioButton(self.cleanupGroup)
        self.cleanupNeverButton.setObjectName(_fromUtf8("cleanupNeverButton"))
        self.verticalLayout_2.addWidget(self.cleanupNeverButton)
        self.cleanupExitButton = QtGui.QRadioButton(self.cleanupGroup)
        self.cleanupExitButton.setObjectName(_fromUtf8("cleanupExitButton"))
        self.verticalLayout_2.addWidget(self.cleanupExitButton)
        self.cleanupSuccessfulButton = QtGui.QRadioButton(self.cleanupGroup)
        self.cleanupSuccessfulButton.setObjectName(_fromUtf8("cleanupSuccessfulButton"))
        self.verticalLayout_2.addWidget(self.cleanupSuccessfulButton)
        self.verticalLayout_3.addWidget(self.cleanupGroup)
        self.verticalLayout_5.addWidget(self.groupBox_2)
        self.proxyGroup = QtGui.QGroupBox(NetworkPage)
        self.proxyGroup.setCheckable(False)
        self.proxyGroup.setChecked(False)
        self.proxyGroup.setObjectName(_fromUtf8("proxyGroup"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.proxyGroup)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.noProxyButton = QtGui.QRadioButton(self.proxyGroup)
        self.noProxyButton.setChecked(True)
        self.noProxyButton.setObjectName(_fromUtf8("noProxyButton"))
        self.verticalLayout_4.addWidget(self.noProxyButton)
        self.systemProxyButton = QtGui.QRadioButton(self.proxyGroup)
        self.systemProxyButton.setObjectName(_fromUtf8("systemProxyButton"))
        self.verticalLayout_4.addWidget(self.systemProxyButton)
        self.manualProxyButton = QtGui.QRadioButton(self.proxyGroup)
        self.manualProxyButton.setChecked(False)
        self.manualProxyButton.setObjectName(_fromUtf8("manualProxyButton"))
        self.verticalLayout_4.addWidget(self.manualProxyButton)
        self.groupBox = QtGui.QGroupBox(self.proxyGroup)
        self.groupBox.setEnabled(False)
        self.groupBox.setFlat(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox_6 = QtGui.QGroupBox(self.groupBox)
        self.groupBox_6.setObjectName(_fromUtf8("groupBox_6"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_6)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_13 = QtGui.QLabel(self.groupBox_6)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.gridLayout_2.addWidget(self.label_13, 0, 0, 1, 1)
        self.httpProxyHostEdit = QtGui.QLineEdit(self.groupBox_6)
        self.httpProxyHostEdit.setObjectName(_fromUtf8("httpProxyHostEdit"))
        self.gridLayout_2.addWidget(self.httpProxyHostEdit, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.groupBox_6)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 0, 2, 1, 1)
        self.httpProxyPortSpin = QtGui.QSpinBox(self.groupBox_6)
        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_6)
        self.httpProxyForAllCheckBox.setObjectName(_fromUtf8("httpProxyForAllCheckBox"))
        self.gridLayout_2.addWidget(self.httpProxyForAllCheckBox, 1, 0, 1, 4)
        self.verticalLayout.addWidget(self.groupBox_6)
        self.groupBox_5 = QtGui.QGroupBox(self.groupBox)
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.groupBox_5)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.label_12 = QtGui.QLabel(self.groupBox_5)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.horizontalLayout_2.addWidget(self.label_12)
        self.httpsProxyHostEdit = QtGui.QLineEdit(self.groupBox_5)
        self.httpsProxyHostEdit.setObjectName(_fromUtf8("httpsProxyHostEdit"))
        self.horizontalLayout_2.addWidget(self.httpsProxyHostEdit)
        self.label_5 = QtGui.QLabel(self.groupBox_5)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout_2.addWidget(self.label_5)
        self.httpsProxyPortSpin = QtGui.QSpinBox(self.groupBox_5)
        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.horizontalLayout_2.addWidget(self.httpsProxyPortSpin)
        self.verticalLayout.addWidget(self.groupBox_5)
        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_8 = QtGui.QLabel(self.groupBox_4)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout.addWidget(self.label_8, 0, 0, 1, 1)
        self.ftpProxyTypeCombo = QtGui.QComboBox(self.groupBox_4)
        self.ftpProxyTypeCombo.setObjectName(_fromUtf8("ftpProxyTypeCombo"))
        self.gridLayout.addWidget(self.ftpProxyTypeCombo, 0, 1, 1, 3)
        self.label_3 = QtGui.QLabel(self.groupBox_4)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.ftpProxyHostEdit = QtGui.QLineEdit(self.groupBox_4)
        self.ftpProxyHostEdit.setObjectName(_fromUtf8("ftpProxyHostEdit"))
        self.gridLayout.addWidget(self.ftpProxyHostEdit, 1, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.groupBox_4)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout.addWidget(self.label_7, 1, 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, 1, 3, 1, 1)
        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.verticalLayout.addWidget(self.groupBox_4)
        self.verticalLayout_4.addWidget(self.groupBox)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label = QtGui.QLabel(self.proxyGroup)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_3.addWidget(self.label)
        self.exceptionsEdit = QtGui.QLineEdit(self.proxyGroup)
        self.exceptionsEdit.setObjectName(_fromUtf8("exceptionsEdit"))
        self.horizontalLayout_3.addWidget(self.exceptionsEdit)
        self.verticalLayout_4.addLayout(self.horizontalLayout_3)
        self.clearProxyPasswordsButton = QtGui.QPushButton(self.proxyGroup)
        self.clearProxyPasswordsButton.setObjectName(_fromUtf8("clearProxyPasswordsButton"))
        self.verticalLayout_4.addWidget(self.clearProxyPasswordsButton)
        self.verticalLayout_5.addWidget(self.proxyGroup)
        spacerItem = QtGui.QSpacerItem(571, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.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.groupBox_5.setDisabled)
        QtCore.QObject.connect(self.httpProxyForAllCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.groupBox_4.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.noProxyButton)
        NetworkPage.setTabOrder(self.noProxyButton, 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.ftpProxyTypeCombo)
        NetworkPage.setTabOrder(self.ftpProxyTypeCombo, self.ftpProxyHostEdit)
        NetworkPage.setTabOrder(self.ftpProxyHostEdit, self.ftpProxyPortSpin)
        NetworkPage.setTabOrder(self.ftpProxyPortSpin, self.ftpProxyUserEdit)
        NetworkPage.setTabOrder(self.ftpProxyUserEdit, self.ftpProxyPasswordEdit)
        NetworkPage.setTabOrder(self.ftpProxyPasswordEdit, self.ftpProxyAccountEdit)
        NetworkPage.setTabOrder(self.ftpProxyAccountEdit, self.exceptionsEdit)
        NetworkPage.setTabOrder(self.exceptionsEdit, 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.cleanupGroup.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", "Network Proxy", None))
        self.noProxyButton.setToolTip(_translate("NetworkPage", "Select to not use a network proxy", None))
        self.noProxyButton.setText(_translate("NetworkPage", "Do not use 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.groupBox_6.setTitle(_translate("NetworkPage", "HTTP-Proxy", None))
        self.label_13.setText(_translate("NetworkPage", "Hostname:", 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.groupBox_5.setTitle(_translate("NetworkPage", "HTTPS-Proxy", None))
        self.label_12.setText(_translate("NetworkPage", "Hostname:", 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_8.setText(_translate("NetworkPage", "Proxy Type:", None))
        self.ftpProxyTypeCombo.setToolTip(_translate("NetworkPage", "Select the type of the 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_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.label.setText(_translate("NetworkPage", "Exceptions:", None))
        self.exceptionsEdit.setToolTip(_translate("NetworkPage", "Enter host names or IP-addresses for which the proxy is to be circumvented separated by \',\' (wildcards * or ? may be used)", 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))

