addFlight.py 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. # Form implementation generated from reading ui file 'addFlight.ui'
  2. #
  3. # Created by: PyQt6 UI code generator 6.5.1
  4. #
  5. # WARNING: Any manual changes made to this file will be lost when pyuic6 is
  6. # run again. Do not edit this file unless you know what you are doing.
  7. from PyQt6 import QtCore, QtWidgets
  8. from PyQt6.QtGui import QIcon
  9. class Ui_FormAddFlight(object):
  10. def setupUi(self, FormAddFlight):
  11. FormAddFlight.setObjectName("FormAddFlight")
  12. FormAddFlight.resize(199, 317)
  13. FormAddFlight.setMaximumSize(QtCore.QSize(200, 320))
  14. FormAddFlight.setWindowIcon(QIcon(':/icon/1.ico'))
  15. self.gridLayout = QtWidgets.QGridLayout(FormAddFlight)
  16. self.gridLayout.setObjectName("gridLayout")
  17. self.verticalLayout = QtWidgets.QVBoxLayout()
  18. self.verticalLayout.setObjectName("verticalLayout")
  19. self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
  20. self.horizontalLayout_6.setObjectName("horizontalLayout_6")
  21. self.label_10 = QtWidgets.QLabel(parent=FormAddFlight)
  22. self.label_10.setStyleSheet("color: rgb(255, 0, 0);\n"
  23. "font: 9pt \"黑体\";")
  24. self.label_10.setTextFormat(QtCore.Qt.TextFormat.RichText)
  25. self.label_10.setScaledContents(False)
  26. self.label_10.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
  27. self.label_10.setWordWrap(True)
  28. self.label_10.setObjectName("label_10")
  29. self.horizontalLayout_6.addWidget(self.label_10)
  30. self.verticalLayout.addLayout(self.horizontalLayout_6)
  31. self.horizontalLayout = QtWidgets.QHBoxLayout()
  32. self.horizontalLayout.setObjectName("horizontalLayout")
  33. self.label_3 = QtWidgets.QLabel(parent=FormAddFlight)
  34. self.label_3.setMaximumSize(QtCore.QSize(50, 16777215))
  35. self.label_3.setObjectName("label_3")
  36. self.horizontalLayout.addWidget(self.label_3)
  37. self.comboBox = QtWidgets.QComboBox(parent=FormAddFlight)
  38. self.comboBox.setMaximumSize(QtCore.QSize(150, 16777215))
  39. self.comboBox.setObjectName("comboBox")
  40. self.horizontalLayout.addWidget(self.comboBox)
  41. self.verticalLayout.addLayout(self.horizontalLayout)
  42. self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
  43. self.horizontalLayout_2.setObjectName("horizontalLayout_2")
  44. self.label_2 = QtWidgets.QLabel(parent=FormAddFlight)
  45. self.label_2.setMaximumSize(QtCore.QSize(80, 16777215))
  46. self.label_2.setObjectName("label_2")
  47. self.horizontalLayout_2.addWidget(self.label_2)
  48. self.lineEditPWD = QtWidgets.QLineEdit(parent=FormAddFlight)
  49. self.lineEditPWD.setMaximumSize(QtCore.QSize(150, 16777215))
  50. self.lineEditPWD.setObjectName("lineEditPWD")
  51. self.horizontalLayout_2.addWidget(self.lineEditPWD)
  52. self.verticalLayout.addLayout(self.horizontalLayout_2)
  53. self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
  54. self.horizontalLayout_3.setObjectName("horizontalLayout_3")
  55. self.label = QtWidgets.QLabel(parent=FormAddFlight)
  56. self.label.setObjectName("label")
  57. self.horizontalLayout_3.addWidget(self.label)
  58. self.lineEditUser = QtWidgets.QLineEdit(parent=FormAddFlight)
  59. self.lineEditUser.setObjectName("lineEditUser")
  60. self.horizontalLayout_3.addWidget(self.lineEditUser)
  61. self.verticalLayout.addLayout(self.horizontalLayout_3)
  62. self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
  63. self.horizontalLayout_4.setObjectName("horizontalLayout_4")
  64. self.label_4 = QtWidgets.QLabel(parent=FormAddFlight)
  65. self.label_4.setObjectName("label_4")
  66. self.horizontalLayout_4.addWidget(self.label_4)
  67. self.lineEditPeople = QtWidgets.QLineEdit(parent=FormAddFlight)
  68. self.lineEditPeople.setObjectName("lineEditPeople")
  69. self.horizontalLayout_4.addWidget(self.lineEditPeople)
  70. self.verticalLayout.addLayout(self.horizontalLayout_4)
  71. self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
  72. self.horizontalLayout_5.setObjectName("horizontalLayout_5")
  73. self.label_5 = QtWidgets.QLabel(parent=FormAddFlight)
  74. self.label_5.setObjectName("label_5")
  75. self.horizontalLayout_5.addWidget(self.label_5)
  76. self.lineEdit = QtWidgets.QLineEdit(parent=FormAddFlight)
  77. self.lineEdit.setObjectName("lineEdit")
  78. self.horizontalLayout_5.addWidget(self.lineEdit)
  79. self.verticalLayout.addLayout(self.horizontalLayout_5)
  80. self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
  81. self.horizontalLayout_7.setObjectName("horizontalLayout_7")
  82. self.label_6 = QtWidgets.QLabel(parent=FormAddFlight)
  83. self.label_6.setMaximumSize(QtCore.QSize(45, 16777215))
  84. self.label_6.setObjectName("label_6")
  85. self.horizontalLayout_7.addWidget(self.label_6)
  86. self.dateEdit = QtWidgets.QDateEdit(parent=FormAddFlight)
  87. self.dateEdit.setObjectName("dateEdit")
  88. self.horizontalLayout_7.addWidget(self.dateEdit)
  89. self.verticalLayout.addLayout(self.horizontalLayout_7)
  90. self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
  91. self.horizontalLayout_8.setObjectName("horizontalLayout_8")
  92. self.label_7 = QtWidgets.QLabel(parent=FormAddFlight)
  93. self.label_7.setObjectName("label_7")
  94. self.horizontalLayout_8.addWidget(self.label_7)
  95. self.lineEdit_2 = QtWidgets.QLineEdit(parent=FormAddFlight)
  96. self.lineEdit_2.setObjectName("lineEdit_2")
  97. self.horizontalLayout_8.addWidget(self.lineEdit_2)
  98. self.verticalLayout.addLayout(self.horizontalLayout_8)
  99. self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
  100. self.horizontalLayout_10.setObjectName("horizontalLayout_10")
  101. self.label_8 = QtWidgets.QLabel(parent=FormAddFlight)
  102. self.label_8.setEnabled(True)
  103. self.label_8.setMaximumSize(QtCore.QSize(45, 16777215))
  104. self.label_8.setObjectName("label_8")
  105. self.horizontalLayout_10.addWidget(self.label_8)
  106. self.dateTimeEdit = QtWidgets.QDateTimeEdit(parent=FormAddFlight)
  107. self.dateTimeEdit.setObjectName("dateTimeEdit")
  108. self.horizontalLayout_10.addWidget(self.dateTimeEdit)
  109. self.verticalLayout.addLayout(self.horizontalLayout_10)
  110. self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
  111. self.horizontalLayout_9.setObjectName("horizontalLayout_9")
  112. self.label_9 = QtWidgets.QLabel(parent=FormAddFlight)
  113. self.label_9.setMaximumSize(QtCore.QSize(45, 16777215))
  114. self.label_9.setObjectName("label_9")
  115. self.horizontalLayout_9.addWidget(self.label_9)
  116. self.dateTimeEdit_2 = QtWidgets.QDateTimeEdit(parent=FormAddFlight)
  117. self.dateTimeEdit_2.setObjectName("dateTimeEdit_2")
  118. self.horizontalLayout_9.addWidget(self.dateTimeEdit_2)
  119. self.verticalLayout.addLayout(self.horizontalLayout_9)
  120. self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
  121. self.pushButton = QtWidgets.QPushButton(parent=FormAddFlight)
  122. self.pushButton.setObjectName("pushButton")
  123. self.gridLayout.addWidget(self.pushButton, 1, 0, 1, 1)
  124. self.retranslateUi(FormAddFlight)
  125. QtCore.QMetaObject.connectSlotsByName(FormAddFlight)
  126. def retranslateUi(self, FormAddFlight):
  127. _translate = QtCore.QCoreApplication.translate
  128. FormAddFlight.setWindowTitle(_translate("FormAddFlight", "人工添加航班信息"))
  129. self.label_10.setText(_translate("FormAdduser", "注意:人工添加请确认航班信息准确性,人工添加航班无法进行派工操作!无法自动获取航班状态!"))
  130. self.label_3.setText(_translate("FormAdduser", "航班类型"))
  131. self.label_2.setText(_translate("FormAdduser", "机 号"))
  132. self.label.setText(_translate("FormAdduser", "发 动 机"))
  133. self.label_4.setText(_translate("FormAdduser", "机 型"))
  134. self.label_5.setText(_translate("FormAdduser", "航 班 号"))
  135. self.label_6.setText(_translate("FormAdduser", "航班日期"))
  136. self.dateEdit.setDisplayFormat(_translate("FormAdduser", "yyyy-MM-dd"))
  137. self.label_7.setText(_translate("FormAdduser", "机 位"))
  138. self.label_8.setText(_translate("FormAdduser", "预计到达"))
  139. self.dateTimeEdit.setDisplayFormat(_translate("FormAdduser", "yyyy-MM-dd HH:mm:ss"))
  140. self.label_9.setText(_translate("FormAdduser", "预计起飞"))
  141. self.dateTimeEdit_2.setDisplayFormat(_translate("FormAdduser", "yyyy-MM-dd HH:mm:ss"))
  142. self.pushButton.setText(_translate("FormAdduser", "提交"))