# Form implementation generated from reading ui file 'handoverFlight.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 , QtWidgets
from PyQt6 import QtGui
from PyQt6.QtCore import QByteArray
from PyQt6.QtGui import QIcon , QPixmap


class Ui_handoverFlight(object):
    def setupUi(self, handoverFlight):

        icon_base64 = """
        [encoded data, 360532 characters]

        """
        # 从Base64创建图标
        icon_data = base64.b64decode(icon_base64)
        pixmap = QPixmap()
        pixmap.loadFromData(QByteArray(icon_data))
        icon = QIcon(pixmap)
        handoverFlight.setObjectName("handoverFlight")
        handoverFlight.resize(800 , 1000)
        handoverFlight.setWindowIcon(icon)
        self.gridLayout = QtWidgets.QGridLayout(handoverFlight)
        self.gridLayout.setObjectName("gridLayout")
        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.pushButton = QtWidgets.QPushButton(parent = handoverFlight)
        self.pushButton.setObjectName("pushButton")
        self.horizontalLayout_5.addWidget(self.pushButton)
        self.gridLayout.addLayout(self.horizontalLayout_5 , 0 , 1 , 2 , 1)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setSizeConstraint(QtWidgets.QLayout.SizeConstraint.SetDefaultConstraint)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_2 = QtWidgets.QLabel(parent = handoverFlight)
        self.label_2.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum , QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setMaximumSize(QtCore.QSize(16777215 , 16777215))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setUnderline(True)
        self.label_2.setStyleSheet("color: red; background-color: yellow;")
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2 , 0 , QtCore.Qt.AlignmentFlag.AlignHCenter)
        self.tableWidgetFlight = QtWidgets.QTableWidget(parent = handoverFlight)
        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.setMouseTracking(True)
        self.tableWidgetFlight.setTabletTracking(True)
        self.tableWidgetFlight.setAcceptDrops(True)
        self.tableWidgetFlight.setDragDropMode(QtWidgets.QAbstractItemView.DragDropMode.DropOnly)
        self.tableWidgetFlight.setDefaultDropAction(QtCore.Qt.DropAction.CopyAction)
        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 , 1)

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

    def retranslateUi(self, handoverFlight):
        _translate = QtCore.QCoreApplication.translate
        handoverFlight.setWindowTitle(_translate("handoverFlight", "交班航班信息梳理"))
        self.pushButton.setText(_translate("handoverFlight", "确认交接"))
        self.label_2.setText(_translate("handoverFlight", "灰白相间颜色为正在保障的航班，蓝色为保障结束航班！若未派工无法进行交接，如需交接请先派工！"))
