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

################################################################################
## Form generated from reading UI file 'prox_config.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.QtCharts import QChartView
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, QComboBox, QFrame,
    QGridLayout, QLabel, QLineEdit, QMainWindow,
    QMenuBar, QPushButton, QRadioButton, QSizePolicy,
    QSpinBox, QStatusBar, QWidget)

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(800, 605)
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.gridLayout_4 = QGridLayout(self.centralwidget)
        self.gridLayout_4.setObjectName(u"gridLayout_4")
        self.label_12 = QLabel(self.centralwidget)
        self.label_12.setObjectName(u"label_12")
        self.label_12.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)

        self.gridLayout_4.addWidget(self.label_12, 13, 1, 1, 1)

        self.spinPPULSE = QSpinBox(self.centralwidget)
        self.spinPPULSE.setObjectName(u"spinPPULSE")
        self.spinPPULSE.setMinimum(1)
        self.spinPPULSE.setMaximum(64)
        self.spinPPULSE.setValue(16)

        self.gridLayout_4.addWidget(self.spinPPULSE, 4, 1, 1, 1)

        self.leAvgVal = QLineEdit(self.centralwidget)
        self.leAvgVal.setObjectName(u"leAvgVal")

        self.gridLayout_4.addWidget(self.leAvgVal, 12, 2, 1, 1)

        self.comboPGAIN = QComboBox(self.centralwidget)
        self.comboPGAIN.setObjectName(u"comboPGAIN")

        self.gridLayout_4.addWidget(self.comboPGAIN, 10, 1, 1, 1)

        self.label_6 = QLabel(self.centralwidget)
        self.label_6.setObjectName(u"label_6")

        self.gridLayout_4.addWidget(self.label_6, 5, 0, 1, 1)

        self.btnSend = QPushButton(self.centralwidget)
        self.btnSend.setObjectName(u"btnSend")

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

        self.label_10 = QLabel(self.centralwidget)
        self.label_10.setObjectName(u"label_10")

        self.gridLayout_4.addWidget(self.label_10, 9, 0, 1, 1)

        self.comboPPULSELEN = QComboBox(self.centralwidget)
        self.comboPPULSELEN.setObjectName(u"comboPPULSELEN")

        self.gridLayout_4.addWidget(self.comboPPULSELEN, 5, 1, 1, 1)

        self.comboPMAVG = QComboBox(self.centralwidget)
        self.comboPMAVG.setObjectName(u"comboPMAVG")

        self.gridLayout_4.addWidget(self.comboPMAVG, 8, 1, 1, 1)

        self.frame_2 = QFrame(self.centralwidget)
        self.frame_2.setObjectName(u"frame_2")
        self.frame_2.setFrameShape(QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QFrame.Raised)
        self.gridLayout_2 = QGridLayout(self.frame_2)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.lblPRATE = QLabel(self.frame_2)
        self.lblPRATE.setObjectName(u"lblPRATE")

        self.gridLayout_2.addWidget(self.lblPRATE, 2, 1, 1, 1)

        self.spinPRATE = QSpinBox(self.frame_2)
        self.spinPRATE.setObjectName(u"spinPRATE")
        self.spinPRATE.setMaximum(255)
        self.spinPRATE.setValue(31)

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

        self.label_4 = QLabel(self.frame_2)
        self.label_4.setObjectName(u"label_4")
        sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)

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


        self.gridLayout_4.addWidget(self.frame_2, 3, 0, 1, 2)

        self.label_9 = QLabel(self.centralwidget)
        self.label_9.setObjectName(u"label_9")

        self.gridLayout_4.addWidget(self.label_9, 8, 0, 1, 1)

        self.frame = QFrame(self.centralwidget)
        self.frame.setObjectName(u"frame")
        self.frame.setFrameShape(QFrame.StyledPanel)
        self.frame.setFrameShadow(QFrame.Raised)
        self.gridLayout = QGridLayout(self.frame)
        self.gridLayout.setObjectName(u"gridLayout")
        self.lblPWTIME = QLabel(self.frame)
        self.lblPWTIME.setObjectName(u"lblPWTIME")

        self.gridLayout.addWidget(self.lblPWTIME, 3, 2, 1, 1)

        self.chkPWEN = QCheckBox(self.frame)
        self.chkPWEN.setObjectName(u"chkPWEN")

        self.gridLayout.addWidget(self.chkPWEN, 0, 0, 1, 3)

        self.label_2 = QLabel(self.frame)
        self.label_2.setObjectName(u"label_2")

        self.gridLayout.addWidget(self.label_2, 3, 0, 1, 1)

        self.spinPWTIME = QSpinBox(self.frame)
        self.spinPWTIME.setObjectName(u"spinPWTIME")
        self.spinPWTIME.setMaximum(255)

        self.gridLayout.addWidget(self.spinPWTIME, 3, 1, 1, 1)

        self.chkPWLONG = QCheckBox(self.frame)
        self.chkPWLONG.setObjectName(u"chkPWLONG")

        self.gridLayout.addWidget(self.chkPWLONG, 2, 0, 1, 3)


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

        self.leStdDev = QLineEdit(self.centralwidget)
        self.leStdDev.setObjectName(u"leStdDev")

        self.gridLayout_4.addWidget(self.leStdDev, 13, 2, 1, 1)

        self.frame_3 = QFrame(self.centralwidget)
        self.frame_3.setObjectName(u"frame_3")
        self.frame_3.setFrameShape(QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QFrame.Raised)
        self.gridLayout_3 = QGridLayout(self.frame_3)
        self.gridLayout_3.setObjectName(u"gridLayout_3")
        self.rbBoth = QRadioButton(self.frame_3)
        self.rbBoth.setObjectName(u"rbBoth")

        self.gridLayout_3.addWidget(self.rbBoth, 3, 0, 1, 1)

        self.rbNear = QRadioButton(self.frame_3)
        self.rbNear.setObjectName(u"rbNear")
        self.rbNear.setChecked(True)

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

        self.rbFar = QRadioButton(self.frame_3)
        self.rbFar.setObjectName(u"rbFar")

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

        self.label_8 = QLabel(self.frame_3)
        self.label_8.setObjectName(u"label_8")

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


        self.gridLayout_4.addWidget(self.frame_3, 7, 0, 1, 2)

        self.label_11 = QLabel(self.centralwidget)
        self.label_11.setObjectName(u"label_11")
        sizePolicy1 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.label_11.sizePolicy().hasHeightForWidth())
        self.label_11.setSizePolicy(sizePolicy1)
        self.label_11.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)

        self.gridLayout_4.addWidget(self.label_11, 12, 1, 1, 1)

        self.proxChart = QChartView(self.centralwidget)
        self.proxChart.setObjectName(u"proxChart")

        self.gridLayout_4.addWidget(self.proxChart, 2, 2, 9, 2)

        self.comboPROXAVG = QComboBox(self.centralwidget)
        self.comboPROXAVG.setObjectName(u"comboPROXAVG")

        self.gridLayout_4.addWidget(self.comboPROXAVG, 9, 1, 1, 1)

        self.label = QLabel(self.centralwidget)
        self.label.setObjectName(u"label")
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        font = QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setAlignment(Qt.AlignBottom|Qt.AlignHCenter)

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

        self.label_3 = QLabel(self.centralwidget)
        self.label_3.setObjectName(u"label_3")

        self.gridLayout_4.addWidget(self.label_3, 10, 0, 1, 1)

        self.label_7 = QLabel(self.centralwidget)
        self.label_7.setObjectName(u"label_7")

        self.gridLayout_4.addWidget(self.label_7, 6, 0, 1, 1)

        self.spinPLDRIVE = QSpinBox(self.centralwidget)
        self.spinPLDRIVE.setObjectName(u"spinPLDRIVE")
        self.spinPLDRIVE.setMinimum(2)
        self.spinPLDRIVE.setMaximum(10)
        self.spinPLDRIVE.setValue(4)

        self.gridLayout_4.addWidget(self.spinPLDRIVE, 6, 1, 1, 1)

        self.label_5 = QLabel(self.centralwidget)
        self.label_5.setObjectName(u"label_5")

        self.gridLayout_4.addWidget(self.label_5, 4, 0, 1, 1)

        self.label_13 = QLabel(self.centralwidget)
        self.label_13.setObjectName(u"label_13")
        self.label_13.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)

        self.gridLayout_4.addWidget(self.label_13, 14, 1, 1, 1)

        self.spinAveragingLength = QSpinBox(self.centralwidget)
        self.spinAveragingLength.setObjectName(u"spinAveragingLength")
        self.spinAveragingLength.setMinimum(1)
        self.spinAveragingLength.setMaximum(100)
        self.spinAveragingLength.setValue(16)

        self.gridLayout_4.addWidget(self.spinAveragingLength, 14, 2, 1, 1)

        self.btnLogging = QPushButton(self.centralwidget)
        self.btnLogging.setObjectName(u"btnLogging")

        self.gridLayout_4.addWidget(self.btnLogging, 14, 3, 1, 1)

        self.btnPause = QPushButton(self.centralwidget)
        self.btnPause.setObjectName(u"btnPause")
        sizePolicy2 = QSizePolicy(QSizePolicy.Minimum, QSizePolicy.MinimumExpanding)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(self.btnPause.sizePolicy().hasHeightForWidth())
        self.btnPause.setSizePolicy(sizePolicy2)

        self.gridLayout_4.addWidget(self.btnPause, 12, 3, 2, 1)

        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QMenuBar(MainWindow)
        self.menubar.setObjectName(u"menubar")
        self.menubar.setGeometry(QRect(0, 0, 800, 22))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QStatusBar(MainWindow)
        self.statusbar.setObjectName(u"statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)

        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"MainWindow", None))
        self.label_12.setText(QCoreApplication.translate("MainWindow", u"Std Deviation:", None))
        self.label_6.setText(QCoreApplication.translate("MainWindow", u"Pulse Duration", None))
        self.btnSend.setText(QCoreApplication.translate("MainWindow", u"Send to HMD", None))
        self.label_10.setText(QCoreApplication.translate("MainWindow", u"Hardware Averaging", None))
        self.lblPRATE.setText(QCoreApplication.translate("MainWindow", u"2.82 ms", None))
        self.label_4.setText(QCoreApplication.translate("MainWindow", u"Rate (Duration of one sample)", None))
        self.label_9.setText(QCoreApplication.translate("MainWindow", u"Moving Average Filter", None))
        self.lblPWTIME.setText(QCoreApplication.translate("MainWindow", u"2.78 ms", None))
        self.chkPWEN.setText(QCoreApplication.translate("MainWindow", u"Wait Time Enable (After Each Result)", None))
        self.label_2.setText(QCoreApplication.translate("MainWindow", u"Wait Time", None))
        self.chkPWLONG.setText(QCoreApplication.translate("MainWindow", u"Long Wait Time (12x normal)", None))
        self.rbBoth.setText(QCoreApplication.translate("MainWindow", u"Both", None))
        self.rbNear.setText(QCoreApplication.translate("MainWindow", u"Near", None))
        self.rbFar.setText(QCoreApplication.translate("MainWindow", u"Far", None))
        self.label_8.setText(QCoreApplication.translate("MainWindow", u"Photodiode Select", None))
        self.label_11.setText(QCoreApplication.translate("MainWindow", u"Averaged Value:", None))
        self.label.setText(QCoreApplication.translate("MainWindow", u"Proximity Value", None))
        self.label_3.setText(QCoreApplication.translate("MainWindow", u"Amplifier Gain", None))
        self.label_7.setText(QCoreApplication.translate("MainWindow", u"Laser Current (mA)", None))
        self.label_5.setText(QCoreApplication.translate("MainWindow", u"Maximum Pulses", None))
        self.label_13.setText(QCoreApplication.translate("MainWindow", u"Num to Average:", None))
        self.btnLogging.setText(QCoreApplication.translate("MainWindow", u"Start Logging", None))
        self.btnPause.setText(QCoreApplication.translate("MainWindow", u"Pause Averaging", None))
    # retranslateUi

