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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_3/eric4/Preferences/ConfigurationPages/NetworkPage.ui'
#
# Created: Fri Nov 14 14:55:42 2008
#      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_NetworkPage(object):
    def setupUi(self, NetworkPage):
        NetworkPage.setObjectName("NetworkPage")
        NetworkPage.resize(589, 563)
        self.verticalLayout = QtGui.QVBoxLayout(NetworkPage)
        self.verticalLayout.setObjectName("verticalLayout")
        self.headerLabel = QtGui.QLabel(NetworkPage)
        self.headerLabel.setObjectName("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("line9_3")
        self.verticalLayout.addWidget(self.line9_3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_6 = QtGui.QLabel(NetworkPage)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout.addWidget(self.label_6)
        self.downloadDirEdit = QtGui.QLineEdit(NetworkPage)
        self.downloadDirEdit.setObjectName("downloadDirEdit")
        self.horizontalLayout.addWidget(self.downloadDirEdit)
        self.downloadDirButton = QtGui.QPushButton(NetworkPage)
        self.downloadDirButton.setObjectName("downloadDirButton")
        self.horizontalLayout.addWidget(self.downloadDirButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.proxyGroup = QtGui.QGroupBox(NetworkPage)
        self.proxyGroup.setCheckable(True)
        self.proxyGroup.setChecked(False)
        self.proxyGroup.setObjectName("proxyGroup")
        self.gridLayout = QtGui.QGridLayout(self.proxyGroup)
        self.gridLayout.setObjectName("gridLayout")
        self.label_5 = QtGui.QLabel(self.proxyGroup)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 0, 0, 1, 1)
        self.proxyTypeCombo = QtGui.QComboBox(self.proxyGroup)
        self.proxyTypeCombo.setObjectName("proxyTypeCombo")
        self.gridLayout.addWidget(self.proxyTypeCombo, 0, 1, 1, 2)
        self.label = QtGui.QLabel(self.proxyGroup)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.proxyHostEdit = QtGui.QLineEdit(self.proxyGroup)
        self.proxyHostEdit.setObjectName("proxyHostEdit")
        self.gridLayout.addWidget(self.proxyHostEdit, 1, 1, 1, 2)
        self.label_2 = QtGui.QLabel(self.proxyGroup)
        self.label_2.setObjectName("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("value", QtCore.QVariant(80))
        self.proxyPortSpin.setObjectName("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("label_3")
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.proxyUserEdit = QtGui.QLineEdit(self.proxyGroup)
        self.proxyUserEdit.setObjectName("proxyUserEdit")
        self.gridLayout.addWidget(self.proxyUserEdit, 3, 1, 1, 2)
        self.label_4 = QtGui.QLabel(self.proxyGroup)
        self.label_4.setObjectName("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("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.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.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))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    NetworkPage = QtGui.QWidget()
    ui = Ui_NetworkPage()
    ui.setupUi(NetworkPage)
    NetworkPage.show()
    sys.exit(app.exec_())

