|
@@ -14,12 +14,74 @@ from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
class Ui_Form(object):
|
|
|
def setupUi(self, Form):
|
|
|
Form.setObjectName("Form")
|
|
|
- Form.resize(555, 637)
|
|
|
+ Form.resize(555, 668)
|
|
|
font = QtGui.QFont()
|
|
|
font.setPointSize(14)
|
|
|
Form.setFont(font)
|
|
|
self.gridLayout = QtWidgets.QGridLayout(Form)
|
|
|
self.gridLayout.setObjectName("gridLayout")
|
|
|
+ self.groupBox = QtWidgets.QGroupBox(Form)
|
|
|
+ self.groupBox.setObjectName("groupBox")
|
|
|
+ self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox)
|
|
|
+ self.horizontalLayout.setObjectName("horizontalLayout")
|
|
|
+ self.label_2 = QtWidgets.QLabel(self.groupBox)
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setPointSize(14)
|
|
|
+ font.setBold(True)
|
|
|
+ font.setWeight(75)
|
|
|
+ self.label_2.setFont(font)
|
|
|
+ self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
|
+ self.label_2.setObjectName("label_2")
|
|
|
+ self.horizontalLayout.addWidget(self.label_2)
|
|
|
+ self.workCapValue = QtWidgets.QComboBox(self.groupBox)
|
|
|
+ self.workCapValue.setObjectName("workCapValue")
|
|
|
+ self.horizontalLayout.addWidget(self.workCapValue)
|
|
|
+ self.label_14 = QtWidgets.QLabel(self.groupBox)
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setPointSize(14)
|
|
|
+ font.setBold(True)
|
|
|
+ font.setWeight(75)
|
|
|
+ self.label_14.setFont(font)
|
|
|
+ self.label_14.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
|
+ self.label_14.setObjectName("label_14")
|
|
|
+ self.horizontalLayout.addWidget(self.label_14)
|
|
|
+ self.workCapVender = QtWidgets.QComboBox(self.groupBox)
|
|
|
+ self.workCapVender.setObjectName("workCapVender")
|
|
|
+ self.horizontalLayout.addWidget(self.workCapVender)
|
|
|
+ self.horizontalLayout.setStretch(1, 1)
|
|
|
+ self.horizontalLayout.setStretch(3, 1)
|
|
|
+ self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 1)
|
|
|
+ self.groupBox_2 = QtWidgets.QGroupBox(Form)
|
|
|
+ self.groupBox_2.setObjectName("groupBox_2")
|
|
|
+ self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox_2)
|
|
|
+ self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
|
+ self.label_3 = QtWidgets.QLabel(self.groupBox_2)
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setPointSize(14)
|
|
|
+ font.setBold(True)
|
|
|
+ font.setWeight(75)
|
|
|
+ self.label_3.setFont(font)
|
|
|
+ self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
|
+ self.label_3.setObjectName("label_3")
|
|
|
+ self.horizontalLayout_2.addWidget(self.label_3)
|
|
|
+ self.blastCapValue = QtWidgets.QComboBox(self.groupBox_2)
|
|
|
+ self.blastCapValue.setObjectName("blastCapValue")
|
|
|
+ self.horizontalLayout_2.addWidget(self.blastCapValue)
|
|
|
+ self.label_5 = QtWidgets.QLabel(self.groupBox_2)
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setPointSize(14)
|
|
|
+ font.setBold(True)
|
|
|
+ font.setWeight(75)
|
|
|
+ self.label_5.setFont(font)
|
|
|
+ self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
|
+ self.label_5.setObjectName("label_5")
|
|
|
+ self.horizontalLayout_2.addWidget(self.label_5)
|
|
|
+ self.blastCapVender = QtWidgets.QComboBox(self.groupBox_2)
|
|
|
+ self.blastCapVender.setObjectName("blastCapVender")
|
|
|
+ self.horizontalLayout_2.addWidget(self.blastCapVender)
|
|
|
+ self.horizontalLayout_2.setStretch(1, 1)
|
|
|
+ self.horizontalLayout_2.setStretch(3, 1)
|
|
|
+ self.gridLayout.addWidget(self.groupBox_2, 1, 0, 1, 1)
|
|
|
self.groupBox_6 = QtWidgets.QGroupBox(Form)
|
|
|
self.groupBox_6.setObjectName("groupBox_6")
|
|
|
self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.groupBox_6)
|
|
@@ -38,6 +100,35 @@ class Ui_Form(object):
|
|
|
self.horizontalLayout_9.addWidget(self.capVoltage)
|
|
|
self.horizontalLayout_9.setStretch(1, 1)
|
|
|
self.gridLayout.addWidget(self.groupBox_6, 2, 0, 1, 1)
|
|
|
+ self.groupBox_4 = QtWidgets.QGroupBox(Form)
|
|
|
+ self.groupBox_4.setObjectName("groupBox_4")
|
|
|
+ self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox_4)
|
|
|
+ self.horizontalLayout_4.setObjectName("horizontalLayout_4")
|
|
|
+ self.label_9 = QtWidgets.QLabel(self.groupBox_4)
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setPointSize(14)
|
|
|
+ font.setBold(True)
|
|
|
+ font.setWeight(75)
|
|
|
+ self.label_9.setFont(font)
|
|
|
+ self.label_9.setObjectName("label_9")
|
|
|
+ self.horizontalLayout_4.addWidget(self.label_9)
|
|
|
+ self.chipVer_1 = QtWidgets.QComboBox(self.groupBox_4)
|
|
|
+ self.chipVer_1.setObjectName("chipVer_1")
|
|
|
+ self.horizontalLayout_4.addWidget(self.chipVer_1)
|
|
|
+ self.label_10 = QtWidgets.QLabel(self.groupBox_4)
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setPointSize(14)
|
|
|
+ font.setBold(True)
|
|
|
+ font.setWeight(75)
|
|
|
+ self.label_10.setFont(font)
|
|
|
+ self.label_10.setObjectName("label_10")
|
|
|
+ self.horizontalLayout_4.addWidget(self.label_10)
|
|
|
+ self.chipVer_2 = QtWidgets.QComboBox(self.groupBox_4)
|
|
|
+ self.chipVer_2.setObjectName("chipVer_2")
|
|
|
+ self.horizontalLayout_4.addWidget(self.chipVer_2)
|
|
|
+ self.horizontalLayout_4.setStretch(1, 1)
|
|
|
+ self.horizontalLayout_4.setStretch(3, 1)
|
|
|
+ self.gridLayout.addWidget(self.groupBox_4, 3, 0, 1, 1)
|
|
|
self.groupBox_3 = QtWidgets.QGroupBox(Form)
|
|
|
self.groupBox_3.setObjectName("groupBox_3")
|
|
|
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.groupBox_3)
|
|
@@ -114,90 +205,6 @@ class Ui_Form(object):
|
|
|
self.horizontalLayout_10.setStretch(1, 1)
|
|
|
self.gridLayout_2.addLayout(self.horizontalLayout_10, 1, 0, 1, 1)
|
|
|
self.gridLayout.addWidget(self.groupBox_5, 5, 0, 1, 1)
|
|
|
- self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
|
|
|
- self.horizontalLayout_7.setObjectName("horizontalLayout_7")
|
|
|
- self.label = QtWidgets.QLabel(Form)
|
|
|
- font = QtGui.QFont()
|
|
|
- font.setPointSize(14)
|
|
|
- font.setBold(True)
|
|
|
- font.setWeight(75)
|
|
|
- self.label.setFont(font)
|
|
|
- self.label.setObjectName("label")
|
|
|
- self.horizontalLayout_7.addWidget(self.label)
|
|
|
- self.versionCode = QtWidgets.QLabel(Form)
|
|
|
- self.versionCode.setObjectName("versionCode")
|
|
|
- self.horizontalLayout_7.addWidget(self.versionCode)
|
|
|
- self.commit = QtWidgets.QPushButton(Form)
|
|
|
- self.commit.setMinimumSize(QtCore.QSize(120, 35))
|
|
|
- font = QtGui.QFont()
|
|
|
- font.setPointSize(14)
|
|
|
- font.setBold(True)
|
|
|
- font.setWeight(75)
|
|
|
- self.commit.setFont(font)
|
|
|
- self.commit.setObjectName("commit")
|
|
|
- self.horizontalLayout_7.addWidget(self.commit)
|
|
|
- self.horizontalLayout_7.setStretch(1, 1)
|
|
|
- self.gridLayout.addLayout(self.horizontalLayout_7, 7, 0, 1, 1)
|
|
|
- self.groupBox = QtWidgets.QGroupBox(Form)
|
|
|
- self.groupBox.setObjectName("groupBox")
|
|
|
- self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox)
|
|
|
- self.horizontalLayout.setObjectName("horizontalLayout")
|
|
|
- self.label_2 = QtWidgets.QLabel(self.groupBox)
|
|
|
- font = QtGui.QFont()
|
|
|
- font.setPointSize(14)
|
|
|
- font.setBold(True)
|
|
|
- font.setWeight(75)
|
|
|
- self.label_2.setFont(font)
|
|
|
- self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
|
- self.label_2.setObjectName("label_2")
|
|
|
- self.horizontalLayout.addWidget(self.label_2)
|
|
|
- self.workCapValue = QtWidgets.QComboBox(self.groupBox)
|
|
|
- self.workCapValue.setObjectName("workCapValue")
|
|
|
- self.horizontalLayout.addWidget(self.workCapValue)
|
|
|
- self.label_14 = QtWidgets.QLabel(self.groupBox)
|
|
|
- font = QtGui.QFont()
|
|
|
- font.setPointSize(14)
|
|
|
- font.setBold(True)
|
|
|
- font.setWeight(75)
|
|
|
- self.label_14.setFont(font)
|
|
|
- self.label_14.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
|
- self.label_14.setObjectName("label_14")
|
|
|
- self.horizontalLayout.addWidget(self.label_14)
|
|
|
- self.workCapVender = QtWidgets.QComboBox(self.groupBox)
|
|
|
- self.workCapVender.setObjectName("workCapVender")
|
|
|
- self.horizontalLayout.addWidget(self.workCapVender)
|
|
|
- self.horizontalLayout.setStretch(1, 1)
|
|
|
- self.horizontalLayout.setStretch(3, 1)
|
|
|
- self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 1)
|
|
|
- self.groupBox_4 = QtWidgets.QGroupBox(Form)
|
|
|
- self.groupBox_4.setObjectName("groupBox_4")
|
|
|
- self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox_4)
|
|
|
- self.horizontalLayout_4.setObjectName("horizontalLayout_4")
|
|
|
- self.label_9 = QtWidgets.QLabel(self.groupBox_4)
|
|
|
- font = QtGui.QFont()
|
|
|
- font.setPointSize(14)
|
|
|
- font.setBold(True)
|
|
|
- font.setWeight(75)
|
|
|
- self.label_9.setFont(font)
|
|
|
- self.label_9.setObjectName("label_9")
|
|
|
- self.horizontalLayout_4.addWidget(self.label_9)
|
|
|
- self.chipVer_1 = QtWidgets.QComboBox(self.groupBox_4)
|
|
|
- self.chipVer_1.setObjectName("chipVer_1")
|
|
|
- self.horizontalLayout_4.addWidget(self.chipVer_1)
|
|
|
- self.label_10 = QtWidgets.QLabel(self.groupBox_4)
|
|
|
- font = QtGui.QFont()
|
|
|
- font.setPointSize(14)
|
|
|
- font.setBold(True)
|
|
|
- font.setWeight(75)
|
|
|
- self.label_10.setFont(font)
|
|
|
- self.label_10.setObjectName("label_10")
|
|
|
- self.horizontalLayout_4.addWidget(self.label_10)
|
|
|
- self.chipVer_2 = QtWidgets.QComboBox(self.groupBox_4)
|
|
|
- self.chipVer_2.setObjectName("chipVer_2")
|
|
|
- self.horizontalLayout_4.addWidget(self.chipVer_2)
|
|
|
- self.horizontalLayout_4.setStretch(1, 1)
|
|
|
- self.horizontalLayout_4.setStretch(3, 1)
|
|
|
- self.gridLayout.addWidget(self.groupBox_4, 3, 0, 1, 1)
|
|
|
self.groupBox_7 = QtWidgets.QGroupBox(Form)
|
|
|
self.groupBox_7.setObjectName("groupBox_7")
|
|
|
self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.groupBox_7)
|
|
@@ -217,37 +224,57 @@ class Ui_Form(object):
|
|
|
self.horizontalLayout_8.addWidget(self.productDate)
|
|
|
self.horizontalLayout_8.setStretch(1, 1)
|
|
|
self.gridLayout.addWidget(self.groupBox_7, 6, 0, 1, 1)
|
|
|
- self.groupBox_2 = QtWidgets.QGroupBox(Form)
|
|
|
- self.groupBox_2.setObjectName("groupBox_2")
|
|
|
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox_2)
|
|
|
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
|
- self.label_3 = QtWidgets.QLabel(self.groupBox_2)
|
|
|
+ self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
|
|
|
+ self.horizontalLayout_6.setObjectName("horizontalLayout_6")
|
|
|
+ self.lab_dir = QtWidgets.QLabel(Form)
|
|
|
+ self.lab_dir.setMaximumSize(QtCore.QSize(100, 16777215))
|
|
|
font = QtGui.QFont()
|
|
|
font.setPointSize(14)
|
|
|
font.setBold(True)
|
|
|
font.setWeight(75)
|
|
|
- self.label_3.setFont(font)
|
|
|
- self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
|
- self.label_3.setObjectName("label_3")
|
|
|
- self.horizontalLayout_2.addWidget(self.label_3)
|
|
|
- self.blastCapValue = QtWidgets.QComboBox(self.groupBox_2)
|
|
|
- self.blastCapValue.setObjectName("blastCapValue")
|
|
|
- self.horizontalLayout_2.addWidget(self.blastCapValue)
|
|
|
- self.label_5 = QtWidgets.QLabel(self.groupBox_2)
|
|
|
+ self.lab_dir.setFont(font)
|
|
|
+ self.lab_dir.setObjectName("lab_dir")
|
|
|
+ self.horizontalLayout_6.addWidget(self.lab_dir)
|
|
|
+ self.dir = QtWidgets.QLabel(Form)
|
|
|
+ self.dir.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
|
|
|
+ self.dir.setObjectName("dir")
|
|
|
+ self.horizontalLayout_6.addWidget(self.dir)
|
|
|
+ self.change_dir = QtWidgets.QPushButton(Form)
|
|
|
+ self.change_dir.setMinimumSize(QtCore.QSize(100, 35))
|
|
|
+ self.change_dir.setMaximumSize(QtCore.QSize(100, 16777215))
|
|
|
font = QtGui.QFont()
|
|
|
font.setPointSize(14)
|
|
|
font.setBold(True)
|
|
|
font.setWeight(75)
|
|
|
- self.label_5.setFont(font)
|
|
|
- self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
|
- self.label_5.setObjectName("label_5")
|
|
|
- self.horizontalLayout_2.addWidget(self.label_5)
|
|
|
- self.blastCapVender = QtWidgets.QComboBox(self.groupBox_2)
|
|
|
- self.blastCapVender.setObjectName("blastCapVender")
|
|
|
- self.horizontalLayout_2.addWidget(self.blastCapVender)
|
|
|
- self.horizontalLayout_2.setStretch(1, 1)
|
|
|
- self.horizontalLayout_2.setStretch(3, 1)
|
|
|
- self.gridLayout.addWidget(self.groupBox_2, 1, 0, 1, 1)
|
|
|
+ self.change_dir.setFont(font)
|
|
|
+ self.change_dir.setObjectName("change_dir")
|
|
|
+ self.horizontalLayout_6.addWidget(self.change_dir)
|
|
|
+ self.gridLayout.addLayout(self.horizontalLayout_6, 7, 0, 1, 1)
|
|
|
+ self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
|
|
|
+ self.horizontalLayout_7.setObjectName("horizontalLayout_7")
|
|
|
+ self.label = QtWidgets.QLabel(Form)
|
|
|
+ self.label.setMaximumSize(QtCore.QSize(100, 16777215))
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setPointSize(14)
|
|
|
+ font.setBold(True)
|
|
|
+ font.setWeight(75)
|
|
|
+ self.label.setFont(font)
|
|
|
+ self.label.setObjectName("label")
|
|
|
+ self.horizontalLayout_7.addWidget(self.label)
|
|
|
+ self.versionCode = QtWidgets.QLabel(Form)
|
|
|
+ self.versionCode.setObjectName("versionCode")
|
|
|
+ self.horizontalLayout_7.addWidget(self.versionCode)
|
|
|
+ self.commit = QtWidgets.QPushButton(Form)
|
|
|
+ self.commit.setMinimumSize(QtCore.QSize(100, 35))
|
|
|
+ self.commit.setMaximumSize(QtCore.QSize(100, 16777215))
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setPointSize(14)
|
|
|
+ font.setBold(True)
|
|
|
+ font.setWeight(75)
|
|
|
+ self.commit.setFont(font)
|
|
|
+ self.commit.setObjectName("commit")
|
|
|
+ self.horizontalLayout_7.addWidget(self.commit)
|
|
|
+ self.gridLayout.addLayout(self.horizontalLayout_7, 8, 0, 1, 1)
|
|
|
|
|
|
self.retranslateUi(Form)
|
|
|
QtCore.QMetaObject.connectSlotsByName(Form)
|
|
@@ -255,8 +282,17 @@ class Ui_Form(object):
|
|
|
def retranslateUi(self, Form):
|
|
|
_translate = QtCore.QCoreApplication.translate
|
|
|
Form.setWindowTitle(_translate("Form", "Form"))
|
|
|
+ self.groupBox.setTitle(_translate("Form", "数字电容"))
|
|
|
+ self.label_2.setText(_translate("Form", "容值"))
|
|
|
+ self.label_14.setText(_translate("Form", "品牌"))
|
|
|
+ self.groupBox_2.setTitle(_translate("Form", "起爆电容"))
|
|
|
+ self.label_3.setText(_translate("Form", "容值"))
|
|
|
+ self.label_5.setText(_translate("Form", "品牌"))
|
|
|
self.groupBox_6.setTitle(_translate("Form", "数字电容和起爆电容"))
|
|
|
self.label_8.setText(_translate("Form", "耐压"))
|
|
|
+ self.groupBox_4.setTitle(_translate("Form", "芯片"))
|
|
|
+ self.label_9.setText(_translate("Form", "芯片主版本"))
|
|
|
+ self.label_10.setText(_translate("Form", "芯片次版本"))
|
|
|
self.groupBox_3.setTitle(_translate("Form", "桥丝"))
|
|
|
self.label_6.setText(_translate("Form", "引火件形式"))
|
|
|
self.label_7.setText(_translate("Form", "桥丝规格"))
|
|
@@ -264,18 +300,12 @@ class Ui_Form(object):
|
|
|
self.label_15.setText(_translate("Form", "PCB供应商"))
|
|
|
self.label_12.setText(_translate("Form", "PCB版本流水号"))
|
|
|
self.label_13.setText(_translate("Form", "脚线连接方式"))
|
|
|
- self.label.setText(_translate("Form", "版本代码:"))
|
|
|
- self.versionCode.setText(_translate("Form", "001122"))
|
|
|
- self.commit.setText(_translate("Form", "确定"))
|
|
|
- self.groupBox.setTitle(_translate("Form", "数字电容"))
|
|
|
- self.label_2.setText(_translate("Form", "容值"))
|
|
|
- self.label_14.setText(_translate("Form", "品牌"))
|
|
|
- self.groupBox_4.setTitle(_translate("Form", "芯片"))
|
|
|
- self.label_9.setText(_translate("Form", "芯片主版本"))
|
|
|
- self.label_10.setText(_translate("Form", "芯片次版本"))
|
|
|
self.groupBox_7.setTitle(_translate("Form", "发料日期"))
|
|
|
self.label_16.setText(_translate("Form", "发料日期"))
|
|
|
self.productDate.setDisplayFormat(_translate("Form", "yyyy年M月d日"))
|
|
|
- self.groupBox_2.setTitle(_translate("Form", "起爆电容"))
|
|
|
- self.label_3.setText(_translate("Form", "容值"))
|
|
|
- self.label_5.setText(_translate("Form", "品牌"))
|
|
|
+ self.lab_dir.setText(_translate("Form", "默认路径:"))
|
|
|
+ self.dir.setText(_translate("Form", "000500"))
|
|
|
+ self.change_dir.setText(_translate("Form", "更改目录"))
|
|
|
+ self.label.setText(_translate("Form", "版本代码:"))
|
|
|
+ self.versionCode.setText(_translate("Form", "001122"))
|
|
|
+ self.commit.setText(_translate("Form", "确定"))
|