# -*- coding: utf-8 -*- ################################################################################ # Form generated from reading UI file 'main.ui' ## # Created by: Qt User Interface Compiler version 5.15.2 ## # WARNING! All changes made in this file will be lost when recompiling UI file! ################################################################################ from PySide2.QtCore import * from PySide2.QtGui import * from PySide2.QtWidgets import * class Ui_MainWindow(object): def setupUi(self, MainWindow): if not MainWindow.objectName(): MainWindow.setObjectName(u"MainWindow") MainWindow.resize(800, 575) MainWindow.setMinimumSize(QSize(800, 575)) self.centralwidget = QWidget(MainWindow) self.centralwidget.setObjectName(u"centralwidget") sizePolicy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.centralwidget.sizePolicy().hasHeightForWidth()) self.centralwidget.setSizePolicy(sizePolicy) self.centralwidget.setMinimumSize(QSize(800, 575)) self.verticalLayout = QVBoxLayout(self.centralwidget) self.verticalLayout.setObjectName(u"verticalLayout") self.verticalLayout_5 = QVBoxLayout() self.verticalLayout_5.setObjectName(u"verticalLayout_5") self.horizontalLayout_4 = QHBoxLayout() self.horizontalLayout_4.setSpacing(10) self.horizontalLayout_4.setObjectName(u"horizontalLayout_4") self.horizontalLayout_4.setSizeConstraint(QLayout.SetFixedSize) self.groupBox = QGroupBox(self.centralwidget) self.groupBox.setObjectName(u"groupBox") self.verticalLayout_7 = QVBoxLayout(self.groupBox) self.verticalLayout_7.setObjectName(u"verticalLayout_7") self.horizontalLayout_19 = QHBoxLayout() self.horizontalLayout_19.setObjectName(u"horizontalLayout_19") self.label = QLabel(self.groupBox) self.label.setObjectName(u"label") sizePolicy1 = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Preferred) sizePolicy1.setHorizontalStretch(0) sizePolicy1.setVerticalStretch(0) sizePolicy1.setHeightForWidth( self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy1) self.label.setMinimumSize(QSize(54, 0)) self.horizontalLayout_19.addWidget(self.label) self.comboBox_2 = QComboBox(self.groupBox) self.comboBox_2.setObjectName(u"comboBox_2") sizePolicy2 = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Fixed) sizePolicy2.setHorizontalStretch(1) sizePolicy2.setVerticalStretch(0) sizePolicy2.setHeightForWidth( self.comboBox_2.sizePolicy().hasHeightForWidth()) self.comboBox_2.setSizePolicy(sizePolicy2) self.comboBox_2.setLayoutDirection(Qt.LeftToRight) self.horizontalLayout_19.addWidget(self.comboBox_2) self.horizontalLayout_19.setStretch(0, 3) self.horizontalLayout_19.setStretch(1, 5) self.verticalLayout_7.addLayout(self.horizontalLayout_19) self.horizontalLayout_20 = QHBoxLayout() self.horizontalLayout_20.setObjectName(u"horizontalLayout_20") self.label_3 = QLabel(self.groupBox) self.label_3.setObjectName(u"label_3") sizePolicy1.setHeightForWidth( self.label_3.sizePolicy().hasHeightForWidth()) self.label_3.setSizePolicy(sizePolicy1) self.horizontalLayout_20.addWidget(self.label_3) self.comboBox_3 = QComboBox(self.groupBox) self.comboBox_3.setObjectName(u"comboBox_3") sizePolicy2.setHeightForWidth( self.comboBox_3.sizePolicy().hasHeightForWidth()) self.comboBox_3.setSizePolicy(sizePolicy2) self.horizontalLayout_20.addWidget(self.comboBox_3) self.horizontalLayout_20.setStretch(0, 3) self.horizontalLayout_20.setStretch(1, 5) self.verticalLayout_7.addLayout(self.horizontalLayout_20) self.horizontalLayout_21 = QHBoxLayout() self.horizontalLayout_21.setObjectName(u"horizontalLayout_21") self.label_19 = QLabel(self.groupBox) self.label_19.setObjectName(u"label_19") sizePolicy1.setHeightForWidth( self.label_19.sizePolicy().hasHeightForWidth()) self.label_19.setSizePolicy(sizePolicy1) self.label_19.setMinimumSize(QSize(54, 0)) self.horizontalLayout_21.addWidget(self.label_19) self.comboBox_5 = QComboBox(self.groupBox) self.comboBox_5.setObjectName(u"comboBox_5") sizePolicy2.setHeightForWidth( self.comboBox_5.sizePolicy().hasHeightForWidth()) self.comboBox_5.setSizePolicy(sizePolicy2) self.horizontalLayout_21.addWidget(self.comboBox_5) self.horizontalLayout_21.setStretch(0, 3) self.horizontalLayout_21.setStretch(1, 5) self.verticalLayout_7.addLayout(self.horizontalLayout_21) self.pushButton_2 = QPushButton(self.groupBox) self.pushButton_2.setObjectName(u"pushButton_2") self.verticalLayout_7.addWidget(self.pushButton_2) self.pushButton = QPushButton(self.groupBox) self.pushButton.setObjectName(u"pushButton") self.pushButton.setEnabled(True) self.pushButton.setCheckable(True) self.verticalLayout_7.addWidget(self.pushButton) self.verticalSpacer = QSpacerItem( 20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding) self.verticalLayout_7.addItem(self.verticalSpacer) self.horizontalLayout_4.addWidget(self.groupBox) self.tabWidget = QTabWidget(self.centralwidget) self.tabWidget.setObjectName(u"tabWidget") self.tabWidget.setMinimumSize(QSize(24, 24)) self.tabWidget.setStyleSheet(u"") self.tab = QWidget() self.tab.setObjectName(u"tab") self.verticalLayout_9 = QVBoxLayout(self.tab) self.verticalLayout_9.setObjectName(u"verticalLayout_9") self.groupBox_2 = QGroupBox(self.tab) self.groupBox_2.setObjectName(u"groupBox_2") self.verticalLayout_2 = QVBoxLayout(self.groupBox_2) self.verticalLayout_2.setObjectName(u"verticalLayout_2") self.verticalLayout_6 = QVBoxLayout() self.verticalLayout_6.setSpacing(1) self.verticalLayout_6.setObjectName(u"verticalLayout_6") self.horizontalLayout_8 = QHBoxLayout() self.horizontalLayout_8.setObjectName(u"horizontalLayout_8") self.label_2 = QLabel(self.groupBox_2) self.label_2.setObjectName(u"label_2") sizePolicy3 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed) sizePolicy3.setHorizontalStretch(0) sizePolicy3.setVerticalStretch(0) sizePolicy3.setHeightForWidth( self.label_2.sizePolicy().hasHeightForWidth()) self.label_2.setSizePolicy(sizePolicy3) self.label_2.setAlignment(Qt.AlignCenter) self.horizontalLayout_8.addWidget(self.label_2) self.label_4 = QLabel(self.groupBox_2) self.label_4.setObjectName(u"label_4") sizePolicy3.setHeightForWidth( self.label_4.sizePolicy().hasHeightForWidth()) self.label_4.setSizePolicy(sizePolicy3) self.label_4.setAlignment(Qt.AlignCenter) self.horizontalLayout_8.addWidget(self.label_4) self.label_5 = QLabel(self.groupBox_2) self.label_5.setObjectName(u"label_5") sizePolicy3.setHeightForWidth( self.label_5.sizePolicy().hasHeightForWidth()) self.label_5.setSizePolicy(sizePolicy3) self.label_5.setAlignment(Qt.AlignCenter) self.horizontalLayout_8.addWidget(self.label_5) self.label_6 = QLabel(self.groupBox_2) self.label_6.setObjectName(u"label_6") self.horizontalLayout_8.addWidget(self.label_6) self.horizontalLayout_8.setStretch(0, 1) self.horizontalLayout_8.setStretch(1, 4) self.horizontalLayout_8.setStretch(2, 2) self.horizontalLayout_8.setStretch(3, 2) self.verticalLayout_6.addLayout(self.horizontalLayout_8) self.horizontalLayout_9 = QHBoxLayout() self.horizontalLayout_9.setObjectName(u"horizontalLayout_9") self.comboBox_6 = QComboBox(self.groupBox_2) self.comboBox_6.setObjectName(u"comboBox_6") self.horizontalLayout_9.addWidget(self.comboBox_6) self.lineEdit = QLineEdit(self.groupBox_2) self.lineEdit.setObjectName(u"lineEdit") self.horizontalLayout_9.addWidget(self.lineEdit) self.lineEdit_2 = QLineEdit(self.groupBox_2) self.lineEdit_2.setObjectName(u"lineEdit_2") self.horizontalLayout_9.addWidget(self.lineEdit_2) self.pushButton_14 = QPushButton(self.groupBox_2) self.pushButton_14.setObjectName(u"pushButton_14") self.horizontalLayout_9.addWidget(self.pushButton_14) self.pushButton_3 = QPushButton(self.groupBox_2) self.pushButton_3.setObjectName(u"pushButton_3") self.horizontalLayout_9.addWidget(self.pushButton_3) self.horizontalLayout_9.setStretch(0, 1) self.horizontalLayout_9.setStretch(1, 4) self.horizontalLayout_9.setStretch(2, 2) self.horizontalLayout_9.setStretch(3, 1) self.horizontalLayout_9.setStretch(4, 1) self.verticalLayout_6.addLayout(self.horizontalLayout_9) self.verticalLayout_2.addLayout(self.verticalLayout_6) self.gridLayout = QGridLayout() self.gridLayout.setObjectName(u"gridLayout") self.label_8 = QLabel(self.groupBox_2) self.label_8.setObjectName(u"label_8") self.gridLayout.addWidget(self.label_8, 1, 3, 1, 1) self.label_14 = QLabel(self.groupBox_2) self.label_14.setObjectName(u"label_14") self.gridLayout.addWidget(self.label_14, 5, 3, 1, 1) self.lineEdit_5 = QLineEdit(self.groupBox_2) self.lineEdit_5.setObjectName(u"lineEdit_5") self.gridLayout.addWidget(self.lineEdit_5, 1, 1, 1, 1) self.lineEdit_11 = QLineEdit(self.groupBox_2) self.lineEdit_11.setObjectName(u"lineEdit_11") self.gridLayout.addWidget(self.lineEdit_11, 3, 4, 1, 1) self.lineEdit_13 = QLineEdit(self.groupBox_2) self.lineEdit_13.setObjectName(u"lineEdit_13") self.gridLayout.addWidget(self.lineEdit_13, 4, 1, 1, 1) self.label_12 = QLabel(self.groupBox_2) self.label_12.setObjectName(u"label_12") self.gridLayout.addWidget(self.label_12, 3, 0, 1, 1) self.pushButton_5 = QPushButton(self.groupBox_2) self.pushButton_5.setObjectName(u"pushButton_5") self.gridLayout.addWidget(self.pushButton_5, 0, 5, 1, 1) self.pushButton_25 = QPushButton(self.groupBox_2) self.pushButton_25.setObjectName(u"pushButton_25") self.gridLayout.addWidget(self.pushButton_25, 4, 5, 1, 1) self.lineEdit_9 = QLineEdit(self.groupBox_2) self.lineEdit_9.setObjectName(u"lineEdit_9") self.gridLayout.addWidget(self.lineEdit_9, 3, 1, 1, 1) self.pushButton_23 = QPushButton(self.groupBox_2) self.pushButton_23.setObjectName(u"pushButton_23") self.gridLayout.addWidget(self.pushButton_23, 4, 2, 1, 1) self.label_18 = QLabel(self.groupBox_2) self.label_18.setObjectName(u"label_18") self.gridLayout.addWidget(self.label_18, 2, 3, 1, 1) self.pushButton_4 = QPushButton(self.groupBox_2) self.pushButton_4.setObjectName(u"pushButton_4") sizePolicy4 = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed) sizePolicy4.setHorizontalStretch(0) sizePolicy4.setVerticalStretch(0) sizePolicy4.setHeightForWidth( self.pushButton_4.sizePolicy().hasHeightForWidth()) self.pushButton_4.setSizePolicy(sizePolicy4) self.pushButton_4.setMinimumSize(QSize(45, 23)) self.gridLayout.addWidget(self.pushButton_4, 0, 2, 1, 1) self.lineEdit_4 = QLineEdit(self.groupBox_2) self.lineEdit_4.setObjectName(u"lineEdit_4") self.gridLayout.addWidget(self.lineEdit_4, 0, 4, 1, 1) self.pushButton_8 = QPushButton(self.groupBox_2) self.pushButton_8.setObjectName(u"pushButton_8") self.gridLayout.addWidget(self.pushButton_8, 1, 5, 1, 1) self.lineEdit_12 = QLineEdit(self.groupBox_2) self.lineEdit_12.setObjectName(u"lineEdit_12") self.gridLayout.addWidget(self.lineEdit_12, 5, 4, 1, 1) self.pushButton_20 = QPushButton(self.groupBox_2) self.pushButton_20.setObjectName(u"pushButton_20") self.gridLayout.addWidget(self.pushButton_20, 5, 5, 1, 1) self.label_10 = QLabel(self.groupBox_2) self.label_10.setObjectName(u"label_10") self.gridLayout.addWidget(self.label_10, 2, 0, 1, 1) self.lineEdit_14 = QLineEdit(self.groupBox_2) self.lineEdit_14.setObjectName(u"lineEdit_14") self.gridLayout.addWidget(self.lineEdit_14, 4, 4, 1, 1) self.lineEdit_8 = QLineEdit(self.groupBox_2) self.lineEdit_8.setObjectName(u"lineEdit_8") self.gridLayout.addWidget(self.lineEdit_8, 2, 4, 1, 1) self.lineEdit_3 = QLineEdit(self.groupBox_2) self.lineEdit_3.setObjectName(u"lineEdit_3") self.gridLayout.addWidget(self.lineEdit_3, 0, 1, 1, 1) self.label_15 = QLabel(self.groupBox_2) self.label_15.setObjectName(u"label_15") self.gridLayout.addWidget(self.label_15, 4, 3, 1, 1) self.label_17 = QLabel(self.groupBox_2) self.label_17.setObjectName(u"label_17") self.gridLayout.addWidget(self.label_17, 1, 0, 1, 1) self.pushButton_16 = QPushButton(self.groupBox_2) self.pushButton_16.setObjectName(u"pushButton_16") self.gridLayout.addWidget(self.pushButton_16, 5, 2, 1, 1) self.lineEdit_7 = QLineEdit(self.groupBox_2) self.lineEdit_7.setObjectName(u"lineEdit_7") self.gridLayout.addWidget(self.lineEdit_7, 2, 1, 1, 1) self.label_7 = QLabel(self.groupBox_2) self.label_7.setObjectName(u"label_7") self.gridLayout.addWidget(self.label_7, 0, 0, 1, 1) self.lineEdit_10 = QLineEdit(self.groupBox_2) self.lineEdit_10.setObjectName(u"lineEdit_10") self.gridLayout.addWidget(self.lineEdit_10, 5, 1, 1, 1) self.pushButton_15 = QPushButton(self.groupBox_2) self.pushButton_15.setObjectName(u"pushButton_15") self.gridLayout.addWidget(self.pushButton_15, 3, 2, 1, 1) self.label_9 = QLabel(self.groupBox_2) self.label_9.setObjectName(u"label_9") self.gridLayout.addWidget(self.label_9, 0, 3, 1, 1) self.label_13 = QLabel(self.groupBox_2) self.label_13.setObjectName(u"label_13") self.gridLayout.addWidget(self.label_13, 3, 3, 1, 1) self.pushButton_10 = QPushButton(self.groupBox_2) self.pushButton_10.setObjectName(u"pushButton_10") self.gridLayout.addWidget(self.pushButton_10, 2, 2, 1, 1) self.pushButton_6 = QPushButton(self.groupBox_2) self.pushButton_6.setObjectName(u"pushButton_6") self.gridLayout.addWidget(self.pushButton_6, 1, 2, 1, 1) self.pushButton_12 = QPushButton(self.groupBox_2) self.pushButton_12.setObjectName(u"pushButton_12") self.gridLayout.addWidget(self.pushButton_12, 2, 5, 1, 1) self.label_16 = QLabel(self.groupBox_2) self.label_16.setObjectName(u"label_16") self.gridLayout.addWidget(self.label_16, 5, 0, 1, 1) self.pushButton_19 = QPushButton(self.groupBox_2) self.pushButton_19.setObjectName(u"pushButton_19") self.gridLayout.addWidget(self.pushButton_19, 3, 5, 1, 1) self.lineEdit_6 = QLineEdit(self.groupBox_2) self.lineEdit_6.setObjectName(u"lineEdit_6") self.gridLayout.addWidget(self.lineEdit_6, 1, 4, 1, 1) self.label_11 = QLabel(self.groupBox_2) self.label_11.setObjectName(u"label_11") self.gridLayout.addWidget(self.label_11, 4, 0, 1, 1) self.label_20 = QLabel(self.groupBox_2) self.label_20.setObjectName(u"label_20") self.gridLayout.addWidget(self.label_20, 6, 0, 1, 1) self.lineEdit_15 = QLineEdit(self.groupBox_2) self.lineEdit_15.setObjectName(u"lineEdit_15") self.gridLayout.addWidget(self.lineEdit_15, 6, 1, 1, 1) self.pushButton_17 = QPushButton(self.groupBox_2) self.pushButton_17.setObjectName(u"pushButton_17") self.gridLayout.addWidget(self.pushButton_17, 6, 2, 1, 1) self.label_21 = QLabel(self.groupBox_2) self.label_21.setObjectName(u"label_21") self.gridLayout.addWidget(self.label_21, 6, 3, 1, 1) self.lineEdit_16 = QLineEdit(self.groupBox_2) self.lineEdit_16.setObjectName(u"lineEdit_16") self.gridLayout.addWidget(self.lineEdit_16, 6, 4, 1, 1) self.pushButton_21 = QPushButton(self.groupBox_2) self.pushButton_21.setObjectName(u"pushButton_21") self.gridLayout.addWidget(self.pushButton_21, 6, 5, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout) self.verticalLayout_2.setStretch(0, 1) self.verticalLayout_2.setStretch(1, 5) self.verticalLayout_9.addWidget(self.groupBox_2) self.horizontalLayout_5 = QHBoxLayout() self.horizontalLayout_5.setObjectName(u"horizontalLayout_5") self.SessionContrl_gbx = QGroupBox(self.tab) self.SessionContrl_gbx.setObjectName(u"SessionContrl_gbx") self.horizontalLayout_6 = QHBoxLayout(self.SessionContrl_gbx) self.horizontalLayout_6.setObjectName(u"horizontalLayout_6") self.comboBox = QComboBox(self.SessionContrl_gbx) self.comboBox.setObjectName(u"comboBox") self.horizontalLayout_6.addWidget(self.comboBox) self.horizontalLayout_5.addWidget(self.SessionContrl_gbx) self.SessionContrl_gbx_3 = QGroupBox(self.tab) self.SessionContrl_gbx_3.setObjectName(u"SessionContrl_gbx_3") self.verticalLayout_3 = QVBoxLayout(self.SessionContrl_gbx_3) self.verticalLayout_3.setObjectName(u"verticalLayout_3") self.comboBox_8 = QComboBox(self.SessionContrl_gbx_3) self.comboBox_8.setObjectName(u"comboBox_8") self.verticalLayout_3.addWidget(self.comboBox_8) self.horizontalLayout_5.addWidget(self.SessionContrl_gbx_3) self.SessionContrl_gbx_4 = QGroupBox(self.tab) self.SessionContrl_gbx_4.setObjectName(u"SessionContrl_gbx_4") self.verticalLayout_4 = QVBoxLayout(self.SessionContrl_gbx_4) self.verticalLayout_4.setObjectName(u"verticalLayout_4") self.comboBox_9 = QComboBox(self.SessionContrl_gbx_4) self.comboBox_9.setObjectName(u"comboBox_9") self.verticalLayout_4.addWidget(self.comboBox_9) self.horizontalLayout_5.addWidget(self.SessionContrl_gbx_4) self.SessionContrl_gbx_2 = QGroupBox(self.tab) self.SessionContrl_gbx_2.setObjectName(u"SessionContrl_gbx_2") self.verticalLayout_8 = QVBoxLayout(self.SessionContrl_gbx_2) self.verticalLayout_8.setObjectName(u"verticalLayout_8") self.comboBox_7 = QComboBox(self.SessionContrl_gbx_2) self.comboBox_7.setObjectName(u"comboBox_7") self.verticalLayout_8.addWidget(self.comboBox_7) self.horizontalLayout_5.addWidget(self.SessionContrl_gbx_2) self.SessionContrl_gbx_5 = QGroupBox(self.tab) self.SessionContrl_gbx_5.setObjectName(u"SessionContrl_gbx_5") self.horizontalLayout_7 = QHBoxLayout(self.SessionContrl_gbx_5) self.horizontalLayout_7.setObjectName(u"horizontalLayout_7") self.radioButton = QRadioButton(self.SessionContrl_gbx_5) self.radioButton.setObjectName(u"radioButton") self.horizontalLayout_7.addWidget(self.radioButton) self.pushButton_7 = QPushButton(self.SessionContrl_gbx_5) self.pushButton_7.setObjectName(u"pushButton_7") self.horizontalLayout_7.addWidget(self.pushButton_7) self.horizontalLayout_7.setStretch(0, 1) self.horizontalLayout_7.setStretch(1, 5) self.horizontalLayout_5.addWidget(self.SessionContrl_gbx_5) self.horizontalLayout_5.setStretch(0, 1) self.horizontalLayout_5.setStretch(1, 1) self.horizontalLayout_5.setStretch(2, 1) self.horizontalLayout_5.setStretch(3, 1) self.horizontalLayout_5.setStretch(4, 1) self.verticalLayout_9.addLayout(self.horizontalLayout_5) self.verticalSpacer_2 = QSpacerItem( 20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding) self.verticalLayout_9.addItem(self.verticalSpacer_2) self.tabWidget.addTab(self.tab, "") self.horizontalLayout_4.addWidget(self.tabWidget) self.horizontalLayout_4.setStretch(0, 2) self.horizontalLayout_4.setStretch(1, 8) self.verticalLayout_5.addLayout(self.horizontalLayout_4) self.horizontalLayout = QHBoxLayout() self.horizontalLayout.setObjectName(u"horizontalLayout") self.line = QFrame(self.centralwidget) self.line.setObjectName(u"line") self.line.setFrameShape(QFrame.HLine) self.line.setFrameShadow(QFrame.Sunken) self.horizontalLayout.addWidget(self.line) self.verticalLayout_5.addLayout(self.horizontalLayout) self.tabWidget_2 = QTabWidget(self.centralwidget) self.tabWidget_2.setObjectName(u"tabWidget_2") self.tabWidget_2.setTabPosition(QTabWidget.West) self.tab_logger = QWidget() self.tab_logger.setObjectName(u"tab_logger") self.horizontalLayout_2 = QHBoxLayout(self.tab_logger) self.horizontalLayout_2.setObjectName(u"horizontalLayout_2") self.tableWidget = QTableWidget(self.tab_logger) if (self.tableWidget.columnCount() < 7): self.tableWidget.setColumnCount(7) __qtablewidgetitem = QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(0, __qtablewidgetitem) __qtablewidgetitem1 = QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(1, __qtablewidgetitem1) __qtablewidgetitem2 = QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(2, __qtablewidgetitem2) __qtablewidgetitem3 = QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(3, __qtablewidgetitem3) __qtablewidgetitem4 = QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(4, __qtablewidgetitem4) __qtablewidgetitem5 = QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(5, __qtablewidgetitem5) __qtablewidgetitem6 = QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(6, __qtablewidgetitem6) if (self.tableWidget.rowCount() < 5): self.tableWidget.setRowCount(5) self.tableWidget.setObjectName(u"tableWidget") self.tableWidget.setGridStyle(Qt.NoPen) self.tableWidget.setRowCount(5) self.tableWidget.horizontalHeader().setCascadingSectionResizes(False) self.tableWidget.horizontalHeader().setStretchLastSection(True) self.horizontalLayout_2.addWidget(self.tableWidget) self.tabWidget_2.addTab(self.tab_logger, "") self.tab_6 = QWidget() self.tab_6.setObjectName(u"tab_6") self.horizontalLayout_3 = QHBoxLayout(self.tab_6) self.horizontalLayout_3.setObjectName(u"horizontalLayout_3") self.textEdit = QTextEdit(self.tab_6) self.textEdit.setObjectName(u"textEdit") self.horizontalLayout_3.addWidget(self.textEdit) self.tabWidget_2.addTab(self.tab_6, "") self.verticalLayout_5.addWidget(self.tabWidget_2) self.verticalLayout_5.setStretch(0, 4) self.verticalLayout_5.setStretch(2, 2) self.verticalLayout.addLayout(self.verticalLayout_5) MainWindow.setCentralWidget(self.centralwidget) self.retranslateUi(MainWindow) self.tabWidget.setCurrentIndex(0) self.tabWidget_2.setCurrentIndex(0) QMetaObject.connectSlotsByName(MainWindow) # setupUi def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(QCoreApplication.translate( "MainWindow", u"MainWindow", None)) self.groupBox.setTitle(QCoreApplication.translate( "MainWindow", u"Config", None)) self.label.setText(QCoreApplication.translate( "MainWindow", u"Device:", None)) self.label_3.setText(QCoreApplication.translate( "MainWindow", u"Baudrate:", None)) self.label_19.setText(QCoreApplication.translate( "MainWindow", u"Channel", None)) self.pushButton_2.setText(QCoreApplication.translate( "MainWindow", u"Refresh Port", None)) self.pushButton.setText(QCoreApplication.translate( "MainWindow", u"OPEN CAN", None)) self.groupBox_2.setTitle(QCoreApplication.translate( "MainWindow", u"DataIdentifier", None)) self.label_2.setText(QCoreApplication.translate( "MainWindow", u"DID", None)) self.label_4.setText(QCoreApplication.translate( "MainWindow", u"Description", None)) self.label_5.setText(QCoreApplication.translate( "MainWindow", u"Value", None)) self.label_6.setText("") self.pushButton_14.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.pushButton_3.setText( QCoreApplication.translate("MainWindow", u"Write", None)) self.label_8.setText(QCoreApplication.translate( "MainWindow", u"M SWVer.", None)) self.label_14.setText(QCoreApplication.translate( "MainWindow", u"HW Ver.", None)) self.label_12.setText(QCoreApplication.translate( "MainWindow", u"DiagVersion.", None)) self.pushButton_5.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.pushButton_25.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.pushButton_23.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.label_18.setText(QCoreApplication.translate( "MainWindow", u"SupplierID", None)) self.pushButton_4.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.pushButton_8.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.pushButton_20.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.label_10.setText(QCoreApplication.translate( "MainWindow", u"VehicleName", None)) self.label_15.setText(QCoreApplication.translate( "MainWindow", u"SW Ver.", None)) self.label_17.setText(QCoreApplication.translate( "MainWindow", u"Manu Date", None)) self.pushButton_16.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.label_7.setText(QCoreApplication.translate( "MainWindow", u"VIN", None)) self.pushButton_15.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.label_9.setText(QCoreApplication.translate( "MainWindow", u"DFLZM PN.", None)) self.label_13.setText(QCoreApplication.translate( "MainWindow", u"ECU SN.", None)) self.pushButton_10.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.pushButton_6.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.pushButton_12.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.label_16.setText(QCoreApplication.translate( "MainWindow", u"Session", None)) self.pushButton_19.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.label_11.setText(QCoreApplication.translate( "MainWindow", u"BootID", None)) self.label_20.setText(QCoreApplication.translate( "MainWindow", u"Session", None)) self.pushButton_17.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.label_21.setText(QCoreApplication.translate( "MainWindow", u"HW Ver.", None)) self.pushButton_21.setText( QCoreApplication.translate("MainWindow", u"Read", None)) self.SessionContrl_gbx.setTitle(QCoreApplication.translate( "MainWindow", u"SessionControl(0x10)", None)) self.SessionContrl_gbx_3.setTitle( QCoreApplication.translate("MainWindow", u" ECUReset(0x11)", None)) self.SessionContrl_gbx_4.setTitle(QCoreApplication.translate( "MainWindow", u"CommControl(0x28)", None)) self.SessionContrl_gbx_2.setTitle( QCoreApplication.translate("MainWindow", u"ClearDiag(0x14)", None)) self.SessionContrl_gbx_5.setTitle(QCoreApplication.translate( "MainWindow", u"TesterPresent(0x3E)", None)) self.radioButton.setText("") self.pushButton_7.setText(QCoreApplication.translate( "MainWindow", u"TesterPresent", None)) self.tabWidget.setTabText(self.tabWidget.indexOf( self.tab), QCoreApplication.translate("MainWindow", u"UDS", None)) ___qtablewidgetitem = self.tableWidget.horizontalHeaderItem(0) ___qtablewidgetitem.setText(QCoreApplication.translate( "MainWindow", u"\u5e8f\u53f7", None)) ___qtablewidgetitem1 = self.tableWidget.horizontalHeaderItem(1) ___qtablewidgetitem1.setText(QCoreApplication.translate( "MainWindow", u"\u65f6\u95f4", None)) ___qtablewidgetitem2 = self.tableWidget.horizontalHeaderItem(2) ___qtablewidgetitem2.setText(QCoreApplication.translate( "MainWindow", u"\u6570\u636e\u65b9\u5411", None)) ___qtablewidgetitem3 = self.tableWidget.horizontalHeaderItem(3) ___qtablewidgetitem3.setText( QCoreApplication.translate("MainWindow", u"ID", None)) ___qtablewidgetitem4 = self.tableWidget.horizontalHeaderItem(4) ___qtablewidgetitem4.setText( QCoreApplication.translate("MainWindow", u"DLC", None)) ___qtablewidgetitem5 = self.tableWidget.horizontalHeaderItem(5) ___qtablewidgetitem5.setText(QCoreApplication.translate( "MainWindow", u"\u5e27\u7c7b\u578b", None)) ___qtablewidgetitem6 = self.tableWidget.horizontalHeaderItem(6) ___qtablewidgetitem6.setText(QCoreApplication.translate( "MainWindow", u"\u6570\u636e", None)) self.tabWidget_2.setTabText(self.tabWidget_2.indexOf( self.tab_logger), QCoreApplication.translate("MainWindow", u"logging", None)) self.tabWidget_2.setTabText(self.tabWidget_2.indexOf( self.tab_6), QCoreApplication.translate("MainWindow", u"Graphic", None)) # retranslateUi