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

# Form implementation generated from reading ui file 'data/qt/proxy_credentials_dialog.ui'
#
# Created: Sat Apr  5 11:38:08 2014
#      by: PyQt4 UI code generator 4.10.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_ProxyCredsDialog(object):
    def setupUi(self, ProxyCredsDialog):
        ProxyCredsDialog.setObjectName(_fromUtf8("ProxyCredsDialog"))
        ProxyCredsDialog.setWindowModality(QtCore.Qt.NonModal)
        ProxyCredsDialog.resize(550, 373)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(ProxyCredsDialog.sizePolicy().hasHeightForWidth())
        ProxyCredsDialog.setSizePolicy(sizePolicy)
        ProxyCredsDialog.setMinimumSize(QtCore.QSize(550, 0))
        ProxyCredsDialog.setSizeGripEnabled(False)
        self.horizontalLayout = QtGui.QHBoxLayout(ProxyCredsDialog)
        self.horizontalLayout.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setSpacing(24)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setSpacing(12)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setSpacing(0)
        self.verticalLayout_4.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.logo_label = QtGui.QLabel(ProxyCredsDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.logo_label.sizePolicy().hasHeightForWidth())
        self.logo_label.setSizePolicy(sizePolicy)
        self.logo_label.setMinimumSize(QtCore.QSize(48, 48))
        self.logo_label.setMaximumSize(QtCore.QSize(48, 48))
        self.logo_label.setText(_fromUtf8("TextLabel"))
        self.logo_label.setObjectName(_fromUtf8("logo_label"))
        self.verticalLayout_4.addWidget(self.logo_label)
        spacerItem = QtGui.QSpacerItem(0, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem)
        self.horizontalLayout_4.addLayout(self.verticalLayout_4)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setSpacing(24)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setSpacing(24)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.title_label = QtGui.QLabel(ProxyCredsDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.title_label.sizePolicy().hasHeightForWidth())
        self.title_label.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setBold(True)
        self.title_label.setFont(font)
        self.title_label.setText(_fromUtf8("You are connection through a proxy."))
        self.title_label.setWordWrap(True)
        self.title_label.setObjectName(_fromUtf8("title_label"))
        self.verticalLayout_2.addWidget(self.title_label)
        self.explanation_label = QtGui.QLabel(ProxyCredsDialog)
        self.explanation_label.setText(_fromUtf8("Please provide the login details below, or check your system settings"))
        self.explanation_label.setWordWrap(True)
        self.explanation_label.setObjectName(_fromUtf8("explanation_label"))
        self.verticalLayout_2.addWidget(self.explanation_label)
        self.verticalLayout_3.addLayout(self.verticalLayout_2)
        self.frame = QtGui.QFrame(ProxyCredsDialog)
        self.frame.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame.setFrameShadow(QtGui.QFrame.Plain)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.gridLayout_2 = QtGui.QGridLayout(self.frame)
        self.gridLayout_2.setSpacing(12)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.connection_label = QtGui.QLabel(self.frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.connection_label.sizePolicy().hasHeightForWidth())
        self.connection_label.setSizePolicy(sizePolicy)
        self.connection_label.setText(_fromUtf8("Connecting to:"))
        self.connection_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.connection_label.setObjectName(_fromUtf8("connection_label"))
        self.gridLayout_2.addWidget(self.connection_label, 0, 0, 1, 1)
        self.domain_label = QtGui.QLabel(self.frame)
        self.domain_label.setText(_fromUtf8(""))
        self.domain_label.setObjectName(_fromUtf8("domain_label"))
        self.gridLayout_2.addWidget(self.domain_label, 0, 1, 1, 1)
        self.username_label = QtGui.QLabel(self.frame)
        self.username_label.setText(_fromUtf8("Proxy username:"))
        self.username_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.username_label.setObjectName(_fromUtf8("username_label"))
        self.gridLayout_2.addWidget(self.username_label, 4, 0, 1, 1)
        self.username_entry = QtGui.QLineEdit(self.frame)
        self.username_entry.setText(_fromUtf8(""))
        self.username_entry.setObjectName(_fromUtf8("username_entry"))
        self.gridLayout_2.addWidget(self.username_entry, 4, 1, 1, 1)
        self.password_label = QtGui.QLabel(self.frame)
        self.password_label.setText(_fromUtf8("Proxy password:"))
        self.password_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.password_label.setObjectName(_fromUtf8("password_label"))
        self.gridLayout_2.addWidget(self.password_label, 5, 0, 1, 1)
        self.password_entry = QtGui.QLineEdit(self.frame)
        self.password_entry.setEchoMode(QtGui.QLineEdit.Password)
        self.password_entry.setObjectName(_fromUtf8("password_entry"))
        self.gridLayout_2.addWidget(self.password_entry, 5, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(24, 12, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        self.gridLayout_2.addItem(spacerItem1, 1, 0, 1, 1)
        self.error_label = QtGui.QLabel(self.frame)
        self.error_label.setText(_fromUtf8("TextLabel"))
        self.error_label.setWordWrap(False)
        self.error_label.setObjectName(_fromUtf8("error_label"))
        self.gridLayout_2.addWidget(self.error_label, 2, 0, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(24, 12, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        self.gridLayout_2.addItem(spacerItem2, 3, 0, 1, 1)
        self.verticalLayout_3.addWidget(self.frame)
        self.horizontalLayout_4.addLayout(self.verticalLayout_3)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.help_button = QtGui.QPushButton(ProxyCredsDialog)
        self.help_button.setText(_fromUtf8("Get Help With Proxies"))
        self.help_button.setObjectName(_fromUtf8("help_button"))
        self.horizontalLayout_5.addWidget(self.help_button)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem3)
        self.cancel_button = QtGui.QPushButton(ProxyCredsDialog)
        self.cancel_button.setText(_fromUtf8("Cancel and Close"))
        self.cancel_button.setObjectName(_fromUtf8("cancel_button"))
        self.horizontalLayout_5.addWidget(self.cancel_button)
        self.save_button = QtGui.QPushButton(ProxyCredsDialog)
        self.save_button.setText(_fromUtf8("Save"))
        self.save_button.setDefault(True)
        self.save_button.setObjectName(_fromUtf8("save_button"))
        self.horizontalLayout_5.addWidget(self.save_button)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.horizontalLayout.addLayout(self.verticalLayout)

        self.retranslateUi(ProxyCredsDialog)
        QtCore.QMetaObject.connectSlotsByName(ProxyCredsDialog)
        ProxyCredsDialog.setTabOrder(self.username_entry, self.password_entry)
        ProxyCredsDialog.setTabOrder(self.password_entry, self.save_button)
        ProxyCredsDialog.setTabOrder(self.save_button, self.cancel_button)
        ProxyCredsDialog.setTabOrder(self.cancel_button, self.help_button)

    def retranslateUi(self, ProxyCredsDialog):
        pass

