赞
踩
- from PyQt5 import QtCore, QtGui, QtWidgets
-
-
- class Ui_MainWindow(object):
- def setupUi(self, MainWindow):
- MainWindow.setObjectName("MainWindow")
- MainWindow.setWindowModality(QtCore.Qt.NonModal)
- MainWindow.resize(1090, 632)
- font = QtGui.QFont()
- font.setBold(False)
- font.setWeight(50)
- MainWindow.setFont(font)
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("MOKO.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- MainWindow.setWindowIcon(icon)
- self.centralwidget = QtWidgets.QWidget(MainWindow)
- self.centralwidget.setObjectName("centralwidget")
- self.horizontalLayout_20 = QtWidgets.QHBoxLayout(self.centralwidget)
- self.horizontalLayout_20.setObjectName("horizontalLayout_20")
- self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
- self.tabWidget.setTabletTracking(False)
- self.tabWidget.setStyleSheet("background-color: rgb(235, 235, 235);\n"
- "")
- self.tabWidget.setTabPosition(QtWidgets.QTabWidget.North)
- self.tabWidget.setTabShape(QtWidgets.QTabWidget.Triangular)
- self.tabWidget.setUsesScrollButtons(True)
- self.tabWidget.setTabsClosable(False)
- self.tabWidget.setTabBarAutoHide(False)
- self.tabWidget.setObjectName("tabWidget")
- self.tab_1 = QtWidgets.QWidget()
- self.tab_1.setObjectName("tab_1")
- self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.tab_1)
- self.verticalLayout_5.setObjectName("verticalLayout_5")
- self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_11.setObjectName("horizontalLayout_11")
- self.verticalLayout_3 = QtWidgets.QVBoxLayout()
- self.verticalLayout_3.setContentsMargins(-1, 2, -1, -1)
- self.verticalLayout_3.setSpacing(7)
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.groupBox = QtWidgets.QGroupBox(self.tab_1)
- self.groupBox.setEnabled(True)
- self.groupBox.setMinimumSize(QtCore.QSize(0, 0))
- self.groupBox.setSizeIncrement(QtCore.QSize(0, 0))
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(10)
- font.setBold(True)
- font.setItalic(False)
- font.setUnderline(False)
- font.setWeight(75)
- self.groupBox.setFont(font)
- self.groupBox.setMouseTracking(False)
- self.groupBox.setTabletTracking(False)
- self.groupBox.setFocusPolicy(QtCore.Qt.NoFocus)
- self.groupBox.setAcceptDrops(False)
- self.groupBox.setLayoutDirection(QtCore.Qt.LeftToRight)
- self.groupBox.setStyleSheet("")
- self.groupBox.setCheckable(True)
- self.groupBox.setChecked(False)
- self.groupBox.setObjectName("groupBox")
- self.verticalLayout_15 = QtWidgets.QVBoxLayout(self.groupBox)
- self.verticalLayout_15.setObjectName("verticalLayout_15")
- self.verticalLayout_14 = QtWidgets.QVBoxLayout()
- self.verticalLayout_14.setObjectName("verticalLayout_14")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.label_2 = QtWidgets.QLabel(self.groupBox)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setItalic(False)
- font.setUnderline(False)
- font.setWeight(50)
- self.label_2.setFont(font)
- self.label_2.setObjectName("label_2")
- self.horizontalLayout.addWidget(self.label_2)
- self.lineEdit_MqttTopic = QtWidgets.QLineEdit(self.groupBox)
- font = QtGui.QFont()
- font.setFamily("SimSun")
- font.setPointSize(9)
- font.setBold(False)
- font.setItalic(False)
- font.setUnderline(False)
- font.setWeight(50)
- self.lineEdit_MqttTopic.setFont(font)
- self.lineEdit_MqttTopic.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_MqttTopic.setObjectName("lineEdit_MqttTopic")
- self.horizontalLayout.addWidget(self.lineEdit_MqttTopic)
- self.horizontalLayout.setStretch(0, 1)
- self.horizontalLayout.setStretch(1, 2)
- self.verticalLayout_14.addLayout(self.horizontalLayout)
- self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_8.setObjectName("horizontalLayout_8")
- self.label_14 = QtWidgets.QLabel(self.groupBox)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setItalic(False)
- font.setUnderline(False)
- font.setWeight(50)
- self.label_14.setFont(font)
- self.label_14.setObjectName("label_14")
- self.horizontalLayout_8.addWidget(self.label_14)
- self.lineEdit_MqttTopic_5 = QtWidgets.QLineEdit(self.groupBox)
- font = QtGui.QFont()
- font.setFamily("SimSun")
- font.setPointSize(9)
- font.setBold(False)
- font.setItalic(False)
- font.setUnderline(False)
- font.setWeight(50)
- self.lineEdit_MqttTopic_5.setFont(font)
- self.lineEdit_MqttTopic_5.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_MqttTopic_5.setObjectName("lineEdit_MqttTopic_5")
- self.horizontalLayout_8.addWidget(self.lineEdit_MqttTopic_5)
- self.horizontalLayout_8.setStretch(0, 1)
- self.horizontalLayout_8.setStretch(1, 2)
- self.verticalLayout_14.addLayout(self.horizontalLayout_8)
- self.horizontalLayout_33 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_33.setObjectName("horizontalLayout_33")
- self.label_15 = QtWidgets.QLabel(self.groupBox)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setItalic(False)
- font.setUnderline(False)
- font.setWeight(50)
- self.label_15.setFont(font)
- self.label_15.setObjectName("label_15")
- self.horizontalLayout_33.addWidget(self.label_15)
- self.lineEdit_MqttTopic_6 = QtWidgets.QLineEdit(self.groupBox)
- font = QtGui.QFont()
- font.setFamily("SimSun")
- font.setPointSize(9)
- font.setBold(False)
- font.setItalic(False)
- font.setUnderline(False)
- font.setWeight(50)
- self.lineEdit_MqttTopic_6.setFont(font)
- self.lineEdit_MqttTopic_6.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_MqttTopic_6.setObjectName("lineEdit_MqttTopic_6")
- self.horizontalLayout_33.addWidget(self.lineEdit_MqttTopic_6)
- self.horizontalLayout_33.setStretch(0, 1)
- self.horizontalLayout_33.setStretch(1, 2)
- self.verticalLayout_14.addLayout(self.horizontalLayout_33)
- self.verticalLayout_15.addLayout(self.verticalLayout_14)
- self.pushButton_3 = QtWidgets.QPushButton(self.groupBox)
- self.pushButton_3.setStyleSheet("font: 9pt \"幼圆\";")
- self.pushButton_3.setObjectName("pushButton_3")
- self.verticalLayout_15.addWidget(self.pushButton_3)
- self.verticalLayout_3.addWidget(self.groupBox)
- self.groupBox_2 = QtWidgets.QGroupBox(self.tab_1)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(10)
- font.setBold(True)
- font.setWeight(75)
- self.groupBox_2.setFont(font)
- self.groupBox_2.setCheckable(True)
- self.groupBox_2.setChecked(False)
- self.groupBox_2.setObjectName("groupBox_2")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_2)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_5.setObjectName("horizontalLayout_5")
- self.label_3 = QtWidgets.QLabel(self.groupBox_2)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_3.setFont(font)
- self.label_3.setObjectName("label_3")
- self.horizontalLayout_5.addWidget(self.label_3)
- self.lineEdit_mac_three_axis = QtWidgets.QLineEdit(self.groupBox_2)
- font = QtGui.QFont()
- font.setFamily("SimSun")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_mac_three_axis.setFont(font)
- self.lineEdit_mac_three_axis.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_mac_three_axis.setObjectName("lineEdit_mac_three_axis")
- self.horizontalLayout_5.addWidget(self.lineEdit_mac_three_axis)
- self.horizontalLayout_5.setStretch(0, 1)
- self.horizontalLayout_5.setStretch(1, 2)
- self.verticalLayout_2.addLayout(self.horizontalLayout_5)
- self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_6.setObjectName("horizontalLayout_6")
- self.label_4 = QtWidgets.QLabel(self.groupBox_2)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_4.setFont(font)
- self.label_4.setObjectName("label_4")
- self.horizontalLayout_6.addWidget(self.label_4)
- self.lineEdit_notify_three_axis = QtWidgets.QLineEdit(self.groupBox_2)
- font = QtGui.QFont()
- font.setFamily("SimSun")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_notify_three_axis.setFont(font)
- self.lineEdit_notify_three_axis.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_notify_three_axis.setText("")
- self.lineEdit_notify_three_axis.setObjectName("lineEdit_notify_three_axis")
- self.horizontalLayout_6.addWidget(self.lineEdit_notify_three_axis)
- self.horizontalLayout_6.setStretch(0, 1)
- self.horizontalLayout_6.setStretch(1, 2)
- self.verticalLayout_2.addLayout(self.horizontalLayout_6)
- self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_14.setObjectName("horizontalLayout_14")
- self.label_13 = QtWidgets.QLabel(self.groupBox_2)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_13.setFont(font)
- self.label_13.setObjectName("label_13")
- self.horizontalLayout_14.addWidget(self.label_13)
- self.lineEdit_notify_three_axis_5 = QtWidgets.QLineEdit(self.groupBox_2)
- font = QtGui.QFont()
- font.setFamily("SimSun")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_notify_three_axis_5.setFont(font)
- self.lineEdit_notify_three_axis_5.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_notify_three_axis_5.setText("")
- self.lineEdit_notify_three_axis_5.setObjectName("lineEdit_notify_three_axis_5")
- self.horizontalLayout_14.addWidget(self.lineEdit_notify_three_axis_5)
- self.horizontalLayout_14.setStretch(0, 1)
- self.horizontalLayout_14.setStretch(1, 2)
- self.verticalLayout_2.addLayout(self.horizontalLayout_14)
- self.verticalLayout_3.addWidget(self.groupBox_2)
- self.groupBox_3 = QtWidgets.QGroupBox(self.tab_1)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(10)
- font.setBold(True)
- font.setWeight(75)
- self.groupBox_3.setFont(font)
- self.groupBox_3.setCheckable(True)
- self.groupBox_3.setChecked(False)
- self.groupBox_3.setObjectName("groupBox_3")
- self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.groupBox_3)
- self.horizontalLayout_9.setObjectName("horizontalLayout_9")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.label_5 = QtWidgets.QLabel(self.groupBox_3)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_5.setFont(font)
- self.label_5.setObjectName("label_5")
- self.horizontalLayout_2.addWidget(self.label_5)
- self.lineEdit_mac_blepro = QtWidgets.QLineEdit(self.groupBox_3)
- font = QtGui.QFont()
- font.setFamily("SimSun")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_mac_blepro.setFont(font)
- self.lineEdit_mac_blepro.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_mac_blepro.setObjectName("lineEdit_mac_blepro")
- self.horizontalLayout_2.addWidget(self.lineEdit_mac_blepro)
- self.horizontalLayout_2.setStretch(0, 1)
- self.horizontalLayout_2.setStretch(1, 2)
- self.horizontalLayout_9.addLayout(self.horizontalLayout_2)
- self.verticalLayout_3.addWidget(self.groupBox_3)
- self.groupBox_4 = QtWidgets.QGroupBox(self.tab_1)
- self.groupBox_4.setEnabled(True)
- self.groupBox_4.setBaseSize(QtCore.QSize(0, 0))
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(10)
- font.setBold(True)
- font.setWeight(75)
- self.groupBox_4.setFont(font)
- self.groupBox_4.setLayoutDirection(QtCore.Qt.LeftToRight)
- self.groupBox_4.setAutoFillBackground(False)
- self.groupBox_4.setCheckable(True)
- self.groupBox_4.setChecked(False)
- self.groupBox_4.setObjectName("groupBox_4")
- self.horizontalLayout_10 = QtWidgets.QHBoxLayout(self.groupBox_4)
- self.horizontalLayout_10.setObjectName("horizontalLayout_10")
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.label_7 = QtWidgets.QLabel(self.groupBox_4)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_7.setFont(font)
- self.label_7.setObjectName("label_7")
- self.horizontalLayout_3.addWidget(self.label_7)
- self.lineEdit_COM = QtWidgets.QLineEdit(self.groupBox_4)
- font = QtGui.QFont()
- font.setFamily("SimSun")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_COM.setFont(font)
- self.lineEdit_COM.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_COM.setObjectName("lineEdit_COM")
- self.horizontalLayout_3.addWidget(self.lineEdit_COM)
- self.horizontalLayout_3.setStretch(0, 1)
- self.horizontalLayout_3.setStretch(1, 2)
- self.verticalLayout.addLayout(self.horizontalLayout_3)
- self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_4.setObjectName("horizontalLayout_4")
- self.label_8 = QtWidgets.QLabel(self.groupBox_4)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_8.setFont(font)
- self.label_8.setObjectName("label_8")
- self.horizontalLayout_4.addWidget(self.label_8)
- self.lineEdit_baud_rate = QtWidgets.QLineEdit(self.groupBox_4)
- font = QtGui.QFont()
- font.setFamily("SimSun")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_baud_rate.setFont(font)
- self.lineEdit_baud_rate.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_baud_rate.setText("")
- self.lineEdit_baud_rate.setObjectName("lineEdit_baud_rate")
- self.horizontalLayout_4.addWidget(self.lineEdit_baud_rate)
- self.horizontalLayout_4.setStretch(0, 1)
- self.horizontalLayout_4.setStretch(1, 2)
- self.verticalLayout.addLayout(self.horizontalLayout_4)
- self.verticalLayout.setStretch(0, 2)
- self.verticalLayout.setStretch(1, 3)
- self.horizontalLayout_10.addLayout(self.verticalLayout)
- self.verticalLayout_3.addWidget(self.groupBox_4)
- self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_7.setObjectName("horizontalLayout_7")
- spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_7.addItem(spacerItem)
- self.pushButton_4 = QtWidgets.QPushButton(self.tab_1)
- font = QtGui.QFont()
- font.setPointSize(11)
- font.setBold(True)
- font.setWeight(75)
- font.setStyleStrategy(QtGui.QFont.PreferDefault)
- self.pushButton_4.setFont(font)
- self.pushButton_4.setToolTipDuration(-1)
- self.pushButton_4.setAutoFillBackground(False)
- self.pushButton_4.setInputMethodHints(QtCore.Qt.ImhNone)
- self.pushButton_4.setCheckable(False)
- self.pushButton_4.setObjectName("pushButton_4")
- self.horizontalLayout_7.addWidget(self.pushButton_4)
- spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_7.addItem(spacerItem1)
- self.pushButton = QtWidgets.QPushButton(self.tab_1)
- self.pushButton.setEnabled(False)
- font = QtGui.QFont()
- font.setPointSize(11)
- font.setBold(True)
- font.setWeight(75)
- self.pushButton.setFont(font)
- self.pushButton.setObjectName("pushButton")
- self.horizontalLayout_7.addWidget(self.pushButton)
- spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_7.addItem(spacerItem2)
- self.verticalLayout_3.addLayout(self.horizontalLayout_7)
- self.verticalLayout_3.setStretch(0, 1)
- self.verticalLayout_3.setStretch(1, 1)
- self.verticalLayout_3.setStretch(2, 1)
- self.verticalLayout_3.setStretch(3, 1)
- self.verticalLayout_3.setStretch(4, 1)
- self.horizontalLayout_11.addLayout(self.verticalLayout_3)
- self.groupBox_5 = QtWidgets.QGroupBox(self.tab_1)
- font = QtGui.QFont()
- font.setPointSize(11)
- font.setBold(False)
- font.setWeight(50)
- self.groupBox_5.setFont(font)
- self.groupBox_5.setObjectName("groupBox_5")
- self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_5)
- self.verticalLayout_4.setContentsMargins(-1, 2, -1, -1)
- self.verticalLayout_4.setSpacing(7)
- self.verticalLayout_4.setObjectName("verticalLayout_4")
- self.textBrowser = QtWidgets.QTextBrowser(self.groupBox_5)
- self.textBrowser.setEnabled(True)
- font = QtGui.QFont()
- font.setStyleStrategy(QtGui.QFont.PreferDefault)
- self.textBrowser.setFont(font)
- self.textBrowser.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.textBrowser.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustIgnored)
- self.textBrowser.setOpenExternalLinks(True)
- self.textBrowser.setObjectName("textBrowser")
- self.verticalLayout_4.addWidget(self.textBrowser)
- self.horizontalLayout_11.addWidget(self.groupBox_5)
- self.horizontalLayout_11.setStretch(0, 1)
- self.horizontalLayout_11.setStretch(1, 2)
- self.verticalLayout_5.addLayout(self.horizontalLayout_11)
- self.tabWidget.addTab(self.tab_1, "")
- self.tab_2 = QtWidgets.QWidget()
- self.tab_2.setObjectName("tab_2")
- self.horizontalLayout_37 = QtWidgets.QHBoxLayout(self.tab_2)
- self.horizontalLayout_37.setObjectName("horizontalLayout_37")
- self.horizontalLayout_36 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_36.setObjectName("horizontalLayout_36")
- self.verticalLayout_17 = QtWidgets.QVBoxLayout()
- self.verticalLayout_17.setObjectName("verticalLayout_17")
- self.groupBox_7 = QtWidgets.QGroupBox(self.tab_2)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(10)
- font.setBold(True)
- font.setWeight(75)
- self.groupBox_7.setFont(font)
- self.groupBox_7.setCheckable(True)
- self.groupBox_7.setChecked(False)
- self.groupBox_7.setObjectName("groupBox_7")
- self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupBox_7)
- self.verticalLayout_7.setObjectName("verticalLayout_7")
- self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_12.setObjectName("horizontalLayout_12")
- self.label_6 = QtWidgets.QLabel(self.groupBox_7)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_6.setFont(font)
- self.label_6.setObjectName("label_6")
- self.horizontalLayout_12.addWidget(self.label_6)
- self.lineEdit_mac_three_axis_2 = QtWidgets.QLineEdit(self.groupBox_7)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_mac_three_axis_2.setFont(font)
- self.lineEdit_mac_three_axis_2.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_mac_three_axis_2.setObjectName("lineEdit_mac_three_axis_2")
- self.horizontalLayout_12.addWidget(self.lineEdit_mac_three_axis_2)
- self.horizontalLayout_12.setStretch(0, 4)
- self.horizontalLayout_12.setStretch(1, 7)
- self.verticalLayout_7.addLayout(self.horizontalLayout_12)
- self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_13.setObjectName("horizontalLayout_13")
- self.label_9 = QtWidgets.QLabel(self.groupBox_7)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_9.setFont(font)
- self.label_9.setObjectName("label_9")
- self.horizontalLayout_13.addWidget(self.label_9)
- self.lineEdit_notify_three_axis_2 = QtWidgets.QLineEdit(self.groupBox_7)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_notify_three_axis_2.setFont(font)
- self.lineEdit_notify_three_axis_2.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_notify_three_axis_2.setText("")
- self.lineEdit_notify_three_axis_2.setObjectName("lineEdit_notify_three_axis_2")
- self.horizontalLayout_13.addWidget(self.lineEdit_notify_three_axis_2)
- self.horizontalLayout_13.setStretch(0, 4)
- self.horizontalLayout_13.setStretch(1, 7)
- self.verticalLayout_7.addLayout(self.horizontalLayout_13)
- self.horizontalLayout_15 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_15.setObjectName("horizontalLayout_15")
- self.label_12 = QtWidgets.QLabel(self.groupBox_7)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_12.setFont(font)
- self.label_12.setObjectName("label_12")
- self.horizontalLayout_15.addWidget(self.label_12)
- self.lineEdit_notify_three_axis_4 = QtWidgets.QLineEdit(self.groupBox_7)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_notify_three_axis_4.setFont(font)
- self.lineEdit_notify_three_axis_4.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_notify_three_axis_4.setText("")
- self.lineEdit_notify_three_axis_4.setObjectName("lineEdit_notify_three_axis_4")
- self.horizontalLayout_15.addWidget(self.lineEdit_notify_three_axis_4)
- self.horizontalLayout_15.setStretch(0, 4)
- self.horizontalLayout_15.setStretch(1, 7)
- self.verticalLayout_7.addLayout(self.horizontalLayout_15)
- self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_16.setObjectName("horizontalLayout_16")
- self.label_16 = QtWidgets.QLabel(self.groupBox_7)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_16.setFont(font)
- self.label_16.setObjectName("label_16")
- self.horizontalLayout_16.addWidget(self.label_16)
- self.lineEdit_notify_three_axis_7 = QtWidgets.QLineEdit(self.groupBox_7)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_notify_three_axis_7.setFont(font)
- self.lineEdit_notify_three_axis_7.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_notify_three_axis_7.setText("")
- self.lineEdit_notify_three_axis_7.setObjectName("lineEdit_notify_three_axis_7")
- self.horizontalLayout_16.addWidget(self.lineEdit_notify_three_axis_7)
- self.horizontalLayout_16.setStretch(0, 4)
- self.horizontalLayout_16.setStretch(1, 7)
- self.verticalLayout_7.addLayout(self.horizontalLayout_16)
- self.verticalLayout_17.addWidget(self.groupBox_7)
- self.groupBox_8 = QtWidgets.QGroupBox(self.tab_2)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(10)
- font.setBold(True)
- font.setWeight(75)
- self.groupBox_8.setFont(font)
- self.groupBox_8.setCheckable(True)
- self.groupBox_8.setChecked(False)
- self.groupBox_8.setObjectName("groupBox_8")
- self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupBox_8)
- self.verticalLayout_8.setObjectName("verticalLayout_8")
- self.horizontalLayout_17 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_17.setObjectName("horizontalLayout_17")
- self.label_10 = QtWidgets.QLabel(self.groupBox_8)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_10.setFont(font)
- self.label_10.setObjectName("label_10")
- self.horizontalLayout_17.addWidget(self.label_10)
- self.lineEdit_mac_three_axis_3 = QtWidgets.QLineEdit(self.groupBox_8)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_mac_three_axis_3.setFont(font)
- self.lineEdit_mac_three_axis_3.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_mac_three_axis_3.setObjectName("lineEdit_mac_three_axis_3")
- self.horizontalLayout_17.addWidget(self.lineEdit_mac_three_axis_3)
- self.horizontalLayout_17.setStretch(0, 4)
- self.horizontalLayout_17.setStretch(1, 7)
- self.verticalLayout_8.addLayout(self.horizontalLayout_17)
- self.horizontalLayout_18 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_18.setObjectName("horizontalLayout_18")
- self.label_11 = QtWidgets.QLabel(self.groupBox_8)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_11.setFont(font)
- self.label_11.setObjectName("label_11")
- self.horizontalLayout_18.addWidget(self.label_11)
- self.lineEdit_notify_three_axis_3 = QtWidgets.QLineEdit(self.groupBox_8)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_notify_three_axis_3.setFont(font)
- self.lineEdit_notify_three_axis_3.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_notify_three_axis_3.setText("")
- self.lineEdit_notify_three_axis_3.setObjectName("lineEdit_notify_three_axis_3")
- self.horizontalLayout_18.addWidget(self.lineEdit_notify_three_axis_3)
- self.horizontalLayout_18.setStretch(0, 4)
- self.horizontalLayout_18.setStretch(1, 7)
- self.verticalLayout_8.addLayout(self.horizontalLayout_18)
- self.verticalLayout_17.addWidget(self.groupBox_8)
- self.groupBox_11 = QtWidgets.QGroupBox(self.tab_2)
- self.groupBox_11.setEnabled(True)
- self.groupBox_11.setBaseSize(QtCore.QSize(0, 0))
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(10)
- font.setBold(True)
- font.setWeight(75)
- self.groupBox_11.setFont(font)
- self.groupBox_11.setLayoutDirection(QtCore.Qt.LeftToRight)
- self.groupBox_11.setAutoFillBackground(False)
- self.groupBox_11.setCheckable(True)
- self.groupBox_11.setChecked(False)
- self.groupBox_11.setObjectName("groupBox_11")
- self.horizontalLayout_22 = QtWidgets.QHBoxLayout(self.groupBox_11)
- self.horizontalLayout_22.setObjectName("horizontalLayout_22")
- self.verticalLayout_6 = QtWidgets.QVBoxLayout()
- self.verticalLayout_6.setObjectName("verticalLayout_6")
- self.horizontalLayout_35 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_35.setObjectName("horizontalLayout_35")
- self.label_22 = QtWidgets.QLabel(self.groupBox_11)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_22.setFont(font)
- self.label_22.setObjectName("label_22")
- self.horizontalLayout_35.addWidget(self.label_22)
- self.lineEdit_mac_three_axis_4 = QtWidgets.QLineEdit(self.groupBox_11)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_mac_three_axis_4.setFont(font)
- self.lineEdit_mac_three_axis_4.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_mac_three_axis_4.setObjectName("lineEdit_mac_three_axis_4")
- self.horizontalLayout_35.addWidget(self.lineEdit_mac_three_axis_4)
- self.horizontalLayout_35.setStretch(0, 4)
- self.horizontalLayout_35.setStretch(1, 7)
- self.verticalLayout_6.addLayout(self.horizontalLayout_35)
- self.horizontalLayout_23 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_23.setObjectName("horizontalLayout_23")
- self.label_20 = QtWidgets.QLabel(self.groupBox_11)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_20.setFont(font)
- self.label_20.setObjectName("label_20")
- self.horizontalLayout_23.addWidget(self.label_20)
- self.lineEdit_COM_2 = QtWidgets.QLineEdit(self.groupBox_11)
- font = QtGui.QFont()
- font.setFamily("SimSun")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_COM_2.setFont(font)
- self.lineEdit_COM_2.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_COM_2.setObjectName("lineEdit_COM_2")
- self.horizontalLayout_23.addWidget(self.lineEdit_COM_2)
- self.horizontalLayout_23.setStretch(0, 4)
- self.horizontalLayout_23.setStretch(1, 7)
- self.verticalLayout_6.addLayout(self.horizontalLayout_23)
- self.horizontalLayout_34 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_34.setObjectName("horizontalLayout_34")
- self.label_21 = QtWidgets.QLabel(self.groupBox_11)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_21.setFont(font)
- self.label_21.setObjectName("label_21")
- self.horizontalLayout_34.addWidget(self.label_21)
- self.lineEdit_baud_rate_2 = QtWidgets.QLineEdit(self.groupBox_11)
- font = QtGui.QFont()
- font.setFamily("SimSun")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_baud_rate_2.setFont(font)
- self.lineEdit_baud_rate_2.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_baud_rate_2.setText("")
- self.lineEdit_baud_rate_2.setObjectName("lineEdit_baud_rate_2")
- self.horizontalLayout_34.addWidget(self.lineEdit_baud_rate_2)
- self.horizontalLayout_34.setStretch(0, 4)
- self.horizontalLayout_34.setStretch(1, 7)
- self.verticalLayout_6.addLayout(self.horizontalLayout_34)
- self.horizontalLayout_22.addLayout(self.verticalLayout_6)
- self.verticalLayout_17.addWidget(self.groupBox_11)
- self.horizontalLayout_19 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_19.setObjectName("horizontalLayout_19")
- spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_19.addItem(spacerItem3)
- self.pushButton_5 = QtWidgets.QPushButton(self.tab_2)
- font = QtGui.QFont()
- font.setPointSize(11)
- font.setBold(True)
- font.setWeight(75)
- font.setStyleStrategy(QtGui.QFont.PreferDefault)
- self.pushButton_5.setFont(font)
- self.pushButton_5.setToolTipDuration(-1)
- self.pushButton_5.setAutoFillBackground(False)
- self.pushButton_5.setInputMethodHints(QtCore.Qt.ImhNone)
- self.pushButton_5.setCheckable(False)
- self.pushButton_5.setObjectName("pushButton_5")
- self.horizontalLayout_19.addWidget(self.pushButton_5)
- spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_19.addItem(spacerItem4)
- self.verticalLayout_17.addLayout(self.horizontalLayout_19)
- self.horizontalLayout_36.addLayout(self.verticalLayout_17)
- self.groupBox_6 = QtWidgets.QGroupBox(self.tab_2)
- font = QtGui.QFont()
- font.setPointSize(11)
- font.setBold(False)
- font.setWeight(50)
- self.groupBox_6.setFont(font)
- self.groupBox_6.setObjectName("groupBox_6")
- self.horizontalLayout_21 = QtWidgets.QHBoxLayout(self.groupBox_6)
- self.horizontalLayout_21.setContentsMargins(-1, 2, -1, -1)
- self.horizontalLayout_21.setObjectName("horizontalLayout_21")
- self.textBrowser_2 = QtWidgets.QTextBrowser(self.groupBox_6)
- self.textBrowser_2.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.textBrowser_2.setTabChangesFocus(False)
- self.textBrowser_2.setUndoRedoEnabled(False)
- self.textBrowser_2.setOpenExternalLinks(False)
- self.textBrowser_2.setObjectName("textBrowser_2")
- self.horizontalLayout_21.addWidget(self.textBrowser_2)
- self.horizontalLayout_36.addWidget(self.groupBox_6)
- self.horizontalLayout_36.setStretch(0, 1)
- self.horizontalLayout_36.setStretch(1, 2)
- self.horizontalLayout_37.addLayout(self.horizontalLayout_36)
- self.tabWidget.addTab(self.tab_2, "")
- self.tab = QtWidgets.QWidget()
- self.tab.setObjectName("tab")
- self.horizontalLayout_38 = QtWidgets.QHBoxLayout(self.tab)
- self.horizontalLayout_38.setObjectName("horizontalLayout_38")
- self.horizontalLayout_31 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_31.setObjectName("horizontalLayout_31")
- self.verticalLayout_16 = QtWidgets.QVBoxLayout()
- self.verticalLayout_16.setObjectName("verticalLayout_16")
- self.groupBox_9 = QtWidgets.QGroupBox(self.tab)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(10)
- font.setBold(True)
- font.setWeight(75)
- self.groupBox_9.setFont(font)
- self.groupBox_9.setCheckable(True)
- self.groupBox_9.setChecked(False)
- self.groupBox_9.setObjectName("groupBox_9")
- self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.groupBox_9)
- self.verticalLayout_9.setObjectName("verticalLayout_9")
- self.horizontalLayout_24 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_24.setObjectName("horizontalLayout_24")
- self.label_17 = QtWidgets.QLabel(self.groupBox_9)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setItalic(False)
- font.setUnderline(False)
- font.setWeight(50)
- self.label_17.setFont(font)
- self.label_17.setObjectName("label_17")
- self.horizontalLayout_24.addWidget(self.label_17)
- self.lineEdit_MqttTopic_2 = QtWidgets.QLineEdit(self.groupBox_9)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setItalic(False)
- font.setUnderline(False)
- font.setWeight(50)
- self.lineEdit_MqttTopic_2.setFont(font)
- self.lineEdit_MqttTopic_2.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_MqttTopic_2.setObjectName("lineEdit_MqttTopic_2")
- self.horizontalLayout_24.addWidget(self.lineEdit_MqttTopic_2)
- self.horizontalLayout_24.setStretch(0, 1)
- self.horizontalLayout_24.setStretch(1, 2)
- self.verticalLayout_9.addLayout(self.horizontalLayout_24)
- self.verticalLayout_16.addWidget(self.groupBox_9)
- self.groupBox_12 = QtWidgets.QGroupBox(self.tab)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(10)
- font.setBold(True)
- font.setWeight(75)
- self.groupBox_12.setFont(font)
- self.groupBox_12.setCheckable(True)
- self.groupBox_12.setChecked(False)
- self.groupBox_12.setObjectName("groupBox_12")
- self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.groupBox_12)
- self.verticalLayout_10.setObjectName("verticalLayout_10")
- self.horizontalLayout_25 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_25.setObjectName("horizontalLayout_25")
- self.label_18 = QtWidgets.QLabel(self.groupBox_12)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setItalic(False)
- font.setUnderline(False)
- font.setWeight(50)
- self.label_18.setFont(font)
- self.label_18.setObjectName("label_18")
- self.horizontalLayout_25.addWidget(self.label_18)
- self.lineEdit_MqttTopic_3 = QtWidgets.QLineEdit(self.groupBox_12)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setItalic(False)
- font.setUnderline(False)
- font.setWeight(50)
- self.lineEdit_MqttTopic_3.setFont(font)
- self.lineEdit_MqttTopic_3.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_MqttTopic_3.setObjectName("lineEdit_MqttTopic_3")
- self.horizontalLayout_25.addWidget(self.lineEdit_MqttTopic_3)
- self.horizontalLayout_25.setStretch(0, 1)
- self.horizontalLayout_25.setStretch(1, 2)
- self.verticalLayout_10.addLayout(self.horizontalLayout_25)
- self.verticalLayout_16.addWidget(self.groupBox_12)
- self.groupBox_13 = QtWidgets.QGroupBox(self.tab)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(10)
- font.setBold(True)
- font.setWeight(75)
- self.groupBox_13.setFont(font)
- self.groupBox_13.setCheckable(True)
- self.groupBox_13.setChecked(False)
- self.groupBox_13.setObjectName("groupBox_13")
- self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.groupBox_13)
- self.verticalLayout_11.setObjectName("verticalLayout_11")
- self.horizontalLayout_26 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_26.setObjectName("horizontalLayout_26")
- self.label_19 = QtWidgets.QLabel(self.groupBox_13)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setItalic(False)
- font.setUnderline(False)
- font.setWeight(50)
- self.label_19.setFont(font)
- self.label_19.setObjectName("label_19")
- self.horizontalLayout_26.addWidget(self.label_19)
- self.lineEdit_MqttTopic_4 = QtWidgets.QLineEdit(self.groupBox_13)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setItalic(False)
- font.setUnderline(False)
- font.setWeight(50)
- self.lineEdit_MqttTopic_4.setFont(font)
- self.lineEdit_MqttTopic_4.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_MqttTopic_4.setObjectName("lineEdit_MqttTopic_4")
- self.horizontalLayout_26.addWidget(self.lineEdit_MqttTopic_4)
- self.horizontalLayout_26.setStretch(0, 1)
- self.horizontalLayout_26.setStretch(1, 2)
- self.verticalLayout_11.addLayout(self.horizontalLayout_26)
- self.verticalLayout_16.addWidget(self.groupBox_13)
- self.groupBox_14 = QtWidgets.QGroupBox(self.tab)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(10)
- font.setBold(True)
- font.setWeight(75)
- self.groupBox_14.setFont(font)
- self.groupBox_14.setCheckable(True)
- self.groupBox_14.setChecked(False)
- self.groupBox_14.setObjectName("groupBox_14")
- self.verticalLayout_12 = QtWidgets.QVBoxLayout(self.groupBox_14)
- self.verticalLayout_12.setObjectName("verticalLayout_12")
- self.horizontalLayout_27 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_27.setObjectName("horizontalLayout_27")
- self.label_51 = QtWidgets.QLabel(self.groupBox_14)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_51.setFont(font)
- self.label_51.setObjectName("label_51")
- self.horizontalLayout_27.addWidget(self.label_51)
- self.lineEdit_mac_three_axis_11 = QtWidgets.QLineEdit(self.groupBox_14)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_mac_three_axis_11.setFont(font)
- self.lineEdit_mac_three_axis_11.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_mac_three_axis_11.setObjectName("lineEdit_mac_three_axis_11")
- self.horizontalLayout_27.addWidget(self.lineEdit_mac_three_axis_11)
- self.horizontalLayout_27.setStretch(0, 1)
- self.horizontalLayout_27.setStretch(1, 2)
- self.verticalLayout_12.addLayout(self.horizontalLayout_27)
- self.verticalLayout_16.addWidget(self.groupBox_14)
- self.groupBox_15 = QtWidgets.QGroupBox(self.tab)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(10)
- font.setBold(True)
- font.setWeight(75)
- self.groupBox_15.setFont(font)
- self.groupBox_15.setCheckable(True)
- self.groupBox_15.setChecked(False)
- self.groupBox_15.setObjectName("groupBox_15")
- self.verticalLayout_13 = QtWidgets.QVBoxLayout(self.groupBox_15)
- self.verticalLayout_13.setObjectName("verticalLayout_13")
- self.horizontalLayout_30 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_30.setObjectName("horizontalLayout_30")
- self.label_52 = QtWidgets.QLabel(self.groupBox_15)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.label_52.setFont(font)
- self.label_52.setObjectName("label_52")
- self.horizontalLayout_30.addWidget(self.label_52)
- self.lineEdit_mac_three_axis_12 = QtWidgets.QLineEdit(self.groupBox_15)
- font = QtGui.QFont()
- font.setFamily("幼圆")
- font.setPointSize(9)
- font.setBold(False)
- font.setWeight(50)
- self.lineEdit_mac_three_axis_12.setFont(font)
- self.lineEdit_mac_three_axis_12.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.lineEdit_mac_three_axis_12.setObjectName("lineEdit_mac_three_axis_12")
- self.horizontalLayout_30.addWidget(self.lineEdit_mac_three_axis_12)
- self.horizontalLayout_30.setStretch(0, 1)
- self.horizontalLayout_30.setStretch(1, 2)
- self.verticalLayout_13.addLayout(self.horizontalLayout_30)
- self.verticalLayout_16.addWidget(self.groupBox_15)
- self.horizontalLayout_28 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_28.setObjectName("horizontalLayout_28")
- spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_28.addItem(spacerItem5)
- self.pushButton_10 = QtWidgets.QPushButton(self.tab)
- font = QtGui.QFont()
- font.setPointSize(11)
- font.setBold(True)
- font.setWeight(75)
- font.setStyleStrategy(QtGui.QFont.PreferDefault)
- self.pushButton_10.setFont(font)
- self.pushButton_10.setToolTipDuration(-1)
- self.pushButton_10.setAutoFillBackground(False)
- self.pushButton_10.setInputMethodHints(QtCore.Qt.ImhNone)
- self.pushButton_10.setCheckable(False)
- self.pushButton_10.setObjectName("pushButton_10")
- self.horizontalLayout_28.addWidget(self.pushButton_10)
- spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_28.addItem(spacerItem6)
- self.pushButton_2 = QtWidgets.QPushButton(self.tab)
- self.pushButton_2.setEnabled(False)
- font = QtGui.QFont()
- font.setPointSize(11)
- font.setBold(True)
- font.setWeight(75)
- self.pushButton_2.setFont(font)
- self.pushButton_2.setObjectName("pushButton_2")
- self.horizontalLayout_28.addWidget(self.pushButton_2)
- spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_28.addItem(spacerItem7)
- self.verticalLayout_16.addLayout(self.horizontalLayout_28)
- self.horizontalLayout_31.addLayout(self.verticalLayout_16)
- self.groupBox_10 = QtWidgets.QGroupBox(self.tab)
- font = QtGui.QFont()
- font.setPointSize(11)
- font.setBold(False)
- font.setWeight(50)
- self.groupBox_10.setFont(font)
- self.groupBox_10.setObjectName("groupBox_10")
- self.horizontalLayout_29 = QtWidgets.QHBoxLayout(self.groupBox_10)
- self.horizontalLayout_29.setContentsMargins(-1, 2, -1, -1)
- self.horizontalLayout_29.setSpacing(7)
- self.horizontalLayout_29.setObjectName("horizontalLayout_29")
- self.textBrowser_3 = QtWidgets.QTextBrowser(self.groupBox_10)
- self.textBrowser_3.setStyleSheet("background-color: rgb(255, 255, 255);")
- self.textBrowser_3.setOpenExternalLinks(False)
- self.textBrowser_3.setObjectName("textBrowser_3")
- self.horizontalLayout_29.addWidget(self.textBrowser_3)
- self.horizontalLayout_31.addWidget(self.groupBox_10)
- self.horizontalLayout_31.setStretch(0, 1)
- self.horizontalLayout_31.setStretch(1, 2)
- self.horizontalLayout_38.addLayout(self.horizontalLayout_31)
- self.tabWidget.addTab(self.tab, "")
- self.tab_9 = QtWidgets.QWidget()
- self.tab_9.setObjectName("tab_9")
- self.verticalLayout_18 = QtWidgets.QVBoxLayout(self.tab_9)
- self.verticalLayout_18.setObjectName("verticalLayout_18")
- self.textEdit = QtWidgets.QTextEdit(self.tab_9)
- self.textEdit.setWhatsThis("")
- self.textEdit.setInputMethodHints(QtCore.Qt.ImhNone)
- self.textEdit.setUndoRedoEnabled(True)
- self.textEdit.setPlaceholderText("")
- self.textEdit.setObjectName("textEdit")
- self.verticalLayout_18.addWidget(self.textEdit)
- self.tabWidget.addTab(self.tab_9, "")
- self.horizontalLayout_20.addWidget(self.tabWidget)
- MainWindow.setCentralWidget(self.centralwidget)
- 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.groupBox.setTitle(_translate("MainWindow", "丢包+广播精度"))
- self.label_2.setText(_translate("MainWindow", "MQTT订阅主题:"))
- self.lineEdit_MqttTopic.setPlaceholderText(_translate("MainWindow", "/gw/scanpub/0ccf89666047"))
- self.label_14.setText(_translate("MainWindow", "设备广播间隔:"))
- self.lineEdit_MqttTopic_5.setPlaceholderText(_translate("MainWindow", "如100,单位ms"))
- self.label_15.setText(_translate("MainWindow", "广播偏差标准:"))
- self.lineEdit_MqttTopic_6.setPlaceholderText(_translate("MainWindow", "如10,单位ms"))
- self.pushButton_3.setText(_translate("MainWindow", "Adv+RSSI生成图表"))
- self.groupBox_2.setTitle(_translate("MainWindow", "三轴采样率"))
- self.label_3.setText(_translate("MainWindow", "设备MAC地址:"))
- self.lineEdit_mac_three_axis.setPlaceholderText(_translate("MainWindow", "112233445566"))
- self.label_4.setText(_translate("MainWindow", "三轴监听服务:"))
- self.lineEdit_notify_three_axis.setPlaceholderText(_translate("MainWindow", "0000AA04-0000-1000-8000-00805f9b34fb"))
- self.label_13.setText(_translate("MainWindow", "监听时长:"))
- self.lineEdit_notify_three_axis_5.setPlaceholderText(_translate("MainWindow", "如60,单位s"))
- self.groupBox_3.setTitle(_translate("MainWindow", "蓝牙协议"))
- self.label_5.setText(_translate("MainWindow", "设备MAC地址:"))
- self.lineEdit_mac_blepro.setPlaceholderText(_translate("MainWindow", "112233445566"))
- self.groupBox_4.setTitle(_translate("MainWindow", "串口协议"))
- self.label_7.setText(_translate("MainWindow", "串口选择:"))
- self.lineEdit_COM.setPlaceholderText(_translate("MainWindow", "COM7"))
- self.label_8.setText(_translate("MainWindow", "波特率:"))
- self.lineEdit_baud_rate.setPlaceholderText(_translate("MainWindow", "9600/115200....."))
- self.pushButton_4.setText(_translate("MainWindow", "开始测试"))
- self.pushButton.setText(_translate("MainWindow", "停止"))
- self.groupBox_5.setTitle(_translate("MainWindow", "日志"))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_1), _translate("MainWindow", "丢包+采样率+蓝牙+串口"))
- self.groupBox_7.setTitle(_translate("MainWindow", "断开类型功能验证"))
- self.label_6.setText(_translate("MainWindow", "设备MAC地址:"))
- self.lineEdit_mac_three_axis_2.setPlaceholderText(_translate("MainWindow", "112233445566"))
- self.label_9.setText(_translate("MainWindow", "读写与反馈服务:"))
- self.lineEdit_notify_three_axis_2.setPlaceholderText(_translate("MainWindow", "0000AA01-0000-1000-8000-00805f9b34fb"))
- self.label_12.setText(_translate("MainWindow", "断开返回服务:"))
- self.lineEdit_notify_three_axis_4.setPlaceholderText(_translate("MainWindow", "0000AA02-0000-1000-8000-00805f9b34fb"))
- self.label_16.setText(_translate("MainWindow", "密码自定义服务:"))
- self.lineEdit_notify_three_axis_7.setPlaceholderText(_translate("MainWindow", "0000AA03-0000-1000-8000-00805f9b34fb"))
- self.groupBox_8.setTitle(_translate("MainWindow", "密码服务功能验证"))
- self.label_10.setText(_translate("MainWindow", "设备MAC地址:"))
- self.lineEdit_mac_three_axis_3.setPlaceholderText(_translate("MainWindow", "112233445566"))
- self.label_11.setText(_translate("MainWindow", "密码自定义服务:"))
- self.lineEdit_notify_three_axis_3.setPlaceholderText(_translate("MainWindow", "0000AA04-0000-1000-8000-00805f9b34fb"))
- self.groupBox_11.setTitle(_translate("MainWindow", "功耗自动化"))
- self.label_22.setText(_translate("MainWindow", "设备MAC地址:"))
- self.lineEdit_mac_three_axis_4.setPlaceholderText(_translate("MainWindow", "112233445566"))
- self.label_20.setText(_translate("MainWindow", "串口选择:"))
- self.lineEdit_COM_2.setPlaceholderText(_translate("MainWindow", "COM7"))
- self.label_21.setText(_translate("MainWindow", "波特率:"))
- self.lineEdit_baud_rate_2.setPlaceholderText(_translate("MainWindow", "9600/115200....."))
- self.pushButton_5.setText(_translate("MainWindow", "开始测试"))
- self.groupBox_6.setTitle(_translate("MainWindow", "日志"))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "功能性测试"))
- self.groupBox_9.setTitle(_translate("MainWindow", "BXP-A-C广播解析"))
- self.label_17.setText(_translate("MainWindow", "MQTT订阅主题:"))
- self.lineEdit_MqttTopic_2.setPlaceholderText(_translate("MainWindow", "/gw/scanpub/0ccf89666047"))
- self.groupBox_12.setTitle(_translate("MainWindow", "高压釜消毒时间解析"))
- self.label_18.setText(_translate("MainWindow", "MQTT订阅主题:"))
- self.lineEdit_MqttTopic_3.setPlaceholderText(_translate("MainWindow", "/gw/scanpub/0ccf89666047"))
- self.groupBox_13.setTitle(_translate("MainWindow", "网关上报包中广播总数量"))
- self.label_19.setText(_translate("MainWindow", "MQTT订阅主题:"))
- self.lineEdit_MqttTopic_4.setPlaceholderText(_translate("MainWindow", "/gw/scanpub/0ccf89666047"))
- self.groupBox_14.setTitle(_translate("MainWindow", "Beacon原始数据"))
- self.label_51.setText(_translate("MainWindow", "设备MAC地址:"))
- self.lineEdit_mac_three_axis_11.setPlaceholderText(_translate("MainWindow", "112233445566"))
- self.groupBox_15.setTitle(_translate("MainWindow", "TOF距离"))
- self.label_52.setText(_translate("MainWindow", "设备MAC地址:"))
- self.lineEdit_mac_three_axis_12.setPlaceholderText(_translate("MainWindow", "112233445566"))
- self.pushButton_10.setText(_translate("MainWindow", "开始测试"))
- self.pushButton_2.setText(_translate("MainWindow", "停止"))
- self.groupBox_10.setTitle(_translate("MainWindow", "日志"))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "广播解析"))
- self.textEdit.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
- "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
- "p, li { white-space: pre-wrap; }\n"
- "</style></head><body style=\" font-family:\'SimSun\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
- "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">注意点:</span></p>\n"
- "<p style=\"-qt-paragraph-type:empty; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n"
- "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">1.本上位机有些功能涉及到配合网关使用,网关配合操作如下:</p>\n"
- "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">①网关mqtt服务器需修改为:47.104.172.169:1883,上报时间需设置为0s,Message Format选JSON(Local time)</p>\n"
- "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">②要验证丢包率时,需关闭beacon回应包或开启没有回应包的通道或网关Active Scanning选项关闭,不验证丢包率可忽略此条注意点</p>\n"
- "<p style=\"-qt-paragraph-type:empty; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n"
- "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">2.兼容此上位机脚本链接地址:<a href=\"https://47.104.186.170/svn/Product/测试资源/1.测试组资料/测试工具/Scripts\"><span style=\" text-decoration: underline; color:#0000ff;\">https://47.104.186.170/svn/Product/测试资源/1.测试组资料/测试工具/Scripts</span></a></p>\n"
- "<p style=\"-qt-paragraph-type:empty; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; text-decoration: underline; color:#0000ff;\"><br /></p>\n"
- "<p style=\"-qt-paragraph-type:empty; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; text-decoration: underline; color:#0000ff;\"><br /></p></body></html>"))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_9), _translate("MainWindow", "使用说明"))

Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。