예제 #1
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1030, 600)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName("gridLayout")
        self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.tab)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_21 = QtWidgets.QLabel(self.tab)
        self.label_21.setAlignment(QtCore.Qt.AlignCenter)
        self.label_21.setObjectName("label_21")
        self.gridLayout_2.addWidget(self.label_21, 9, 0, 1, 1)
        self.checkBox_conclusion = QtWidgets.QCheckBox(self.tab)
        self.checkBox_conclusion.setChecked(True)
        self.checkBox_conclusion.setObjectName("checkBox_conclusion")
        self.gridLayout_2.addWidget(self.checkBox_conclusion, 9, 10, 1, 1)
        self.pushButton_print = QtWidgets.QPushButton(self.tab)
        self.pushButton_print.setObjectName("pushButton_print")
        self.gridLayout_2.addWidget(self.pushButton_print, 9, 11, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 2, 0, 1, 1)
        self.comboBox_result = QtWidgets.QComboBox(self.tab)
        self.comboBox_result.setEditable(True)
        self.comboBox_result.setObjectName("comboBox_result")
        self.gridLayout_2.addWidget(self.comboBox_result, 9, 1, 1, 9)
        self.label = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.tab)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 5, 0, 1, 1)
        self.label_producer_text = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_producer_text.sizePolicy().hasHeightForWidth())
        self.label_producer_text.setSizePolicy(sizePolicy)
        self.label_producer_text.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_producer_text.setObjectName("label_producer_text")
        self.gridLayout_2.addWidget(self.label_producer_text, 3, 4, 1, 1)
        self.label_13 = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_13.sizePolicy().hasHeightForWidth())
        self.label_13.setSizePolicy(sizePolicy)
        self.label_13.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_13.setObjectName("label_13")
        self.gridLayout_2.addWidget(self.label_13, 1, 0, 1, 1)
        self.label_supplyer_text = QtWidgets.QLabel(self.tab)
        self.label_supplyer_text.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_supplyer_text.setObjectName("label_supplyer_text")
        self.gridLayout_2.addWidget(self.label_supplyer_text, 3, 0, 1, 1)
        self.label_23 = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_23.sizePolicy().hasHeightForWidth())
        self.label_23.setSizePolicy(sizePolicy)
        self.label_23.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_23.setObjectName("label_23")
        self.gridLayout_2.addWidget(self.label_23, 7, 3, 1, 1)
        self.pushButton_save = QtWidgets.QPushButton(self.tab)
        self.pushButton_save.setObjectName("pushButton_save")
        self.gridLayout_2.addWidget(self.pushButton_save, 7, 10, 1, 1)
        self.pushButton_accept = QtWidgets.QPushButton(self.tab)
        self.pushButton_accept.setObjectName("pushButton_accept")
        self.gridLayout_2.addWidget(self.pushButton_accept, 7, 11, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.tab)
        self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_6.setObjectName("label_6")
        self.gridLayout_2.addWidget(self.label_6, 1, 4, 1, 1)
        self.label_sampleamount = QtWidgets.QLabel(self.tab)
        self.label_sampleamount.setText("")
        self.label_sampleamount.setObjectName("label_sampleamount")
        self.gridLayout_2.addWidget(self.label_sampleamount, 1, 6, 1, 1)
        self.label_sepc_text = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_sepc_text.sizePolicy().hasHeightForWidth())
        self.label_sepc_text.setSizePolicy(sizePolicy)
        self.label_sepc_text.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_sepc_text.setObjectName("label_sepc_text")
        self.gridLayout_2.addWidget(self.label_sepc_text, 0, 4, 1, 1)
        self.label_17 = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_17.sizePolicy().hasHeightForWidth())
        self.label_17.setSizePolicy(sizePolicy)
        self.label_17.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_17.setObjectName("label_17")
        self.gridLayout_2.addWidget(self.label_17, 1, 10, 1, 1)
        self.label_package = QtWidgets.QLabel(self.tab)
        self.label_package.setText("")
        self.label_package.setObjectName("label_package")
        self.gridLayout_2.addWidget(self.label_package, 0, 11, 1, 1)
        self.label_24 = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_24.sizePolicy().hasHeightForWidth())
        self.label_24.setSizePolicy(sizePolicy)
        self.label_24.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_24.setObjectName("label_24")
        self.gridLayout_2.addWidget(self.label_24, 7, 6, 1, 1)
        self.pushButton_warrantor = SignButton(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_warrantor.sizePolicy().hasHeightForWidth())
        self.pushButton_warrantor.setSizePolicy(sizePolicy)
        self.pushButton_warrantor.setText("")
        self.pushButton_warrantor.setObjectName("pushButton_warrantor")
        self.gridLayout_2.addWidget(self.pushButton_warrantor, 7, 8, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_7.sizePolicy().hasHeightForWidth())
        self.label_7.setSizePolicy(sizePolicy)
        self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_7.setObjectName("label_7")
        self.gridLayout_2.addWidget(self.label_7, 0, 10, 1, 1)
        self.pushButton_add_oripaper = QtWidgets.QPushButton(self.tab)
        self.pushButton_add_oripaper.setObjectName("pushButton_add_oripaper")
        self.gridLayout_2.addWidget(self.pushButton_add_oripaper, 7, 12, 1, 1)
        self.pushButton_checker = SignButton(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_checker.sizePolicy().hasHeightForWidth())
        self.pushButton_checker.setSizePolicy(sizePolicy)
        self.pushButton_checker.setText("")
        self.pushButton_checker.setObjectName("pushButton_checker")
        self.gridLayout_2.addWidget(self.pushButton_checker, 7, 4, 1, 1)
        self.label_22 = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_22.sizePolicy().hasHeightForWidth())
        self.label_22.setSizePolicy(sizePolicy)
        self.label_22.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_22.setObjectName("label_22")
        self.gridLayout_2.addWidget(self.label_22, 7, 0, 1, 1)
        self.pushButton_reporter = SignButton(self.tab)
        self.pushButton_reporter.setText("")
        self.pushButton_reporter.setObjectName("pushButton_reporter")
        self.gridLayout_2.addWidget(self.pushButton_reporter, 7, 1, 1, 1)
        self.treeWidget_checkitem = QtWidgets.QTreeWidget(self.tab)
        self.treeWidget_checkitem.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.treeWidget_checkitem.setObjectName("treeWidget_checkitem")
        self.gridLayout_2.addWidget(self.treeWidget_checkitem, 6, 0, 1, 13)
        self.label_sampledate = QtWidgets.QLabel(self.tab)
        self.label_sampledate.setText("")
        self.label_sampledate.setObjectName("label_sampledate")
        self.gridLayout_2.addWidget(self.label_sampledate, 1, 11, 1, 1)
        self.label_16 = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_16.sizePolicy().hasHeightForWidth())
        self.label_16.setSizePolicy(sizePolicy)
        self.label_16.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_16.setObjectName("label_16")
        self.gridLayout_2.addWidget(self.label_16, 5, 10, 1, 1)
        self.label_12 = QtWidgets.QLabel(self.tab)
        self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_12.setObjectName("label_12")
        self.gridLayout_2.addWidget(self.label_12, 5, 4, 1, 1)
        self.lineEdit_paperno = QtWidgets.QLineEdit(self.tab)
        self.lineEdit_paperno.setObjectName("lineEdit_paperno")
        self.gridLayout_2.addWidget(self.lineEdit_paperno, 5, 1, 1, 3)
        self.comboBox_checkgist = QtWidgets.QComboBox(self.tab)
        self.comboBox_checkgist.setEditable(True)
        self.comboBox_checkgist.setObjectName("comboBox_checkgist")
        self.gridLayout_2.addWidget(self.comboBox_checkgist, 5, 11, 1, 2)
        self.label_producer = QtWidgets.QLabel(self.tab)
        self.label_producer.setText("")
        self.label_producer.setObjectName("label_producer")
        self.gridLayout_2.addWidget(self.label_producer, 3, 6, 1, 2)
        self.label_supplyer = QtWidgets.QLabel(self.tab)
        self.label_supplyer.setText("")
        self.label_supplyer.setObjectName("label_supplyer")
        self.gridLayout_2.addWidget(self.label_supplyer, 3, 1, 1, 3)
        self.label_mbatchno_text = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_mbatchno_text.sizePolicy().hasHeightForWidth())
        self.label_mbatchno_text.setSizePolicy(sizePolicy)
        self.label_mbatchno_text.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_mbatchno_text.setObjectName("label_mbatchno_text")
        self.gridLayout_2.addWidget(self.label_mbatchno_text, 3, 10, 1, 1)
        self.label_mbatchno = QtWidgets.QLabel(self.tab)
        self.label_mbatchno.setText("")
        self.label_mbatchno.setObjectName("label_mbatchno")
        self.gridLayout_2.addWidget(self.label_mbatchno, 3, 11, 1, 1)
        self.label_batchno = QtWidgets.QLabel(self.tab)
        self.label_batchno.setText("")
        self.label_batchno.setObjectName("label_batchno")
        self.gridLayout_2.addWidget(self.label_batchno, 2, 11, 1, 1)
        self.label_batchno_text = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_batchno_text.sizePolicy().hasHeightForWidth())
        self.label_batchno_text.setSizePolicy(sizePolicy)
        self.label_batchno_text.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_batchno_text.setObjectName("label_batchno_text")
        self.gridLayout_2.addWidget(self.label_batchno_text, 2, 10, 1, 1)
        self.label_9 = QtWidgets.QLabel(self.tab)
        self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_9.setObjectName("label_9")
        self.gridLayout_2.addWidget(self.label_9, 2, 4, 1, 1)
        self.label_checkamount = QtWidgets.QLabel(self.tab)
        self.label_checkamount.setText("")
        self.label_checkamount.setObjectName("label_checkamount")
        self.gridLayout_2.addWidget(self.label_checkamount, 2, 6, 1, 1)
        self.dateEdit_reportdate = QtWidgets.QDateEdit(self.tab)
        self.dateEdit_reportdate.setCalendarPopup(True)
        self.dateEdit_reportdate.setObjectName("dateEdit_reportdate")
        self.gridLayout_2.addWidget(self.dateEdit_reportdate, 5, 6, 1, 1)
        self.label_chkitem = QtWidgets.QLabel(self.tab)
        self.label_chkitem.setText("")
        self.label_chkitem.setObjectName("label_chkitem")
        self.gridLayout_2.addWidget(self.label_chkitem, 0, 1, 1, 3)
        self.label_applydate = QtWidgets.QLabel(self.tab)
        self.label_applydate.setText("")
        self.label_applydate.setObjectName("label_applydate")
        self.gridLayout_2.addWidget(self.label_applydate, 1, 1, 1, 3)
        self.label_samplesource = QtWidgets.QLabel(self.tab)
        self.label_samplesource.setText("")
        self.label_samplesource.setObjectName("label_samplesource")
        self.gridLayout_2.addWidget(self.label_samplesource, 2, 1, 1, 3)
        self.label_spec = QtWidgets.QLabel(self.tab)
        self.label_spec.setText("")
        self.label_spec.setObjectName("label_spec")
        self.gridLayout_2.addWidget(self.label_spec, 0, 6, 1, 2)
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.tab_2)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.scrollArea = QtWidgets.QScrollArea(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
        self.scrollArea.setSizePolicy(sizePolicy)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 970, 295))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label_image = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_image.sizePolicy().hasHeightForWidth())
        self.label_image.setSizePolicy(sizePolicy)
        self.label_image.setText("")
        self.label_image.setObjectName("label_image")
        self.gridLayout_4.addWidget(self.label_image, 2, 0, 1, 5)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_3.addWidget(self.scrollArea, 2, 0, 1, 1)
        self.treeWidget_imagenamelist = QtWidgets.QTreeWidget(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.treeWidget_imagenamelist.sizePolicy().hasHeightForWidth())
        self.treeWidget_imagenamelist.setSizePolicy(sizePolicy)
        self.treeWidget_imagenamelist.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.treeWidget_imagenamelist.setObjectName("treeWidget_imagenamelist")
        self.gridLayout_3.addWidget(self.treeWidget_imagenamelist, 0, 0, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_10 = QtWidgets.QLabel(self.tab_2)
        self.label_10.setObjectName("label_10")
        self.horizontalLayout.addWidget(self.label_10)
        self.label_zoom = QtWidgets.QLabel(self.tab_2)
        self.label_zoom.setText("")
        self.label_zoom.setObjectName("label_zoom")
        self.horizontalLayout.addWidget(self.label_zoom)
        self.horizontalSlider_zoom = QtWidgets.QSlider(self.tab_2)
        self.horizontalSlider_zoom.setMinimum(0)
        self.horizontalSlider_zoom.setMaximum(100)
        self.horizontalSlider_zoom.setSliderPosition(0)
        self.horizontalSlider_zoom.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider_zoom.setInvertedAppearance(False)
        self.horizontalSlider_zoom.setInvertedControls(False)
        self.horizontalSlider_zoom.setTickPosition(QtWidgets.QSlider.NoTicks)
        self.horizontalSlider_zoom.setObjectName("horizontalSlider_zoom")
        self.horizontalLayout.addWidget(self.horizontalSlider_zoom)
        self.comboBox_jumpto = QtWidgets.QComboBox(self.tab_2)
        self.comboBox_jumpto.setObjectName("comboBox_jumpto")
        self.horizontalLayout.addWidget(self.comboBox_jumpto)
        self.pushButton_prepage = QtWidgets.QPushButton(self.tab_2)
        self.pushButton_prepage.setObjectName("pushButton_prepage")
        self.horizontalLayout.addWidget(self.pushButton_prepage)
        self.pushButton_nextpage = QtWidgets.QPushButton(self.tab_2)
        self.pushButton_nextpage.setObjectName("pushButton_nextpage")
        self.horizontalLayout.addWidget(self.pushButton_nextpage)
        self.gridLayout_3.addLayout(self.horizontalLayout, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tab_2, "")
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1030, 30))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "检验报告书"))
        self.label_21.setText(_translate("MainWindow", "结论:"))
        self.checkBox_conclusion.setText(_translate("MainWindow", "符合规定"))
        self.pushButton_print.setText(_translate("MainWindow", "打印"))
        self.label_4.setText(_translate("MainWindow", "检品来源;"))
        self.label.setText(_translate("MainWindow", "检品名称:"))
        self.label_2.setText(_translate("MainWindow", "报告书编号:"))
        self.label_producer_text.setText(_translate("MainWindow", "生产厂家:"))
        self.label_13.setText(_translate("MainWindow", "请验日期:"))
        self.label_supplyer_text.setText(_translate("MainWindow", "供应商:"))
        self.label_23.setText(_translate("MainWindow", "复核人:"))
        self.pushButton_save.setText(_translate("MainWindow", "保存"))
        self.pushButton_accept.setText(_translate("MainWindow", "结束报告"))
        self.label_6.setText(_translate("MainWindow", "样品数量:"))
        self.label_sepc_text.setText(_translate("MainWindow", "规    格:"))
        self.label_17.setText(_translate("MainWindow", "取样日期:"))
        self.label_24.setText(_translate("MainWindow", "批准人:"))
        self.label_7.setText(_translate("MainWindow", "包装规格:"))
        self.pushButton_add_oripaper.setText(_translate("MainWindow", "新建原始检验记录"))
        self.label_22.setText(_translate("MainWindow", "编制人:"))
        self.treeWidget_checkitem.headerItem().setText(0, _translate("MainWindow", "id"))
        self.treeWidget_checkitem.headerItem().setText(1, _translate("MainWindow", "类别"))
        self.treeWidget_checkitem.headerItem().setText(2, _translate("MainWindow", "项目名称"))
        self.treeWidget_checkitem.headerItem().setText(3, _translate("MainWindow", "开始时间"))
        self.treeWidget_checkitem.headerItem().setText(4, _translate("MainWindow", "结束时间"))
        self.treeWidget_checkitem.headerItem().setText(5, _translate("MainWindow", "标准规定"))
        self.treeWidget_checkitem.headerItem().setText(6, _translate("MainWindow", "检验结果"))
        self.treeWidget_checkitem.headerItem().setText(7, _translate("MainWindow", "项目结论"))
        self.treeWidget_checkitem.headerItem().setText(8, _translate("MainWindow", "检验人"))
        self.label_16.setText(_translate("MainWindow", "检验依据:"))
        self.label_12.setText(_translate("MainWindow", "报告日期:"))
        self.label_mbatchno_text.setText(_translate("MainWindow", "厂家批号:"))
        self.label_batchno_text.setText(_translate("MainWindow", "进厂批号:"))
        self.label_9.setText(_translate("MainWindow", "检品数量:"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "检验报告书"))
        self.treeWidget_imagenamelist.headerItem().setText(0, _translate("MainWindow", "id"))
        self.treeWidget_imagenamelist.headerItem().setText(1, _translate("MainWindow", "imgid"))
        self.treeWidget_imagenamelist.headerItem().setText(2, _translate("MainWindow", "标题"))
        self.treeWidget_imagenamelist.headerItem().setText(3, _translate("MainWindow", "建立人"))
        self.treeWidget_imagenamelist.headerItem().setText(4, _translate("MainWindow", "建立日期"))
        self.label_10.setText(_translate("MainWindow", "当前缩放比例:"))
        self.pushButton_prepage.setText(_translate("MainWindow", "上一页"))
        self.pushButton_nextpage.setText(_translate("MainWindow", "下一页"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "图片/图谱"))
예제 #2
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(716, 621)
        self.gridLayout = QtWidgets.QGridLayout(Dialog)
        self.gridLayout.setObjectName("gridLayout")
        self.tabWidget = QtWidgets.QTabWidget(Dialog)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.tab)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_3 = QtWidgets.QLabel(self.tab)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 2, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.tab)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 3, 0, 1, 1)
        self.lineEdit_accordance = QtWidgets.QLineEdit(self.tab)
        self.lineEdit_accordance.setObjectName("lineEdit_accordance")
        self.gridLayout_2.addWidget(self.lineEdit_accordance, 1, 1, 1, 1)
        self.plainTextEdit_descrip = QtWidgets.QPlainTextEdit(self.tab)
        self.plainTextEdit_descrip.setObjectName("plainTextEdit_descrip")
        self.gridLayout_2.addWidget(self.plainTextEdit_descrip, 2, 1, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.pushButton_qa = SignButton(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_qa.sizePolicy().hasHeightForWidth())
        self.pushButton_qa.setSizePolicy(sizePolicy)
        self.pushButton_qa.setText("")
        self.pushButton_qa.setObjectName("pushButton_qa")
        self.horizontalLayout_2.addWidget(self.pushButton_qa)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.gridLayout_2.addLayout(self.horizontalLayout_2, 3, 1, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.pushButton_accept = QtWidgets.QPushButton(self.tab)
        self.pushButton_accept.setObjectName("pushButton_accept")
        self.horizontalLayout.addWidget(self.pushButton_accept)
        self.pushButton_apply = QtWidgets.QPushButton(self.tab)
        self.pushButton_apply.setObjectName("pushButton_apply")
        self.horizontalLayout.addWidget(self.pushButton_apply)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.gridLayout_2.addLayout(self.horizontalLayout, 4, 0, 1, 2)
        self.label_2 = QtWidgets.QLabel(self.tab)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
        self.label = QtWidgets.QLabel(self.tab)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.lineEdit_dept = ComboLine(self.tab)
        self.lineEdit_dept.setObjectName("lineEdit_dept")
        self.gridLayout_2.addWidget(self.lineEdit_dept, 0, 1, 1, 1)
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.tab_2)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_11 = QtWidgets.QLabel(self.tab_2)
        self.label_11.setObjectName("label_11")
        self.gridLayout_3.addWidget(self.label_11, 9, 2, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.tab_2)
        self.label_5.setObjectName("label_5")
        self.gridLayout_3.addWidget(self.label_5, 0, 0, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.tab_2)
        self.label_7.setObjectName("label_7")
        self.gridLayout_3.addWidget(self.label_7, 3, 2, 1, 1)
        self.label_9 = QtWidgets.QLabel(self.tab_2)
        self.label_9.setObjectName("label_9")
        self.gridLayout_3.addWidget(self.label_9, 5, 2, 1, 1)
        self.plainTextEdit_measure = QtWidgets.QPlainTextEdit(self.tab_2)
        self.plainTextEdit_measure.setObjectName("plainTextEdit_measure")
        self.gridLayout_3.addWidget(self.plainTextEdit_measure, 1, 0, 1, 4)
        self.label_10 = QtWidgets.QLabel(self.tab_2)
        self.label_10.setObjectName("label_10")
        self.gridLayout_3.addWidget(self.label_10, 9, 0, 1, 1)
        self.pushButton_dncharger = SignButton(self.tab_2)
        self.pushButton_dncharger.setText("")
        self.pushButton_dncharger.setObjectName("pushButton_dncharger")
        self.gridLayout_3.addWidget(self.pushButton_dncharger, 9, 1, 1, 1)
        self.label_12 = QtWidgets.QLabel(self.tab_2)
        self.label_12.setObjectName("label_12")
        self.gridLayout_3.addWidget(self.label_12, 11, 0, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.tab_2)
        self.label_8.setObjectName("label_8")
        self.gridLayout_3.addWidget(self.label_8, 5, 0, 1, 1)
        self.pushButton_cd = SignButton(self.tab_2)
        self.pushButton_cd.setText("")
        self.pushButton_cd.setObjectName("pushButton_cd")
        self.gridLayout_3.addWidget(self.pushButton_cd, 9, 3, 1, 1)
        self.pushButton_group = SignButton(self.tab_2)
        self.pushButton_group.setText("")
        self.pushButton_group.setObjectName("pushButton_group")
        self.gridLayout_3.addWidget(self.pushButton_group, 3, 3, 1, 1)
        self.pushButton_gp = SignButton(self.tab_2)
        self.pushButton_gp.setText("")
        self.pushButton_gp.setObjectName("pushButton_gp")
        self.gridLayout_3.addWidget(self.pushButton_gp, 11, 3, 1, 1)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem3)
        self.pushButton_save = QtWidgets.QPushButton(self.tab_2)
        self.pushButton_save.setObjectName("pushButton_save")
        self.horizontalLayout_3.addWidget(self.pushButton_save)
        self.pushButton_finish = QtWidgets.QPushButton(self.tab_2)
        self.pushButton_finish.setObjectName("pushButton_finish")
        self.horizontalLayout_3.addWidget(self.pushButton_finish)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem4)
        self.gridLayout_3.addLayout(self.horizontalLayout_3, 12, 0, 1, 4)
        self.plainTextEdit_done = QtWidgets.QPlainTextEdit(self.tab_2)
        self.plainTextEdit_done.setObjectName("plainTextEdit_done")
        self.gridLayout_3.addWidget(self.plainTextEdit_done, 6, 0, 3, 2)
        self.plainTextEdit_checkdone = QtWidgets.QPlainTextEdit(self.tab_2)
        self.plainTextEdit_checkdone.setObjectName("plainTextEdit_checkdone")
        self.gridLayout_3.addWidget(self.plainTextEdit_checkdone, 6, 2, 1, 2)
        self.label_6 = QtWidgets.QLabel(self.tab_2)
        self.label_6.setObjectName("label_6")
        self.gridLayout_3.addWidget(self.label_6, 3, 0, 1, 1)
        self.pushButton_dcharger = SignButton(self.tab_2)
        self.pushButton_dcharger.setText("")
        self.pushButton_dcharger.setObjectName("pushButton_dcharger")
        self.gridLayout_3.addWidget(self.pushButton_dcharger, 3, 1, 1, 1)
        self.label_13 = QtWidgets.QLabel(self.tab_2)
        self.label_13.setObjectName("label_13")
        self.gridLayout_3.addWidget(self.label_13, 11, 2, 1, 1)
        self.pushButton_leader = SignButton(self.tab_2)
        self.pushButton_leader.setText("")
        self.pushButton_leader.setObjectName("pushButton_leader")
        self.gridLayout_3.addWidget(self.pushButton_leader, 11, 1, 1, 1)
        self.line = QtWidgets.QFrame(self.tab_2)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout_3.addWidget(self.line, 10, 0, 1, 4)
        self.tabWidget.addTab(self.tab_2, "")
        self.gridLayout.addWidget(self.tabWidget, 0, 1, 1, 1)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
        self.label_3.setText(_translate("Dialog", "不合格概述:"))
        self.label_4.setText(_translate("Dialog", "QA负责人:"))
        self.pushButton_accept.setText(_translate("Dialog", "保存"))
        self.pushButton_apply.setText(_translate("Dialog", "下达"))
        self.label_2.setText(_translate("Dialog", "依据:"))
        self.label.setText(_translate("Dialog", "受检部门"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Dialog", "整改通知"))
        self.label_11.setText(_translate("Dialog", "检查人:"))
        self.label_5.setText(_translate("Dialog", "整改计划:"))
        self.label_7.setText(_translate("Dialog", "自检小组负责人:"))
        self.label_9.setText(_translate("Dialog", "完成情况检查:"))
        self.label_10.setText(_translate("Dialog", "受检部门负责人:"))
        self.label_12.setText(_translate("Dialog", "受检部门领导:"))
        self.label_8.setText(_translate("Dialog", "整改完成情况:"))
        self.pushButton_save.setText(_translate("Dialog", "保存"))
        self.pushButton_finish.setText(_translate("Dialog", "完成"))
        self.label_6.setText(_translate("Dialog", "受检部门负责人:"))
        self.label_13.setText(_translate("Dialog", "自检小组组长:"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("Dialog", "完成回复"))
예제 #3
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(933, 785)
        self.gridLayout = QtWidgets.QGridLayout(Dialog)
        self.gridLayout.setObjectName("gridLayout")
        self.label_eqno = QtWidgets.QLabel(Dialog)
        self.label_eqno.setText("")
        self.label_eqno.setObjectName("label_eqno")
        self.gridLayout.addWidget(self.label_eqno, 0, 1, 1, 1)
        self.lineEdit_factormen = QtWidgets.QLineEdit(Dialog)
        self.lineEdit_factormen.setObjectName("lineEdit_factormen")
        self.gridLayout.addWidget(self.lineEdit_factormen, 2, 5, 1, 1)
        self.label_6 = QtWidgets.QLabel(Dialog)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 5, 0, 1, 1)
        self.label = QtWidgets.QLabel(Dialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.label_9 = QtWidgets.QLabel(Dialog)
        self.label_9.setObjectName("label_9")
        self.gridLayout.addWidget(self.label_9, 2, 4, 1, 1)
        self.label_3 = QtWidgets.QLabel(Dialog)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.label_5 = QtWidgets.QLabel(Dialog)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 3, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(Dialog)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(Dialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 0, 2, 1, 1)
        self.lineEdit_place = QtWidgets.QLineEdit(Dialog)
        self.lineEdit_place.setObjectName("lineEdit_place")
        self.gridLayout.addWidget(self.lineEdit_place, 2, 1, 1, 1)
        self.label_eqname = QtWidgets.QLabel(Dialog)
        self.label_eqname.setText("")
        self.label_eqname.setObjectName("label_eqname")
        self.gridLayout.addWidget(self.label_eqname, 0, 3, 1, 1)
        self.label_8 = QtWidgets.QLabel(Dialog)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 2, 2, 1, 1)
        self.dateTimeEdit_occurdate = QtWidgets.QDateTimeEdit(Dialog)
        self.dateTimeEdit_occurdate.setCalendarPopup(True)
        self.dateTimeEdit_occurdate.setObjectName("dateTimeEdit_occurdate")
        self.gridLayout.addWidget(self.dateTimeEdit_occurdate, 2, 3, 1, 1)
        self.label_13 = QtWidgets.QLabel(Dialog)
        self.label_13.setObjectName("label_13")
        self.gridLayout.addWidget(self.label_13, 7, 0, 1, 1)
        self.label_11 = QtWidgets.QLabel(Dialog)
        self.label_11.setObjectName("label_11")
        self.gridLayout.addWidget(self.label_11, 3, 2, 1, 1)
        self.label_12 = QtWidgets.QLabel(Dialog)
        self.label_12.setObjectName("label_12")
        self.gridLayout.addWidget(self.label_12, 6, 0, 1, 1)
        self.lineEdit_kind = QtWidgets.QLineEdit(Dialog)
        self.lineEdit_kind.setObjectName("lineEdit_kind")
        self.gridLayout.addWidget(self.lineEdit_kind, 3, 1, 1, 1)
        self.plainTextEdit_brief = QtWidgets.QPlainTextEdit(Dialog)
        self.plainTextEdit_brief.setObjectName("plainTextEdit_brief")
        self.gridLayout.addWidget(self.plainTextEdit_brief, 4, 1, 1, 5)
        self.plainTextEdit_reason = QtWidgets.QPlainTextEdit(Dialog)
        self.plainTextEdit_reason.setObjectName("plainTextEdit_reason")
        self.gridLayout.addWidget(self.plainTextEdit_reason, 5, 1, 1, 5)
        self.label_14 = QtWidgets.QLabel(Dialog)
        self.label_14.setObjectName("label_14")
        self.gridLayout.addWidget(self.label_14, 8, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.label_7 = QtWidgets.QLabel(Dialog)
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_2.addWidget(self.label_7)
        self.pushButton_filler = SignButton(Dialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.pushButton_filler.sizePolicy().hasHeightForWidth())
        self.pushButton_filler.setSizePolicy(sizePolicy)
        self.pushButton_filler.setText("")
        self.pushButton_filler.setObjectName("pushButton_filler")
        self.horizontalLayout_2.addWidget(self.pushButton_filler)
        self.label_10 = QtWidgets.QLabel(Dialog)
        self.label_10.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_10.setObjectName("label_10")
        self.horizontalLayout_2.addWidget(self.label_10)
        self.dateEdit_filldate = QtWidgets.QDateEdit(Dialog)
        self.dateEdit_filldate.setCalendarPopup(True)
        self.dateEdit_filldate.setObjectName("dateEdit_filldate")
        self.horizontalLayout_2.addWidget(self.dateEdit_filldate)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.gridLayout.addLayout(self.horizontalLayout_2, 9, 0, 1, 6)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.pushButton_accept = QtWidgets.QPushButton(Dialog)
        self.pushButton_accept.setObjectName("pushButton_accept")
        self.horizontalLayout.addWidget(self.pushButton_accept)
        self.pushButton_cancel = QtWidgets.QPushButton(Dialog)
        self.pushButton_cancel.setObjectName("pushButton_cancel")
        self.horizontalLayout.addWidget(self.pushButton_cancel)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem3)
        self.gridLayout.addLayout(self.horizontalLayout, 12, 0, 1, 6)
        self.plainTextEdit_treatadvice = QtWidgets.QPlainTextEdit(Dialog)
        self.plainTextEdit_treatadvice.setObjectName(
            "plainTextEdit_treatadvice")
        self.gridLayout.addWidget(self.plainTextEdit_treatadvice, 7, 1, 1, 5)
        self.plainTextEdit_loss = QtWidgets.QPlainTextEdit(Dialog)
        self.plainTextEdit_loss.setObjectName("plainTextEdit_loss")
        self.gridLayout.addWidget(self.plainTextEdit_loss, 6, 1, 1, 5)
        self.plainTextEdit_chargeradvice = QtWidgets.QPlainTextEdit(Dialog)
        self.plainTextEdit_chargeradvice.setObjectName(
            "plainTextEdit_chargeradvice")
        self.gridLayout.addWidget(self.plainTextEdit_chargeradvice, 8, 1, 1, 5)
        self.lineEdit_injury = QtWidgets.QLineEdit(Dialog)
        self.lineEdit_injury.setObjectName("lineEdit_injury")
        self.gridLayout.addWidget(self.lineEdit_injury, 3, 3, 1, 3)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        Dialog.setTabOrder(self.lineEdit_place, self.dateTimeEdit_occurdate)
        Dialog.setTabOrder(self.dateTimeEdit_occurdate,
                           self.lineEdit_factormen)
        Dialog.setTabOrder(self.lineEdit_factormen, self.lineEdit_kind)
        Dialog.setTabOrder(self.lineEdit_kind, self.lineEdit_injury)
        Dialog.setTabOrder(self.lineEdit_injury, self.plainTextEdit_brief)
        Dialog.setTabOrder(self.plainTextEdit_brief, self.plainTextEdit_reason)
        Dialog.setTabOrder(self.plainTextEdit_reason, self.plainTextEdit_loss)
        Dialog.setTabOrder(self.plainTextEdit_loss,
                           self.plainTextEdit_treatadvice)
        Dialog.setTabOrder(self.plainTextEdit_treatadvice,
                           self.plainTextEdit_chargeradvice)
        Dialog.setTabOrder(self.plainTextEdit_chargeradvice,
                           self.pushButton_filler)
        Dialog.setTabOrder(self.pushButton_filler, self.dateEdit_filldate)
        Dialog.setTabOrder(self.dateEdit_filldate, self.pushButton_accept)
        Dialog.setTabOrder(self.pushButton_accept, self.pushButton_cancel)

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "编辑维修记录"))
        self.label_6.setText(_translate("Dialog", "原因分析:"))
        self.label.setText(_translate("Dialog", "设备编号:"))
        self.label_9.setText(_translate("Dialog", "事故责任者:"))
        self.label_3.setText(_translate("Dialog", "事故地点:"))
        self.label_5.setText(_translate("Dialog", "事故性质:"))
        self.label_4.setText(_translate("Dialog", "事故简况:"))
        self.label_2.setText(_translate("Dialog", "设备名称:"))
        self.label_8.setText(_translate("Dialog", "发生时间:"))
        self.dateTimeEdit_occurdate.setDisplayFormat(
            _translate("Dialog", "yyyy-MM-dd HH:mm"))
        self.label_13.setText(_translate("Dialog", "处理意见:"))
        self.label_11.setText(_translate("Dialog", "人员伤亡情况:"))
        self.label_12.setText(_translate("Dialog", "损失:"))
        self.label_14.setText(_translate("Dialog", "主管部门意见:"))
        self.label_7.setText(_translate("Dialog", "记录人:"))
        self.label_10.setText(_translate("Dialog", "记录日期:"))
        self.pushButton_accept.setText(_translate("Dialog", "确认"))
        self.pushButton_cancel.setText(_translate("Dialog", "取消"))
예제 #4
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(821, 839)
        self.gridLayout = QtWidgets.QGridLayout(Dialog)
        self.gridLayout.setObjectName("gridLayout")
        self.tabWidget = QtWidgets.QTabWidget(Dialog)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.tab)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_14 = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_14.sizePolicy().hasHeightForWidth())
        self.label_14.setSizePolicy(sizePolicy)
        self.label_14.setObjectName("label_14")
        self.horizontalLayout_3.addWidget(self.label_14)
        self.label_charger = QtWidgets.QLabel(self.tab)
        self.label_charger.setObjectName("label_charger")
        self.horizontalLayout_3.addWidget(self.label_charger)
        self.label_13 = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_13.sizePolicy().hasHeightForWidth())
        self.label_13.setSizePolicy(sizePolicy)
        self.label_13.setObjectName("label_13")
        self.horizontalLayout_3.addWidget(self.label_13)
        self.dateEdit_chdate = QtWidgets.QDateEdit(self.tab)
        self.dateEdit_chdate.setCalendarPopup(True)
        self.dateEdit_chdate.setObjectName("dateEdit_chdate")
        self.horizontalLayout_3.addWidget(self.dateEdit_chdate)
        self.gridLayout_2.addLayout(self.horizontalLayout_3, 9, 2, 1, 6)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_16 = QtWidgets.QLabel(self.tab)
        self.label_16.setObjectName("label_16")
        self.horizontalLayout_2.addWidget(self.label_16)
        self.lineEdit_conclusion = QtWidgets.QLineEdit(self.tab)
        self.lineEdit_conclusion.setObjectName("lineEdit_conclusion")
        self.horizontalLayout_2.addWidget(self.lineEdit_conclusion)
        self.gridLayout_2.addLayout(self.horizontalLayout_2, 7, 2, 1, 6)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.pushButton_accept = QtWidgets.QPushButton(self.tab)
        self.pushButton_accept.setObjectName("pushButton_accept")
        self.horizontalLayout.addWidget(self.pushButton_accept)
        self.pushButton_cancel = QtWidgets.QPushButton(self.tab)
        self.pushButton_cancel.setObjectName("pushButton_cancel")
        self.horizontalLayout.addWidget(self.pushButton_cancel)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.gridLayout_2.addLayout(self.horizontalLayout, 11, 2, 1, 6)
        self.plainTextEdit_measure = QtWidgets.QPlainTextEdit(self.tab)
        self.plainTextEdit_measure.setObjectName("plainTextEdit_measure")
        self.gridLayout_2.addWidget(self.plainTextEdit_measure, 6, 2, 1, 2)
        self.groupBox = QtWidgets.QGroupBox(self.tab)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_checkitem = QtWidgets.QLabel(self.groupBox)
        self.label_checkitem.setObjectName("label_checkitem")
        self.gridLayout_3.addWidget(self.label_checkitem, 0, 3, 1, 1)
        self.lineEdit_checkers = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_checkers.setObjectName("lineEdit_checkers")
        self.gridLayout_3.addWidget(self.lineEdit_checkers, 1, 1, 1, 5)
        self.label_6 = QtWidgets.QLabel(self.groupBox)
        self.label_6.setObjectName("label_6")
        self.gridLayout_3.addWidget(self.label_6, 0, 2, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.groupBox)
        self.label_5.setObjectName("label_5")
        self.gridLayout_3.addWidget(self.label_5, 0, 0, 1, 1)
        self.label_9 = QtWidgets.QLabel(self.groupBox)
        self.label_9.setObjectName("label_9")
        self.gridLayout_3.addWidget(self.label_9, 1, 0, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.groupBox)
        self.label_7.setObjectName("label_7")
        self.gridLayout_3.addWidget(self.label_7, 0, 4, 1, 1)
        self.label_dept = QtWidgets.QLabel(self.groupBox)
        self.label_dept.setObjectName("label_dept")
        self.gridLayout_3.addWidget(self.label_dept, 0, 1, 1, 1)
        self.treeWidget_checkrecords = QtWidgets.QTreeWidget(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.treeWidget_checkrecords.sizePolicy().hasHeightForWidth())
        self.treeWidget_checkrecords.setSizePolicy(sizePolicy)
        self.treeWidget_checkrecords.setObjectName("treeWidget_checkrecords")
        self.gridLayout_3.addWidget(self.treeWidget_checkrecords, 2, 0, 1, 6)
        self.dateEdit_checkdate = QtWidgets.QDateEdit(self.groupBox)
        self.dateEdit_checkdate.setCalendarPopup(True)
        self.dateEdit_checkdate.setObjectName("dateEdit_checkdate")
        self.gridLayout_3.addWidget(self.dateEdit_checkdate, 0, 5, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox, 4, 2, 1, 6)
        self.label_12 = QtWidgets.QLabel(self.tab)
        self.label_12.setObjectName("label_12")
        self.gridLayout_2.addWidget(self.label_12, 5, 4, 1, 1)
        self.plainTextEdit_evaluation = QtWidgets.QPlainTextEdit(self.tab)
        self.plainTextEdit_evaluation.setObjectName("plainTextEdit_evaluation")
        self.gridLayout_2.addWidget(self.plainTextEdit_evaluation, 6, 4, 1, 4)
        self.groupBox_2 = QtWidgets.QGroupBox(self.tab)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.comboBox_dept = QtWidgets.QComboBox(self.groupBox_2)
        self.comboBox_dept.setObjectName("comboBox_dept")
        self.gridLayout_4.addWidget(self.comboBox_dept, 0, 0, 1, 1)
        self.treeWidget_checkitem = QtWidgets.QTreeWidget(self.groupBox_2)
        self.treeWidget_checkitem.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.treeWidget_checkitem.setObjectName("treeWidget_checkitem")
        self.gridLayout_4.addWidget(self.treeWidget_checkitem, 1, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox_2, 4, 0, 8, 1)
        self.label_8 = QtWidgets.QLabel(self.tab)
        self.label_8.setObjectName("label_8")
        self.gridLayout_2.addWidget(self.label_8, 5, 2, 1, 1)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_3 = QtWidgets.QLabel(self.tab)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_4.addWidget(self.label_3)
        self.plainTextEdit_summary = QtWidgets.QPlainTextEdit(self.tab)
        self.plainTextEdit_summary.setObjectName("plainTextEdit_summary")
        self.horizontalLayout_4.addWidget(self.plainTextEdit_summary)
        self.label_4 = QtWidgets.QLabel(self.tab)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_4.addWidget(self.label_4)
        self.label_creator = QtWidgets.QLabel(self.tab)
        self.label_creator.setObjectName("label_creator")
        self.horizontalLayout_4.addWidget(self.label_creator)
        self.pushButton_modify = QtWidgets.QPushButton(self.tab)
        self.pushButton_modify.setObjectName("pushButton_modify")
        self.horizontalLayout_4.addWidget(self.pushButton_modify)
        self.gridLayout_2.addLayout(self.horizontalLayout_4, 3, 0, 1, 8)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label = QtWidgets.QLabel(self.tab)
        self.label.setObjectName("label")
        self.horizontalLayout_5.addWidget(self.label)
        self.dateEdit_cdate = QtWidgets.QDateEdit(self.tab)
        self.dateEdit_cdate.setCalendarPopup(True)
        self.dateEdit_cdate.setObjectName("dateEdit_cdate")
        self.horizontalLayout_5.addWidget(self.dateEdit_cdate)
        self.label_2 = QtWidgets.QLabel(self.tab)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_5.addWidget(self.label_2)
        self.lineEdit_title = QtWidgets.QLineEdit(self.tab)
        self.lineEdit_title.setObjectName("lineEdit_title")
        self.horizontalLayout_5.addWidget(self.lineEdit_title)
        self.gridLayout_2.addLayout(self.horizontalLayout_5, 2, 0, 1, 8)
        self.tabWidget.addTab(self.tab, "")
        self.tab_3 = QtWidgets.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.tab_3)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.tabWidget_2 = QtWidgets.QTabWidget(self.tab_3)
        self.tabWidget_2.setObjectName("tabWidget_2")
        self.rectify_0 = QtWidgets.QWidget()
        self.rectify_0.setObjectName("rectify_0")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.rectify_0)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.treeWidget_rectify = QtWidgets.QTreeWidget(self.rectify_0)
        self.treeWidget_rectify.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.treeWidget_rectify.setObjectName("treeWidget_rectify")
        self.gridLayout_7.addWidget(self.treeWidget_rectify, 0, 0, 1, 1)
        self.tabWidget_2.addTab(self.rectify_0, "")
        self.rectify_1 = QtWidgets.QWidget()
        self.rectify_1.setObjectName("rectify_1")
        self.tabWidget_2.addTab(self.rectify_1, "")
        self.rectify_2 = QtWidgets.QWidget()
        self.rectify_2.setObjectName("rectify_2")
        self.tabWidget_2.addTab(self.rectify_2, "")
        self.gridLayout_5.addWidget(self.tabWidget_2, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab_3, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.tab_2)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.treeWidget_deptsigns = QtWidgets.QTreeWidget(self.tab_2)
        self.treeWidget_deptsigns.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.treeWidget_deptsigns.setObjectName("treeWidget_deptsigns")
        self.gridLayout_6.addWidget(self.treeWidget_deptsigns, 3, 2, 1, 2)
        self.label_18 = QtWidgets.QLabel(self.tab_2)
        self.label_18.setObjectName("label_18")
        self.gridLayout_6.addWidget(self.label_18, 2, 0, 1, 1)
        self.label_23 = QtWidgets.QLabel(self.tab_2)
        self.label_23.setObjectName("label_23")
        self.gridLayout_6.addWidget(self.label_23, 7, 0, 1, 1)
        self.label_22 = QtWidgets.QLabel(self.tab_2)
        self.label_22.setObjectName("label_22")
        self.gridLayout_6.addWidget(self.label_22, 2, 2, 1, 1)
        self.pushButton_scsign = QtWidgets.QPushButton(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_scsign.sizePolicy().hasHeightForWidth())
        self.pushButton_scsign.setSizePolicy(sizePolicy)
        self.pushButton_scsign.setObjectName("pushButton_scsign")
        self.gridLayout_6.addWidget(self.pushButton_scsign, 2, 1, 1, 1)
        self.label_15 = QtWidgets.QLabel(self.tab_2)
        self.label_15.setObjectName("label_15")
        self.gridLayout_6.addWidget(self.label_15, 0, 0, 1, 1)
        self.pushButton_charger = SignButton(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_charger.sizePolicy().hasHeightForWidth())
        self.pushButton_charger.setSizePolicy(sizePolicy)
        self.pushButton_charger.setText("")
        self.pushButton_charger.setObjectName("pushButton_charger")
        self.gridLayout_6.addWidget(self.pushButton_charger, 1, 1, 1, 1)
        self.label_17 = QtWidgets.QLabel(self.tab_2)
        self.label_17.setObjectName("label_17")
        self.gridLayout_6.addWidget(self.label_17, 0, 2, 1, 1)
        self.dateEdit_fromdate = QtWidgets.QDateEdit(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dateEdit_fromdate.sizePolicy().hasHeightForWidth())
        self.dateEdit_fromdate.setSizePolicy(sizePolicy)
        self.dateEdit_fromdate.setCalendarPopup(True)
        self.dateEdit_fromdate.setObjectName("dateEdit_fromdate")
        self.gridLayout_6.addWidget(self.dateEdit_fromdate, 0, 1, 1, 1)
        self.label_21 = QtWidgets.QLabel(self.tab_2)
        self.label_21.setObjectName("label_21")
        self.gridLayout_6.addWidget(self.label_21, 1, 0, 1, 1)
        self.dateEdit_todate = QtWidgets.QDateEdit(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dateEdit_todate.sizePolicy().hasHeightForWidth())
        self.dateEdit_todate.setSizePolicy(sizePolicy)
        self.dateEdit_todate.setCalendarPopup(True)
        self.dateEdit_todate.setObjectName("dateEdit_todate")
        self.gridLayout_6.addWidget(self.dateEdit_todate, 0, 3, 1, 1)
        self.label_20 = QtWidgets.QLabel(self.tab_2)
        self.label_20.setObjectName("label_20")
        self.gridLayout_6.addWidget(self.label_20, 5, 2, 1, 1)
        self.label_19 = QtWidgets.QLabel(self.tab_2)
        self.label_19.setObjectName("label_19")
        self.gridLayout_6.addWidget(self.label_19, 5, 0, 1, 1)
        self.treeWidget_scsigns = QtWidgets.QTreeWidget(self.tab_2)
        self.treeWidget_scsigns.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.treeWidget_scsigns.setObjectName("treeWidget_scsigns")
        self.gridLayout_6.addWidget(self.treeWidget_scsigns, 3, 0, 1, 2)
        self.label_24 = QtWidgets.QLabel(self.tab_2)
        self.label_24.setObjectName("label_24")
        self.gridLayout_6.addWidget(self.label_24, 7, 2, 1, 1)
        self.pushButton_deptsign = QtWidgets.QPushButton(self.tab_2)
        self.pushButton_deptsign.setObjectName("pushButton_deptsign")
        self.gridLayout_6.addWidget(self.pushButton_deptsign, 2, 3, 1, 1)
        self.pushButton_save = QtWidgets.QPushButton(self.tab_2)
        self.pushButton_save.setObjectName("pushButton_save")
        self.gridLayout_6.addWidget(self.pushButton_save, 9, 1, 1, 1)
        self.plainTextEdit_scrange = QtWidgets.QPlainTextEdit(self.tab_2)
        self.plainTextEdit_scrange.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.plainTextEdit_scrange.setObjectName("plainTextEdit_scrange")
        self.gridLayout_6.addWidget(self.plainTextEdit_scrange, 6, 0, 1, 2)
        self.plainTextEdit_flaws = QtWidgets.QPlainTextEdit(self.tab_2)
        self.plainTextEdit_flaws.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.plainTextEdit_flaws.setObjectName("plainTextEdit_flaws")
        self.gridLayout_6.addWidget(self.plainTextEdit_flaws, 8, 0, 1, 2)
        self.plainTextEdit_assess = QtWidgets.QPlainTextEdit(self.tab_2)
        self.plainTextEdit_assess.setObjectName("plainTextEdit_assess")
        self.gridLayout_6.addWidget(self.plainTextEdit_assess, 6, 2, 1, 2)
        self.plainTextEdit_description = QtWidgets.QPlainTextEdit(self.tab_2)
        self.plainTextEdit_description.setObjectName("plainTextEdit_description")
        self.gridLayout_6.addWidget(self.plainTextEdit_description, 8, 2, 1, 2)
        self.tabWidget.addTab(self.tab_2, "")
        self.gridLayout.addWidget(self.tabWidget, 0, 1, 1, 1)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        self.tabWidget_2.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
        self.label_14.setText(_translate("Dialog", "填写人:"))
        self.label_charger.setText(_translate("Dialog", "TextLabel"))
        self.label_13.setText(_translate("Dialog", "填写日期:"))
        self.label_16.setText(_translate("Dialog", "结论:"))
        self.pushButton_accept.setText(_translate("Dialog", "确认"))
        self.pushButton_cancel.setText(_translate("Dialog", "取消"))
        self.groupBox.setTitle(_translate("Dialog", "自检记录"))
        self.label_checkitem.setText(_translate("Dialog", "TextLabel"))
        self.label_6.setText(_translate("Dialog", "自检内容:"))
        self.label_5.setText(_translate("Dialog", "部门:"))
        self.label_9.setText(_translate("Dialog", "自检人:"))
        self.label_7.setText(_translate("Dialog", "自检日期:"))
        self.label_dept.setText(_translate("Dialog", "TextLabel"))
        self.treeWidget_checkrecords.headerItem().setText(0, _translate("Dialog", "id"))
        self.treeWidget_checkrecords.headerItem().setText(1, _translate("Dialog", "序号"))
        self.treeWidget_checkrecords.headerItem().setText(2, _translate("Dialog", "项目"))
        self.treeWidget_checkrecords.headerItem().setText(3, _translate("Dialog", "依据"))
        self.treeWidget_checkrecords.headerItem().setText(4, _translate("Dialog", "结果"))
        self.treeWidget_checkrecords.headerItem().setText(5, _translate("Dialog", "要求整改期限"))
        self.treeWidget_checkrecords.headerItem().setText(6, _translate("Dialog", "实际整改完成日期"))
        self.label_12.setText(_translate("Dialog", "评价"))
        self.groupBox_2.setTitle(_translate("Dialog", "自检列表"))
        self.treeWidget_checkitem.headerItem().setText(0, _translate("Dialog", "id"))
        self.treeWidget_checkitem.headerItem().setText(1, _translate("Dialog", "项目种类"))
        self.label_8.setText(_translate("Dialog", "纠正预防措施"))
        self.label_3.setText(_translate("Dialog", "介绍:"))
        self.label_4.setText(_translate("Dialog", "负责人:"))
        self.label_creator.setText(_translate("Dialog", "TextLabel"))
        self.pushButton_modify.setText(_translate("Dialog", "修改"))
        self.label.setText(_translate("Dialog", "自检日期:"))
        self.label_2.setText(_translate("Dialog", "标题:"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Dialog", "自检记录"))
        self.treeWidget_rectify.headerItem().setText(0, _translate("Dialog", "id"))
        self.treeWidget_rectify.headerItem().setText(1, _translate("Dialog", "受检部门"))
        self.treeWidget_rectify.headerItem().setText(2, _translate("Dialog", "依据"))
        self.treeWidget_rectify.headerItem().setText(3, _translate("Dialog", "检查人"))
        self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.rectify_0), _translate("Dialog", "编辑"))
        self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.rectify_1), _translate("Dialog", "已下达"))
        self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.rectify_2), _translate("Dialog", "完成"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("Dialog", "整改通知"))
        self.treeWidget_deptsigns.headerItem().setText(0, _translate("Dialog", "人员编号"))
        self.treeWidget_deptsigns.headerItem().setText(1, _translate("Dialog", "人员姓名"))
        self.label_18.setText(_translate("Dialog", "自检人员:"))
        self.label_23.setText(_translate("Dialog", "缺陷项目:"))
        self.label_22.setText(_translate("Dialog", "受检部门负责人:"))
        self.pushButton_scsign.setText(_translate("Dialog", "增加"))
        self.label_15.setText(_translate("Dialog", "开始日期:"))
        self.label_17.setText(_translate("Dialog", "结束日期:"))
        self.label_21.setText(_translate("Dialog", "自检小组负责人:"))
        self.label_20.setText(_translate("Dialog", "评价依据:"))
        self.label_19.setText(_translate("Dialog", "自检范围:"))
        self.treeWidget_scsigns.headerItem().setText(0, _translate("Dialog", "人员编号"))
        self.treeWidget_scsigns.headerItem().setText(1, _translate("Dialog", "人员姓名"))
        self.label_24.setText(_translate("Dialog", "总结:"))
        self.pushButton_deptsign.setText(_translate("Dialog", "增加"))
        self.pushButton_save.setText(_translate("Dialog", "保存"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("Dialog", "自检报告"))