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

# Form implementation generated from reading ui file 'schoolscope_layout.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(939, 578)
        Form.setStyleSheet("")
        self.gridLayout = QtWidgets.QGridLayout(Form)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setObjectName("gridLayout")
        self.frame_11 = QtWidgets.QFrame(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_11.sizePolicy().hasHeightForWidth())
        self.frame_11.setSizePolicy(sizePolicy)
        self.frame_11.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_11.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_11.setObjectName("frame_11")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_11)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setSpacing(3)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.gridLayout.addWidget(self.frame_11, 2, 2, 1, 1)
        self.splitter = QtWidgets.QSplitter(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.splitter.sizePolicy().hasHeightForWidth())
        self.splitter.setSizePolicy(sizePolicy)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setHandleWidth(6)
        self.splitter.setObjectName("splitter")
        self.pwinviewp = QtWidgets.QFrame(self.splitter)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(90)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pwinviewp.sizePolicy().hasHeightForWidth())
        self.pwinviewp.setSizePolicy(sizePolicy)
        self.pwinviewp.setMinimumSize(QtCore.QSize(250, 0))
        self.pwinviewp.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.pwinviewp.setFrameShadow(QtWidgets.QFrame.Raised)
        self.pwinviewp.setObjectName("pwinviewp")
        self.gridLayout_9 = QtWidgets.QGridLayout(self.pwinviewp)
        self.gridLayout_9.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_9.setObjectName("gridLayout_9")
        self.TBslider = QtWidgets.QSlider(self.pwinviewp)
        self.TBslider.setMaximum(20)
        self.TBslider.setPageStep(1)
        self.TBslider.setProperty("value", 1)
        self.TBslider.setOrientation(QtCore.Qt.Horizontal)
        self.TBslider.setTickPosition(QtWidgets.QSlider.TicksAbove)
        self.TBslider.setObjectName("TBslider")
        self.gridLayout_9.addWidget(self.TBslider, 1, 1, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.pwinviewp)
        self.label_5.setObjectName("label_5")
        self.gridLayout_9.addWidget(self.label_5, 1, 0, 1, 1)
        self.pwinview = QtWidgets.QFrame(self.pwinviewp)
        self.pwinview.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.pwinview.setFrameShadow(QtWidgets.QFrame.Raised)
        self.pwinview.setObjectName("pwinview")
        self.plotLayout = QtWidgets.QVBoxLayout(self.pwinview)
        self.plotLayout.setContentsMargins(0, 0, 0, 0)
        self.plotLayout.setSpacing(0)
        self.plotLayout.setObjectName("plotLayout")
        self.gridLayout_9.addWidget(self.pwinview, 0, 0, 1, 2)
        self.frame = QtWidgets.QFrame(self.splitter)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(10)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
        self.frame.setSizePolicy(sizePolicy)
        self.frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.frame)
        self.gridLayout_2.setContentsMargins(4, 4, 4, 4)
        self.gridLayout_2.setSpacing(3)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.frame_4 = QtWidgets.QFrame(self.frame)
        self.frame_4.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_4.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_4.setObjectName("frame_4")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.frame_4)
        self.gridLayout_4.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_4.setSpacing(2)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.MICRange = QtWidgets.QComboBox(self.frame_4)
        self.MICRange.setMaximumSize(QtCore.QSize(45, 16777215))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.MICRange.setFont(font)
        self.MICRange.setObjectName("MICRange")
        self.MICRange.addItem("")
        self.MICRange.addItem("")
        self.MICRange.addItem("")
        self.MICRange.addItem("")
        self.gridLayout_4.addWidget(self.MICRange, 3, 2, 1, 1)
        self.A1Box = ClickableCheckBox(self.frame_4)
        self.A1Box.setMaximumSize(QtCore.QSize(30, 16777215))
        self.A1Box.setText("")
        self.A1Box.setObjectName("A1Box")
        self.gridLayout_4.addWidget(self.A1Box, 0, 0, 1, 1)
        self.A3Fit = QtWidgets.QLabel(self.frame_4)
        self.A3Fit.setMinimumSize(QtCore.QSize(160, 0))
        self.A3Fit.setObjectName("A3Fit")
        self.gridLayout_4.addWidget(self.A3Fit, 2, 4, 1, 1)
        self.A3Range = QtWidgets.QComboBox(self.frame_4)
        self.A3Range.setMaximumSize(QtCore.QSize(45, 16777215))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.A3Range.setFont(font)
        self.A3Range.setObjectName("A3Range")
        self.A3Range.addItem("")
        self.A3Range.addItem("")
        self.A3Range.addItem("")
        self.A3Range.addItem("")
        self.gridLayout_4.addWidget(self.A3Range, 2, 2, 1, 1)
        self.MICBox = ClickableCheckBox(self.frame_4)
        self.MICBox.setObjectName("MICBox")
        self.gridLayout_4.addWidget(self.MICBox, 3, 0, 1, 2)
        self.A1Fit = QtWidgets.QLabel(self.frame_4)
        self.A1Fit.setMinimumSize(QtCore.QSize(160, 0))
        self.A1Fit.setObjectName("A1Fit")
        self.gridLayout_4.addWidget(self.A1Fit, 0, 4, 1, 1)
        self.A2FitCombo = QtWidgets.QComboBox(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.A2FitCombo.sizePolicy().hasHeightForWidth())
        self.A2FitCombo.setSizePolicy(sizePolicy)
        self.A2FitCombo.setMaximumSize(QtCore.QSize(60, 16777215))
        self.A2FitCombo.setObjectName("A2FitCombo")
        self.gridLayout_4.addWidget(self.A2FitCombo, 1, 3, 1, 1)
        self.A1FitCombo = QtWidgets.QComboBox(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.A1FitCombo.sizePolicy().hasHeightForWidth())
        self.A1FitCombo.setSizePolicy(sizePolicy)
        self.A1FitCombo.setMaximumSize(QtCore.QSize(60, 16777215))
        self.A1FitCombo.setObjectName("A1FitCombo")
        self.gridLayout_4.addWidget(self.A1FitCombo, 0, 3, 1, 1)
        self.MICFitCombo = QtWidgets.QComboBox(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.MICFitCombo.sizePolicy().hasHeightForWidth())
        self.MICFitCombo.setSizePolicy(sizePolicy)
        self.MICFitCombo.setMaximumSize(QtCore.QSize(60, 16777215))
        self.MICFitCombo.setObjectName("MICFitCombo")
        self.gridLayout_4.addWidget(self.MICFitCombo, 3, 3, 1, 1)
        self.A2Range = QtWidgets.QComboBox(self.frame_4)
        self.A2Range.setMaximumSize(QtCore.QSize(45, 16777215))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.A2Range.setFont(font)
        self.A2Range.setObjectName("A2Range")
        self.A2Range.addItem("")
        self.A2Range.addItem("")
        self.A2Range.addItem("")
        self.A2Range.addItem("")
        self.A2Range.addItem("")
        self.A2Range.addItem("")
        self.gridLayout_4.addWidget(self.A2Range, 1, 2, 1, 1)
        self.A3FitCombo = QtWidgets.QComboBox(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.A3FitCombo.sizePolicy().hasHeightForWidth())
        self.A3FitCombo.setSizePolicy(sizePolicy)
        self.A3FitCombo.setMaximumSize(QtCore.QSize(60, 16777215))
        self.A3FitCombo.setObjectName("A3FitCombo")
        self.gridLayout_4.addWidget(self.A3FitCombo, 2, 3, 1, 1)
        self.A3Box = ClickableCheckBox(self.frame_4)
        self.A3Box.setObjectName("A3Box")
        self.gridLayout_4.addWidget(self.A3Box, 2, 0, 1, 2)
        self.A1Map = QtWidgets.QComboBox(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.A1Map.sizePolicy().hasHeightForWidth())
        self.A1Map.setSizePolicy(sizePolicy)
        self.A1Map.setMinimumSize(QtCore.QSize(60, 0))
        self.A1Map.setMaximumSize(QtCore.QSize(45, 16777215))
        self.A1Map.setObjectName("A1Map")
        self.gridLayout_4.addWidget(self.A1Map, 0, 1, 1, 1)
        self.MICFit = QtWidgets.QLabel(self.frame_4)
        self.MICFit.setMinimumSize(QtCore.QSize(160, 0))
        self.MICFit.setObjectName("MICFit")
        self.gridLayout_4.addWidget(self.MICFit, 3, 4, 1, 1)
        self.A2Box = ClickableCheckBox(self.frame_4)
        self.A2Box.setObjectName("A2Box")
        self.gridLayout_4.addWidget(self.A2Box, 1, 0, 1, 2)
        self.A1Range = QtWidgets.QComboBox(self.frame_4)
        self.A1Range.setMaximumSize(QtCore.QSize(45, 16777215))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.A1Range.setFont(font)
        self.A1Range.setObjectName("A1Range")
        self.A1Range.addItem("")
        self.A1Range.addItem("")
        self.A1Range.addItem("")
        self.A1Range.addItem("")
        self.A1Range.addItem("")
        self.A1Range.addItem("")
        self.gridLayout_4.addWidget(self.A1Range, 0, 2, 1, 1)
        self.A2Fit = QtWidgets.QLabel(self.frame_4)
        self.A2Fit.setMinimumSize(QtCore.QSize(160, 0))
        self.A2Fit.setObjectName("A2Fit")
        self.gridLayout_4.addWidget(self.A2Fit, 1, 4, 1, 1)
        self.gridLayout_2.addWidget(self.frame_4, 15, 1, 1, 3)
        self.scopeProgress = QtWidgets.QProgressBar(self.frame)
        self.scopeProgress.setMaximumSize(QtCore.QSize(16777215, 3))
        self.scopeProgress.setProperty("value", 24)
        self.scopeProgress.setTextVisible(False)
        self.scopeProgress.setFormat("")
        self.scopeProgress.setObjectName("scopeProgress")
        self.gridLayout_2.addWidget(self.scopeProgress, 14, 1, 1, 3)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 16, 1, 1, 1)
        self.line = QtWidgets.QFrame(self.frame)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout_2.addWidget(self.line, 7, 1, 1, 3)
        self.line_2 = QtWidgets.QFrame(self.frame)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout_2.addWidget(self.line_2, 9, 1, 1, 3)
        self.frame_3 = QtWidgets.QFrame(self.frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_3.sizePolicy().hasHeightForWidth())
        self.frame_3.setSizePolicy(sizePolicy)
        self.frame_3.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_3.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_3.setObjectName("frame_3")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.frame_3)
        self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_3.setSpacing(1)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.SQ1Label = QtWidgets.QPushButton(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.SQ1Label.sizePolicy().hasHeightForWidth())
        self.SQ1Label.setSizePolicy(sizePolicy)
        self.SQ1Label.setMinimumSize(QtCore.QSize(100, 0))
        self.SQ1Label.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.SQ1Label.setFont(font)
        self.SQ1Label.setObjectName("SQ1Label")
        self.gridLayout_3.addWidget(self.SQ1Label, 2, 3, 1, 1)
        self.SQ1slider = QtWidgets.QSlider(self.frame_3)
        self.SQ1slider.setMinimum(0)
        self.SQ1slider.setMaximum(50000)
        self.SQ1slider.setProperty("value", 0)
        self.SQ1slider.setSliderPosition(0)
        self.SQ1slider.setOrientation(QtCore.Qt.Horizontal)
        self.SQ1slider.setObjectName("SQ1slider")
        self.gridLayout_3.addWidget(self.SQ1slider, 2, 1, 1, 1)
        self.PV2Label = QtWidgets.QPushButton(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.PV2Label.sizePolicy().hasHeightForWidth())
        self.PV2Label.setSizePolicy(sizePolicy)
        self.PV2Label.setMinimumSize(QtCore.QSize(100, 0))
        self.PV2Label.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.PV2Label.setFont(font)
        self.PV2Label.setObjectName("PV2Label")
        self.gridLayout_3.addWidget(self.PV2Label, 5, 3, 1, 1)
        self.pcsFrame = QtWidgets.QFrame(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(10)
        sizePolicy.setHeightForWidth(self.pcsFrame.sizePolicy().hasHeightForWidth())
        self.pcsFrame.setSizePolicy(sizePolicy)
        self.pcsFrame.setMinimumSize(QtCore.QSize(0, 45))
        self.pcsFrame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.pcsFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.pcsFrame.setObjectName("pcsFrame")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.pcsFrame)
        self.gridLayout_6.setContentsMargins(1, 1, 1, 1)
        self.gridLayout_6.setSpacing(0)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.pcsVal_I = QtWidgets.QLabel(self.pcsFrame)
        self.pcsVal_I.setObjectName("pcsVal_I")
        self.gridLayout_6.addWidget(self.pcsVal_I, 2, 3, 1, 1)
        self.label = QtWidgets.QLabel(self.pcsFrame)
        self.label.setMinimumSize(QtCore.QSize(0, 0))
        self.label.setObjectName("label")
        self.gridLayout_6.addWidget(self.label, 3, 0, 1, 2)
        self.PCSslider = QtWidgets.QSlider(self.pcsFrame)
        self.PCSslider.setMinimum(-3300)
        self.PCSslider.setMaximum(3300)
        self.PCSslider.setProperty("value", 3300)
        self.PCSslider.setOrientation(QtCore.Qt.Horizontal)
        self.PCSslider.setInvertedAppearance(True)
        self.PCSslider.setInvertedControls(True)
        self.PCSslider.setObjectName("PCSslider")
        self.gridLayout_6.addWidget(self.PCSslider, 2, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.pcsFrame)
        self.label_2.setMinimumSize(QtCore.QSize(35, 0))
        self.label_2.setMaximumSize(QtCore.QSize(35, 16777215))
        self.label_2.setObjectName("label_2")
        self.gridLayout_6.addWidget(self.label_2, 2, 2, 1, 1)
        self.pcsVal = QtWidgets.QLCDNumber(self.pcsFrame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pcsVal.sizePolicy().hasHeightForWidth())
        self.pcsVal.setSizePolicy(sizePolicy)
        self.pcsVal.setMinimumSize(QtCore.QSize(0, 20))
        self.pcsVal.setAutoFillBackground(False)
        self.pcsVal.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.pcsVal.setFrameShadow(QtWidgets.QFrame.Raised)
        self.pcsVal.setSmallDecimalPoint(False)
        self.pcsVal.setDigitCount(4)
        self.pcsVal.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
        self.pcsVal.setObjectName("pcsVal")
        self.gridLayout_6.addWidget(self.pcsVal, 3, 2, 1, 2)
        self.gridLayout_3.addWidget(self.pcsFrame, 7, 0, 1, 5)
        self.PV2slider = QtWidgets.QSlider(self.frame_3)
        self.PV2slider.setMinimum(-3300)
        self.PV2slider.setMaximum(3300)
        self.PV2slider.setOrientation(QtCore.Qt.Horizontal)
        self.PV2slider.setObjectName("PV2slider")
        self.gridLayout_3.addWidget(self.PV2slider, 5, 1, 1, 2)
        self.AWGslider = QtWidgets.QSlider(self.frame_3)
        self.AWGslider.setMinimum(5)
        self.AWGslider.setMaximum(5000)
        self.AWGslider.setProperty("value", 1000)
        self.AWGslider.setOrientation(QtCore.Qt.Horizontal)
        self.AWGslider.setObjectName("AWGslider")
        self.gridLayout_3.addWidget(self.AWGslider, 1, 1, 1, 2)
        self.WGLabel = QtWidgets.QPushButton(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.WGLabel.sizePolicy().hasHeightForWidth())
        self.WGLabel.setSizePolicy(sizePolicy)
        self.WGLabel.setMinimumSize(QtCore.QSize(100, 0))
        self.WGLabel.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.WGLabel.setFont(font)
        self.WGLabel.setObjectName("WGLabel")
        self.gridLayout_3.addWidget(self.WGLabel, 1, 3, 1, 1)
        self.PV1slider = QtWidgets.QSlider(self.frame_3)
        self.PV1slider.setMinimum(-5000)
        self.PV1slider.setMaximum(5000)
        self.PV1slider.setProperty("value", 0)
        self.PV1slider.setOrientation(QtCore.Qt.Horizontal)
        self.PV1slider.setObjectName("PV1slider")
        self.gridLayout_3.addWidget(self.PV1slider, 4, 1, 1, 2)
        self.PV1Label = QtWidgets.QPushButton(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.PV1Label.sizePolicy().hasHeightForWidth())
        self.PV1Label.setSizePolicy(sizePolicy)
        self.PV1Label.setMinimumSize(QtCore.QSize(100, 0))
        self.PV1Label.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.PV1Label.setFont(font)
        self.PV1Label.setObjectName("PV1Label")
        self.gridLayout_3.addWidget(self.PV1Label, 4, 3, 1, 1)
        self.SQ1DCslider = QtWidgets.QSlider(self.frame_3)
        self.SQ1DCslider.setMinimum(0)
        self.SQ1DCslider.setMaximum(10000)
        self.SQ1DCslider.setPageStep(100)
        self.SQ1DCslider.setProperty("value", 5000)
        self.SQ1DCslider.setSliderPosition(5000)
        self.SQ1DCslider.setOrientation(QtCore.Qt.Horizontal)
        self.SQ1DCslider.setObjectName("SQ1DCslider")
        self.gridLayout_3.addWidget(self.SQ1DCslider, 3, 1, 1, 1)
        self.SQ1DCLabel = QtWidgets.QPushButton(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.SQ1DCLabel.sizePolicy().hasHeightForWidth())
        self.SQ1DCLabel.setSizePolicy(sizePolicy)
        self.SQ1DCLabel.setMinimumSize(QtCore.QSize(100, 0))
        self.SQ1DCLabel.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.SQ1DCLabel.setFont(font)
        self.SQ1DCLabel.setObjectName("SQ1DCLabel")
        self.gridLayout_3.addWidget(self.SQ1DCLabel, 3, 3, 1, 1)
        self.gridLayout_2.addWidget(self.frame_3, 11, 1, 2, 3)
        self.frame_7 = QtWidgets.QFrame(self.frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_7.sizePolicy().hasHeightForWidth())
        self.frame_7.setSizePolicy(sizePolicy)
        self.frame_7.setMinimumSize(QtCore.QSize(0, 100))
        self.frame_7.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_7.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_7.setObjectName("frame_7")
        self.gaugeLayout = QtWidgets.QHBoxLayout(self.frame_7)
        self.gaugeLayout.setContentsMargins(0, 0, 0, 0)
        self.gaugeLayout.setSpacing(3)
        self.gaugeLayout.setObjectName("gaugeLayout")
        self.gridLayout_2.addWidget(self.frame_7, 2, 1, 1, 3)
        self.frame_5 = QtWidgets.QFrame(self.frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_5.sizePolicy().hasHeightForWidth())
        self.frame_5.setSizePolicy(sizePolicy)
        self.frame_5.setMinimumSize(QtCore.QSize(0, 50))
        self.frame_5.setMaximumSize(QtCore.QSize(16777215, 80))
        self.frame_5.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_5.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_5.setObjectName("frame_5")
        self.gridLayout_8 = QtWidgets.QGridLayout(self.frame_5)
        self.gridLayout_8.setContentsMargins(0, 0, 0, -1)
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.CS3 = ClickableCheckBox(self.frame_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CS3.sizePolicy().hasHeightForWidth())
        self.CS3.setSizePolicy(sizePolicy)
        self.CS3.setMinimumSize(QtCore.QSize(0, 30))
        self.CS3.setObjectName("CS3")
        self.gridLayout_8.addWidget(self.CS3, 1, 2, 1, 1)
        self.CS2 = ClickableCheckBox(self.frame_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CS2.sizePolicy().hasHeightForWidth())
        self.CS2.setSizePolicy(sizePolicy)
        self.CS2.setMinimumSize(QtCore.QSize(0, 30))
        self.CS2.setObjectName("CS2")
        self.gridLayout_8.addWidget(self.CS2, 1, 1, 1, 1)
        self.CS4 = ClickableCheckBox(self.frame_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CS4.sizePolicy().hasHeightForWidth())
        self.CS4.setSizePolicy(sizePolicy)
        self.CS4.setMinimumSize(QtCore.QSize(0, 30))
        self.CS4.setObjectName("CS4")
        self.gridLayout_8.addWidget(self.CS4, 1, 3, 1, 1)
        self.CS1 = ClickableCheckBox(self.frame_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CS1.sizePolicy().hasHeightForWidth())
        self.CS1.setSizePolicy(sizePolicy)
        self.CS1.setMinimumSize(QtCore.QSize(0, 30))
        self.CS1.setObjectName("CS1")
        self.gridLayout_8.addWidget(self.CS1, 1, 0, 1, 1)
        self.OD1 = ClickableCheckBox(self.frame_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.OD1.sizePolicy().hasHeightForWidth())
        self.OD1.setSizePolicy(sizePolicy)
        self.OD1.setMinimumSize(QtCore.QSize(0, 30))
        self.OD1.setObjectName("OD1")
        self.gridLayout_8.addWidget(self.OD1, 0, 0, 1, 1)
        self.CCS = ClickableCheckBox(self.frame_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CCS.sizePolicy().hasHeightForWidth())
        self.CCS.setSizePolicy(sizePolicy)
        self.CCS.setMinimumSize(QtCore.QSize(0, 30))
        self.CCS.setObjectName("CCS")
        self.gridLayout_8.addWidget(self.CCS, 0, 1, 1, 1)
        self.gridLayout_2.addWidget(self.frame_5, 8, 1, 1, 3)
        self.comboBox_2 = QtWidgets.QComboBox(self.frame)
        self.comboBox_2.setObjectName("comboBox_2")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.gridLayout_2.addWidget(self.comboBox_2, 10, 3, 1, 1)
        self.RES = QtWidgets.QLabel(self.frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.RES.sizePolicy().hasHeightForWidth())
        self.RES.setSizePolicy(sizePolicy)
        self.RES.setStyleSheet("")
        self.RES.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.RES.setObjectName("RES")
        self.gridLayout_2.addWidget(self.RES, 4, 1, 1, 3)
        self.frame_8 = QtWidgets.QFrame(self.frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_8.sizePolicy().hasHeightForWidth())
        self.frame_8.setSizePolicy(sizePolicy)
        self.frame_8.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_8.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_8.setObjectName("frame_8")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.frame_8)
        self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_4.setSpacing(3)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.CAP = QtWidgets.QPushButton(self.frame_8)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/controls/capacitor.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.CAP.setIcon(icon)
        self.CAP.setObjectName("CAP")
        self.horizontalLayout_4.addWidget(self.CAP)
        self.FREQ = QtWidgets.QPushButton(self.frame_8)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/controls/ttl.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.FREQ.setIcon(icon1)
        self.FREQ.setObjectName("FREQ")
        self.horizontalLayout_4.addWidget(self.FREQ)
        self.loading_label = QtWidgets.QLabel(self.frame_8)
        self.loading_label.setMaximumSize(QtCore.QSize(30, 30))
        self.loading_label.setText("")
        self.loading_label.setObjectName("loading_label")
        self.horizontalLayout_4.addWidget(self.loading_label)
        self.gridLayout_2.addWidget(self.frame_8, 5, 1, 1, 3)
        self.Wshape = QtWidgets.QComboBox(self.frame)
        self.Wshape.setObjectName("Wshape")
        self.Wshape.addItem("")
        self.Wshape.addItem("")
        self.Wshape.addItem("")
        self.gridLayout_2.addWidget(self.Wshape, 10, 1, 1, 2)
        self.frame_13 = QtWidgets.QFrame(self.frame)
        self.frame_13.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_13.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_13.setObjectName("frame_13")
        self.gridLayout_2.addWidget(self.frame_13, 17, 1, 1, 1)
        self.gridLayout.addWidget(self.splitter, 0, 1, 1, 2)
        self.frame_2 = QtWidgets.QFrame(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth())
        self.frame_2.setSizePolicy(sizePolicy)
        self.frame_2.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.frame_2)
        self.gridLayout_7.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_7.setSpacing(2)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.frame_6 = QtWidgets.QFrame(self.frame_2)
        self.frame_6.setFrameShape(QtWidgets.QFrame.Panel)
        self.frame_6.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_6.setObjectName("frame_6")
        self.gridLayout_10 = QtWidgets.QGridLayout(self.frame_6)
        self.gridLayout_10.setContentsMargins(2, 2, 2, 2)
        self.gridLayout_10.setSpacing(2)
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.label_3 = QtWidgets.QLabel(self.frame_6)
        self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_3.setObjectName("label_3")
        self.gridLayout_10.addWidget(self.label_3, 0, 0, 1, 1)
        self.trigBox = QtWidgets.QComboBox(self.frame_6)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.trigBox.sizePolicy().hasHeightForWidth())
        self.trigBox.setSizePolicy(sizePolicy)
        self.trigBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.trigBox.setObjectName("trigBox")
        self.gridLayout_10.addWidget(self.trigBox, 1, 0, 1, 1)
        self.gridLayout_7.addWidget(self.frame_6, 1, 0, 1, 2)
        self.frame_10 = QtWidgets.QFrame(self.frame_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_10.sizePolicy().hasHeightForWidth())
        self.frame_10.setSizePolicy(sizePolicy)
        self.frame_10.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_10.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_10.setObjectName("frame_10")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.frame_10)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.slider1 = QtWidgets.QSlider(self.frame_10)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.slider1.sizePolicy().hasHeightForWidth())
        self.slider1.setSizePolicy(sizePolicy)
        self.slider1.setStyleSheet("")
        self.slider1.setMinimum(-4)
        self.slider1.setMaximum(4)
        self.slider1.setOrientation(QtCore.Qt.Vertical)
        self.slider1.setObjectName("slider1")
        self.verticalLayout_2.addWidget(self.slider1)
        self.slider2 = QtWidgets.QSlider(self.frame_10)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.slider2.sizePolicy().hasHeightForWidth())
        self.slider2.setSizePolicy(sizePolicy)
        self.slider2.setStyleSheet("")
        self.slider2.setMinimum(-4)
        self.slider2.setMaximum(4)
        self.slider2.setOrientation(QtCore.Qt.Vertical)
        self.slider2.setObjectName("slider2")
        self.verticalLayout_2.addWidget(self.slider2)
        self.slider3 = QtWidgets.QSlider(self.frame_10)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.slider3.sizePolicy().hasHeightForWidth())
        self.slider3.setSizePolicy(sizePolicy)
        self.slider3.setStyleSheet("")
        self.slider3.setMinimum(-4)
        self.slider3.setMaximum(4)
        self.slider3.setOrientation(QtCore.Qt.Vertical)
        self.slider3.setObjectName("slider3")
        self.verticalLayout_2.addWidget(self.slider3)
        self.slider4 = QtWidgets.QSlider(self.frame_10)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.slider4.sizePolicy().hasHeightForWidth())
        self.slider4.setSizePolicy(sizePolicy)
        self.slider4.setStyleSheet("")
        self.slider4.setMinimum(-4)
        self.slider4.setMaximum(4)
        self.slider4.setOrientation(QtCore.Qt.Vertical)
        self.slider4.setObjectName("slider4")
        self.verticalLayout_2.addWidget(self.slider4)
        self.gridLayout_7.addWidget(self.frame_10, 0, 0, 1, 1)
        self.frame_9 = QtWidgets.QFrame(self.frame_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_9.sizePolicy().hasHeightForWidth())
        self.frame_9.setSizePolicy(sizePolicy)
        self.frame_9.setMinimumSize(QtCore.QSize(0, 80))
        self.frame_9.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frame_9.setFrameShape(QtWidgets.QFrame.Panel)
        self.frame_9.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_9.setObjectName("frame_9")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.frame_9)
        self.gridLayout_5.setContentsMargins(2, 2, 2, 2)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.frame_12 = QtWidgets.QFrame(self.frame_9)
        self.frame_12.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_12.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_12.setObjectName("frame_12")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.frame_12)
        self.horizontalLayout_2.setContentsMargins(2, 2, 2, 2)
        self.horizontalLayout_2.setSpacing(2)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.FreezeButton = QtWidgets.QPushButton(self.frame_12)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.FreezeButton.sizePolicy().hasHeightForWidth())
        self.FreezeButton.setSizePolicy(sizePolicy)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/controls/stop.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.FreezeButton.setIcon(icon2)
        self.FreezeButton.setObjectName("FreezeButton")
        self.horizontalLayout_2.addWidget(self.FreezeButton)
        self.singleShotButton = QtWidgets.QPushButton(self.frame_12)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.singleShotButton.sizePolicy().hasHeightForWidth())
        self.singleShotButton.setSizePolicy(sizePolicy)
        self.singleShotButton.setText("")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/controls/refresh.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.singleShotButton.setIcon(icon3)
        self.singleShotButton.setObjectName("singleShotButton")
        self.horizontalLayout_2.addWidget(self.singleShotButton)
        self.gridLayout_5.addWidget(self.frame_12, 1, 0, 1, 2)
        self.actionFrame = QtWidgets.QFrame(self.frame_9)
        self.actionFrame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.actionFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.actionFrame.setObjectName("actionFrame")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.actionFrame)
        self.horizontalLayout_5.setContentsMargins(2, 2, 2, 2)
        self.horizontalLayout_5.setSpacing(2)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.actionBox = QtWidgets.QComboBox(self.actionFrame)
        self.actionBox.setObjectName("actionBox")
        self.actionBox.addItem("")
        self.actionBox.addItem("")
        self.actionBox.addItem("")
        self.horizontalLayout_5.addWidget(self.actionBox)
        self.gridLayout_5.addWidget(self.actionFrame, 2, 0, 1, 2)
        self.hrBox = QtWidgets.QCheckBox(self.frame_9)
        self.hrBox.setEnabled(False)
        self.hrBox.setMinimumSize(QtCore.QSize(0, 20))
        self.hrBox.setObjectName("hrBox")
        self.gridLayout_5.addWidget(self.hrBox, 0, 0, 1, 2)
        self.gridLayout_7.addWidget(self.frame_9, 9, 0, 1, 2)
        self.triggerSlider = QtWidgets.QSlider(self.frame_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.triggerSlider.sizePolicy().hasHeightForWidth())
        self.triggerSlider.setSizePolicy(sizePolicy)
        self.triggerSlider.setMinimumSize(QtCore.QSize(0, 0))
        self.triggerSlider.setMinimum(-5000)
        self.triggerSlider.setMaximum(5000)
        self.triggerSlider.setProperty("value", 0)
        self.triggerSlider.setSliderPosition(0)
        self.triggerSlider.setOrientation(QtCore.Qt.Vertical)
        self.triggerSlider.setTickPosition(QtWidgets.QSlider.TicksAbove)
        self.triggerSlider.setTickInterval(200)
        self.triggerSlider.setObjectName("triggerSlider")
        self.gridLayout_7.addWidget(self.triggerSlider, 0, 1, 1, 1)
        self.FFTBox = QtWidgets.QCheckBox(self.frame_2)
        self.FFTBox.setObjectName("FFTBox")
        self.gridLayout_7.addWidget(self.FFTBox, 5, 0, 1, 2)
        self.Cross = ClickableCheckBox(self.frame_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.Cross.sizePolicy().hasHeightForWidth())
        self.Cross.setSizePolicy(sizePolicy)
        self.Cross.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.Cross.setObjectName("Cross")
        self.gridLayout_7.addWidget(self.Cross, 6, 0, 1, 2)
        self.Diff = ClickableCheckBox(self.frame_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.Diff.sizePolicy().hasHeightForWidth())
        self.Diff.setSizePolicy(sizePolicy)
        self.Diff.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.Diff.setObjectName("Diff")
        self.gridLayout_7.addWidget(self.Diff, 7, 0, 1, 2)
        self.pushButton_4 = QtWidgets.QPushButton(self.frame_2)
        self.pushButton_4.setObjectName("pushButton_4")
        self.gridLayout_7.addWidget(self.pushButton_4, 12, 0, 1, 2)
        self.gridLayout.addWidget(self.frame_2, 0, 0, 1, 1)

        self.retranslateUi(Form)
        self.MICRange.setCurrentIndex(0)
        self.A3Range.setCurrentIndex(0)
        self.A2Range.setCurrentIndex(2)
        self.A1Map.setCurrentIndex(-1)
        self.A1Range.setCurrentIndex(2)
        self.comboBox_2.setCurrentIndex(2)
        self.PCSslider.valueChanged['int'].connect(Form.pcs_slider) # type: ignore
        self.PV2slider.valueChanged['int'].connect(Form.pv2_slider) # type: ignore
        self.SQ1slider.valueChanged['int'].connect(Form.sq1_slider) # type: ignore
        self.pushButton_4.clicked.connect(Form.save_data) # type: ignore
        self.triggerSlider.valueChanged['int'].connect(Form.set_trigger) # type: ignore
        self.Wshape.currentIndexChanged['int'].connect(Form.select_wave) # type: ignore
        self.TBslider.valueChanged['int'].connect(Form.set_timebase) # type: ignore
        self.AWGslider.valueChanged['int'].connect(Form.awg_slider) # type: ignore
        self.trigBox.currentIndexChanged['int'].connect(Form.select_trig_source) # type: ignore
        self.comboBox_2.currentIndexChanged['int'].connect(Form.select_wgain) # type: ignore
        self.PV1slider.valueChanged['int'].connect(Form.pv1_slider) # type: ignore
        self.SQ1DCslider.valueChanged['int'].connect(Form.sq1_dc_slider) # type: ignore
        self.singleShotButton.clicked.connect(Form.singleShot) # type: ignore
        self.FreezeButton.clicked.connect(Form.toggleFreeze) # type: ignore
        self.actionBox.currentIndexChanged['int'].connect(Form.action_changed) # type: ignore
        self.FFTBox.toggled['bool'].connect(Form.show_fft) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.pwinviewp.setProperty("class", _translate("Form", "largefont"))
        self.label_5.setText(_translate("Form", "Timebase"))
        self.MICRange.setItemText(0, _translate("Form", "4V"))
        self.MICRange.setItemText(1, _translate("Form", "2V"))
        self.MICRange.setItemText(2, _translate("Form", "1V"))
        self.MICRange.setItemText(3, _translate("Form", "0.5V"))
        self.A3Fit.setText(_translate("Form", "-"))
        self.A3Range.setItemText(0, _translate("Form", "4V"))
        self.A3Range.setItemText(1, _translate("Form", "2V"))
        self.A3Range.setItemText(2, _translate("Form", "1V"))
        self.A3Range.setItemText(3, _translate("Form", "0.5V"))
        self.MICBox.setText(_translate("Form", "MIC"))
        self.A1Fit.setText(_translate("Form", "-"))
        self.A2Range.setItemText(0, _translate("Form", "16V"))
        self.A2Range.setItemText(1, _translate("Form", "8V"))
        self.A2Range.setItemText(2, _translate("Form", "4V"))
        self.A2Range.setItemText(3, _translate("Form", "2.5V"))
        self.A2Range.setItemText(4, _translate("Form", "1V"))
        self.A2Range.setItemText(5, _translate("Form", "0.5V"))
        self.A3Box.setText(_translate("Form", "A3"))
        self.MICFit.setText(_translate("Form", "-"))
        self.A2Box.setText(_translate("Form", "A2"))
        self.A1Range.setItemText(0, _translate("Form", "16V"))
        self.A1Range.setItemText(1, _translate("Form", "8V"))
        self.A1Range.setItemText(2, _translate("Form", "4V"))
        self.A1Range.setItemText(3, _translate("Form", "2.5V"))
        self.A1Range.setItemText(4, _translate("Form", "1V"))
        self.A1Range.setItemText(5, _translate("Form", "0.5V"))
        self.A2Fit.setText(_translate("Form", "-"))
        self.SQ1Label.setToolTip(_translate("Form", "Square Wave Generator"))
        self.SQ1Label.setText(_translate("Form", "SQ1"))
        self.SQ1slider.setProperty("class", _translate("Form", "symmetric"))
        self.PV2Label.setToolTip(_translate("Form", "Programmable Voltage Source 2 +/-3.3V"))
        self.PV2Label.setText(_translate("Form", "PV2"))
        self.pcsVal_I.setText(_translate("Form", "1.65mA"))
        self.label.setText(_translate("Form", "Voltage across PCS(mV):"))
        self.PCSslider.setProperty("class", _translate("Form", "symmetric volts"))
        self.label_2.setText(_translate("Form", "PCS"))
        self.pcsVal.setToolTip(_translate("Form", "<html><head/><body><p>The voltage value at the constant current source output</p></body></html>"))
        self.PV2slider.setProperty("class", _translate("Form", "symmetric volts"))
        self.AWGslider.setProperty("class", _translate("Form", "symmetric"))
        self.WGLabel.setToolTip(_translate("Form", "Sine Wave Generator"))
        self.WGLabel.setText(_translate("Form", "WG"))
        self.PV1slider.setProperty("class", _translate("Form", "symmetric volts"))
        self.PV1Label.setToolTip(_translate("Form", "Programmable Voltage Source 1 +/-5V"))
        self.PV1Label.setText(_translate("Form", "PV1"))
        self.SQ1DCslider.setProperty("class", _translate("Form", "symmetric"))
        self.SQ1DCLabel.setToolTip(_translate("Form", "Sine Wave Generator\n"
"Duty Cycle Adjustment"))
        self.SQ1DCLabel.setText(_translate("Form", "SQ1 DC"))
        self.CS3.setText(_translate("Form", "CS3"))
        self.CS2.setText(_translate("Form", "CS2"))
        self.CS4.setText(_translate("Form", "CS4"))
        self.CS1.setText(_translate("Form", "CS1"))
        self.OD1.setText(_translate("Form", "OD1"))
        self.CCS.setText(_translate("Form", "CCS"))
        self.comboBox_2.setItemText(0, _translate("Form", "80 mV"))
        self.comboBox_2.setItemText(1, _translate("Form", "1V"))
        self.comboBox_2.setItemText(2, _translate("Form", "3V (Amplitude)"))
        self.RES.setText(_translate("Form", "Resistance on SEN"))
        self.CAP.setText(_translate("Form", "Capacitance (IN1):"))
        self.FREQ.setText(_translate("Form", "Frequency (IN2):"))
        self.Wshape.setItemText(0, _translate("Form", "WG( Sinusoidal )"))
        self.Wshape.setItemText(1, _translate("Form", "WG( Triangle )"))
        self.Wshape.setItemText(2, _translate("Form", "SQ2( Square )"))
        self.label_3.setText(_translate("Form", "Trigger ↑"))
        self.FreezeButton.setText(_translate("Form", "FREEZE"))
        self.actionBox.setItemText(0, _translate("Form", "NONE"))
        self.actionBox.setItemText(1, _translate("Form", "OD1 SET_LOW"))
        self.actionBox.setItemText(2, _translate("Form", "OD1 SET_HIGH"))
        self.hrBox.setText(_translate("Form", "12-Bit"))
        self.FFTBox.setText(_translate("Form", "FFT"))
        self.Cross.setText(_translate("Form", "Cursor"))
        self.Diff.setText(_translate("Form", "A2-A1"))
        self.pushButton_4.setText(_translate("Form", "SAVE Traces"))
from clickablecheckbox import ClickableCheckBox
from . import res_rc
