# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'uart_testgui_form.ui'
##
## Created by: Qt User Interface Compiler version 6.2.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QCheckBox, QGridLayout, QGroupBox,
    QLabel, QLineEdit, QListWidget, QListWidgetItem,
    QPushButton, QSizePolicy, QTabWidget, QToolButton,
    QWidget)

class Ui_Widget(object):
    def setupUi(self, Widget):
        if not Widget.objectName():
            Widget.setObjectName(u"Widget")
        Widget.resize(800, 600)
        self.gridLayout = QGridLayout(Widget)
        self.gridLayout.setObjectName(u"gridLayout")
        self.tabWidget = QTabWidget(Widget)
        self.tabWidget.setObjectName(u"tabWidget")
        sizePolicy = QSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tab = QWidget()
        self.tab.setObjectName(u"tab")
        self.gridLayout_2 = QGridLayout(self.tab)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.label_6 = QLabel(self.tab)
        self.label_6.setObjectName(u"label_6")
        font = QFont()
        font.setPointSize(12)
        self.label_6.setFont(font)

        self.gridLayout_2.addWidget(self.label_6, 1, 0, 1, 1)

        self.lineSerial = QLineEdit(self.tab)
        self.lineSerial.setObjectName(u"lineSerial")
        sizePolicy1 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.lineSerial.sizePolicy().hasHeightForWidth())
        self.lineSerial.setSizePolicy(sizePolicy1)
        self.lineSerial.setFont(font)
        self.lineSerial.setReadOnly(True)

        self.gridLayout_2.addWidget(self.lineSerial, 1, 1, 1, 1)

        self.label_5 = QLabel(self.tab)
        self.label_5.setObjectName(u"label_5")
        self.label_5.setFont(font)

        self.gridLayout_2.addWidget(self.label_5, 0, 0, 1, 1)

        self.lineSwVer = QLineEdit(self.tab)
        self.lineSwVer.setObjectName(u"lineSwVer")
        sizePolicy1.setHeightForWidth(self.lineSwVer.sizePolicy().hasHeightForWidth())
        self.lineSwVer.setSizePolicy(sizePolicy1)
        self.lineSwVer.setFont(font)
        self.lineSwVer.setReadOnly(True)

        self.gridLayout_2.addWidget(self.lineSwVer, 0, 1, 1, 1)

        self.groupBox = QGroupBox(self.tab)
        self.groupBox.setObjectName(u"groupBox")
        sizePolicy2 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Minimum)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy2)
        self.groupBox.setFont(font)
        self.groupBox.setChecked(False)
        self.gridLayout_3 = QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName(u"gridLayout_3")
        self.chkTestVxr = QCheckBox(self.groupBox)
        self.chkTestVxr.setObjectName(u"chkTestVxr")
        font1 = QFont()
        font1.setPointSize(9)
        self.chkTestVxr.setFont(font1)
        self.chkTestVxr.setChecked(True)

        self.gridLayout_3.addWidget(self.chkTestVxr, 3, 1, 1, 1)

        self.lblResultVxr = QLabel(self.groupBox)
        self.lblResultVxr.setObjectName(u"lblResultVxr")
        self.lblResultVxr.setFont(font1)
        self.lblResultVxr.setAlignment(Qt.AlignCenter)

        self.gridLayout_3.addWidget(self.lblResultVxr, 3, 2, 1, 1)

        self.chkTestHub = QCheckBox(self.groupBox)
        self.chkTestHub.setObjectName(u"chkTestHub")
        self.chkTestHub.setFont(font1)
        self.chkTestHub.setChecked(True)

        self.gridLayout_3.addWidget(self.chkTestHub, 0, 1, 1, 1)

        self.lblResultHub = QLabel(self.groupBox)
        self.lblResultHub.setObjectName(u"lblResultHub")
        self.lblResultHub.setFont(font1)
        self.lblResultHub.setAutoFillBackground(False)
        self.lblResultHub.setAlignment(Qt.AlignCenter)

        self.gridLayout_3.addWidget(self.lblResultHub, 0, 2, 1, 1)

        self.lblResultRGB = QLabel(self.groupBox)
        self.lblResultRGB.setObjectName(u"lblResultRGB")
        self.lblResultRGB.setFont(font1)
        self.lblResultRGB.setAlignment(Qt.AlignCenter)

        self.gridLayout_3.addWidget(self.lblResultRGB, 1, 2, 1, 1)

        self.btnSelectAll = QPushButton(self.groupBox)
        self.btnSelectAll.setObjectName(u"btnSelectAll")
        sizePolicy3 = QSizePolicy(QSizePolicy.Minimum, QSizePolicy.Fixed)
        sizePolicy3.setHorizontalStretch(0)
        sizePolicy3.setVerticalStretch(0)
        sizePolicy3.setHeightForWidth(self.btnSelectAll.sizePolicy().hasHeightForWidth())
        self.btnSelectAll.setSizePolicy(sizePolicy3)
        self.btnSelectAll.setFont(font1)

        self.gridLayout_3.addWidget(self.btnSelectAll, 8, 1, 1, 1)

        self.lblResultUSBC = QLabel(self.groupBox)
        self.lblResultUSBC.setObjectName(u"lblResultUSBC")
        self.lblResultUSBC.setFont(font1)
        self.lblResultUSBC.setAlignment(Qt.AlignCenter)

        self.gridLayout_3.addWidget(self.lblResultUSBC, 2, 2, 1, 1)

        self.chkTestRGB = QCheckBox(self.groupBox)
        self.chkTestRGB.setObjectName(u"chkTestRGB")
        self.chkTestRGB.setFont(font1)
        self.chkTestRGB.setChecked(True)

        self.gridLayout_3.addWidget(self.chkTestRGB, 1, 1, 1, 1)

        self.groupBox_2 = QGroupBox(self.groupBox)
        self.groupBox_2.setObjectName(u"groupBox_2")
        sizePolicy1.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy1)
        self.gridLayout_4 = QGridLayout(self.groupBox_2)
        self.gridLayout_4.setObjectName(u"gridLayout_4")
        self.lblResultProx = QLabel(self.groupBox_2)
        self.lblResultProx.setObjectName(u"lblResultProx")
        self.lblResultProx.setFont(font1)
        self.lblResultProx.setAlignment(Qt.AlignCenter)

        self.gridLayout_4.addWidget(self.lblResultProx, 0, 1, 1, 1)

        self.lblResultOled = QLabel(self.groupBox_2)
        self.lblResultOled.setObjectName(u"lblResultOled")
        self.lblResultOled.setFont(font1)
        self.lblResultOled.setAlignment(Qt.AlignCenter)

        self.gridLayout_4.addWidget(self.lblResultOled, 1, 1, 1, 1)

        self.chkTestProx = QCheckBox(self.groupBox_2)
        self.chkTestProx.setObjectName(u"chkTestProx")
        self.chkTestProx.setFont(font1)
        self.chkTestProx.setChecked(False)

        self.gridLayout_4.addWidget(self.chkTestProx, 0, 0, 1, 1)

        self.chkTestOled = QCheckBox(self.groupBox_2)
        self.chkTestOled.setObjectName(u"chkTestOled")
        self.chkTestOled.setFont(font1)
        self.chkTestOled.setChecked(False)

        self.gridLayout_4.addWidget(self.chkTestOled, 1, 0, 1, 1)

        self.chkTestFan = QCheckBox(self.groupBox_2)
        self.chkTestFan.setObjectName(u"chkTestFan")
        sizePolicy3.setHeightForWidth(self.chkTestFan.sizePolicy().hasHeightForWidth())
        self.chkTestFan.setSizePolicy(sizePolicy3)
        self.chkTestFan.setFont(font1)
        self.chkTestFan.setChecked(False)

        self.gridLayout_4.addWidget(self.chkTestFan, 2, 0, 1, 1)

        self.lblResultFan = QLabel(self.groupBox_2)
        self.lblResultFan.setObjectName(u"lblResultFan")
        sizePolicy4 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy4.setHorizontalStretch(0)
        sizePolicy4.setVerticalStretch(0)
        sizePolicy4.setHeightForWidth(self.lblResultFan.sizePolicy().hasHeightForWidth())
        self.lblResultFan.setSizePolicy(sizePolicy4)
        self.lblResultFan.setFont(font1)
        self.lblResultFan.setAlignment(Qt.AlignCenter)

        self.gridLayout_4.addWidget(self.lblResultFan, 2, 1, 1, 1)


        self.gridLayout_3.addWidget(self.groupBox_2, 4, 1, 1, 3)

        self.btnColorPick = QToolButton(self.groupBox)
        self.btnColorPick.setObjectName(u"btnColorPick")
        sizePolicy5 = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
        sizePolicy5.setHorizontalStretch(0)
        sizePolicy5.setVerticalStretch(0)
        sizePolicy5.setHeightForWidth(self.btnColorPick.sizePolicy().hasHeightForWidth())
        self.btnColorPick.setSizePolicy(sizePolicy5)
        self.btnColorPick.setFont(font1)
        icon = QIcon()
        icon.addFile(u"color_pick_button.png", QSize(), QIcon.Normal, QIcon.Off)
        self.btnColorPick.setIcon(icon)
        self.btnColorPick.setIconSize(QSize(32, 16))

        self.gridLayout_3.addWidget(self.btnColorPick, 1, 3, 1, 1)

        self.chkTestUSBC = QCheckBox(self.groupBox)
        self.chkTestUSBC.setObjectName(u"chkTestUSBC")
        self.chkTestUSBC.setFont(font1)
        self.chkTestUSBC.setChecked(True)

        self.gridLayout_3.addWidget(self.chkTestUSBC, 2, 1, 1, 1)

        self.btnSelectNone = QPushButton(self.groupBox)
        self.btnSelectNone.setObjectName(u"btnSelectNone")
        self.btnSelectNone.setFont(font1)

        self.gridLayout_3.addWidget(self.btnSelectNone, 8, 2, 1, 1)


        self.gridLayout_2.addWidget(self.groupBox, 2, 0, 1, 2)

        self.btnRunTests = QPushButton(self.tab)
        self.btnRunTests.setObjectName(u"btnRunTests")
        sizePolicy1.setHeightForWidth(self.btnRunTests.sizePolicy().hasHeightForWidth())
        self.btnRunTests.setSizePolicy(sizePolicy1)
        self.btnRunTests.setFont(font)

        self.gridLayout_2.addWidget(self.btnRunTests, 3, 0, 1, 1)

        self.btnResetTests = QPushButton(self.tab)
        self.btnResetTests.setObjectName(u"btnResetTests")
        sizePolicy1.setHeightForWidth(self.btnResetTests.sizePolicy().hasHeightForWidth())
        self.btnResetTests.setSizePolicy(sizePolicy1)
        self.btnResetTests.setFont(font)

        self.gridLayout_2.addWidget(self.btnResetTests, 3, 1, 1, 1)

        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QWidget()
        self.tab_2.setObjectName(u"tab_2")
        self.tabWidget.addTab(self.tab_2, "")

        self.gridLayout.addWidget(self.tabWidget, 0, 0, 4, 1)

        self.listPorts = QListWidget(Widget)
        self.listPorts.setObjectName(u"listPorts")
        sizePolicy6 = QSizePolicy(QSizePolicy.Minimum, QSizePolicy.Expanding)
        sizePolicy6.setHorizontalStretch(0)
        sizePolicy6.setVerticalStretch(0)
        sizePolicy6.setHeightForWidth(self.listPorts.sizePolicy().hasHeightForWidth())
        self.listPorts.setSizePolicy(sizePolicy6)

        self.gridLayout.addWidget(self.listPorts, 1, 1, 1, 2)

        self.label = QLabel(Widget)
        self.label.setObjectName(u"label")
        sizePolicy1.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy1)
        font2 = QFont()
        font2.setPointSize(14)
        font2.setBold(True)
        self.label.setFont(font2)
        self.label.setAlignment(Qt.AlignCenter)

        self.gridLayout.addWidget(self.label, 0, 1, 1, 2)

        self.statusbar = QLabel(Widget)
        self.statusbar.setObjectName(u"statusbar")
        self.statusbar.setFont(font)

        self.gridLayout.addWidget(self.statusbar, 4, 0, 1, 1)

        self.btnConnect = QPushButton(Widget)
        self.btnConnect.setObjectName(u"btnConnect")
        sizePolicy3.setHeightForWidth(self.btnConnect.sizePolicy().hasHeightForWidth())
        self.btnConnect.setSizePolicy(sizePolicy3)
        self.btnConnect.setFont(font)

        self.gridLayout.addWidget(self.btnConnect, 4, 1, 1, 1)

        self.btnRescan = QPushButton(Widget)
        self.btnRescan.setObjectName(u"btnRescan")
        sizePolicy3.setHeightForWidth(self.btnRescan.sizePolicy().hasHeightForWidth())
        self.btnRescan.setSizePolicy(sizePolicy3)
        self.btnRescan.setFont(font)

        self.gridLayout.addWidget(self.btnRescan, 4, 2, 1, 1)


        self.retranslateUi(Widget)

        self.tabWidget.setCurrentIndex(0)


        QMetaObject.connectSlotsByName(Widget)
    # setupUi

    def retranslateUi(self, Widget):
        Widget.setWindowTitle(QCoreApplication.translate("Widget", u"Widget", None))
        self.label_6.setText(QCoreApplication.translate("Widget", u"Serial Number", None))
        self.label_5.setText(QCoreApplication.translate("Widget", u"Software Version Number", None))
        self.groupBox.setTitle(QCoreApplication.translate("Widget", u"Self Tests", None))
        self.chkTestVxr.setText(QCoreApplication.translate("Widget", u"Test VXR7200 Bridge Chip", None))
        self.lblResultVxr.setText(QCoreApplication.translate("Widget", u"Result", None))
        self.chkTestHub.setText(QCoreApplication.translate("Widget", u"Test USB Hub Chip", None))
        self.lblResultHub.setText(QCoreApplication.translate("Widget", u"Result", None))
        self.lblResultRGB.setText(QCoreApplication.translate("Widget", u"Result", None))
        self.btnSelectAll.setText(QCoreApplication.translate("Widget", u"Select All", None))
        self.lblResultUSBC.setText(QCoreApplication.translate("Widget", u"Result", None))
        self.chkTestRGB.setText(QCoreApplication.translate("Widget", u"Test RGB LED", None))
        self.groupBox_2.setTitle(QCoreApplication.translate("Widget", u"Tests for Fully Assembled HMD", None))
        self.lblResultProx.setText(QCoreApplication.translate("Widget", u"Result", None))
        self.lblResultOled.setText(QCoreApplication.translate("Widget", u"Result", None))
        self.chkTestProx.setText(QCoreApplication.translate("Widget", u"Test Proximity Sensor", None))
        self.chkTestOled.setText(QCoreApplication.translate("Widget", u"Test OLED Panels", None))
        self.chkTestFan.setText(QCoreApplication.translate("Widget", u"Test Fan", None))
        self.lblResultFan.setText(QCoreApplication.translate("Widget", u"Result", None))
        self.chkTestUSBC.setText(QCoreApplication.translate("Widget", u"Test USB-C Switch Chip", None))
        self.btnSelectNone.setText(QCoreApplication.translate("Widget", u"Select None", None))
        self.btnRunTests.setText(QCoreApplication.translate("Widget", u"Run Tests", None))
        self.btnResetTests.setText(QCoreApplication.translate("Widget", u"Reset Results", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QCoreApplication.translate("Widget", u"Hardware Tests", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QCoreApplication.translate("Widget", u"VXR Firmware Loader", None))
        self.label.setText(QCoreApplication.translate("Widget", u"Select a COM Port", None))
        self.statusbar.setText(QCoreApplication.translate("Widget", u"Status:", None))
        self.btnConnect.setText(QCoreApplication.translate("Widget", u"Connect", None))
        self.btnRescan.setText(QCoreApplication.translate("Widget", u"Rescan Ports", None))
    # retranslateUi

