# Form implementation generated from reading ui file 'src/eric7/EricWidgets/EricAuthenticationDialog.ui'
#
# Created by: PyQt6 UI code generator 6.7.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_EricAuthenticationDialog(object):
    def setupUi(self, EricAuthenticationDialog):
        EricAuthenticationDialog.setObjectName("EricAuthenticationDialog")
        EricAuthenticationDialog.resize(400, 159)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(EricAuthenticationDialog.sizePolicy().hasHeightForWidth())
        EricAuthenticationDialog.setSizePolicy(sizePolicy)
        EricAuthenticationDialog.setSizeGripEnabled(True)
        self.gridLayout = QtWidgets.QGridLayout(EricAuthenticationDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.iconLabel = QtWidgets.QLabel(parent=EricAuthenticationDialog)
        self.iconLabel.setObjectName("iconLabel")
        self.horizontalLayout.addWidget(self.iconLabel)
        self.infoLabel = QtWidgets.QLabel(parent=EricAuthenticationDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.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 = QtWidgets.QLabel(parent=EricAuthenticationDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.usernameEdit = QtWidgets.QLineEdit(parent=EricAuthenticationDialog)
        self.usernameEdit.setObjectName("usernameEdit")
        self.gridLayout.addWidget(self.usernameEdit, 1, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(parent=EricAuthenticationDialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.passwordEdit = QtWidgets.QLineEdit(parent=EricAuthenticationDialog)
        self.passwordEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
        self.passwordEdit.setObjectName("passwordEdit")
        self.gridLayout.addWidget(self.passwordEdit, 2, 1, 1, 1)
        self.saveCheckBox = QtWidgets.QCheckBox(parent=EricAuthenticationDialog)
        self.saveCheckBox.setObjectName("saveCheckBox")
        self.gridLayout.addWidget(self.saveCheckBox, 3, 0, 1, 2)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=EricAuthenticationDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 2)

        self.retranslateUi(EricAuthenticationDialog)
        self.buttonBox.accepted.connect(EricAuthenticationDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(EricAuthenticationDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(EricAuthenticationDialog)
        EricAuthenticationDialog.setTabOrder(self.usernameEdit, self.passwordEdit)
        EricAuthenticationDialog.setTabOrder(self.passwordEdit, self.saveCheckBox)
        EricAuthenticationDialog.setTabOrder(self.saveCheckBox, self.buttonBox)

    def retranslateUi(self, EricAuthenticationDialog):
        _translate = QtCore.QCoreApplication.translate
        EricAuthenticationDialog.setWindowTitle(_translate("EricAuthenticationDialog", "Authentication Required"))
        self.iconLabel.setText(_translate("EricAuthenticationDialog", "Icon"))
        self.infoLabel.setText(_translate("EricAuthenticationDialog", "Info"))
        self.label.setText(_translate("EricAuthenticationDialog", "Username:"))
        self.usernameEdit.setToolTip(_translate("EricAuthenticationDialog", "Enter username"))
        self.label_2.setText(_translate("EricAuthenticationDialog", "Password:"))
        self.passwordEdit.setToolTip(_translate("EricAuthenticationDialog", "Enter password"))
        self.saveCheckBox.setToolTip(_translate("EricAuthenticationDialog", "Select to save the login data"))
        self.saveCheckBox.setText(_translate("EricAuthenticationDialog", "Save login data"))
