代码拉取完成,页面将自动刷新
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'c:\Users\1230\Desktop\TEST-C\untitled_4.ui'
#
# Created by: PyQt5 UI code generator 5.14.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Form(object):
def setupUi(self, Form):
Form.setObjectName("Form")
Form.resize(1416, 575)
Form.setMinimumSize(QtCore.QSize(1416, 575))
Form.setMaximumSize(QtCore.QSize(1416, 575))
self.groupBox_2 = QtWidgets.QGroupBox(Form)
self.groupBox_2.setGeometry(QtCore.QRect(230, 110, 911, 461))
self.groupBox_2.setMinimumSize(QtCore.QSize(561, 300))
self.groupBox_2.setMaximumSize(QtCore.QSize(1500, 461))
self.groupBox_2.setObjectName("groupBox_2")
self.gridLayout = QtWidgets.QGridLayout(self.groupBox_2)
self.gridLayout.setObjectName("gridLayout")
self.textBrowser = QtWidgets.QTextBrowser(self.groupBox_2)
self.textBrowser.setMinimumSize(QtCore.QSize(541, 300))
self.textBrowser.setMaximumSize(QtCore.QSize(1500, 429))
self.textBrowser.setObjectName("textBrowser")
self.gridLayout.addWidget(self.textBrowser, 0, 0, 1, 1)
self.groupBox_5 = QtWidgets.QGroupBox(Form)
self.groupBox_5.setGeometry(QtCore.QRect(1150, 110, 251, 461))
self.groupBox_5.setObjectName("groupBox_5")
self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_5)
self.gridLayout_2.setObjectName("gridLayout_2")
self.textBrowser_2 = QtWidgets.QTextBrowser(self.groupBox_5)
self.textBrowser_2.setObjectName("textBrowser_2")
self.gridLayout_2.addWidget(self.textBrowser_2, 0, 0, 1, 1)
self.groupBox_3 = QtWidgets.QGroupBox(Form)
self.groupBox_3.setGeometry(QtCore.QRect(230, 10, 911, 100))
self.groupBox_3.setMinimumSize(QtCore.QSize(276, 30))
self.groupBox_3.setMaximumSize(QtCore.QSize(2000, 100))
self.groupBox_3.setObjectName("groupBox_3")
self.zhuangtai_textBrowser_2 = QtWidgets.QTextBrowser(self.groupBox_3)
self.zhuangtai_textBrowser_2.setGeometry(QtCore.QRect(10, 20, 891, 61))
self.zhuangtai_textBrowser_2.setMinimumSize(QtCore.QSize(256, 20))
self.zhuangtai_textBrowser_2.setObjectName("zhuangtai_textBrowser_2")
self.groupBox = QtWidgets.QGroupBox(Form)
self.groupBox.setGeometry(QtCore.QRect(1150, 10, 250, 100))
self.groupBox.setMinimumSize(QtCore.QSize(250, 69))
self.groupBox.setMaximumSize(QtCore.QSize(276, 100))
self.groupBox.setObjectName("groupBox")
self.label = QtWidgets.QLabel(self.groupBox)
self.label.setGeometry(QtCore.QRect(12, 27, 251, 51))
self.label.setObjectName("label")
self.formGroupBox = QtWidgets.QGroupBox(Form)
self.formGroupBox.setGeometry(QtCore.QRect(10, 10, 211, 435))
self.formGroupBox.setMinimumSize(QtCore.QSize(200, 435))
self.formGroupBox.setMaximumSize(QtCore.QSize(300, 435))
self.formGroupBox.setObjectName("formGroupBox")
self.gridLayout_3 = QtWidgets.QGridLayout(self.formGroupBox)
self.gridLayout_3.setObjectName("gridLayout_3")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.s1__lb_7 = QtWidgets.QLabel(self.formGroupBox)
self.s1__lb_7.setMinimumSize(QtCore.QSize(60, 21))
self.s1__lb_7.setObjectName("s1__lb_7")
self.horizontalLayout.addWidget(self.s1__lb_7)
self.s1__box_7 = QtWidgets.QPushButton(self.formGroupBox)
self.s1__box_7.setMinimumSize(QtCore.QSize(87, 23))
self.s1__box_7.setMaximumSize(QtCore.QSize(87, 23))
self.s1__box_7.setAutoRepeatInterval(100)
self.s1__box_7.setDefault(True)
self.s1__box_7.setObjectName("s1__box_7")
self.horizontalLayout.addWidget(self.s1__box_7)
self.gridLayout_3.addLayout(self.horizontalLayout, 0, 0, 1, 1)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.s1__lb_8 = QtWidgets.QLabel(self.formGroupBox)
self.s1__lb_8.setMinimumSize(QtCore.QSize(60, 21))
self.s1__lb_8.setObjectName("s1__lb_8")
self.horizontalLayout_2.addWidget(self.s1__lb_8)
self.s1__box_8 = QtWidgets.QComboBox(self.formGroupBox)
self.s1__box_8.setMinimumSize(QtCore.QSize(87, 23))
self.s1__box_8.setMaximumSize(QtCore.QSize(87, 23))
self.s1__box_8.setObjectName("s1__box_8")
self.horizontalLayout_2.addWidget(self.s1__box_8)
self.gridLayout_3.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
self.state_label_2 = QtWidgets.QLabel(self.formGroupBox)
self.state_label_2.setText("")
self.state_label_2.setTextFormat(QtCore.Qt.AutoText)
self.state_label_2.setScaledContents(True)
self.state_label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.state_label_2.setObjectName("state_label_2")
self.gridLayout_3.addWidget(self.state_label_2, 2, 0, 1, 1)
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.s1__lb_9 = QtWidgets.QLabel(self.formGroupBox)
self.s1__lb_9.setMinimumSize(QtCore.QSize(48, 21))
self.s1__lb_9.setObjectName("s1__lb_9")
self.horizontalLayout_3.addWidget(self.s1__lb_9)
self.s1__box_9 = QtWidgets.QComboBox(self.formGroupBox)
self.s1__box_9.setMinimumSize(QtCore.QSize(87, 23))
self.s1__box_9.setMaximumSize(QtCore.QSize(87, 23))
self.s1__box_9.setObjectName("s1__box_9")
self.s1__box_9.addItem("")
self.s1__box_9.addItem("")
self.s1__box_9.addItem("")
self.horizontalLayout_3.addWidget(self.s1__box_9)
self.gridLayout_3.addLayout(self.horizontalLayout_3, 3, 0, 1, 1)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.s1__lb_10 = QtWidgets.QLabel(self.formGroupBox)
self.s1__lb_10.setMinimumSize(QtCore.QSize(48, 21))
self.s1__lb_10.setObjectName("s1__lb_10")
self.horizontalLayout_4.addWidget(self.s1__lb_10)
self.s1__box_10 = QtWidgets.QComboBox(self.formGroupBox)
self.s1__box_10.setMinimumSize(QtCore.QSize(87, 23))
self.s1__box_10.setMaximumSize(QtCore.QSize(87, 23))
self.s1__box_10.setObjectName("s1__box_10")
self.s1__box_10.addItem("")
self.s1__box_10.addItem("")
self.s1__box_10.addItem("")
self.s1__box_10.addItem("")
self.horizontalLayout_4.addWidget(self.s1__box_10)
self.gridLayout_3.addLayout(self.horizontalLayout_4, 4, 0, 1, 1)
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.s1__lb_11 = QtWidgets.QLabel(self.formGroupBox)
self.s1__lb_11.setMinimumSize(QtCore.QSize(48, 21))
self.s1__lb_11.setObjectName("s1__lb_11")
self.horizontalLayout_5.addWidget(self.s1__lb_11)
self.s1__box_11 = QtWidgets.QComboBox(self.formGroupBox)
self.s1__box_11.setMinimumSize(QtCore.QSize(87, 23))
self.s1__box_11.setMaximumSize(QtCore.QSize(87, 23))
self.s1__box_11.setObjectName("s1__box_11")
self.s1__box_11.addItem("")
self.horizontalLayout_5.addWidget(self.s1__box_11)
self.gridLayout_3.addLayout(self.horizontalLayout_5, 5, 0, 1, 1)
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
self.s1__lb_12 = QtWidgets.QLabel(self.formGroupBox)
self.s1__lb_12.setMinimumSize(QtCore.QSize(48, 21))
self.s1__lb_12.setObjectName("s1__lb_12")
self.horizontalLayout_6.addWidget(self.s1__lb_12)
self.s1__box_12 = QtWidgets.QComboBox(self.formGroupBox)
self.s1__box_12.setMinimumSize(QtCore.QSize(87, 23))
self.s1__box_12.setMaximumSize(QtCore.QSize(87, 23))
self.s1__box_12.setObjectName("s1__box_12")
self.s1__box_12.addItem("")
self.horizontalLayout_6.addWidget(self.s1__box_12)
self.gridLayout_3.addLayout(self.horizontalLayout_6, 6, 0, 1, 1)
self.open_button_2 = QtWidgets.QPushButton(self.formGroupBox)
self.open_button_2.setMinimumSize(QtCore.QSize(163, 23))
self.open_button_2.setMaximumSize(QtCore.QSize(163, 23))
self.open_button_2.setIconSize(QtCore.QSize(20, 25))
self.open_button_2.setObjectName("open_button_2")
self.gridLayout_3.addWidget(self.open_button_2, 7, 0, 1, 1)
self.close_button_2 = QtWidgets.QPushButton(self.formGroupBox)
self.close_button_2.setMinimumSize(QtCore.QSize(163, 23))
self.close_button_2.setMaximumSize(QtCore.QSize(163, 23))
self.close_button_2.setObjectName("close_button_2")
self.gridLayout_3.addWidget(self.close_button_2, 8, 0, 1, 1)
self.pushButton = QtWidgets.QPushButton(self.formGroupBox)
self.pushButton.setMinimumSize(QtCore.QSize(163, 23))
self.pushButton.setMaximumSize(QtCore.QSize(163, 23))
self.pushButton.setObjectName("pushButton")
self.gridLayout_3.addWidget(self.pushButton, 9, 0, 1, 1)
self.pushButton_2 = QtWidgets.QPushButton(self.formGroupBox)
self.pushButton_2.setMinimumSize(QtCore.QSize(163, 23))
self.pushButton_2.setMaximumSize(QtCore.QSize(163, 23))
self.pushButton_2.setObjectName("pushButton_2")
self.gridLayout_3.addWidget(self.pushButton_2, 10, 0, 1, 1)
self.label_2 = QtWidgets.QLabel(self.formGroupBox)
self.label_2.setText("")
self.label_2.setObjectName("label_2")
self.gridLayout_3.addWidget(self.label_2, 11, 0, 1, 1)
self.pushButton_3 = QtWidgets.QPushButton(self.formGroupBox)
self.pushButton_3.setMinimumSize(QtCore.QSize(163, 23))
self.pushButton_3.setMaximumSize(QtCore.QSize(163, 23))
self.pushButton_3.setObjectName("pushButton_3")
self.gridLayout_3.addWidget(self.pushButton_3, 12, 0, 1, 1)
self.groupBox_4 = QtWidgets.QGroupBox(Form)
self.groupBox_4.setGeometry(QtCore.QRect(10, 450, 211, 120))
self.groupBox_4.setMinimumSize(QtCore.QSize(185, 95))
self.groupBox_4.setMaximumSize(QtCore.QSize(300, 200))
self.groupBox_4.setObjectName("groupBox_4")
self.pushButton_4 = QtWidgets.QPushButton(self.groupBox_4)
self.pushButton_4.setGeometry(QtCore.QRect(150, 90, 50, 23))
self.pushButton_4.setMinimumSize(QtCore.QSize(50, 10))
self.pushButton_4.setMaximumSize(QtCore.QSize(75, 23))
self.pushButton_4.setObjectName("pushButton_4")
self.layoutWidget = QtWidgets.QWidget(self.groupBox_4)
self.layoutWidget.setGeometry(QtCore.QRect(10, 22, 145, 17))
self.layoutWidget.setObjectName("layoutWidget")
self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.layoutWidget)
self.horizontalLayout_7.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
self.label_3 = QtWidgets.QLabel(self.layoutWidget)
self.label_3.setObjectName("label_3")
self.horizontalLayout_7.addWidget(self.label_3)
self.label_4 = QtWidgets.QLabel(self.layoutWidget)
self.label_4.setObjectName("label_4")
self.horizontalLayout_7.addWidget(self.label_4)
self.layoutWidget1 = QtWidgets.QWidget(self.groupBox_4)
self.layoutWidget1.setGeometry(QtCore.QRect(10, 40, 91, 25))
self.layoutWidget1.setObjectName("layoutWidget1")
self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.layoutWidget1)
self.horizontalLayout_8.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
self.lineEdit = QtWidgets.QLineEdit(self.layoutWidget1)
self.lineEdit.setMinimumSize(QtCore.QSize(39, 23))
self.lineEdit.setMaximumSize(QtCore.QSize(39, 23))
self.lineEdit.setObjectName("lineEdit")
self.horizontalLayout_8.addWidget(self.lineEdit)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_8.addItem(spacerItem)
self.MA_NUM_lineEdit_2 = QtWidgets.QLineEdit(self.layoutWidget1)
self.MA_NUM_lineEdit_2.setMinimumSize(QtCore.QSize(39, 23))
self.MA_NUM_lineEdit_2.setMaximumSize(QtCore.QSize(39, 23))
self.MA_NUM_lineEdit_2.setObjectName("MA_NUM_lineEdit_2")
self.horizontalLayout_8.addWidget(self.MA_NUM_lineEdit_2)
self.layoutWidget2 = QtWidgets.QWidget(self.groupBox_4)
self.layoutWidget2.setGeometry(QtCore.QRect(10, 69, 145, 17))
self.layoutWidget2.setObjectName("layoutWidget2")
self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.layoutWidget2)
self.horizontalLayout_9.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_9.setObjectName("horizontalLayout_9")
self.label_6 = QtWidgets.QLabel(self.layoutWidget2)
self.label_6.setObjectName("label_6")
self.horizontalLayout_9.addWidget(self.label_6)
self.label_5 = QtWidgets.QLabel(self.layoutWidget2)
self.label_5.setObjectName("label_5")
self.horizontalLayout_9.addWidget(self.label_5)
self.layoutWidget3 = QtWidgets.QWidget(self.groupBox_4)
self.layoutWidget3.setGeometry(QtCore.QRect(10, 87, 91, 25))
self.layoutWidget3.setObjectName("layoutWidget3")
self.horizontalLayout_10 = QtWidgets.QHBoxLayout(self.layoutWidget3)
self.horizontalLayout_10.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_10.setObjectName("horizontalLayout_10")
self.lineEdit_3 = QtWidgets.QLineEdit(self.layoutWidget3)
self.lineEdit_3.setMinimumSize(QtCore.QSize(39, 23))
self.lineEdit_3.setMaximumSize(QtCore.QSize(39, 23))
self.lineEdit_3.setObjectName("lineEdit_3")
self.horizontalLayout_10.addWidget(self.lineEdit_3)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_10.addItem(spacerItem1)
self.UA_NUM_lineEdit_4 = QtWidgets.QLineEdit(self.layoutWidget3)
self.UA_NUM_lineEdit_4.setMinimumSize(QtCore.QSize(39, 23))
self.UA_NUM_lineEdit_4.setMaximumSize(QtCore.QSize(39, 23))
self.UA_NUM_lineEdit_4.setObjectName("UA_NUM_lineEdit_4")
self.horizontalLayout_10.addWidget(self.UA_NUM_lineEdit_4)
self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form)
def retranslateUi(self, Form):
_translate = QtCore.QCoreApplication.translate
Form.setWindowTitle(_translate("Form", "Form"))
self.groupBox_2.setTitle(_translate("Form", "流程栏"))
self.groupBox_5.setTitle(_translate("Form", "校准信息"))
self.groupBox_3.setTitle(_translate("Form", "状态栏"))
self.groupBox.setTitle(_translate("Form", "当前时间"))
self.label.setText(_translate("Form", "TextLabel"))
self.formGroupBox.setTitle(_translate("Form", "串口设置"))
self.s1__lb_7.setText(_translate("Form", "串口检测:"))
self.s1__box_7.setText(_translate("Form", "检测串口"))
self.s1__lb_8.setText(_translate("Form", "串口选择:"))
self.s1__lb_9.setText(_translate("Form", "波特率:"))
self.s1__box_9.setItemText(0, _translate("Form", "9600"))
self.s1__box_9.setItemText(1, _translate("Form", "2400"))
self.s1__box_9.setItemText(2, _translate("Form", "4800"))
self.s1__lb_10.setText(_translate("Form", "数据位:"))
self.s1__box_10.setItemText(0, _translate("Form", "8"))
self.s1__box_10.setItemText(1, _translate("Form", "7"))
self.s1__box_10.setItemText(2, _translate("Form", "6"))
self.s1__box_10.setItemText(3, _translate("Form", "5"))
self.s1__lb_11.setText(_translate("Form", "校验位:"))
self.s1__box_11.setItemText(0, _translate("Form", "N"))
self.s1__lb_12.setText(_translate("Form", "停止位:"))
self.s1__box_12.setItemText(0, _translate("Form", "1"))
self.open_button_2.setText(_translate("Form", "打开串口"))
self.close_button_2.setText(_translate("Form", "关闭串口"))
self.pushButton.setText(_translate("Form", "读取TEST-C状态"))
self.pushButton_2.setText(_translate("Form", "开始校准"))
self.pushButton_3.setText(_translate("Form", "停止校准"))
self.groupBox_4.setTitle(_translate("Form", "mA和μA"))
self.pushButton_4.setText(_translate("Form", "确定"))
self.label_3.setText(_translate("Form", "mA档位"))
self.label_4.setText(_translate("Form", "每档数据数量"))
self.lineEdit.setText(_translate("Form", "5"))
self.MA_NUM_lineEdit_2.setText(_translate("Form", "100"))
self.label_6.setText(_translate("Form", "uA档位"))
self.label_5.setText(_translate("Form", "每档数据数量"))
self.lineEdit_3.setText(_translate("Form", "5"))
self.UA_NUM_lineEdit_4.setText(_translate("Form", "100"))
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。