# Form implementation generated from reading ui file 'D:\fairyJY\py\flightinfo\flightinfo\UI\amroLogin.ui'
#
# Created by: PyQt6 UI code generator 6.4.0
#
# 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.


import base64

from PyQt6 import QtCore , QtWidgets
from PyQt6.QtCore import QByteArray
from PyQt6.QtGui import QIcon , QPixmap


class Ui_amroLogin(object):
    def setupUi(self, amroLogin):
        icon_base64 = """
        [encoded data, 360532 characters]

        """

        # 从Base64创建图标
        icon_data = base64.b64decode(icon_base64)
        pixmap = QPixmap()
        pixmap.loadFromData(QByteArray(icon_data))
        icon = QIcon(pixmap)
        amroLogin.setObjectName("amroLogin")
        amroLogin.resize(360, 140)
        amroLogin.setWindowIcon(icon)
        amroLogin.setMinimumSize(QtCore.QSize(360, 140))
        amroLogin.setMaximumSize(QtCore.QSize(360, 140))
        self.gridLayout = QtWidgets.QGridLayout(amroLogin)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(amroLogin)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.lineEditUsername = QtWidgets.QLineEdit(amroLogin)
        self.lineEditUsername.setObjectName("lineEditUsername")
        self.gridLayout.addWidget(self.lineEditUsername, 0, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(amroLogin)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.lineEditPassword = QtWidgets.QLineEdit(amroLogin)
        self.lineEditPassword.setObjectName("lineEditPassword")
        self.lineEditPassword.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
        self.gridLayout.addWidget(self.lineEditPassword, 1, 1, 1, 1)
        self.pushButton = QtWidgets.QPushButton(amroLogin)
        self.pushButton.setObjectName("pushButton")
        self.gridLayout.addWidget(self.pushButton, 2, 1, 1, 1)

        self.retranslateUi(amroLogin)
        QtCore.QMetaObject.connectSlotsByName(amroLogin)

    def retranslateUi(self, amroLogin):
        _translate = QtCore.QCoreApplication.translate
        amroLogin.setWindowTitle(_translate("amroLogin", "账户密码登录AMRO"))
        self.label.setText(_translate("amroLogin", "工号"))
        self.label_2.setText(_translate("amroLogin", "密码"))
        self.pushButton.setText(_translate("amroLogin", "登录"))
