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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/NetworkPage.ui'
#
# Created: Sun Nov 11 19:51:04 2012
#      by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_NetworkPage(object):
    def setupUi(self, NetworkPage):
        NetworkPage.setObjectName(_fromUtf8("NetworkPage"))
        NetworkPage.resize(589, 563)
        self.verticalLayout_2 = QtGui.QVBoxLayout(NetworkPage)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.headerLabel = QtGui.QLabel(NetworkPage)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout_2.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_2.addWidget(self.line9_3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_6 = QtGui.QLabel(NetworkPage)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout.addWidget(self.label_6)
        self.downloadDirEdit = QtGui.QLineEdit(NetworkPage)
        self.downloadDirEdit.setObjectName(_fromUtf8("downloadDirEdit"))
        self.horizontalLayout.addWidget(self.downloadDirEdit)
        self.downloadDirButton = QtGui.QPushButton(NetworkPage)
        self.downloadDirButton.setObjectName(_fromUtf8("downloadDirButton"))
        self.horizontalLayout.addWidget(self.downloadDirButton)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.requestFilenameCheckBox = QtGui.QCheckBox(NetworkPage)
        self.requestFilenameCheckBox.setObjectName(_fromUtf8("requestFilenameCheckBox"))
        self.verticalLayout_2.addWidget(self.requestFilenameCheckBox)
        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.setObjectName(_fromUtf8("manualProxyButton"))
        self.verticalLayout.addWidget(self.manualProxyButton)
        self.groupBox = QtGui.QGroupBox(self.proxyGroup)
        self.groupBox.setEnabled(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 0, 0, 1, 1)
        self.proxyTypeCombo = QtGui.QComboBox(self.groupBox)
        self.proxyTypeCombo.setObjectName(_fromUtf8("proxyTypeCombo"))
        self.gridLayout.addWidget(self.proxyTypeCombo, 0, 1, 1, 2)
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.proxyHostEdit = QtGui.QLineEdit(self.groupBox)
        self.proxyHostEdit.setObjectName(_fromUtf8("proxyHostEdit"))
        self.gridLayout.addWidget(self.proxyHostEdit, 1, 1, 1, 2)
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.proxyPortSpin = QtGui.QSpinBox(self.groupBox)
        self.proxyPortSpin.setAlignment(QtCore.Qt.AlignRight)
        self.proxyPortSpin.setMinimum(1)
        self.proxyPortSpin.setMaximum(65535)
        self.proxyPortSpin.setProperty(_fromUtf8("value"), 80)
        self.proxyPortSpin.setObjectName(_fromUtf8("proxyPortSpin"))
        self.gridLayout.addWidget(self.proxyPortSpin, 2, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 2, 2, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.proxyUserEdit = QtGui.QLineEdit(self.groupBox)
        self.proxyUserEdit.setObjectName(_fromUtf8("proxyUserEdit"))
        self.gridLayout.addWidget(self.proxyUserEdit, 3, 1, 1, 2)
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1)
        self.proxyPasswordEdit = QtGui.QLineEdit(self.groupBox)
        self.proxyPasswordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.proxyPasswordEdit.setObjectName(_fromUtf8("proxyPasswordEdit"))
        self.gridLayout.addWidget(self.proxyPasswordEdit, 4, 1, 1, 2)
        self.verticalLayout.addWidget(self.groupBox)
        self.verticalLayout_2.addWidget(self.proxyGroup)
        spacerItem1 = QtGui.QSpacerItem(571, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem1)

        self.retranslateUi(NetworkPage)
        QtCore.QObject.connect(self.manualProxyButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.groupBox.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(NetworkPage)
        NetworkPage.setTabOrder(self.downloadDirEdit, self.downloadDirButton)
        NetworkPage.setTabOrder(self.downloadDirButton, self.requestFilenameCheckBox)

    def retranslateUi(self, NetworkPage):
        self.headerLabel.setText(QtGui.QApplication.translate("NetworkPage", "<b>Configure Network</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("NetworkPage", "Download directory:", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadDirEdit.setToolTip(QtGui.QApplication.translate("NetworkPage", "Enter the download directory (leave empty to use the default location)", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadDirButton.setToolTip(QtGui.QApplication.translate("NetworkPage", "Select the download directory via a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadDirButton.setText(QtGui.QApplication.translate("NetworkPage", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.requestFilenameCheckBox.setToolTip(QtGui.QApplication.translate("NetworkPage", "Select to ask the user for a download filename", None, QtGui.QApplication.UnicodeUTF8))
        self.requestFilenameCheckBox.setText(QtGui.QApplication.translate("NetworkPage", "Request name of downloaded file", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyGroup.setToolTip(QtGui.QApplication.translate("NetworkPage", "Select to use a web proxy", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyGroup.setTitle(QtGui.QApplication.translate("NetworkPage", "Use network proxy", None, QtGui.QApplication.UnicodeUTF8))
        self.systemProxyButton.setToolTip(QtGui.QApplication.translate("NetworkPage", "Select to use the system proxy configuration", None, QtGui.QApplication.UnicodeUTF8))
        self.systemProxyButton.setText(QtGui.QApplication.translate("NetworkPage", "Use system proxy configuration", None, QtGui.QApplication.UnicodeUTF8))
        self.manualProxyButton.setToolTip(QtGui.QApplication.translate("NetworkPage", "Select to use an application specific proxy configuration", None, QtGui.QApplication.UnicodeUTF8))
        self.manualProxyButton.setText(QtGui.QApplication.translate("NetworkPage", "Manual proxy configuration:", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("NetworkPage", "Manual proxy settings", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("NetworkPage", "Proxy-Type:", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyTypeCombo.setToolTip(QtGui.QApplication.translate("NetworkPage", "Select the type of the proxy", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("NetworkPage", "Proxy-Host:", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyHostEdit.setToolTip(QtGui.QApplication.translate("NetworkPage", "Enter the name of the proxy host", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("NetworkPage", "Proxy-Port:", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyPortSpin.setToolTip(QtGui.QApplication.translate("NetworkPage", "Enter the proxy port", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("NetworkPage", "Username:", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyUserEdit.setToolTip(QtGui.QApplication.translate("NetworkPage", "Enter the username for the proxy", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("NetworkPage", "Password:", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyPasswordEdit.setToolTip(QtGui.QApplication.translate("NetworkPage", "Enter the password for the proxy", None, QtGui.QApplication.UnicodeUTF8))

