# -*- coding: utf-8 -*- from PySide6.QtCore import (QCoreApplication, QMetaObject, QRect, Qt) from PySide6.QtGui import (QBrush, QColor, QFont, QIcon, QPalette, QPixmap) from PySide6.QtWidgets import (QLabel, QPushButton, QWidget, QFrame, QLineEdit) import pyqtgraph as pg from pyqtgraph.Qt import QtGui class Ui_MainWindow(object): def setupUi(self, MainWindow): if not MainWindow.objectName(): MainWindow.setObjectName(u"MainWindow") MainWindow.resize(1280, 800) palette = QPalette() brush = QBrush(QColor(255, 255, 255, 255)) brush.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Active, QPalette.WindowText, brush) brush1 = QBrush(QColor(53, 53, 53, 255)) brush1.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Active, QPalette.Button, brush1) palette.setBrush(QPalette.Active, QPalette.Light, brush) brush2 = QBrush(QColor(202, 202, 202, 255)) brush2.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Active, QPalette.Midlight, brush2) brush3 = QBrush(QColor(35, 35, 35, 255)) brush3.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Active, QPalette.Dark, brush3) brush4 = QBrush(QColor(184, 184, 184, 255)) brush4.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Active, QPalette.Mid, brush4) palette.setBrush(QPalette.Active, QPalette.Text, brush) brush5 = QBrush(QColor(255, 0, 0, 255)) brush5.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Active, QPalette.BrightText, brush5) palette.setBrush(QPalette.Active, QPalette.ButtonText, brush) brush6 = QBrush(QColor(42, 42, 42, 255)) brush6.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Active, QPalette.Base, brush6) palette.setBrush(QPalette.Active, QPalette.Window, brush1) brush7 = QBrush(QColor(20, 20, 20, 255)) brush7.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Active, QPalette.Shadow, brush7) brush8 = QBrush(QColor(164, 0, 0, 255)) brush8.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Active, QPalette.Highlight, brush8) palette.setBrush(QPalette.Active, QPalette.HighlightedText, brush) palette.setBrush(QPalette.Active, QPalette.Link, brush8) brush9 = QBrush(QColor(255, 0, 255, 255)) brush9.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Active, QPalette.LinkVisited, brush9) brush10 = QBrush(QColor(66, 66, 66, 255)) brush10.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Active, QPalette.AlternateBase, brush10) brush11 = QBrush(QColor(0, 0, 0, 255)) brush11.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Active, QPalette.NoRole, brush11) palette.setBrush(QPalette.Active, QPalette.ToolTipBase, brush) palette.setBrush(QPalette.Active, QPalette.ToolTipText, brush) brush12 = QBrush(QColor(0, 0, 0, 128)) brush12.setStyle(Qt.SolidPattern) #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0) palette.setBrush(QPalette.Active, QPalette.PlaceholderText, brush12) #endif palette.setBrush(QPalette.Inactive, QPalette.WindowText, brush) brush13 = QBrush(QColor(239, 239, 239, 255)) brush13.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Inactive, QPalette.Button, brush1) palette.setBrush(QPalette.Inactive, QPalette.Light, brush) palette.setBrush(QPalette.Inactive, QPalette.Midlight, brush2) brush14 = QBrush(QColor(159, 159, 159, 255)) brush14.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Inactive, QPalette.Dark, brush3) palette.setBrush(QPalette.Inactive, QPalette.Mid, brush4) palette.setBrush(QPalette.Inactive, QPalette.Text, brush) palette.setBrush(QPalette.Inactive, QPalette.BrightText, brush5) palette.setBrush(QPalette.Inactive, QPalette.ButtonText, brush) palette.setBrush(QPalette.Inactive, QPalette.Base, brush6) palette.setBrush(QPalette.Inactive, QPalette.Window, brush1) brush15 = QBrush(QColor(118, 118, 118, 255)) brush15.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Inactive, QPalette.Shadow, brush7) brush16 = QBrush(QColor(48, 140, 198, 255)) brush16.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Inactive, QPalette.Highlight, brush8) palette.setBrush(QPalette.Inactive, QPalette.HighlightedText, brush) brush17 = QBrush(QColor(0, 0, 255, 255)) brush17.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Inactive, QPalette.Link, brush8) palette.setBrush(QPalette.Inactive, QPalette.LinkVisited, brush9) brush18 = QBrush(QColor(247, 247, 247, 255)) brush18.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Inactive, QPalette.AlternateBase, brush10) brush19 = QBrush(QColor(0, 0, 0, 255)) brush19.setStyle(Qt.NoBrush) palette.setBrush(QPalette.Inactive, QPalette.NoRole, brush11) brush20 = QBrush(QColor(255, 255, 220, 255)) brush20.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Inactive, QPalette.ToolTipBase, brush) palette.setBrush(QPalette.Inactive, QPalette.ToolTipText, brush) #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0) palette.setBrush(QPalette.Inactive, QPalette.PlaceholderText, brush12) #endif palette.setBrush(QPalette.Disabled, QPalette.WindowText, brush) palette.setBrush(QPalette.Disabled, QPalette.Button, brush1) palette.setBrush(QPalette.Disabled, QPalette.Light, brush) palette.setBrush(QPalette.Disabled, QPalette.Midlight, brush2) palette.setBrush(QPalette.Disabled, QPalette.Dark, brush3) palette.setBrush(QPalette.Disabled, QPalette.Mid, brush4) palette.setBrush(QPalette.Disabled, QPalette.Text, brush) palette.setBrush(QPalette.Disabled, QPalette.BrightText, brush5) brush21 = QBrush(QColor(127, 127, 127, 255)) brush21.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Disabled, QPalette.ButtonText, brush) palette.setBrush(QPalette.Disabled, QPalette.Base, brush6) palette.setBrush(QPalette.Disabled, QPalette.Window, brush1) brush22 = QBrush(QColor(177, 177, 177, 255)) brush22.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Disabled, QPalette.Shadow, brush7) brush23 = QBrush(QColor(145, 145, 145, 255)) brush23.setStyle(Qt.SolidPattern) palette.setBrush(QPalette.Disabled, QPalette.Highlight, brush8) palette.setBrush(QPalette.Disabled, QPalette.HighlightedText, brush) palette.setBrush(QPalette.Disabled, QPalette.Link, brush8) palette.setBrush(QPalette.Disabled, QPalette.LinkVisited, brush9) palette.setBrush(QPalette.Disabled, QPalette.AlternateBase, brush10) brush24 = QBrush(QColor(0, 0, 0, 255)) brush24.setStyle(Qt.NoBrush) palette.setBrush(QPalette.Disabled, QPalette.NoRole, brush11) palette.setBrush(QPalette.Disabled, QPalette.ToolTipBase, brush) palette.setBrush(QPalette.Disabled, QPalette.ToolTipText, brush) #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0) palette.setBrush(QPalette.Disabled, QPalette.PlaceholderText, brush12) #endif MainWindow.setPalette(palette) MainWindow.setToolButtonStyle(Qt.ToolButtonIconOnly) MainWindow.setAnimated(True) MainWindow.setDocumentMode(False) MainWindow.setWindowIcon(QIcon('/home/david-rice/Python/spd3303x-e-control-testarriveico.png')) fontmain = QFont() fontmain.setFamilies([u"Verdana"]) fontmain.setPointSize(10) fontmain.setBold(True) MainWindow.setFont(fontmain) self.centralwidget = QWidget(MainWindow) self.centralwidget.setObjectName(u"centralwidget") self.header = QLabel(self.centralwidget) self.header.setObjectName(u"header") self.header.setGeometry(QRect(25, 25, 1030, 50)) font = QFont() font.setFamilies([u"Verdana"]) font.setPointSize(16) font.setBold(True) self.header.setFont(font) self.header.setAlignment(Qt.AlignCenter) self.FBLogo = QLabel(self.centralwidget) self.FBLogo.setObjectName(u"FBLogo") self.FBLogo.setGeometry(QRect(1055, 25, 200, 50)) self.FBLogo.setFocusPolicy(Qt.NoFocus) self.FBLogo.setPixmap(QPixmap(u"/home/david-rice/Python/spd3303x-e-control-test/arrivelogo.png")) self.FBLogo.setScaledContents(True) self.channel1 = QFrame(self.centralwidget) self.channel1.setObjectName(u"channel1") self.channel1.setGeometry(QRect(25, 100, 1230, 90)) self.channel1.setFrameShape(QFrame.StyledPanel) self.channel1.setFrameShadow(QFrame.Raised) self.channel1_lab = QLabel(self.channel1) self.channel1_lab.setObjectName(u"channel1_lab") self.channel1_lab.setGeometry(QRect(25, 5, 1175, 20)) self.channel1_lab.setAlignment(Qt.AlignLeft) self.chan1Button = QPushButton(self.channel1) self.chan1Button.setObjectName(u"chan1Button") self.chan1Button.setGeometry(QRect(25, 30, 200, 30)) self.chan1_red = QLabel(self.channel1) self.chan1_red.setObjectName(u"chan1_red") self.chan1_red.setGeometry(QRect(250, 30, 30, 30)) self.chan1_red.setPixmap(QPixmap(u"/home/david-rice/Python/spd3303x-e-control-test/red-led.png")) self.chan1_red.setScaledContents(True) self.chan1_grn = QLabel(self.channel1) self.chan1_grn.setObjectName(u"chan1_grn") self.chan1_grn.setGeometry(QRect(250, 30, 30, 30)) self.chan1_grn.setPixmap(QPixmap(u"/home/david-rice/Python/spd3303x-e-control-test/green-led.png")) self.chan1_grn.setScaledContents(True) self.chan1_blk = QLabel(self.channel1) self.chan1_blk.setObjectName(u"chan1_blk") self.chan1_blk.setGeometry(QRect(250, 30, 30, 30)) self.chan1_blk.setPixmap(QPixmap(u"/home/david-rice/Python/spd3303x-e-control-test/gray-led.png")) self.chan1_blk.setScaledContents(True) self.chan1_v_lab = QLabel(self.channel1) self.chan1_v_lab.setObjectName(u"chan1_v_lab") self.chan1_v_lab.setGeometry(QRect(305, 5, 100, 30)) self.chan1_v_lab.setAlignment(Qt.AlignCenter) self.chan1_v_val = QLineEdit(self.channel1) self.chan1_v_val.setObjectName(u"chan1_v_val") self.chan1_v_val.setGeometry(QRect(305, 30, 100, 30)) self.chan1_v_val.setAlignment(Qt.AlignCenter) self.chan1_i_lab = QLabel(self.channel1) self.chan1_i_lab.setObjectName(u"chan1_i_lab") self.chan1_i_lab.setGeometry(QRect(430, 5, 100, 30)) self.chan1_i_lab.setAlignment(Qt.AlignCenter) self.chan1_i_val = QLineEdit(self.channel1) self.chan1_i_val.setObjectName(u"chan1_i_val") self.chan1_i_val.setGeometry(QRect(430, 30, 100, 30)) self.chan1_i_val.setAlignment(Qt.AlignCenter) self.chan1_mv_lab = QLabel(self.channel1) self.chan1_mv_lab.setObjectName(u"chan1_mv_lab") self.chan1_mv_lab.setGeometry(QRect(555, 5, 200, 30)) self.chan1_mv_lab.setAlignment(Qt.AlignCenter) self.chan1_mv_val = QLineEdit(self.channel1) self.chan1_mv_val.setObjectName(u"chan1_mv_val") self.chan1_mv_val.setGeometry(QRect(555, 30, 200, 30)) self.chan1_mv_val.setAlignment(Qt.AlignCenter) self.chan1_mi_lab = QLabel(self.channel1) self.chan1_mi_lab.setObjectName(u"chan1_mi_lab") self.chan1_mi_lab.setGeometry(QRect(780, 5, 200, 30)) self.chan1_mi_lab.setAlignment(Qt.AlignCenter) self.chan1_mi_val = QLineEdit(self.channel1) self.chan1_mi_val.setObjectName(u"chan1_mi_val") self.chan1_mi_val.setGeometry(QRect(780, 30, 200, 30)) self.chan1_mi_val.setAlignment(Qt.AlignCenter) self.chan1_mp_lab = QLabel(self.channel1) self.chan1_mp_lab.setObjectName(u"chan1_mi_lab") self.chan1_mp_lab.setGeometry(QRect(1005, 5, 200, 30)) self.chan1_mp_lab.setAlignment(Qt.AlignCenter) self.chan1_mp_val = QLineEdit(self.channel1) self.chan1_mp_val.setObjectName(u"chan1_mp_val") self.chan1_mp_val.setGeometry(QRect(1005, 30, 200, 30)) self.chan1_mp_val.setAlignment(Qt.AlignCenter) self.channel2 = QFrame(self.centralwidget) self.channel2.setObjectName(u"channel2") self.channel2.setGeometry(QRect(25, 215, 1230, 90)) self.channel2.setFrameShape(QFrame.StyledPanel) self.channel2.setFrameShadow(QFrame.Raised) self.channel2_lab = QLabel(self.channel2) self.channel2_lab.setObjectName(u"channel2_lab") self.channel2_lab.setGeometry(QRect(25, 5, 1175, 20)) self.channel2_lab.setAlignment(Qt.AlignLeft) self.chan2Button = QPushButton(self.channel2) self.chan2Button.setObjectName(u"chan2Button") self.chan2Button.setGeometry(QRect(25, 30, 200, 30)) self.chan2_red = QLabel(self.channel2) self.chan2_red.setObjectName(u"chan2_red") self.chan2_red.setGeometry(QRect(250, 30, 30, 30)) self.chan2_red.setPixmap(QPixmap(u"/home/david-rice/Python/spd3303x-e-control-test/red-led.png")) self.chan2_red.setScaledContents(True) self.chan2_grn = QLabel(self.channel2) self.chan2_grn.setObjectName(u"chan2_grn") self.chan2_grn.setGeometry(QRect(250, 30, 30, 30)) self.chan2_grn.setPixmap(QPixmap(u"/home/david-rice/Python/spd3303x-e-control-test/green-led.png")) self.chan2_grn.setScaledContents(True) self.chan2_blk = QLabel(self.channel2) self.chan2_blk.setObjectName(u"chan2_blk") self.chan2_blk.setGeometry(QRect(250, 30, 30, 30)) self.chan2_blk.setPixmap(QPixmap(u"/home/david-rice/Python/spd3303x-e-control-test/gray-led.png")) self.chan2_blk.setScaledContents(True) self.chan2_v_lab = QLabel(self.channel2) self.chan2_v_lab.setObjectName(u"chan2_v_lab") self.chan2_v_lab.setGeometry(QRect(305, 5, 100, 30)) self.chan2_v_lab.setAlignment(Qt.AlignCenter) self.chan2_v_val = QLineEdit(self.channel2) self.chan2_v_val.setObjectName(u"chan2_v_val") self.chan2_v_val.setGeometry(QRect(305, 30, 100, 30)) self.chan2_v_val.setAlignment(Qt.AlignCenter) self.chan2_i_lab = QLabel(self.channel2) self.chan2_i_lab.setObjectName(u"chan2_i_lab") self.chan2_i_lab.setGeometry(QRect(430, 5, 100, 30)) self.chan2_i_lab.setAlignment(Qt.AlignCenter) self.chan2_i_val = QLineEdit(self.channel2) self.chan2_i_val.setObjectName(u"chan2_i_val") self.chan2_i_val.setGeometry(QRect(430, 30, 100, 30)) self.chan2_i_val.setAlignment(Qt.AlignCenter) self.chan2_mv_lab = QLabel(self.channel2) self.chan2_mv_lab.setObjectName(u"chan2_mv_lab") self.chan2_mv_lab.setGeometry(QRect(555, 5, 200, 30)) self.chan2_mv_lab.setAlignment(Qt.AlignCenter) self.chan2_mv_val = QLineEdit(self.channel2) self.chan2_mv_val.setObjectName(u"chan2_mv_val") self.chan2_mv_val.setGeometry(QRect(555, 30, 200, 30)) self.chan2_mv_val.setAlignment(Qt.AlignCenter) self.chan2_mi_lab = QLabel(self.channel2) self.chan2_mi_lab.setObjectName(u"chan2_mi_lab") self.chan2_mi_lab.setGeometry(QRect(780, 5, 200, 30)) self.chan2_mi_lab.setAlignment(Qt.AlignCenter) self.chan2_mi_val = QLineEdit(self.channel2) self.chan2_mi_val.setObjectName(u"chan2_mi_val") self.chan2_mi_val.setGeometry(QRect(780, 30, 200, 30)) self.chan2_mi_val.setAlignment(Qt.AlignCenter) self.chan2_mp_lab = QLabel(self.channel2) self.chan2_mp_lab.setObjectName(u"chan2_mi_lab") self.chan2_mp_lab.setGeometry(QRect(1005, 5, 200, 30)) self.chan2_mp_lab.setAlignment(Qt.AlignCenter) self.chan2_mp_val = QLineEdit(self.channel2) self.chan2_mp_val.setObjectName(u"chan2_mp_val") self.chan2_mp_val.setGeometry(QRect(1005, 30, 200, 30)) self.chan2_mp_val.setAlignment(Qt.AlignCenter) #self.tfp_lab = QLabel(self.centralwidget) #self.tfp_lab.setObjectName(u"tfp_lab") #self.tfp_lab.setGeometry(QRect(25, 300, 950, 30)) #self.tfp_lab.setAlignment(Qt.AlignCenter) #self.tfp_val = QLabel(self.centralwidget) #self.tfp_val.setObjectName(u"tfp_val") #self.tfp_val.setGeometry(QRect(25, 325, 950, 30)) #self.tfp_val.setFrameShape(QFrame.StyledPanel) #self.tfp_val.setLineWidth(5) #self.tfp_val.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter) #self.filebrowseButton = QPushButton(self.centralwidget) #self.filebrowseButton.setObjectName(u"filebrowseButton") #self.filebrowseButton.setGeometry(QRect(1000, 325, 200, 30)) #self.testButton = QPushButton(self.centralwidget) #self.testButton.setObjectName(u"testrunButton") #self.testButton.setGeometry(QRect(25, 400, 150, 30)) #self.test_lab = QLabel(self.centralwidget) #self.test_lab.setObjectName(u"test_lab") #self.test_lab.setGeometry(QRect(225, 375, 150, 20)) #self.test_lab.setAlignment(Qt.AlignCenter) #self.test_red = QLabel(self.centralwidget) #self.test_red.setObjectName(u"test_red") #self.test_red.setGeometry(QRect(285, 400, 30, 30)) #self.test_red.setPixmap(QPixmap(u"/home/david-rice/Python/spd3303x-e-control-test/red-led.png")) #self.test_red.setScaledContents(True) #self.test_grn = QLabel(self.centralwidget) #self.test_grn.setObjectName(u"test_grn") #self.test_grn.setGeometry(QRect(285, 400, 30, 30)) #self.test_grn.setPixmap(QPixmap(u"/home/david-rice/Python/spd3303x-e-control-test/green-led.png")) #self.test_grn.setScaledContents(True) #self.test_blk = QLabel(self.centralwidget) #self.test_blk.setObjectName(u"test_blk") #self.test_blk.setGeometry(QRect(285, 400, 30, 30)) #self.test_blk.setPixmap(QPixmap(u"/home/david-rice/Python/spd3303x-e-control-test/gray-led.png")) #self.test_blk.setScaledContents(True) #self.v_lab = QLabel(self.centralwidget) #self.v_lab.setObjectName(u"v_lab") #self.v_lab.setGeometry(QRect(1025, 175, 100, 30)) #self.v_lab.setAlignment(Qt.AlignCenter) #self.v_val = QLineEdit(self.centralwidget) #self.v_val.setObjectName(u"v_val") #self.v_val.setGeometry(QRect(1025, 200, 100, 30)) #self.v_val.setAlignment(Qt.AlignCenter) #self.i_lab = QLabel(self.centralwidget) #self.i_lab.setObjectName(u"i_lab") #self.i_lab.setGeometry(QRect(1150, 175, 100, 30)) #self.i_lab.setAlignment(Qt.AlignCenter) #self.i_val = QLineEdit(self.centralwidget) #self.i_val.setObjectName(u"i_val") #self.i_val.setGeometry(QRect(1150, 200, 100, 30)) #self.i_val.setAlignment(Qt.AlignCenter) #self.vt_lab = QLabel(self.centralwidget) #self.vt_lab.setObjectName(u"vt_lab") #self.vt_lab.setGeometry(QRect(400, 375, 100, 30)) #self.vt_lab.setAlignment(Qt.AlignCenter) #self.vt_val = QLineEdit(self.centralwidget) #self.vt_val.setObjectName(u"vt_val") #self.vt_val.setGeometry(QRect(400, 400, 100, 30)) #self.vt_val.setAlignment(Qt.AlignCenter) #self.it_lab = QLabel(self.centralwidget) #self.it_lab.setObjectName(u"it_lab") #self.it_lab.setGeometry(QRect(550, 375, 100, 30)) #self.it_lab.setAlignment(Qt.AlignCenter) #self.it_val = QLineEdit(self.centralwidget) #self.it_val.setObjectName(u"it_val") #self.it_val.setGeometry(QRect(550, 400, 100, 30)) #self.it_val.setAlignment(Qt.AlignCenter) #self.tt_lab = QLabel(self.centralwidget) #self.tt_lab.setObjectName(u"tt_lab") #self.tt_lab.setGeometry(QRect(700, 375, 100, 30)) #self.tt_lab.setAlignment(Qt.AlignCenter) #self.tt_val = QLineEdit(self.centralwidget) #self.tt_val.setObjectName(u"tt_val") #self.tt_val.setGeometry(QRect(700, 400, 100, 30)) #self.tt_val.setAlignment(Qt.AlignCenter) MainWindow.setCentralWidget(self.centralwidget) self.header.raise_() self.FBLogo.raise_() self.retranslateUi(MainWindow) QMetaObject.connectSlotsByName(MainWindow) # setupUi def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"SPD3303X-E CONTROL/TEST APPLICATION V1.0", None)) self.header.setText(QCoreApplication.translate("MainWindow", u"SPD3303X-E CONTROL/TEST APPLICATION", None)) self.FBLogo.setText("") self.channel1_lab.setText(QCoreApplication.translate("MainWindow", u"CHANNEL #1", None)) self.chan1Button.setText(QCoreApplication.translate("MainWindow", u"ON/OFF", None)) self.chan1_blk.setText("") self.chan1_red.setText("") self.chan1_grn.setText("") self.chan1_v_lab.setText(QCoreApplication.translate("MainWindow", u"VOLTAGE (V)", None)) self.chan1_v_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) self.chan1_i_lab.setText(QCoreApplication.translate("MainWindow", u"CURRENT (A)", None)) self.chan1_i_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) self.chan1_mv_lab.setText(QCoreApplication.translate("MainWindow", u"MEASURED VOLTAGE (V)", None)) self.chan1_mv_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) self.chan1_mi_lab.setText(QCoreApplication.translate("MainWindow", u"MEASURED CURRENT (A)", None)) self.chan1_mi_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) self.chan1_mp_lab.setText(QCoreApplication.translate("MainWindow", u"MEASURED POWER (W)", None)) self.chan1_mp_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) self.channel2_lab.setText(QCoreApplication.translate("MainWindow", u"CHANNEL #2", None)) self.chan2Button.setText(QCoreApplication.translate("MainWindow", u"ON/OFF", None)) self.chan2_blk.setText("") self.chan2_red.setText("") self.chan2_grn.setText("") self.chan2_v_lab.setText(QCoreApplication.translate("MainWindow", u"VOLTAGE (V)", None)) self.chan2_v_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) self.chan2_i_lab.setText(QCoreApplication.translate("MainWindow", u"CURRENT (A)", None)) self.chan2_i_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) self.chan2_mv_lab.setText(QCoreApplication.translate("MainWindow", u"MEASURED VOLTAGE (V)", None)) self.chan2_mv_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) self.chan2_mi_lab.setText(QCoreApplication.translate("MainWindow", u"MEASURED CURRENT (A)", None)) self.chan2_mi_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) self.chan2_mp_lab.setText(QCoreApplication.translate("MainWindow", u"MEASURED POWER (W)", None)) self.chan2_mp_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) #self.tfp_lab.setText(QCoreApplication.translate("MainWindow", u"TEST FILE PATH", None)) #self.tfp_val.setText("") #self.filebrowseButton.setText(QCoreApplication.translate("MainWindow", u"BROWSE", None)) #self.testButton.setText(QCoreApplication.translate("MainWindow", u"RUN TEST", None)) #self.test_lab.setText(QCoreApplication.translate("MainWindow", u"TEST STATUS", None)) #self.test_blk.setText("") #self.test_red.setText("") #self.test_grn.setText("") #self.v_lab.setText(QCoreApplication.translate("MainWindow", u"VOLTAGE (V)", None)) #self.v_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) #self.i_lab.setText(QCoreApplication.translate("MainWindow", u"CURRENT (A)", None)) #self.i_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) #self.vt_lab.setText(QCoreApplication.translate("MainWindow", u"VOLTAGE (V)", None)) #self.vt_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) #self.it_lab.setText(QCoreApplication.translate("MainWindow", u"CURRENT (A)", None)) #self.it_val.setText(QCoreApplication.translate("MainWindow", u"0.00", None)) #self.tt_lab.setText(QCoreApplication.translate("MainWindow", u"TIME (S)", None)) #self.tt_val.setText(QCoreApplication.translate("MainWindow", u"00.0", None)) # retranslateUi