VersionSet.py 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'VersionSet.ui'
  3. #
  4. # Created by: PyQt5 UI code generator 5.15.4
  5. #
  6. # WARNING: Any manual changes made to this file will be lost when pyuic5 is
  7. # run again. Do not edit this file unless you know what you are doing.
  8. from PyQt5 import QtCore, QtGui, QtWidgets
  9. class Ui_Form(object):
  10. def setupUi(self, Form):
  11. Form.setObjectName("Form")
  12. Form.resize(555, 637)
  13. font = QtGui.QFont()
  14. font.setPointSize(14)
  15. Form.setFont(font)
  16. self.gridLayout = QtWidgets.QGridLayout(Form)
  17. self.gridLayout.setObjectName("gridLayout")
  18. self.groupBox_6 = QtWidgets.QGroupBox(Form)
  19. self.groupBox_6.setObjectName("groupBox_6")
  20. self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.groupBox_6)
  21. self.horizontalLayout_9.setObjectName("horizontalLayout_9")
  22. self.label_8 = QtWidgets.QLabel(self.groupBox_6)
  23. font = QtGui.QFont()
  24. font.setPointSize(14)
  25. font.setBold(True)
  26. font.setWeight(75)
  27. self.label_8.setFont(font)
  28. self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
  29. self.label_8.setObjectName("label_8")
  30. self.horizontalLayout_9.addWidget(self.label_8)
  31. self.capVoltage = QtWidgets.QComboBox(self.groupBox_6)
  32. self.capVoltage.setObjectName("capVoltage")
  33. self.horizontalLayout_9.addWidget(self.capVoltage)
  34. self.horizontalLayout_9.setStretch(1, 1)
  35. self.gridLayout.addWidget(self.groupBox_6, 2, 0, 1, 1)
  36. self.groupBox_3 = QtWidgets.QGroupBox(Form)
  37. self.groupBox_3.setObjectName("groupBox_3")
  38. self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.groupBox_3)
  39. self.horizontalLayout_3.setObjectName("horizontalLayout_3")
  40. self.label_6 = QtWidgets.QLabel(self.groupBox_3)
  41. font = QtGui.QFont()
  42. font.setPointSize(14)
  43. font.setBold(True)
  44. font.setWeight(75)
  45. self.label_6.setFont(font)
  46. self.label_6.setObjectName("label_6")
  47. self.horizontalLayout_3.addWidget(self.label_6)
  48. self.bridgeType = QtWidgets.QComboBox(self.groupBox_3)
  49. self.bridgeType.setObjectName("bridgeType")
  50. self.horizontalLayout_3.addWidget(self.bridgeType)
  51. self.label_7 = QtWidgets.QLabel(self.groupBox_3)
  52. font = QtGui.QFont()
  53. font.setPointSize(14)
  54. font.setBold(True)
  55. font.setWeight(75)
  56. self.label_7.setFont(font)
  57. self.label_7.setObjectName("label_7")
  58. self.horizontalLayout_3.addWidget(self.label_7)
  59. self.bridgeValue = QtWidgets.QComboBox(self.groupBox_3)
  60. self.bridgeValue.setObjectName("bridgeValue")
  61. self.horizontalLayout_3.addWidget(self.bridgeValue)
  62. self.horizontalLayout_3.setStretch(1, 1)
  63. self.horizontalLayout_3.setStretch(3, 1)
  64. self.gridLayout.addWidget(self.groupBox_3, 4, 0, 1, 1)
  65. self.groupBox_5 = QtWidgets.QGroupBox(Form)
  66. self.groupBox_5.setObjectName("groupBox_5")
  67. self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_5)
  68. self.gridLayout_2.setObjectName("gridLayout_2")
  69. self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
  70. self.horizontalLayout_5.setObjectName("horizontalLayout_5")
  71. self.label_15 = QtWidgets.QLabel(self.groupBox_5)
  72. font = QtGui.QFont()
  73. font.setPointSize(14)
  74. font.setBold(True)
  75. font.setWeight(75)
  76. self.label_15.setFont(font)
  77. self.label_15.setObjectName("label_15")
  78. self.horizontalLayout_5.addWidget(self.label_15)
  79. self.pcbVender = QtWidgets.QComboBox(self.groupBox_5)
  80. self.pcbVender.setObjectName("pcbVender")
  81. self.horizontalLayout_5.addWidget(self.pcbVender)
  82. self.label_12 = QtWidgets.QLabel(self.groupBox_5)
  83. font = QtGui.QFont()
  84. font.setPointSize(14)
  85. font.setBold(True)
  86. font.setWeight(75)
  87. self.label_12.setFont(font)
  88. self.label_12.setObjectName("label_12")
  89. self.horizontalLayout_5.addWidget(self.label_12)
  90. self.pcbVer = QtWidgets.QComboBox(self.groupBox_5)
  91. self.pcbVer.setObjectName("pcbVer")
  92. self.horizontalLayout_5.addWidget(self.pcbVer)
  93. self.horizontalLayout_5.setStretch(1, 1)
  94. self.horizontalLayout_5.setStretch(3, 1)
  95. self.gridLayout_2.addLayout(self.horizontalLayout_5, 0, 0, 1, 1)
  96. self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
  97. self.horizontalLayout_10.setObjectName("horizontalLayout_10")
  98. self.label_13 = QtWidgets.QLabel(self.groupBox_5)
  99. font = QtGui.QFont()
  100. font.setPointSize(14)
  101. font.setBold(True)
  102. font.setWeight(75)
  103. self.label_13.setFont(font)
  104. self.label_13.setObjectName("label_13")
  105. self.horizontalLayout_10.addWidget(self.label_13)
  106. self.lineType = QtWidgets.QComboBox(self.groupBox_5)
  107. self.lineType.setObjectName("lineType")
  108. self.horizontalLayout_10.addWidget(self.lineType)
  109. self.horizontalLayout_10.setStretch(1, 1)
  110. self.gridLayout_2.addLayout(self.horizontalLayout_10, 1, 0, 1, 1)
  111. self.gridLayout.addWidget(self.groupBox_5, 5, 0, 1, 1)
  112. self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
  113. self.horizontalLayout_7.setObjectName("horizontalLayout_7")
  114. self.label = QtWidgets.QLabel(Form)
  115. font = QtGui.QFont()
  116. font.setPointSize(14)
  117. font.setBold(True)
  118. font.setWeight(75)
  119. self.label.setFont(font)
  120. self.label.setObjectName("label")
  121. self.horizontalLayout_7.addWidget(self.label)
  122. self.versionCode = QtWidgets.QLabel(Form)
  123. self.versionCode.setObjectName("versionCode")
  124. self.horizontalLayout_7.addWidget(self.versionCode)
  125. self.commit = QtWidgets.QPushButton(Form)
  126. self.commit.setMinimumSize(QtCore.QSize(120, 35))
  127. font = QtGui.QFont()
  128. font.setPointSize(14)
  129. font.setBold(True)
  130. font.setWeight(75)
  131. self.commit.setFont(font)
  132. self.commit.setObjectName("commit")
  133. self.horizontalLayout_7.addWidget(self.commit)
  134. self.horizontalLayout_7.setStretch(1, 1)
  135. self.gridLayout.addLayout(self.horizontalLayout_7, 7, 0, 1, 1)
  136. self.groupBox = QtWidgets.QGroupBox(Form)
  137. self.groupBox.setObjectName("groupBox")
  138. self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox)
  139. self.horizontalLayout.setObjectName("horizontalLayout")
  140. self.label_2 = QtWidgets.QLabel(self.groupBox)
  141. font = QtGui.QFont()
  142. font.setPointSize(14)
  143. font.setBold(True)
  144. font.setWeight(75)
  145. self.label_2.setFont(font)
  146. self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
  147. self.label_2.setObjectName("label_2")
  148. self.horizontalLayout.addWidget(self.label_2)
  149. self.workCapValue = QtWidgets.QComboBox(self.groupBox)
  150. self.workCapValue.setObjectName("workCapValue")
  151. self.horizontalLayout.addWidget(self.workCapValue)
  152. self.label_14 = QtWidgets.QLabel(self.groupBox)
  153. font = QtGui.QFont()
  154. font.setPointSize(14)
  155. font.setBold(True)
  156. font.setWeight(75)
  157. self.label_14.setFont(font)
  158. self.label_14.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
  159. self.label_14.setObjectName("label_14")
  160. self.horizontalLayout.addWidget(self.label_14)
  161. self.workCapVender = QtWidgets.QComboBox(self.groupBox)
  162. self.workCapVender.setObjectName("workCapVender")
  163. self.horizontalLayout.addWidget(self.workCapVender)
  164. self.horizontalLayout.setStretch(1, 1)
  165. self.horizontalLayout.setStretch(3, 1)
  166. self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 1)
  167. self.groupBox_4 = QtWidgets.QGroupBox(Form)
  168. self.groupBox_4.setObjectName("groupBox_4")
  169. self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox_4)
  170. self.horizontalLayout_4.setObjectName("horizontalLayout_4")
  171. self.label_9 = QtWidgets.QLabel(self.groupBox_4)
  172. font = QtGui.QFont()
  173. font.setPointSize(14)
  174. font.setBold(True)
  175. font.setWeight(75)
  176. self.label_9.setFont(font)
  177. self.label_9.setObjectName("label_9")
  178. self.horizontalLayout_4.addWidget(self.label_9)
  179. self.chipVer_1 = QtWidgets.QComboBox(self.groupBox_4)
  180. self.chipVer_1.setObjectName("chipVer_1")
  181. self.horizontalLayout_4.addWidget(self.chipVer_1)
  182. self.label_10 = QtWidgets.QLabel(self.groupBox_4)
  183. font = QtGui.QFont()
  184. font.setPointSize(14)
  185. font.setBold(True)
  186. font.setWeight(75)
  187. self.label_10.setFont(font)
  188. self.label_10.setObjectName("label_10")
  189. self.horizontalLayout_4.addWidget(self.label_10)
  190. self.chipVer_2 = QtWidgets.QComboBox(self.groupBox_4)
  191. self.chipVer_2.setObjectName("chipVer_2")
  192. self.horizontalLayout_4.addWidget(self.chipVer_2)
  193. self.horizontalLayout_4.setStretch(1, 1)
  194. self.horizontalLayout_4.setStretch(3, 1)
  195. self.gridLayout.addWidget(self.groupBox_4, 3, 0, 1, 1)
  196. self.groupBox_7 = QtWidgets.QGroupBox(Form)
  197. self.groupBox_7.setObjectName("groupBox_7")
  198. self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.groupBox_7)
  199. self.horizontalLayout_8.setObjectName("horizontalLayout_8")
  200. self.label_16 = QtWidgets.QLabel(self.groupBox_7)
  201. font = QtGui.QFont()
  202. font.setPointSize(14)
  203. font.setBold(True)
  204. font.setWeight(75)
  205. self.label_16.setFont(font)
  206. self.label_16.setObjectName("label_16")
  207. self.horizontalLayout_8.addWidget(self.label_16)
  208. self.productDate = QtWidgets.QDateEdit(self.groupBox_7)
  209. self.productDate.setMaximumDateTime(QtCore.QDateTime(QtCore.QDate(2029, 12, 31), QtCore.QTime(23, 59, 59)))
  210. self.productDate.setMinimumDate(QtCore.QDate(2023, 1, 1))
  211. self.productDate.setObjectName("productDate")
  212. self.horizontalLayout_8.addWidget(self.productDate)
  213. self.horizontalLayout_8.setStretch(1, 1)
  214. self.gridLayout.addWidget(self.groupBox_7, 6, 0, 1, 1)
  215. self.groupBox_2 = QtWidgets.QGroupBox(Form)
  216. self.groupBox_2.setObjectName("groupBox_2")
  217. self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox_2)
  218. self.horizontalLayout_2.setObjectName("horizontalLayout_2")
  219. self.label_3 = QtWidgets.QLabel(self.groupBox_2)
  220. font = QtGui.QFont()
  221. font.setPointSize(14)
  222. font.setBold(True)
  223. font.setWeight(75)
  224. self.label_3.setFont(font)
  225. self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
  226. self.label_3.setObjectName("label_3")
  227. self.horizontalLayout_2.addWidget(self.label_3)
  228. self.blastCapValue = QtWidgets.QComboBox(self.groupBox_2)
  229. self.blastCapValue.setObjectName("blastCapValue")
  230. self.horizontalLayout_2.addWidget(self.blastCapValue)
  231. self.label_5 = QtWidgets.QLabel(self.groupBox_2)
  232. font = QtGui.QFont()
  233. font.setPointSize(14)
  234. font.setBold(True)
  235. font.setWeight(75)
  236. self.label_5.setFont(font)
  237. self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
  238. self.label_5.setObjectName("label_5")
  239. self.horizontalLayout_2.addWidget(self.label_5)
  240. self.blastCapVender = QtWidgets.QComboBox(self.groupBox_2)
  241. self.blastCapVender.setObjectName("blastCapVender")
  242. self.horizontalLayout_2.addWidget(self.blastCapVender)
  243. self.horizontalLayout_2.setStretch(1, 1)
  244. self.horizontalLayout_2.setStretch(3, 1)
  245. self.gridLayout.addWidget(self.groupBox_2, 1, 0, 1, 1)
  246. self.retranslateUi(Form)
  247. QtCore.QMetaObject.connectSlotsByName(Form)
  248. def retranslateUi(self, Form):
  249. _translate = QtCore.QCoreApplication.translate
  250. Form.setWindowTitle(_translate("Form", "Form"))
  251. self.groupBox_6.setTitle(_translate("Form", "数字电容和起爆电容"))
  252. self.label_8.setText(_translate("Form", "耐压"))
  253. self.groupBox_3.setTitle(_translate("Form", "桥丝"))
  254. self.label_6.setText(_translate("Form", "引火件形式"))
  255. self.label_7.setText(_translate("Form", "桥丝规格"))
  256. self.groupBox_5.setTitle(_translate("Form", "PCB"))
  257. self.label_15.setText(_translate("Form", "PCB供应商"))
  258. self.label_12.setText(_translate("Form", "PCB版本流水号"))
  259. self.label_13.setText(_translate("Form", "脚线连接方式"))
  260. self.label.setText(_translate("Form", "版本代码:"))
  261. self.versionCode.setText(_translate("Form", "001122"))
  262. self.commit.setText(_translate("Form", "确定"))
  263. self.groupBox.setTitle(_translate("Form", "数字电容"))
  264. self.label_2.setText(_translate("Form", "容值"))
  265. self.label_14.setText(_translate("Form", "品牌"))
  266. self.groupBox_4.setTitle(_translate("Form", "芯片"))
  267. self.label_9.setText(_translate("Form", "芯片主版本"))
  268. self.label_10.setText(_translate("Form", "芯片次版本"))
  269. self.groupBox_7.setTitle(_translate("Form", "发料日期"))
  270. self.label_16.setText(_translate("Form", "发料日期"))
  271. self.productDate.setDisplayFormat(_translate("Form", "yyyy年M月d日"))
  272. self.groupBox_2.setTitle(_translate("Form", "起爆电容"))
  273. self.label_3.setText(_translate("Form", "容值"))
  274. self.label_5.setText(_translate("Form", "品牌"))