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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/NetworkPage.ui'
#
# Created: Thu Feb 10 10:05:39 2011
#      by: PyQt4 UI code generator 4.8.1
#
# 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 = QtGui.QVBoxLayout(NetworkPage)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.headerLabel = QtGui.QLabel(NetworkPage)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout.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.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.addLayout(self.horizontalLayout)
        self.requestFilenameCheckBox = QtGui.QCheckBox(NetworkPage)
        self.requestFilenameCheckBox.setObjectName(_fromUtf8("requestFilenameCheckBox"))
        self.verticalLayout.addWidget(self.requestFilenameCheckBox)
        self.proxyGroup = QtGui.QGroupBox(NetworkPage)
        self.proxyGroup.setCheckable(True)
        self.proxyGroup.setChecked(False)
        self.proxyGroup.setObjectName(_fromUtf8("proxyGroup"))
        self.gridLayout = QtGui.QGridLayout(self.proxyGroup)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_5 = QtGui.QLabel(self.proxyGroup)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 0, 0, 1, 1)
        self.proxyTypeCombo = QtGui.QComboBox(self.proxyGroup)
        self.proxyTypeCombo.setObjectName(_fromUtf8("proxyTypeCombo"))
        self.gridLayout.addWidget(self.proxyTypeCombo, 0, 1, 1, 2)
        self.label = QtGui.QLabel(self.proxyGroup)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.proxyHostEdit = QtGui.QLineEdit(self.proxyGroup)
        self.proxyHostEdit.setObjectName(_fromUtf8("proxyHostEdit"))
        self.gridLayout.addWidget(self.proxyHostEdit, 1, 1, 1, 2)
        self.label_2 = QtGui.QLabel(self.proxyGroup)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.proxyPortSpin = QtGui.QSpinBox(self.proxyGroup)
        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.proxyGroup)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.proxyUserEdit = QtGui.QLineEdit(self.proxyGroup)
        self.proxyUserEdit.setObjectName(_fromUtf8("proxyUserEdit"))
        self.gridLayout.addWidget(self.proxyUserEdit, 3, 1, 1, 2)
        self.label_4 = QtGui.QLabel(self.proxyGroup)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1)
        self.proxyPasswordEdit = QtGui.QLineEdit(self.proxyGroup)
        self.proxyPasswordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.proxyPasswordEdit.setObjectName(_fromUtf8("proxyPasswordEdit"))
        self.gridLayout.addWidget(self.proxyPasswordEdit, 4, 1, 1, 2)
        self.verticalLayout.addWidget(self.proxyGroup)
        spacerItem1 = QtGui.QSpacerItem(571, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem1)

        self.retranslateUi(NetworkPage)
        QtCore.QMetaObject.connectSlotsByName(NetworkPage)
        NetworkPage.setTabOrder(self.downloadDirEdit, self.downloadDirButton)
        NetworkPage.setTabOrder(self.downloadDirButton, self.requestFilenameCheckBox)
        NetworkPage.setTabOrder(self.requestFilenameCheckBox, self.proxyGroup)
        NetworkPage.setTabOrder(self.proxyGroup, self.proxyTypeCombo)
        NetworkPage.setTabOrder(self.proxyTypeCombo, self.proxyHostEdit)
        NetworkPage.setTabOrder(self.proxyHostEdit, self.proxyPortSpin)
        NetworkPage.setTabOrder(self.proxyPortSpin, self.proxyUserEdit)
        NetworkPage.setTabOrder(self.proxyUserEdit, self.proxyPasswordEdit)

    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.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))

