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

# Form implementation generated from reading ui file 'eric/UI/AuthenticationDialog.ui'
#
# Created: Wed Mar 14 20:23:22 2012
#      by: PyQt4 UI code generator 4.8.5
#
# 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_AuthenticationDialog(object):
    def setupUi(self, AuthenticationDialog):
        AuthenticationDialog.setObjectName(_fromUtf8("AuthenticationDialog"))
        AuthenticationDialog.resize(400, 154)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(AuthenticationDialog.sizePolicy().hasHeightForWidth())
        AuthenticationDialog.setSizePolicy(sizePolicy)
        AuthenticationDialog.setWindowTitle(QtGui.QApplication.translate("AuthenticationDialog", "Authentication Required", None, QtGui.QApplication.UnicodeUTF8))
        AuthenticationDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(AuthenticationDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.iconLabel = QtGui.QLabel(AuthenticationDialog)
        self.iconLabel.setText(QtGui.QApplication.translate("AuthenticationDialog", "Icon", None, QtGui.QApplication.UnicodeUTF8))
        self.iconLabel.setObjectName(_fromUtf8("iconLabel"))
        self.horizontalLayout.addWidget(self.iconLabel)
        self.infoLabel = QtGui.QLabel(AuthenticationDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.infoLabel.sizePolicy().hasHeightForWidth())
        self.infoLabel.setSizePolicy(sizePolicy)
        self.infoLabel.setText(QtGui.QApplication.translate("AuthenticationDialog", "Info", None, QtGui.QApplication.UnicodeUTF8))
        self.infoLabel.setWordWrap(True)
        self.infoLabel.setObjectName(_fromUtf8("infoLabel"))
        self.horizontalLayout.addWidget(self.infoLabel)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 2)
        self.label = QtGui.QLabel(AuthenticationDialog)
        self.label.setText(QtGui.QApplication.translate("AuthenticationDialog", "Username:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.usernameEdit = QtGui.QLineEdit(AuthenticationDialog)
        self.usernameEdit.setToolTip(QtGui.QApplication.translate("AuthenticationDialog", "Enter username", None, QtGui.QApplication.UnicodeUTF8))
        self.usernameEdit.setObjectName(_fromUtf8("usernameEdit"))
        self.gridLayout.addWidget(self.usernameEdit, 1, 1, 1, 1)
        self.label_2 = QtGui.QLabel(AuthenticationDialog)
        self.label_2.setText(QtGui.QApplication.translate("AuthenticationDialog", "Password:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.passwordEdit = QtGui.QLineEdit(AuthenticationDialog)
        self.passwordEdit.setToolTip(QtGui.QApplication.translate("AuthenticationDialog", "Enter password", None, QtGui.QApplication.UnicodeUTF8))
        self.passwordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.passwordEdit.setObjectName(_fromUtf8("passwordEdit"))
        self.gridLayout.addWidget(self.passwordEdit, 2, 1, 1, 1)
        self.saveCheckBox = QtGui.QCheckBox(AuthenticationDialog)
        self.saveCheckBox.setToolTip(QtGui.QApplication.translate("AuthenticationDialog", "Select to save the login data", None, QtGui.QApplication.UnicodeUTF8))
        self.saveCheckBox.setText(QtGui.QApplication.translate("AuthenticationDialog", "Save login data", None, QtGui.QApplication.UnicodeUTF8))
        self.saveCheckBox.setObjectName(_fromUtf8("saveCheckBox"))
        self.gridLayout.addWidget(self.saveCheckBox, 3, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(AuthenticationDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 2)

        self.retranslateUi(AuthenticationDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), AuthenticationDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), AuthenticationDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(AuthenticationDialog)
        AuthenticationDialog.setTabOrder(self.usernameEdit, self.passwordEdit)
        AuthenticationDialog.setTabOrder(self.passwordEdit, self.saveCheckBox)
        AuthenticationDialog.setTabOrder(self.saveCheckBox, self.buttonBox)

    def retranslateUi(self, AuthenticationDialog):
        pass

