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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_2/eric4/Helpviewer/AuthenticationDialog.ui'
#
# Created: Sun Jun  8 13:02:14 2008
#      by: PyQt4 UI code generator 4.4.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_AuthenticationDialog(object):
    def setupUi(self, AuthenticationDialog):
        AuthenticationDialog.setObjectName("AuthenticationDialog")
        AuthenticationDialog.resize(400,145)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(AuthenticationDialog.sizePolicy().hasHeightForWidth())
        AuthenticationDialog.setSizePolicy(sizePolicy)
        AuthenticationDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(AuthenticationDialog)
        self.gridLayout.setMargin(6)
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName("gridLayout")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.iconLabel = QtGui.QLabel(AuthenticationDialog)
        self.iconLabel.setObjectName("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.setWordWrap(True)
        self.infoLabel.setObjectName("infoLabel")
        self.horizontalLayout.addWidget(self.infoLabel)
        self.gridLayout.addLayout(self.horizontalLayout,0,0,1,2)
        self.label = QtGui.QLabel(AuthenticationDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label,1,0,1,1)
        self.usernameEdit = QtGui.QLineEdit(AuthenticationDialog)
        self.usernameEdit.setObjectName("usernameEdit")
        self.gridLayout.addWidget(self.usernameEdit,1,1,1,1)
        self.label_2 = QtGui.QLabel(AuthenticationDialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2,2,0,1,1)
        self.passwordEdit = QtGui.QLineEdit(AuthenticationDialog)
        self.passwordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.passwordEdit.setObjectName("passwordEdit")
        self.gridLayout.addWidget(self.passwordEdit,2,1,1,1)
        self.saveCheckBox = QtGui.QCheckBox(AuthenticationDialog)
        self.saveCheckBox.setObjectName("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("buttonBox")
        self.gridLayout.addWidget(self.buttonBox,4,0,1,2)

        self.retranslateUi(AuthenticationDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),AuthenticationDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("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):
        AuthenticationDialog.setWindowTitle(QtGui.QApplication.translate("AuthenticationDialog", "Authentication Required", None, QtGui.QApplication.UnicodeUTF8))
        self.iconLabel.setText(QtGui.QApplication.translate("AuthenticationDialog", "Icon", None, QtGui.QApplication.UnicodeUTF8))
        self.infoLabel.setText(QtGui.QApplication.translate("AuthenticationDialog", "Info", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("AuthenticationDialog", "Username:", None, QtGui.QApplication.UnicodeUTF8))
        self.usernameEdit.setToolTip(QtGui.QApplication.translate("AuthenticationDialog", "Enter username", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("AuthenticationDialog", "Password:", None, QtGui.QApplication.UnicodeUTF8))
        self.passwordEdit.setToolTip(QtGui.QApplication.translate("AuthenticationDialog", "Enter password", None, QtGui.QApplication.UnicodeUTF8))
        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))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    AuthenticationDialog = QtGui.QDialog()
    ui = Ui_AuthenticationDialog()
    ui.setupUi(AuthenticationDialog)
    AuthenticationDialog.show()
    sys.exit(app.exec_())

