# Form implementation generated from reading ui file 'main22.ui'
#
# Created by: PyQt6 UI code generator 6.5.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.


import base64

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


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

        """

        # 从Base64创建图标
        icon_data = base64.b64decode(icon_base64)
        pixmap = QPixmap()
        pixmap.loadFromData(QByteArray(icon_data))
        icon = QIcon(pixmap)
        Form.setObjectName("Form")
        Form.resize(1458, 846)
        Form.setWindowIcon(icon)
        self.gridLayout = QtWidgets.QGridLayout(Form)
        self.gridLayout.setObjectName("gridLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")

        self.horizontalLayout.setStretch(0, 1)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 3, 1, 1)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setSizeConstraint(QtWidgets.QLayout.SizeConstraint.SetDefaultConstraint)
        self.horizontalLayout_5.setContentsMargins(-1, 10, -1, -1)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label = QtWidgets.QLabel(parent=Form)
        self.label.setMaximumSize(QtCore.QSize(150, 19))
        font = QtGui.QFont()
        font.setFamily("黑体")
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.horizontalLayout_5.addWidget(self.label)
        self.label_5 = QtWidgets.QLabel(parent=Form)
        self.label_5.setMaximumSize(QtCore.QSize(180, 16777215))
        font = QtGui.QFont()
        font.setFamily("黑体")
        self.label_5.setFont(font)
        self.label_5.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.UpArrowCursor))
        self.label_5.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
        self.label_5.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_5.addWidget(self.label_5)
        self.lineEdit_flight = QtWidgets.QLineEdit(parent=Form)
        self.lineEdit_flight.setMaximumSize(QtCore.QSize(100, 19))
        font = QtGui.QFont()
        font.setFamily("黑体")
        self.lineEdit_flight.setFont(font)
        self.lineEdit_flight.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.IBeamCursor))
        self.lineEdit_flight.setObjectName("lineEdit_flight")
        self.horizontalLayout_5.addWidget(self.lineEdit_flight)
        self.pushbutton_searchflight = QtWidgets.QPushButton(parent=Form)
        self.pushbutton_searchflight.setMaximumSize(QtCore.QSize(65, 20))
        font = QtGui.QFont()
        font.setFamily("黑体")
        self.pushbutton_searchflight.setFont(font)
        self.pushbutton_searchflight.setCheckable(False)
        self.pushbutton_searchflight.setObjectName("pushbutton_searchflight")
        self.horizontalLayout_5.addWidget(self.pushbutton_searchflight)
        self.checkBox_3 = QtWidgets.QCheckBox(parent=Form)
        font = QtGui.QFont()
        font.setFamily("黑体")
        self.checkBox_3.setFont(font)
        self.checkBox_3.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
        self.checkBox_3.setObjectName("checkBox_3")
        self.horizontalLayout_5.addWidget(self.checkBox_3)
        self.checkBox = QtWidgets.QCheckBox(parent=Form)
        self.checkBox.setMaximumSize(QtCore.QSize(120, 19))
        font = QtGui.QFont()
        font.setFamily("黑体")
        self.checkBox.setFont(font)
        self.checkBox.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
        self.checkBox.setAutoRepeatDelay(300)
        self.checkBox.setObjectName("checkBox")
        self.horizontalLayout_5.addWidget(self.checkBox)
        self.checkBox_2 = QtWidgets.QCheckBox(parent=Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(7)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.checkBox_2.sizePolicy().hasHeightForWidth())
        self.checkBox_2.setSizePolicy(sizePolicy)
        self.checkBox_2.setMaximumSize(QtCore.QSize(120, 16777215))
        self.checkBox_2.setSizeIncrement(QtCore.QSize(0, 0))
        font = QtGui.QFont()
        font.setFamily("黑体")
        self.checkBox_2.setFont(font)
        self.checkBox_2.setLayoutDirection(QtCore.Qt.LayoutDirection.RightToLeft)
        self.checkBox_2.setObjectName("checkBox_2")
        self.horizontalLayout_5.addWidget(self.checkBox_2)
        self.gridLayout.addLayout(self.horizontalLayout_5, 0, 1, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_6 = QtWidgets.QLabel(parent=Form)
        font = QtGui.QFont()
        font.setFamily("黑体")
        self.label_6.setFont(font)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_2.addWidget(self.label_6)
        self.label_username = QtWidgets.QLabel(parent=Form)
        self.label_username.setMinimumSize(QtCore.QSize(100, 0))
        self.label_username.setMaximumSize(QtCore.QSize(100, 16777215))
        font = QtGui.QFont()
        font.setFamily("黑体")
        self.label_username.setFont(font)
        self.label_username.setObjectName("label_username")
        self.horizontalLayout_2.addWidget(self.label_username)
        self.label_10 = QtWidgets.QLabel(parent=Form)
        self.label_10.setMinimumSize(QtCore.QSize(55, 0))
        font = QtGui.QFont()
        font.setFamily("黑体")
        self.label_10.setFont(font)
        self.label_10.setObjectName("label_10")
        self.horizontalLayout_2.addWidget(self.label_10)
        self.label_11 = QtWidgets.QLabel(parent=Form)
        self.label_11.setMinimumSize(QtCore.QSize(45, 0))
        font = QtGui.QFont()
        font.setFamily("黑体")
        self.label_11.setFont(font)
        self.label_11.setObjectName("label_11")
        self.horizontalLayout_2.addWidget(self.label_11)
        self.horizontalLayout_2.setStretch(0, 1)
        self.horizontalLayout_2.setStretch(1, 4)
        self.gridLayout.addLayout(self.horizontalLayout_2, 0, 2, 1, 1)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setSizeConstraint(QtWidgets.QLayout.SizeConstraint.SetDefaultConstraint)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tableWidgetFlight = QtWidgets.QTableWidget(parent=Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tableWidgetFlight.sizePolicy().hasHeightForWidth())
        self.tableWidgetFlight.setSizePolicy(sizePolicy)
        self.tableWidgetFlight.setObjectName("tableWidgetFlight")
        self.tableWidgetFlight.setColumnCount(0)
        self.tableWidgetFlight.setRowCount(0)
        self.verticalLayout.addWidget(self.tableWidgetFlight)
        self.gridLayout.addLayout(self.verticalLayout, 2, 1, 1, 3)
        self.gridLayout.setColumnStretch(1, 40)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "天府机务分部航班电子平台"))
        self.label.setText(_translate("Form", "航班信息"))
        self.label_5.setText(_translate("Form", "查询关键词："))
        self.pushbutton_searchflight.setText(_translate("Form", "查询"))
        self.checkBox_3.setText(_translate("Form", "进港监控模式"))
        self.checkBox.setText(_translate("Form", "短停勤务分离显示"))
        self.checkBox_2.setText(_translate("Form", "隐藏保障结束航班"))
        self.label_6.setText(_translate("Form", "当前用户："))
        self.label_username.setText(_translate("Form", "无"))
        self.label_10.setText(_translate("Form", "服务器状态："))
        self.label_11.setText(_translate("Form", "无"))