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

# Form implementation generated from reading ui file 'scrolls.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# 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
import pyqtgraph as pg

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(811, 530)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setBaseSize(QtCore.QSize(0, 20))
        self.centralWidget = QtWidgets.QWidget(MainWindow)
        self.centralWidget.setAutoFillBackground(False)
        self.centralWidget.setObjectName("centralWidget")
        self.gridLayout = QtWidgets.QGridLayout(self.centralWidget)
        self.gridLayout.setContentsMargins(11, 11, 11, 11)
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName("gridLayout")
        self.tabs = QtWidgets.QTabWidget(self.centralWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabs.sizePolicy().hasHeightForWidth())
        self.tabs.setSizePolicy(sizePolicy)
        self.tabs.setMinimumSize(QtCore.QSize(0, 0))
        self.tabs.setAutoFillBackground(False)
        self.tabs.setTabPosition(QtWidgets.QTabWidget.North)
        self.tabs.setTabShape(QtWidgets.QTabWidget.Rounded)
        self.tabs.setElideMode(QtCore.Qt.ElideLeft)
        self.tabs.setObjectName("tabs")
        self.camera = QtWidgets.QWidget()
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.camera.sizePolicy().hasHeightForWidth())
        self.camera.setSizePolicy(sizePolicy)
        self.camera.setMinimumSize(QtCore.QSize(0, 0))
        self.camera.setAutoFillBackground(False)
        self.camera.setObjectName("camera")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.camera)
        self.gridLayout_5.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_5.setSpacing(6)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.scrollArea = QtWidgets.QScrollArea(self.camera)
        self.scrollArea.setAutoFillBackground(False)
        self.scrollArea.setStyleSheet("")
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 767, 413))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.gridLayout_11 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents)
        self.gridLayout_11.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_11.setSpacing(6)
        self.gridLayout_11.setObjectName("gridLayout_11")
        self.cameralabellayout = QtWidgets.QVBoxLayout()
        self.cameralabellayout.setContentsMargins(-1, -1, -1, 2)
        self.cameralabellayout.setSpacing(6)
        self.cameralabellayout.setObjectName("cameralabellayout")
        self.cameralabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.cameralabel.setMaximumSize(QtCore.QSize(16777215, 20))
        self.cameralabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.cameralabel.setObjectName("cameralabel")
        self.cameralabellayout.addWidget(self.cameralabel)
        self.gridLayout_11.addLayout(self.cameralabellayout, 0, 0, 1, 1)
        self.windowsizelayout = QtWidgets.QVBoxLayout()
        self.windowsizelayout.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
        self.windowsizelayout.setContentsMargins(-1, -1, -1, 2)
        self.windowsizelayout.setSpacing(6)
        self.windowsizelayout.setObjectName("windowsizelayout")
        self.windowlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.windowlabel.sizePolicy().hasHeightForWidth())
        self.windowlabel.setSizePolicy(sizePolicy)
        self.windowlabel.setObjectName("windowlabel")
        self.windowsizelayout.addWidget(self.windowlabel)
        self.windowlcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.windowlcd.sizePolicy().hasHeightForWidth())
        self.windowlcd.setSizePolicy(sizePolicy)
        self.windowlcd.setDigitCount(3)
        self.windowlcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
        self.windowlcd.setProperty("intValue", 240)
        self.windowlcd.setObjectName("windowlcd")
        self.windowsizelayout.addWidget(self.windowlcd)
        self.windowbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
        self.windowbar.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.windowbar.sizePolicy().hasHeightForWidth())
        self.windowbar.setSizePolicy(sizePolicy)
        self.windowbar.setAcceptDrops(False)
        self.windowbar.setMinimum(240)
        self.windowbar.setMaximum(800)
        self.windowbar.setSingleStep(5)
        self.windowbar.setOrientation(QtCore.Qt.Horizontal)
        self.windowbar.setInvertedAppearance(False)
        self.windowbar.setObjectName("windowbar")
        self.windowsizelayout.addWidget(self.windowbar)
        self.gridLayout_11.addLayout(self.windowsizelayout, 0, 1, 1, 1)
        self.zoomverticallayout = QtWidgets.QVBoxLayout()
        self.zoomverticallayout.setContentsMargins(-1, -1, -1, 2)
        self.zoomverticallayout.setSpacing(6)
        self.zoomverticallayout.setObjectName("zoomverticallayout")
        self.zoomlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.zoomlabel.setObjectName("zoomlabel")
        self.zoomverticallayout.addWidget(self.zoomlabel)
        self.zoomlcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.zoomlcd.sizePolicy().hasHeightForWidth())
        self.zoomlcd.setSizePolicy(sizePolicy)
        self.zoomlcd.setDigitCount(2)
        self.zoomlcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
        self.zoomlcd.setProperty("intValue", 0)
        self.zoomlcd.setObjectName("zoomlcd")
        self.zoomverticallayout.addWidget(self.zoomlcd)
        self.zoombar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
        self.zoombar.setAcceptDrops(False)
        self.zoombar.setMinimum(0)
        self.zoombar.setMaximum(10)
        self.zoombar.setSingleStep(1)
        self.zoombar.setPageStep(1)
        self.zoombar.setSliderPosition(0)
        self.zoombar.setOrientation(QtCore.Qt.Horizontal)
        self.zoombar.setObjectName("zoombar")
        self.zoomverticallayout.addWidget(self.zoombar)
        self.gridLayout_11.addLayout(self.zoomverticallayout, 0, 2, 1, 1)
        self.horizontallayout = QtWidgets.QVBoxLayout()
        self.horizontallayout.setContentsMargins(-1, -1, -1, 2)
        self.horizontallayout.setSpacing(6)
        self.horizontallayout.setObjectName("horizontallayout")
        self.horizontallabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.horizontallabel.setObjectName("horizontallabel")
        self.horizontallayout.addWidget(self.horizontallabel)
        self.horizontallcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.horizontallcd.sizePolicy().hasHeightForWidth())
        self.horizontallcd.setSizePolicy(sizePolicy)
        self.horizontallcd.setDigitCount(3)
        self.horizontallcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
        self.horizontallcd.setProperty("intValue", 0)
        self.horizontallcd.setObjectName("horizontallcd")
        self.horizontallayout.addWidget(self.horizontallcd)
        self.horizontalbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
        self.horizontalbar.setAcceptDrops(False)
        self.horizontalbar.setMinimum(-100)
        self.horizontalbar.setMaximum(100)
        self.horizontalbar.setSingleStep(1)
        self.horizontalbar.setProperty("value", 0)
        self.horizontalbar.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalbar.setObjectName("horizontalbar")
        self.horizontallayout.addWidget(self.horizontalbar)
        self.gridLayout_11.addLayout(self.horizontallayout, 0, 3, 1, 1)
        self.flipexposurelayout = QtWidgets.QVBoxLayout()
        self.flipexposurelayout.setContentsMargins(-1, -1, -1, 2)
        self.flipexposurelayout.setSpacing(6)
        self.flipexposurelayout.setObjectName("flipexposurelayout")
        self.camonbutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
        self.camonbutton.setCheckable(True)
        self.camonbutton.setObjectName("camonbutton")
        self.flipexposurelayout.addWidget(self.camonbutton)
        self.to_avibutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
        self.to_avibutton.setObjectName("to_avibutton")
        self.flipexposurelayout.addWidget(self.to_avibutton)
        self.gridLayout_11.addLayout(self.flipexposurelayout, 1, 0, 1, 1)
        self.brightnesslayout = QtWidgets.QVBoxLayout()
        self.brightnesslayout.setContentsMargins(-1, -1, -1, 2)
        self.brightnesslayout.setSpacing(6)
        self.brightnesslayout.setObjectName("brightnesslayout")
        self.brightnesslabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.brightnesslabel.setObjectName("brightnesslabel")
        self.brightnesslayout.addWidget(self.brightnesslabel)
        self.brightnesslcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
        self.brightnesslcd.setDigitCount(3)
        self.brightnesslcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
        self.brightnesslcd.setProperty("value", 50.0)
        self.brightnesslcd.setProperty("intValue", 50)
        self.brightnesslcd.setObjectName("brightnesslcd")
        self.brightnesslayout.addWidget(self.brightnesslcd)
        self.brightnessbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
        self.brightnessbar.setAcceptDrops(False)
        self.brightnessbar.setMinimum(0)
        self.brightnessbar.setMaximum(100)
        self.brightnessbar.setSingleStep(1)
        self.brightnessbar.setPageStep(1)
        self.brightnessbar.setProperty("value", 50)
        self.brightnessbar.setOrientation(QtCore.Qt.Horizontal)
        self.brightnessbar.setObjectName("brightnessbar")
        self.brightnesslayout.addWidget(self.brightnessbar)
        self.gridLayout_11.addLayout(self.brightnesslayout, 1, 1, 1, 1)
        self.binlayout = QtWidgets.QVBoxLayout()
        self.binlayout.setContentsMargins(-1, -1, -1, 2)
        self.binlayout.setSpacing(6)
        self.binlayout.setObjectName("binlayout")
        self.binlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.binlabel.setObjectName("binlabel")
        self.binlayout.addWidget(self.binlabel)
        self.binlcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
        self.binlcd.setDigitCount(2)
        self.binlcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
        self.binlcd.setProperty("value", 1.0)
        self.binlcd.setProperty("intValue", 1)
        self.binlcd.setObjectName("binlcd")
        self.binlayout.addWidget(self.binlcd)
        self.binbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
        self.binbar.setAcceptDrops(False)
        self.binbar.setMinimum(1)
        self.binbar.setMaximum(4)
        self.binbar.setSingleStep(1)
        self.binbar.setProperty("value", 1)
        self.binbar.setOrientation(QtCore.Qt.Horizontal)
        self.binbar.setObjectName("binbar")
        self.binlayout.addWidget(self.binbar)
        self.gridLayout_11.addLayout(self.binlayout, 1, 5, 1, 1)
        self.fpslayout = QtWidgets.QVBoxLayout()
        self.fpslayout.setContentsMargins(-1, -1, -1, 2)
        self.fpslayout.setSpacing(6)
        self.fpslayout.setObjectName("fpslayout")
        self.fpslabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.fpslabel.setObjectName("fpslabel")
        self.fpslayout.addWidget(self.fpslabel)
        self.fpslcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
        self.fpslcd.setDigitCount(2)
        self.fpslcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
        self.fpslcd.setProperty("intValue", 5)
        self.fpslcd.setObjectName("fpslcd")
        self.fpslayout.addWidget(self.fpslcd)
        self.fpsbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
        self.fpsbar.setAcceptDrops(False)
        self.fpsbar.setMinimum(5)
        self.fpsbar.setMaximum(90)
        self.fpsbar.setSingleStep(5)
        self.fpsbar.setPageStep(5)
        self.fpsbar.setProperty("value", 5)
        self.fpsbar.setOrientation(QtCore.Qt.Horizontal)
        self.fpsbar.setObjectName("fpsbar")
        self.fpslayout.addWidget(self.fpsbar)
        self.gridLayout_11.addLayout(self.fpslayout, 1, 4, 1, 1)
        self.exposurelayout = QtWidgets.QVBoxLayout()
        self.exposurelayout.setContentsMargins(-1, -1, -1, 2)
        self.exposurelayout.setSpacing(6)
        self.exposurelayout.setObjectName("exposurelayout")
        self.exposurelabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.exposurelabel.setObjectName("exposurelabel")
        self.exposurelayout.addWidget(self.exposurelabel)
        self.exposurelcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
        self.exposurelcd.setBaseSize(QtCore.QSize(20, 20))
        self.exposurelcd.setDigitCount(3)
        self.exposurelcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
        self.exposurelcd.setProperty("value", 0.0)
        self.exposurelcd.setProperty("intValue", 0)
        self.exposurelcd.setObjectName("exposurelcd")
        self.exposurelayout.addWidget(self.exposurelcd)
        self.exposurebar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
        self.exposurebar.setAcceptDrops(False)
        self.exposurebar.setMinimum(-25)
        self.exposurebar.setMaximum(25)
        self.exposurebar.setSingleStep(1)
        self.exposurebar.setPageStep(1)
        self.exposurebar.setProperty("value", 0)
        self.exposurebar.setSliderPosition(0)
        self.exposurebar.setOrientation(QtCore.Qt.Horizontal)
        self.exposurebar.setObjectName("exposurebar")
        self.exposurelayout.addWidget(self.exposurebar)
        self.gridLayout_11.addLayout(self.exposurelayout, 1, 3, 1, 1)
        self.rotationlayout = QtWidgets.QVBoxLayout()
        self.rotationlayout.setContentsMargins(-1, -1, -1, 2)
        self.rotationlayout.setSpacing(6)
        self.rotationlayout.setObjectName("rotationlayout")
        self.rotationlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.rotationlabel.setObjectName("rotationlabel")
        self.rotationlayout.addWidget(self.rotationlabel)
        self.rotationlcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.rotationlcd.sizePolicy().hasHeightForWidth())
        self.rotationlcd.setSizePolicy(sizePolicy)
        self.rotationlcd.setDigitCount(3)
        self.rotationlcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
        self.rotationlcd.setProperty("value", 0.0)
        self.rotationlcd.setProperty("intValue", 0)
        self.rotationlcd.setObjectName("rotationlcd")
        self.rotationlayout.addWidget(self.rotationlcd)
        self.rotationbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
        self.rotationbar.setAcceptDrops(False)
        self.rotationbar.setMinimum(0)
        self.rotationbar.setMaximum(270)
        self.rotationbar.setSingleStep(90)
        self.rotationbar.setPageStep(90)
        self.rotationbar.setProperty("value", 0)
        self.rotationbar.setOrientation(QtCore.Qt.Horizontal)
        self.rotationbar.setObjectName("rotationbar")
        self.rotationlayout.addWidget(self.rotationbar)
        self.gridLayout_11.addLayout(self.rotationlayout, 0, 5, 1, 1)
        self.verticallayout = QtWidgets.QVBoxLayout()
        self.verticallayout.setContentsMargins(-1, -1, -1, 2)
        self.verticallayout.setSpacing(6)
        self.verticallayout.setObjectName("verticallayout")
        self.verticallabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.verticallabel.setObjectName("verticallabel")
        self.verticallayout.addWidget(self.verticallabel)
        self.verticallcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.verticallcd.sizePolicy().hasHeightForWidth())
        self.verticallcd.setSizePolicy(sizePolicy)
        self.verticallcd.setDigitCount(3)
        self.verticallcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
        self.verticallcd.setProperty("value", 0.0)
        self.verticallcd.setProperty("intValue", 0)
        self.verticallcd.setObjectName("verticallcd")
        self.verticallayout.addWidget(self.verticallcd)
        self.verticalbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
        self.verticalbar.setAcceptDrops(False)
        self.verticalbar.setMinimum(-100)
        self.verticalbar.setMaximum(100)
        self.verticalbar.setSingleStep(1)
        self.verticalbar.setProperty("value", 0)
        self.verticalbar.setOrientation(QtCore.Qt.Horizontal)
        self.verticalbar.setObjectName("verticalbar")
        self.verticallayout.addWidget(self.verticalbar)
        self.gridLayout_11.addLayout(self.verticallayout, 0, 4, 1, 1)
        self.contrastlayout = QtWidgets.QVBoxLayout()
        self.contrastlayout.setContentsMargins(-1, -1, -1, 2)
        self.contrastlayout.setSpacing(6)
        self.contrastlayout.setObjectName("contrastlayout")
        self.contrastlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.contrastlabel.setObjectName("contrastlabel")
        self.contrastlayout.addWidget(self.contrastlabel)
        self.contrastlcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
        self.contrastlcd.setDigitCount(3)
        self.contrastlcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
        self.contrastlcd.setProperty("value", 50.0)
        self.contrastlcd.setProperty("intValue", 50)
        self.contrastlcd.setObjectName("contrastlcd")
        self.contrastlayout.addWidget(self.contrastlcd)
        self.contrastbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
        self.contrastbar.setAcceptDrops(False)
        self.contrastbar.setMinimum(0)
        self.contrastbar.setMaximum(100)
        self.contrastbar.setSingleStep(1)
        self.contrastbar.setPageStep(1)
        self.contrastbar.setProperty("value", 50)
        self.contrastbar.setOrientation(QtCore.Qt.Horizontal)
        self.contrastbar.setObjectName("contrastbar")
        self.contrastlayout.addWidget(self.contrastbar)
        self.gridLayout_11.addLayout(self.contrastlayout, 1, 2, 1, 1)
        self.photolayout = QtWidgets.QVBoxLayout()
        self.photolayout.setContentsMargins(-1, -1, -1, 2)
        self.photolayout.setSpacing(6)
        self.photolayout.setObjectName("photolayout")
        self.gridLayout_11.addLayout(self.photolayout, 2, 0, 1, 1)
        self.intervallayout = QtWidgets.QVBoxLayout()
        self.intervallayout.setContentsMargins(-1, -1, -1, 2)
        self.intervallayout.setSpacing(6)
        self.intervallayout.setObjectName("intervallayout")
        self.autoexposurebox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
        self.autoexposurebox.setObjectName("autoexposurebox")
        self.intervallayout.addWidget(self.autoexposurebox)
        self.flipimagebox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
        self.flipimagebox.setObjectName("flipimagebox")
        self.intervallayout.addWidget(self.flipimagebox)
        self.gridLayout_11.addLayout(self.intervallayout, 2, 1, 1, 1)
        self.resolutionlayout = QtWidgets.QVBoxLayout()
        self.resolutionlayout.setContentsMargins(-1, -1, -1, 2)
        self.resolutionlayout.setSpacing(6)
        self.resolutionlayout.setObjectName("resolutionlayout")
        self.resolutionlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.resolutionlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.resolutionlabel.setObjectName("resolutionlabel")
        self.resolutionlayout.addWidget(self.resolutionlabel)
        self.resolutionbox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        self.resolutionbox.setObjectName("resolutionbox")
        self.resolutionbox.addItem("")
        self.resolutionbox.addItem("")
        self.resolutionbox.addItem("")
        self.resolutionbox.addItem("")
        self.resolutionbox.addItem("")
        self.resolutionlayout.addWidget(self.resolutionbox)
        self.whitebalancelabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.whitebalancelabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.whitebalancelabel.setObjectName("whitebalancelabel")
        self.resolutionlayout.addWidget(self.whitebalancelabel)
        self.whitebalancebox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        self.whitebalancebox.setObjectName("whitebalancebox")
        self.whitebalancebox.addItem("")
        self.whitebalancebox.addItem("")
        self.whitebalancebox.addItem("")
        self.whitebalancebox.addItem("")
        self.whitebalancebox.addItem("")
        self.whitebalancebox.addItem("")
        self.whitebalancebox.addItem("")
        self.whitebalancebox.addItem("")
        self.whitebalancebox.addItem("")
        self.whitebalancebox.addItem("")
        self.whitebalancebox.addItem("")
        self.whitebalancebox.addItem("")
        self.whitebalancebox.addItem("")
        self.resolutionlayout.addWidget(self.whitebalancebox)
        self.gridLayout_11.addLayout(self.resolutionlayout, 2, 2, 1, 1)
        self.whitebalancelayout = QtWidgets.QVBoxLayout()
        self.whitebalancelayout.setContentsMargins(-1, -1, -1, 2)
        self.whitebalancelayout.setSpacing(6)
        self.whitebalancelayout.setObjectName("whitebalancelayout")
        self.modelabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.modelabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.modelabel.setObjectName("modelabel")
        self.whitebalancelayout.addWidget(self.modelabel)
        self.modebox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        self.modebox.setMaxVisibleItems(25)
        self.modebox.setObjectName("modebox")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.modebox.addItem("")
        self.whitebalancelayout.addWidget(self.modebox)
        self.colourlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.colourlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.colourlabel.setObjectName("colourlabel")
        self.whitebalancelayout.addWidget(self.colourlabel)
        self.colourbox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        self.colourbox.setEditable(False)
        self.colourbox.setObjectName("colourbox")
        self.colourbox.addItem("")
        self.colourbox.addItem("")
        self.colourbox.addItem("")
        self.colourbox.addItem("")
        self.colourbox.addItem("")
        self.whitebalancelayout.addWidget(self.colourbox)
        self.gridLayout_11.addLayout(self.whitebalancelayout, 2, 3, 1, 1)
        self.modelayout = QtWidgets.QVBoxLayout()
        self.modelayout.setContentsMargins(-1, -1, -1, 2)
        self.modelayout.setSpacing(6)
        self.modelayout.setObjectName("modelayout")
        self.photobutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.photobutton.sizePolicy().hasHeightForWidth())
        self.photobutton.setSizePolicy(sizePolicy)
        self.photobutton.setMinimumSize(QtCore.QSize(100, 0))
        self.photobutton.setObjectName("photobutton")
        self.modelayout.addWidget(self.photobutton)
        self.timelapsebutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
        self.timelapsebutton.setObjectName("timelapsebutton")
        self.modelayout.addWidget(self.timelapsebutton)
        self.videobutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
        self.videobutton.setObjectName("videobutton")
        self.modelayout.addWidget(self.videobutton)
        self.gridLayout_11.addLayout(self.modelayout, 2, 4, 1, 1)
        self.colourlayout = QtWidgets.QVBoxLayout()
        self.colourlayout.setContentsMargins(-1, -1, -1, 2)
        self.colourlayout.setSpacing(6)
        self.colourlayout.setObjectName("colourlayout")
        self.intervallabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.intervallabel.setMaximumSize(QtCore.QSize(250, 16777215))
        self.intervallabel.setObjectName("intervallabel")
        self.colourlayout.addWidget(self.intervallabel)
        self.intervalbox = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        self.intervalbox.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.intervalbox.setMaximum(1000000)
        self.intervalbox.setProperty("value", 5)
        self.intervalbox.setObjectName("intervalbox")
        self.colourlayout.addWidget(self.intervalbox)
        self.durationlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.durationlabel.setMaximumSize(QtCore.QSize(250, 16777215))
        self.durationlabel.setObjectName("durationlabel")
        self.colourlayout.addWidget(self.durationlabel)
        self.durationbox = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        self.durationbox.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.durationbox.setMaximum(1000000)
        self.durationbox.setProperty("value", 5)
        self.durationbox.setObjectName("durationbox")
        self.colourlayout.addWidget(self.durationbox)
        self.gridLayout_11.addLayout(self.colourlayout, 2, 5, 1, 1)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_5.addWidget(self.scrollArea, 6, 3, 1, 2)
        self.tabs.addTab(self.camera, "")
        self.lightdevices = QtWidgets.QWidget()
        self.lightdevices.setObjectName("lightdevices")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.lightdevices)
        self.gridLayout_7.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_7.setSpacing(6)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.ringframe = QtWidgets.QFrame(self.lightdevices)
        self.ringframe.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.ringframe.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.ringframe.setLineWidth(0)
        self.ringframe.setObjectName("ringframe")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.ringframe)
        self.gridLayout_6.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_6.setSpacing(6)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.scrollArea_2 = QtWidgets.QScrollArea(self.ringframe)
        self.scrollArea_2.setAutoFillBackground(False)
        self.scrollArea_2.setLineWidth(0)
        self.scrollArea_2.setWidgetResizable(True)
        self.scrollArea_2.setObjectName("scrollArea_2")
        self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, -238, 750, 679))
        self.scrollAreaWidgetContents_2.setAutoFillBackground(True)
        self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
        self.gridLayout_12 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents_2)
        self.gridLayout_12.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_12.setSpacing(6)
        self.gridLayout_12.setObjectName("gridLayout_12")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout()
        self.verticalLayout_8.setSpacing(6)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.matrixlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.matrixlabel.sizePolicy().hasHeightForWidth())
        self.matrixlabel.setSizePolicy(sizePolicy)
        self.matrixlabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.matrixlabel.setObjectName("matrixlabel")
        self.verticalLayout_8.addWidget(self.matrixlabel)
        self.matrixonbutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
        self.matrixonbutton.setCheckable(True)
        self.matrixonbutton.setObjectName("matrixonbutton")
        self.verticalLayout_8.addWidget(self.matrixonbutton)
        self.matbrightlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.matbrightlabel.sizePolicy().hasHeightForWidth())
        self.matbrightlabel.setSizePolicy(sizePolicy)
        self.matbrightlabel.setMinimumSize(QtCore.QSize(0, 20))
        self.matbrightlabel.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.matbrightlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.matbrightlabel.setObjectName("matbrightlabel")
        self.verticalLayout_8.addWidget(self.matbrightlabel)
        self.matrixslider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.matrixslider.sizePolicy().hasHeightForWidth())
        self.matrixslider.setSizePolicy(sizePolicy)
        self.matrixslider.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.matrixslider.setMaximum(10)
        self.matrixslider.setOrientation(QtCore.Qt.Horizontal)
        self.matrixslider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.matrixslider.setTickInterval(5)
        self.matrixslider.setObjectName("matrixslider")
        self.verticalLayout_8.addWidget(self.matrixslider)
        self.matbrightindicator = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.matbrightindicator.sizePolicy().hasHeightForWidth())
        self.matbrightindicator.setSizePolicy(sizePolicy)
        self.matbrightindicator.setMinimumSize(QtCore.QSize(150, 0))
        self.matbrightindicator.setMaximum(10)
        self.matbrightindicator.setProperty("value", 0)
        self.matbrightindicator.setInvertedAppearance(False)
        self.matbrightindicator.setObjectName("matbrightindicator")
        self.verticalLayout_8.addWidget(self.matbrightindicator)
        self.matrixpat1 = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
        self.matrixpat1.setObjectName("matrixpat1")
        self.verticalLayout_8.addWidget(self.matrixpat1)
        self.matrixpat2 = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
        self.matrixpat2.setObjectName("matrixpat2")
        self.verticalLayout_8.addWidget(self.matrixpat2)
        self.matrixpat3 = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
        self.matrixpat3.setObjectName("matrixpat3")
        self.verticalLayout_8.addWidget(self.matrixpat3)
        spacerItem = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_8.addItem(spacerItem)
        self.gridLayout_12.addLayout(self.verticalLayout_8, 0, 2, 1, 1)
        self.verticalLayout_9 = QtWidgets.QVBoxLayout()
        self.verticalLayout_9.setSpacing(6)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.led1label = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led1label.sizePolicy().hasHeightForWidth())
        self.led1label.setSizePolicy(sizePolicy)
        self.led1label.setObjectName("led1label")
        self.verticalLayout_9.addWidget(self.led1label)
        self.led1onbutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
        self.led1onbutton.setCheckable(True)
        self.led1onbutton.setObjectName("led1onbutton")
        self.verticalLayout_9.addWidget(self.led1onbutton)
        self.led1brightlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led1brightlabel.sizePolicy().hasHeightForWidth())
        self.led1brightlabel.setSizePolicy(sizePolicy)
        self.led1brightlabel.setMinimumSize(QtCore.QSize(0, 20))
        self.led1brightlabel.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.led1brightlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.led1brightlabel.setObjectName("led1brightlabel")
        self.verticalLayout_9.addWidget(self.led1brightlabel)
        self.led1slider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led1slider.sizePolicy().hasHeightForWidth())
        self.led1slider.setSizePolicy(sizePolicy)
        self.led1slider.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.led1slider.setMaximum(100)
        self.led1slider.setOrientation(QtCore.Qt.Horizontal)
        self.led1slider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.led1slider.setTickInterval(5)
        self.led1slider.setObjectName("led1slider")
        self.verticalLayout_9.addWidget(self.led1slider)
        self.led1brightindicator = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led1brightindicator.sizePolicy().hasHeightForWidth())
        self.led1brightindicator.setSizePolicy(sizePolicy)
        self.led1brightindicator.setMinimumSize(QtCore.QSize(150, 0))
        self.led1brightindicator.setProperty("value", 10)
        self.led1brightindicator.setInvertedAppearance(False)
        self.led1brightindicator.setObjectName("led1brightindicator")
        self.verticalLayout_9.addWidget(self.led1brightindicator)
        self.pulsedurationlabel_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pulsedurationlabel_2.sizePolicy().hasHeightForWidth())
        self.pulsedurationlabel_2.setSizePolicy(sizePolicy)
        self.pulsedurationlabel_2.setMinimumSize(QtCore.QSize(100, 0))
        self.pulsedurationlabel_2.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.pulsedurationlabel_2.setObjectName("pulsedurationlabel_2")
        self.verticalLayout_9.addWidget(self.pulsedurationlabel_2)
        self.led1pulsebrightness = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led1pulsebrightness.sizePolicy().hasHeightForWidth())
        self.led1pulsebrightness.setSizePolicy(sizePolicy)
        self.led1pulsebrightness.setMinimumSize(QtCore.QSize(100, 0))
        self.led1pulsebrightness.setObjectName("led1pulsebrightness")
        self.verticalLayout_9.addWidget(self.led1pulsebrightness)
        self.pulsedurationlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pulsedurationlabel.sizePolicy().hasHeightForWidth())
        self.pulsedurationlabel.setSizePolicy(sizePolicy)
        self.pulsedurationlabel.setMinimumSize(QtCore.QSize(100, 0))
        self.pulsedurationlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.pulsedurationlabel.setObjectName("pulsedurationlabel")
        self.verticalLayout_9.addWidget(self.pulsedurationlabel)
        self.led1pulseduration = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led1pulseduration.sizePolicy().hasHeightForWidth())
        self.led1pulseduration.setSizePolicy(sizePolicy)
        self.led1pulseduration.setMinimumSize(QtCore.QSize(100, 0))
        self.led1pulseduration.setObjectName("led1pulseduration")
        self.verticalLayout_9.addWidget(self.led1pulseduration)
        self.led1pulsebutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led1pulsebutton.sizePolicy().hasHeightForWidth())
        self.led1pulsebutton.setSizePolicy(sizePolicy)
        self.led1pulsebutton.setMinimumSize(QtCore.QSize(125, 0))
        self.led1pulsebutton.setObjectName("led1pulsebutton")
        self.verticalLayout_9.addWidget(self.led1pulsebutton)
        self.gridLayout_12.addLayout(self.verticalLayout_9, 0, 0, 1, 1)
        self.verticalLayout_10 = QtWidgets.QVBoxLayout()
        self.verticalLayout_10.setSpacing(6)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.led2label = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led2label.sizePolicy().hasHeightForWidth())
        self.led2label.setSizePolicy(sizePolicy)
        self.led2label.setObjectName("led2label")
        self.verticalLayout_10.addWidget(self.led2label)
        self.led2onbutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
        self.led2onbutton.setCheckable(True)
        self.led2onbutton.setObjectName("led2onbutton")
        self.verticalLayout_10.addWidget(self.led2onbutton)
        self.led2brightlabel_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led2brightlabel_2.sizePolicy().hasHeightForWidth())
        self.led2brightlabel_2.setSizePolicy(sizePolicy)
        self.led2brightlabel_2.setMinimumSize(QtCore.QSize(0, 20))
        self.led2brightlabel_2.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.led2brightlabel_2.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.led2brightlabel_2.setObjectName("led2brightlabel_2")
        self.verticalLayout_10.addWidget(self.led2brightlabel_2)
        self.led2slider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led2slider.sizePolicy().hasHeightForWidth())
        self.led2slider.setSizePolicy(sizePolicy)
        self.led2slider.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.led2slider.setMaximum(100)
        self.led2slider.setOrientation(QtCore.Qt.Horizontal)
        self.led2slider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.led2slider.setTickInterval(5)
        self.led2slider.setObjectName("led2slider")
        self.verticalLayout_10.addWidget(self.led2slider)
        self.led2brightindicator = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led2brightindicator.sizePolicy().hasHeightForWidth())
        self.led2brightindicator.setSizePolicy(sizePolicy)
        self.led2brightindicator.setMinimumSize(QtCore.QSize(150, 0))
        self.led2brightindicator.setProperty("value", 10)
        self.led2brightindicator.setInvertedAppearance(False)
        self.led2brightindicator.setObjectName("led2brightindicator")
        self.verticalLayout_10.addWidget(self.led2brightindicator)
        self.led2pulsebrightlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led2pulsebrightlabel.sizePolicy().hasHeightForWidth())
        self.led2pulsebrightlabel.setSizePolicy(sizePolicy)
        self.led2pulsebrightlabel.setMinimumSize(QtCore.QSize(100, 0))
        self.led2pulsebrightlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.led2pulsebrightlabel.setObjectName("led2pulsebrightlabel")
        self.verticalLayout_10.addWidget(self.led2pulsebrightlabel)
        self.led2pulsebrightness = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led2pulsebrightness.sizePolicy().hasHeightForWidth())
        self.led2pulsebrightness.setSizePolicy(sizePolicy)
        self.led2pulsebrightness.setMinimumSize(QtCore.QSize(100, 0))
        self.led2pulsebrightness.setObjectName("led2pulsebrightness")
        self.verticalLayout_10.addWidget(self.led2pulsebrightness)
        self.led2pulsedurlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led2pulsedurlabel.sizePolicy().hasHeightForWidth())
        self.led2pulsedurlabel.setSizePolicy(sizePolicy)
        self.led2pulsedurlabel.setMinimumSize(QtCore.QSize(100, 0))
        self.led2pulsedurlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.led2pulsedurlabel.setObjectName("led2pulsedurlabel")
        self.verticalLayout_10.addWidget(self.led2pulsedurlabel)
        self.led2pulseduration = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led2pulseduration.sizePolicy().hasHeightForWidth())
        self.led2pulseduration.setSizePolicy(sizePolicy)
        self.led2pulseduration.setMinimumSize(QtCore.QSize(100, 0))
        self.led2pulseduration.setObjectName("led2pulseduration")
        self.verticalLayout_10.addWidget(self.led2pulseduration)
        self.led2pulsebutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.led2pulsebutton.sizePolicy().hasHeightForWidth())
        self.led2pulsebutton.setSizePolicy(sizePolicy)
        self.led2pulsebutton.setMinimumSize(QtCore.QSize(125, 0))
        self.led2pulsebutton.setObjectName("led2pulsebutton")
        self.verticalLayout_10.addWidget(self.led2pulsebutton)
        self.gridLayout_12.addLayout(self.verticalLayout_10, 0, 1, 1, 1)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setSpacing(6)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        self.label.setObjectName("label")
        self.verticalLayout_2.addWidget(self.label)
        self.ringonbutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ringonbutton.sizePolicy().hasHeightForWidth())
        self.ringonbutton.setSizePolicy(sizePolicy)
        self.ringonbutton.setMinimumSize(QtCore.QSize(100, 0))
        self.ringonbutton.setCheckable(True)
        self.ringonbutton.setObjectName("ringonbutton")
        self.verticalLayout_2.addWidget(self.ringonbutton)
        self.redlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.redlabel.sizePolicy().hasHeightForWidth())
        self.redlabel.setSizePolicy(sizePolicy)
        self.redlabel.setMinimumSize(QtCore.QSize(0, 20))
        self.redlabel.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.redlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.redlabel.setObjectName("redlabel")
        self.verticalLayout_2.addWidget(self.redlabel)
        self.redslider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.redslider.sizePolicy().hasHeightForWidth())
        self.redslider.setSizePolicy(sizePolicy)
        self.redslider.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.redslider.setMaximum(100)
        self.redslider.setProperty("value", 10)
        self.redslider.setOrientation(QtCore.Qt.Horizontal)
        self.redslider.setInvertedControls(False)
        self.redslider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.redslider.setTickInterval(5)
        self.redslider.setObjectName("redslider")
        self.verticalLayout_2.addWidget(self.redslider)
        self.redindicator = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.redindicator.sizePolicy().hasHeightForWidth())
        self.redindicator.setSizePolicy(sizePolicy)
        self.redindicator.setMinimumSize(QtCore.QSize(150, 0))
        self.redindicator.setProperty("value", 10)
        self.redindicator.setInvertedAppearance(False)
        self.redindicator.setObjectName("redindicator")
        self.verticalLayout_2.addWidget(self.redindicator)
        self.greenlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.greenlabel.sizePolicy().hasHeightForWidth())
        self.greenlabel.setSizePolicy(sizePolicy)
        self.greenlabel.setMaximumSize(QtCore.QSize(16777215, 20))
        self.greenlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.greenlabel.setObjectName("greenlabel")
        self.verticalLayout_2.addWidget(self.greenlabel)
        self.greenslider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.greenslider.sizePolicy().hasHeightForWidth())
        self.greenslider.setSizePolicy(sizePolicy)
        self.greenslider.setBaseSize(QtCore.QSize(0, 0))
        self.greenslider.setMaximum(100)
        self.greenslider.setProperty("value", 10)
        self.greenslider.setOrientation(QtCore.Qt.Horizontal)
        self.greenslider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.greenslider.setTickInterval(5)
        self.greenslider.setObjectName("greenslider")
        self.verticalLayout_2.addWidget(self.greenslider)
        self.greenindicator = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.greenindicator.sizePolicy().hasHeightForWidth())
        self.greenindicator.setSizePolicy(sizePolicy)
        self.greenindicator.setMinimumSize(QtCore.QSize(150, 0))
        self.greenindicator.setProperty("value", 10)
        self.greenindicator.setObjectName("greenindicator")
        self.verticalLayout_2.addWidget(self.greenindicator)
        self.bluelabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bluelabel.sizePolicy().hasHeightForWidth())
        self.bluelabel.setSizePolicy(sizePolicy)
        self.bluelabel.setMinimumSize(QtCore.QSize(0, 20))
        self.bluelabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.bluelabel.setObjectName("bluelabel")
        self.verticalLayout_2.addWidget(self.bluelabel)
        self.blueslider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.blueslider.sizePolicy().hasHeightForWidth())
        self.blueslider.setSizePolicy(sizePolicy)
        self.blueslider.setMaximum(100)
        self.blueslider.setProperty("value", 10)
        self.blueslider.setOrientation(QtCore.Qt.Horizontal)
        self.blueslider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.blueslider.setTickInterval(5)
        self.blueslider.setObjectName("blueslider")
        self.verticalLayout_2.addWidget(self.blueslider)
        self.blueindicator = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.blueindicator.sizePolicy().hasHeightForWidth())
        self.blueindicator.setSizePolicy(sizePolicy)
        self.blueindicator.setMinimumSize(QtCore.QSize(150, 0))
        self.blueindicator.setProperty("value", 10)
        self.blueindicator.setInvertedAppearance(False)
        self.blueindicator.setObjectName("blueindicator")
        self.verticalLayout_2.addWidget(self.blueindicator)
        self.bluelabel_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bluelabel_2.sizePolicy().hasHeightForWidth())
        self.bluelabel_2.setSizePolicy(sizePolicy)
        self.bluelabel_2.setMinimumSize(QtCore.QSize(0, 20))
        self.bluelabel_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.bluelabel_2.setObjectName("bluelabel_2")
        self.verticalLayout_2.addWidget(self.bluelabel_2)
        self.allslider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.allslider.sizePolicy().hasHeightForWidth())
        self.allslider.setSizePolicy(sizePolicy)
        self.allslider.setInputMethodHints(QtCore.Qt.ImhDigitsOnly)
        self.allslider.setMaximum(100)
        self.allslider.setProperty("value", 10)
        self.allslider.setOrientation(QtCore.Qt.Horizontal)
        self.allslider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.allslider.setTickInterval(5)
        self.allslider.setObjectName("allslider")
        self.verticalLayout_2.addWidget(self.allslider)
        self.allindicator = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.allindicator.sizePolicy().hasHeightForWidth())
        self.allindicator.setSizePolicy(sizePolicy)
        self.allindicator.setMinimumSize(QtCore.QSize(150, 0))
        self.allindicator.setProperty("value", 10)
        self.allindicator.setObjectName("allindicator")
        self.verticalLayout_2.addWidget(self.allindicator)
        self.gridLayout_12.addLayout(self.verticalLayout_2, 1, 0, 1, 1)
        self.verticalLayout_7 = QtWidgets.QVBoxLayout()
        self.verticalLayout_7.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
        self.verticalLayout_7.setSpacing(6)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setSpacing(6)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem1)
        self.greenpulselable_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.greenpulselable_2.sizePolicy().hasHeightForWidth())
        self.greenpulselable_2.setSizePolicy(sizePolicy)
        self.greenpulselable_2.setMinimumSize(QtCore.QSize(100, 0))
        self.greenpulselable_2.setObjectName("greenpulselable_2")
        self.verticalLayout_4.addWidget(self.greenpulselable_2)
        self.redpulse = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.redpulse.sizePolicy().hasHeightForWidth())
        self.redpulse.setSizePolicy(sizePolicy)
        self.redpulse.setMinimumSize(QtCore.QSize(20, 0))
        self.redpulse.setObjectName("redpulse")
        self.verticalLayout_4.addWidget(self.redpulse)
        self.greenpulselabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        self.greenpulselabel.setObjectName("greenpulselabel")
        self.verticalLayout_4.addWidget(self.greenpulselabel)
        self.greenpulse = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.greenpulse.sizePolicy().hasHeightForWidth())
        self.greenpulse.setSizePolicy(sizePolicy)
        self.greenpulse.setMinimumSize(QtCore.QSize(20, 0))
        self.greenpulse.setObjectName("greenpulse")
        self.verticalLayout_4.addWidget(self.greenpulse)
        self.bluepulselabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        self.bluepulselabel.setObjectName("bluepulselabel")
        self.verticalLayout_4.addWidget(self.bluepulselabel)
        self.bluepulse = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bluepulse.sizePolicy().hasHeightForWidth())
        self.bluepulse.setSizePolicy(sizePolicy)
        self.bluepulse.setMinimumSize(QtCore.QSize(20, 0))
        self.bluepulse.setObjectName("bluepulse")
        self.verticalLayout_4.addWidget(self.bluepulse)
        self.verticalLayout_7.addLayout(self.verticalLayout_4)
        self.ringpulsedurlabel_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ringpulsedurlabel_2.sizePolicy().hasHeightForWidth())
        self.ringpulsedurlabel_2.setSizePolicy(sizePolicy)
        self.ringpulsedurlabel_2.setMinimumSize(QtCore.QSize(100, 0))
        self.ringpulsedurlabel_2.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.ringpulsedurlabel_2.setObjectName("ringpulsedurlabel_2")
        self.verticalLayout_7.addWidget(self.ringpulsedurlabel_2)
        self.ringpulsedurinput = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ringpulsedurinput.sizePolicy().hasHeightForWidth())
        self.ringpulsedurinput.setSizePolicy(sizePolicy)
        self.ringpulsedurinput.setMinimumSize(QtCore.QSize(100, 0))
        self.ringpulsedurinput.setObjectName("ringpulsedurinput")
        self.verticalLayout_7.addWidget(self.ringpulsedurinput)
        self.ringpulsebutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ringpulsebutton.sizePolicy().hasHeightForWidth())
        self.ringpulsebutton.setSizePolicy(sizePolicy)
        self.ringpulsebutton.setMinimumSize(QtCore.QSize(125, 0))
        self.ringpulsebutton.setObjectName("ringpulsebutton")
        self.verticalLayout_7.addWidget(self.ringpulsebutton)
        self.gridLayout_12.addLayout(self.verticalLayout_7, 1, 1, 1, 1)
        self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
        self.gridLayout_6.addWidget(self.scrollArea_2, 0, 0, 1, 1)
        self.gridLayout_7.addWidget(self.ringframe, 0, 0, 1, 1)
        self.tabs.addTab(self.lightdevices, "")
        self.peltier = QtWidgets.QWidget()
        self.peltier.setObjectName("peltier")
        self.gridLayout_8 = QtWidgets.QGridLayout(self.peltier)
        self.gridLayout_8.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_8.setSpacing(6)
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(6)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.verticalLayout_11 = QtWidgets.QVBoxLayout()
        self.verticalLayout_11.setSpacing(6)
        self.verticalLayout_11.setObjectName("verticalLayout_11")
        self.horizontalLayout_2.addLayout(self.verticalLayout_11)
        self.gridLayout_8.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
        self.scrollArea_3 = QtWidgets.QScrollArea(self.peltier)
        self.scrollArea_3.setWidgetResizable(True)
        self.scrollArea_3.setObjectName("scrollArea_3")
        self.scrollAreaWidgetContents_3 = QtWidgets.QWidget()
        self.scrollAreaWidgetContents_3.setGeometry(QtCore.QRect(0, 0, 767, 403))
        self.scrollAreaWidgetContents_3.setObjectName("scrollAreaWidgetContents_3")
        self.gridLayout_13 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents_3)
        self.gridLayout_13.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_13.setSpacing(6)
        self.gridLayout_13.setObjectName("gridLayout_13")
        self.verticalLayout_12 = QtWidgets.QVBoxLayout()
        self.verticalLayout_12.setSpacing(6)
        self.verticalLayout_12.setObjectName("verticalLayout_12")
        self.peltonbutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_3)
        self.peltonbutton.setCheckable(True)
        self.peltonbutton.setObjectName("peltonbutton")
        self.verticalLayout_12.addWidget(self.peltonbutton)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setSpacing(6)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.logtempcheck = QtWidgets.QCheckBox(self.scrollAreaWidgetContents_3)
        self.logtempcheck.setAutoRepeat(False)
        self.logtempcheck.setAutoRepeatDelay(1000)
        self.logtempcheck.setAutoRepeatInterval(1000)
        self.logtempcheck.setObjectName("logtempcheck")
        self.horizontalLayout_4.addWidget(self.logtempcheck)
        self.tempclosedloop = QtWidgets.QRadioButton(self.scrollAreaWidgetContents_3)
        self.tempclosedloop.setEnabled(True)
        self.tempclosedloop.setCheckable(True)
        self.tempclosedloop.setChecked(True)
        self.tempclosedloop.setAutoRepeat(True)
        self.tempclosedloop.setAutoRepeatDelay(500)
        self.tempclosedloop.setAutoRepeatInterval(500)
        self.tempclosedloop.setObjectName("tempclosedloop")
        self.horizontalLayout_4.addWidget(self.tempclosedloop)
        self.verticalLayout_12.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setSpacing(6)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.tempslider = QtWidgets.QSlider(self.scrollAreaWidgetContents_3)
        self.tempslider.setMinimum(15)
        self.tempslider.setMaximum(40)
        self.tempslider.setSingleStep(1)
        self.tempslider.setPageStep(1)
        self.tempslider.setProperty("value", 20)
        self.tempslider.setOrientation(QtCore.Qt.Vertical)
        self.tempslider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.tempslider.setTickInterval(2)
        self.tempslider.setObjectName("tempslider")
        self.horizontalLayout_3.addWidget(self.tempslider)
        self.verticalLayout_15 = QtWidgets.QVBoxLayout()
        self.verticalLayout_15.setSpacing(6)
        self.verticalLayout_15.setObjectName("verticalLayout_15")
        self.desiredtemplabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_3)
        self.desiredtemplabel.setObjectName("desiredtemplabel")
        self.verticalLayout_15.addWidget(self.desiredtemplabel)
        self.desiredtempbar = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_3)
        self.desiredtempbar.setMinimum(15)
        self.desiredtempbar.setMaximum(40)
        self.desiredtempbar.setProperty("value", 20)
        self.desiredtempbar.setAlignment(QtCore.Qt.AlignCenter)
        self.desiredtempbar.setTextVisible(True)
        self.desiredtempbar.setOrientation(QtCore.Qt.Horizontal)
        self.desiredtempbar.setTextDirection(QtWidgets.QProgressBar.BottomToTop)
        self.desiredtempbar.setObjectName("desiredtempbar")
        self.verticalLayout_15.addWidget(self.desiredtempbar)
        self.actualtemplabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_3)
        self.actualtemplabel.setObjectName("actualtemplabel")
        self.verticalLayout_15.addWidget(self.actualtemplabel)
        self.actualtempbar = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_3)
        self.actualtempbar.setMinimum(15)
        self.actualtempbar.setMaximum(40)
        self.actualtempbar.setProperty("value", 20)
        self.actualtempbar.setAlignment(QtCore.Qt.AlignCenter)
        self.actualtempbar.setTextVisible(True)
        self.actualtempbar.setOrientation(QtCore.Qt.Horizontal)
        self.actualtempbar.setTextDirection(QtWidgets.QProgressBar.BottomToTop)
        self.actualtempbar.setObjectName("actualtempbar")
        self.verticalLayout_15.addWidget(self.actualtempbar)
        self.tempgraph = pg.PlotWidget(self.scrollAreaWidgetContents_3)
        #self.tempgraph = QtWidgets.QGraphicsView(self.scrollAreaWidgetContents_3)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
        brush.setStyle(QtCore.Qt.NoBrush)
        self.tempgraph.setForegroundBrush(brush)
        self.tempgraph.setObjectName("tempgraph")
        self.verticalLayout_15.addWidget(self.tempgraph)
        self.horizontalLayout_3.addLayout(self.verticalLayout_15)
        self.verticalLayout_12.addLayout(self.horizontalLayout_3)
        self.gridLayout_13.addLayout(self.verticalLayout_12, 0, 0, 1, 1)
        self.scrollArea_3.setWidget(self.scrollAreaWidgetContents_3)
        self.gridLayout_8.addWidget(self.scrollArea_3, 0, 0, 1, 1)
        self.tabs.addTab(self.peltier, "")
        self.servo = QtWidgets.QWidget()
        self.servo.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        self.servo.setObjectName("servo")
        self.formLayout = QtWidgets.QFormLayout(self.servo)
        self.formLayout.setContentsMargins(11, 11, 11, 11)
        self.formLayout.setSpacing(6)
        self.formLayout.setObjectName("formLayout")
        self.scrollArea_4 = QtWidgets.QScrollArea(self.servo)
        self.scrollArea_4.setWidgetResizable(True)
        self.scrollArea_4.setObjectName("scrollArea_4")
        self.scrollAreaWidgetContents_4 = QtWidgets.QWidget()
        self.scrollAreaWidgetContents_4.setGeometry(QtCore.QRect(0, -6, 750, 133))
        self.scrollAreaWidgetContents_4.setObjectName("scrollAreaWidgetContents_4")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_4)
        self.verticalLayout.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.verticalLayout_13 = QtWidgets.QVBoxLayout()
        self.verticalLayout_13.setSpacing(6)
        self.verticalLayout_13.setObjectName("verticalLayout_13")
        self.servobutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_4)
        self.servobutton.setObjectName("servobutton")
        self.verticalLayout_13.addWidget(self.servobutton)
        self.servolabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_4)
        self.servolabel.setObjectName("servolabel")
        self.verticalLayout_13.addWidget(self.servolabel)
        self.servoslider = QtWidgets.QSlider(self.scrollAreaWidgetContents_4)
        self.servoslider.setMinimum(-10)
        self.servoslider.setMaximum(10)
        self.servoslider.setOrientation(QtCore.Qt.Horizontal)
        self.servoslider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
        self.servoslider.setObjectName("servoslider")
        self.verticalLayout_13.addWidget(self.servoslider)
        self.servobar = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_4)
        self.servobar.setMinimum(-10)
        self.servobar.setMaximum(10)
        self.servobar.setProperty("value", 0)
        self.servobar.setInvertedAppearance(False)
        self.servobar.setObjectName("servobar")
        self.verticalLayout_13.addWidget(self.servobar)
        self.verticalLayout.addLayout(self.verticalLayout_13)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem2)
        self.scrollArea_4.setWidget(self.scrollAreaWidgetContents_4)
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.SpanningRole, self.scrollArea_4)
        self.tabs.addTab(self.servo, "")
        self.protocol = QtWidgets.QWidget()
        self.protocol.setObjectName("protocol")
        self.gridLayout_10 = QtWidgets.QGridLayout(self.protocol)
        self.gridLayout_10.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_10.setSpacing(6)
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.frame = QtWidgets.QFrame(self.protocol)
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.gridLayout_9 = QtWidgets.QGridLayout(self.frame)
        self.gridLayout_9.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_9.setSpacing(6)
        self.gridLayout_9.setObjectName("gridLayout_9")
        self.scrollArea_5 = QtWidgets.QScrollArea(self.frame)
        self.scrollArea_5.setWidgetResizable(True)
        self.scrollArea_5.setObjectName("scrollArea_5")
        self.scrollAreaWidgetContents_5 = QtWidgets.QWidget()
        self.scrollAreaWidgetContents_5.setGeometry(QtCore.QRect(0, -239, 748, 687))
        self.scrollAreaWidgetContents_5.setObjectName("scrollAreaWidgetContents_5")
        self.gridLayout_15 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents_5)
        self.gridLayout_15.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_15.setSpacing(6)
        self.gridLayout_15.setObjectName("gridLayout_15")
        self.gridLayout_14 = QtWidgets.QGridLayout()
        self.gridLayout_14.setSpacing(6)
        self.gridLayout_14.setObjectName("gridLayout_14")
        self.Ringgroup = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_5)
        self.Ringgroup.setObjectName("Ringgroup")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.Ringgroup)
        self.verticalLayout_5.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_5.setSpacing(6)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.ringgrid = QtWidgets.QGridLayout()
        self.ringgrid.setSpacing(6)
        self.ringgrid.setObjectName("ringgrid")
        self.redinput2 = QtWidgets.QSpinBox(self.Ringgroup)
        self.redinput2.setMaximum(100)
        self.redinput2.setObjectName("redinput2")
        self.ringgrid.addWidget(self.redinput2, 3, 2, 1, 1)
        self.greeninput3 = QtWidgets.QSpinBox(self.Ringgroup)
        self.greeninput3.setMaximum(100)
        self.greeninput3.setObjectName("greeninput3")
        self.ringgrid.addWidget(self.greeninput3, 4, 3, 1, 1)
        self.period_2 = QtWidgets.QLabel(self.Ringgroup)
        self.period_2.setObjectName("period_2")
        self.ringgrid.addWidget(self.period_2, 0, 2, 1, 1)
        self.protringbutton = QtWidgets.QPushButton(self.Ringgroup)
        self.protringbutton.setCheckable(True)
        self.protringbutton.setObjectName("protringbutton")
        self.ringgrid.addWidget(self.protringbutton, 0, 0, 1, 1)
        self.greeninput1 = QtWidgets.QSpinBox(self.Ringgroup)
        self.greeninput1.setMaximum(100)
        self.greeninput1.setObjectName("greeninput1")
        self.ringgrid.addWidget(self.greeninput1, 4, 1, 1, 1)
        self.greeninput5 = QtWidgets.QSpinBox(self.Ringgroup)
        self.greeninput5.setMaximum(100)
        self.greeninput5.setObjectName("greeninput5")
        self.ringgrid.addWidget(self.greeninput5, 4, 5, 1, 1)
        self.blueinput2 = QtWidgets.QSpinBox(self.Ringgroup)
        self.blueinput2.setMaximum(100)
        self.blueinput2.setObjectName("blueinput2")
        self.ringgrid.addWidget(self.blueinput2, 5, 2, 1, 1)
        self.blueinput1 = QtWidgets.QSpinBox(self.Ringgroup)
        self.blueinput1.setMaximum(100)
        self.blueinput1.setObjectName("blueinput1")
        self.ringgrid.addWidget(self.blueinput1, 5, 1, 1, 1)
        self.redinput3 = QtWidgets.QSpinBox(self.Ringgroup)
        self.redinput3.setMaximum(100)
        self.redinput3.setObjectName("redinput3")
        self.ringgrid.addWidget(self.redinput3, 3, 3, 1, 1)
        self.blue = QtWidgets.QLabel(self.Ringgroup)
        self.blue.setObjectName("blue")
        self.ringgrid.addWidget(self.blue, 5, 0, 1, 1)
        self.blueinput5 = QtWidgets.QSpinBox(self.Ringgroup)
        self.blueinput5.setMaximum(100)
        self.blueinput5.setObjectName("blueinput5")
        self.ringgrid.addWidget(self.blueinput5, 5, 5, 1, 1)
        self.redinput4 = QtWidgets.QSpinBox(self.Ringgroup)
        self.redinput4.setMaximum(100)
        self.redinput4.setObjectName("redinput4")
        self.ringgrid.addWidget(self.redinput4, 3, 4, 1, 1)
        self.period_1 = QtWidgets.QLabel(self.Ringgroup)
        self.period_1.setObjectName("period_1")
        self.ringgrid.addWidget(self.period_1, 0, 1, 1, 1)
        self.greeninput4 = QtWidgets.QSpinBox(self.Ringgroup)
        self.greeninput4.setMaximum(100)
        self.greeninput4.setObjectName("greeninput4")
        self.ringgrid.addWidget(self.greeninput4, 4, 4, 1, 1)
        self.period_3 = QtWidgets.QLabel(self.Ringgroup)
        self.period_3.setObjectName("period_3")
        self.ringgrid.addWidget(self.period_3, 0, 3, 1, 1)
        self.red = QtWidgets.QLabel(self.Ringgroup)
        self.red.setObjectName("red")
        self.ringgrid.addWidget(self.red, 3, 0, 1, 1)
        self.period_5 = QtWidgets.QLabel(self.Ringgroup)
        self.period_5.setObjectName("period_5")
        self.ringgrid.addWidget(self.period_5, 0, 5, 1, 1)
        self.blueinput4 = QtWidgets.QSpinBox(self.Ringgroup)
        self.blueinput4.setMaximum(100)
        self.blueinput4.setObjectName("blueinput4")
        self.ringgrid.addWidget(self.blueinput4, 5, 4, 1, 1)
        self.period_4 = QtWidgets.QLabel(self.Ringgroup)
        self.period_4.setObjectName("period_4")
        self.ringgrid.addWidget(self.period_4, 0, 4, 1, 1)
        self.greeninput2 = QtWidgets.QSpinBox(self.Ringgroup)
        self.greeninput2.setMaximum(100)
        self.greeninput2.setObjectName("greeninput2")
        self.ringgrid.addWidget(self.greeninput2, 4, 2, 1, 1)
        self.green = QtWidgets.QLabel(self.Ringgroup)
        self.green.setObjectName("green")
        self.ringgrid.addWidget(self.green, 4, 0, 1, 1)
        self.blueinput3 = QtWidgets.QSpinBox(self.Ringgroup)
        self.blueinput3.setMaximum(100)
        self.blueinput3.setObjectName("blueinput3")
        self.ringgrid.addWidget(self.blueinput3, 5, 3, 1, 1)
        self.redinput5 = QtWidgets.QSpinBox(self.Ringgroup)
        self.redinput5.setMaximum(100)
        self.redinput5.setObjectName("redinput5")
        self.ringgrid.addWidget(self.redinput5, 3, 5, 1, 1)
        self.redinput1 = QtWidgets.QSpinBox(self.Ringgroup)
        self.redinput1.setMaximum(100)
        self.redinput1.setObjectName("redinput1")
        self.ringgrid.addWidget(self.redinput1, 3, 1, 1, 1)
        self.verticalLayout_5.addLayout(self.ringgrid)
        self.gridLayout_14.addWidget(self.Ringgroup, 0, 0, 1, 1)
        self.led1group = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_5)
        self.led1group.setObjectName("led1group")
        self.verticalLayout_14 = QtWidgets.QVBoxLayout(self.led1group)
        self.verticalLayout_14.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_14.setSpacing(6)
        self.verticalLayout_14.setObjectName("verticalLayout_14")
        self.frame_2 = QtWidgets.QFrame(self.led1group)
        self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.frame_2)
        self.gridLayout_2.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_2.setSpacing(6)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.led1box4 = QtWidgets.QSpinBox(self.frame_2)
        self.led1box4.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led1box4.setMaximum(100)
        self.led1box4.setObjectName("led1box4")
        self.gridLayout_2.addWidget(self.led1box4, 1, 4, 1, 1)
        self.brightness_7 = QtWidgets.QLabel(self.frame_2)
        self.brightness_7.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.brightness_7.setObjectName("brightness_7")
        self.gridLayout_2.addWidget(self.brightness_7, 0, 3, 1, 1)
        self.Brightness1_2 = QtWidgets.QLabel(self.frame_2)
        self.Brightness1_2.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.Brightness1_2.setObjectName("Brightness1_2")
        self.gridLayout_2.addWidget(self.Brightness1_2, 0, 1, 1, 1)
        self.led1box1 = QtWidgets.QSpinBox(self.frame_2)
        self.led1box1.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led1box1.setMaximum(100)
        self.led1box1.setObjectName("led1box1")
        self.gridLayout_2.addWidget(self.led1box1, 1, 1, 1, 1)
        self.brightness_6 = QtWidgets.QLabel(self.frame_2)
        self.brightness_6.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.brightness_6.setObjectName("brightness_6")
        self.gridLayout_2.addWidget(self.brightness_6, 0, 4, 1, 1)
        self.brightness_8 = QtWidgets.QLabel(self.frame_2)
        self.brightness_8.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.brightness_8.setObjectName("brightness_8")
        self.gridLayout_2.addWidget(self.brightness_8, 0, 2, 1, 1)
        self.protled1button = QtWidgets.QPushButton(self.frame_2)
        self.protled1button.setCheckable(True)
        self.protled1button.setChecked(False)
        self.protled1button.setAutoDefault(True)
        self.protled1button.setDefault(False)
        self.protled1button.setObjectName("protled1button")
        self.gridLayout_2.addWidget(self.protled1button, 0, 0, 1, 1)
        self.brightness_9 = QtWidgets.QLabel(self.frame_2)
        self.brightness_9.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.brightness_9.setObjectName("brightness_9")
        self.gridLayout_2.addWidget(self.brightness_9, 0, 5, 1, 1)
        self.led1box5 = QtWidgets.QSpinBox(self.frame_2)
        self.led1box5.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led1box5.setMaximum(100)
        self.led1box5.setObjectName("led1box5")
        self.gridLayout_2.addWidget(self.led1box5, 1, 5, 1, 1)
        self.led1box3 = QtWidgets.QSpinBox(self.frame_2)
        self.led1box3.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led1box3.setMaximum(100)
        self.led1box3.setObjectName("led1box3")
        self.gridLayout_2.addWidget(self.led1box3, 1, 3, 1, 1)
        self.Brightness1_3 = QtWidgets.QLabel(self.frame_2)
        self.Brightness1_3.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.Brightness1_3.setObjectName("Brightness1_3")
        self.gridLayout_2.addWidget(self.Brightness1_3, 1, 0, 1, 1)
        self.led1box2 = QtWidgets.QSpinBox(self.frame_2)
        self.led1box2.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led1box2.setMaximum(100)
        self.led1box2.setObjectName("led1box2")
        self.gridLayout_2.addWidget(self.led1box2, 1, 2, 1, 1)
        self.verticalLayout_14.addWidget(self.frame_2)
        self.gridLayout_14.addWidget(self.led1group, 1, 0, 1, 1)
        self.led2group = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_5)
        self.led2group.setObjectName("led2group")
        self.verticalLayout_16 = QtWidgets.QVBoxLayout(self.led2group)
        self.verticalLayout_16.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_16.setSpacing(6)
        self.verticalLayout_16.setObjectName("verticalLayout_16")
        self.led2frame = QtWidgets.QFrame(self.led2group)
        self.led2frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.led2frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.led2frame.setObjectName("led2frame")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.led2frame)
        self.gridLayout_3.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_3.setSpacing(6)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.protled2button = QtWidgets.QPushButton(self.led2frame)
        self.protled2button.setCheckable(True)
        self.protled2button.setChecked(False)
        self.protled2button.setAutoDefault(True)
        self.protled2button.setDefault(False)
        self.protled2button.setObjectName("protled2button")
        self.gridLayout_3.addWidget(self.protled2button, 0, 0, 1, 1)
        self.Brightness1_4 = QtWidgets.QLabel(self.led2frame)
        self.Brightness1_4.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.Brightness1_4.setObjectName("Brightness1_4")
        self.gridLayout_3.addWidget(self.Brightness1_4, 0, 1, 1, 1)
        self.brightness_11 = QtWidgets.QLabel(self.led2frame)
        self.brightness_11.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.brightness_11.setObjectName("brightness_11")
        self.gridLayout_3.addWidget(self.brightness_11, 0, 2, 1, 1)
        self.brightness_10 = QtWidgets.QLabel(self.led2frame)
        self.brightness_10.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.brightness_10.setObjectName("brightness_10")
        self.gridLayout_3.addWidget(self.brightness_10, 0, 3, 1, 1)
        self.led2per4label = QtWidgets.QLabel(self.led2frame)
        self.led2per4label.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.led2per4label.setObjectName("led2per4label")
        self.gridLayout_3.addWidget(self.led2per4label, 0, 4, 1, 1)
        self.brightness_12 = QtWidgets.QLabel(self.led2frame)
        self.brightness_12.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.brightness_12.setObjectName("brightness_12")
        self.gridLayout_3.addWidget(self.brightness_12, 0, 5, 1, 1)
        self.led2brightlabel = QtWidgets.QLabel(self.led2frame)
        self.led2brightlabel.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.led2brightlabel.setObjectName("led2brightlabel")
        self.gridLayout_3.addWidget(self.led2brightlabel, 1, 0, 1, 1)
        self.led2box1 = QtWidgets.QSpinBox(self.led2frame)
        self.led2box1.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led2box1.setMaximum(100)
        self.led2box1.setObjectName("led2box1")
        self.gridLayout_3.addWidget(self.led2box1, 1, 1, 1, 1)
        self.led2box2 = QtWidgets.QSpinBox(self.led2frame)
        self.led2box2.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led2box2.setMaximum(100)
        self.led2box2.setObjectName("led2box2")
        self.gridLayout_3.addWidget(self.led2box2, 1, 2, 1, 1)
        self.led2box5 = QtWidgets.QSpinBox(self.led2frame)
        self.led2box5.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led2box5.setMaximum(100)
        self.led2box5.setObjectName("led2box5")
        self.gridLayout_3.addWidget(self.led2box5, 1, 3, 1, 1)
        self.led2box3 = QtWidgets.QSpinBox(self.led2frame)
        self.led2box3.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led2box3.setMaximum(100)
        self.led2box3.setObjectName("led2box3")
        self.gridLayout_3.addWidget(self.led2box3, 1, 4, 1, 1)
        self.led2box4 = QtWidgets.QSpinBox(self.led2frame)
        self.led2box4.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led2box4.setMaximum(100)
        self.led2box4.setObjectName("led2box4")
        self.gridLayout_3.addWidget(self.led2box4, 1, 5, 1, 1)
        self.verticalLayout_16.addWidget(self.led2frame)
        self.gridLayout_14.addWidget(self.led2group, 2, 0, 1, 1)
        self.Peltiergroup = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_5)
        self.Peltiergroup.setObjectName("Peltiergroup")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.Peltiergroup)
        self.horizontalLayout.setContentsMargins(11, 11, 11, 11)
        self.horizontalLayout.setSpacing(6)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.peltier_grid = QtWidgets.QGridLayout()
        self.peltier_grid.setSpacing(6)
        self.peltier_grid.setObjectName("peltier_grid")
        self.peltinput1 = QtWidgets.QSpinBox(self.Peltiergroup)
        self.peltinput1.setMinimum(15)
        self.peltinput1.setMaximum(40)
        self.peltinput1.setObjectName("peltinput1")
        self.peltier_grid.addWidget(self.peltinput1, 3, 1, 1, 1)
        self.peltlabel1 = QtWidgets.QLabel(self.Peltiergroup)
        self.peltlabel1.setObjectName("peltlabel1")
        self.peltier_grid.addWidget(self.peltlabel1, 0, 1, 1, 1)
        self.peltinput3 = QtWidgets.QSpinBox(self.Peltiergroup)
        self.peltinput3.setMinimum(15)
        self.peltinput3.setMaximum(40)
        self.peltinput3.setObjectName("peltinput3")
        self.peltier_grid.addWidget(self.peltinput3, 3, 3, 1, 1)
        self.templabel = QtWidgets.QLabel(self.Peltiergroup)
        self.templabel.setObjectName("templabel")
        self.peltier_grid.addWidget(self.templabel, 3, 0, 1, 1)
        self.peltinput4 = QtWidgets.QSpinBox(self.Peltiergroup)
        self.peltinput4.setMinimum(15)
        self.peltinput4.setMaximum(40)
        self.peltinput4.setObjectName("peltinput4")
        self.peltier_grid.addWidget(self.peltinput4, 3, 4, 1, 1)
        self.peltlabel3 = QtWidgets.QLabel(self.Peltiergroup)
        self.peltlabel3.setObjectName("peltlabel3")
        self.peltier_grid.addWidget(self.peltlabel3, 0, 3, 1, 1)
        self.protpeltierbutton = QtWidgets.QPushButton(self.Peltiergroup)
        self.protpeltierbutton.setCheckable(True)
        self.protpeltierbutton.setObjectName("protpeltierbutton")
        self.peltier_grid.addWidget(self.protpeltierbutton, 0, 0, 1, 1)
        self.peltinput2 = QtWidgets.QSpinBox(self.Peltiergroup)
        self.peltinput2.setMinimum(15)
        self.peltinput2.setMaximum(40)
        self.peltinput2.setObjectName("peltinput2")
        self.peltier_grid.addWidget(self.peltinput2, 3, 2, 1, 1)
        self.peltlabel2 = QtWidgets.QLabel(self.Peltiergroup)
        self.peltlabel2.setObjectName("peltlabel2")
        self.peltier_grid.addWidget(self.peltlabel2, 0, 2, 1, 1)
        self.peltlabel4 = QtWidgets.QLabel(self.Peltiergroup)
        self.peltlabel4.setObjectName("peltlabel4")
        self.peltier_grid.addWidget(self.peltlabel4, 0, 4, 1, 1)
        self.peltlabel5 = QtWidgets.QLabel(self.Peltiergroup)
        self.peltlabel5.setObjectName("peltlabel5")
        self.peltier_grid.addWidget(self.peltlabel5, 0, 5, 1, 1)
        self.peltinput5 = QtWidgets.QSpinBox(self.Peltiergroup)
        self.peltinput5.setMinimum(15)
        self.peltinput5.setMaximum(40)
        self.peltinput5.setObjectName("peltinput5")
        self.peltier_grid.addWidget(self.peltinput5, 3, 5, 1, 1)
        self.horizontalLayout.addLayout(self.peltier_grid)
        self.gridLayout_14.addWidget(self.Peltiergroup, 3, 0, 1, 1)
        self.matrixgroup = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_5)
        self.matrixgroup.setObjectName("matrixgroup")
        self.verticalLayout_17 = QtWidgets.QVBoxLayout(self.matrixgroup)
        self.verticalLayout_17.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_17.setSpacing(6)
        self.verticalLayout_17.setObjectName("verticalLayout_17")
        self.matrixframe = QtWidgets.QFrame(self.matrixgroup)
        self.matrixframe.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.matrixframe.setFrameShadow(QtWidgets.QFrame.Raised)
        self.matrixframe.setObjectName("matrixframe")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.matrixframe)
        self.gridLayout_4.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_4.setSpacing(6)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.protmatrixbutton = QtWidgets.QPushButton(self.matrixframe)
        self.protmatrixbutton.setCheckable(True)
        self.protmatrixbutton.setChecked(False)
        self.protmatrixbutton.setAutoDefault(True)
        self.protmatrixbutton.setDefault(False)
        self.protmatrixbutton.setObjectName("protmatrixbutton")
        self.gridLayout_4.addWidget(self.protmatrixbutton, 0, 0, 1, 1)
        self.Brightness1_6 = QtWidgets.QLabel(self.matrixframe)
        self.Brightness1_6.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.Brightness1_6.setObjectName("Brightness1_6")
        self.gridLayout_4.addWidget(self.Brightness1_6, 0, 1, 1, 1)
        self.brightness_15 = QtWidgets.QLabel(self.matrixframe)
        self.brightness_15.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.brightness_15.setObjectName("brightness_15")
        self.gridLayout_4.addWidget(self.brightness_15, 0, 2, 1, 1)
        self.brightness_14 = QtWidgets.QLabel(self.matrixframe)
        self.brightness_14.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.brightness_14.setObjectName("brightness_14")
        self.gridLayout_4.addWidget(self.brightness_14, 0, 3, 1, 1)
        self.brightness_17 = QtWidgets.QLabel(self.matrixframe)
        self.brightness_17.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.brightness_17.setObjectName("brightness_17")
        self.gridLayout_4.addWidget(self.brightness_17, 0, 4, 1, 1)
        self.brightness_16 = QtWidgets.QLabel(self.matrixframe)
        self.brightness_16.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.brightness_16.setObjectName("brightness_16")
        self.gridLayout_4.addWidget(self.brightness_16, 0, 5, 1, 1)
        self.Brightness1_7 = QtWidgets.QLabel(self.matrixframe)
        self.Brightness1_7.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.Brightness1_7.setObjectName("Brightness1_7")
        self.gridLayout_4.addWidget(self.Brightness1_7, 1, 0, 1, 1)
        self.led2box1_2 = QtWidgets.QSpinBox(self.matrixframe)
        self.led2box1_2.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led2box1_2.setMaximum(100)
        self.led2box1_2.setObjectName("led2box1_2")
        self.gridLayout_4.addWidget(self.led2box1_2, 1, 1, 1, 1)
        self.led2box2_2 = QtWidgets.QSpinBox(self.matrixframe)
        self.led2box2_2.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led2box2_2.setMaximum(100)
        self.led2box2_2.setObjectName("led2box2_2")
        self.gridLayout_4.addWidget(self.led2box2_2, 1, 2, 1, 1)
        self.led2box5_2 = QtWidgets.QSpinBox(self.matrixframe)
        self.led2box5_2.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led2box5_2.setMaximum(100)
        self.led2box5_2.setObjectName("led2box5_2")
        self.gridLayout_4.addWidget(self.led2box5_2, 1, 3, 1, 1)
        self.led2box3_2 = QtWidgets.QSpinBox(self.matrixframe)
        self.led2box3_2.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led2box3_2.setMaximum(100)
        self.led2box3_2.setObjectName("led2box3_2")
        self.gridLayout_4.addWidget(self.led2box3_2, 1, 4, 1, 1)
        self.led2box4_2 = QtWidgets.QSpinBox(self.matrixframe)
        self.led2box4_2.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.led2box4_2.setMaximum(100)
        self.led2box4_2.setObjectName("led2box4_2")
        self.gridLayout_4.addWidget(self.led2box4_2, 1, 5, 1, 1)
        self.Brightness1_8 = QtWidgets.QLabel(self.matrixframe)
        self.Brightness1_8.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.Brightness1_8.setObjectName("Brightness1_8")
        self.gridLayout_4.addWidget(self.Brightness1_8, 2, 0, 1, 1)
        self.matrixpattern1 = QtWidgets.QSpinBox(self.matrixframe)
        self.matrixpattern1.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.matrixpattern1.setMinimum(1)
        self.matrixpattern1.setMaximum(3)
        self.matrixpattern1.setObjectName("matrixpattern1")
        self.gridLayout_4.addWidget(self.matrixpattern1, 2, 1, 1, 1)
        self.matrixpattern1_2 = QtWidgets.QSpinBox(self.matrixframe)
        self.matrixpattern1_2.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.matrixpattern1_2.setMinimum(1)
        self.matrixpattern1_2.setMaximum(3)
        self.matrixpattern1_2.setObjectName("matrixpattern1_2")
        self.gridLayout_4.addWidget(self.matrixpattern1_2, 2, 2, 1, 1)
        self.matrixpattern1_3 = QtWidgets.QSpinBox(self.matrixframe)
        self.matrixpattern1_3.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.matrixpattern1_3.setMinimum(1)
        self.matrixpattern1_3.setMaximum(3)
        self.matrixpattern1_3.setObjectName("matrixpattern1_3")
        self.gridLayout_4.addWidget(self.matrixpattern1_3, 2, 3, 1, 1)
        self.matrixpattern1_4 = QtWidgets.QSpinBox(self.matrixframe)
        self.matrixpattern1_4.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.matrixpattern1_4.setMinimum(1)
        self.matrixpattern1_4.setMaximum(3)
        self.matrixpattern1_4.setObjectName("matrixpattern1_4")
        self.gridLayout_4.addWidget(self.matrixpattern1_4, 2, 4, 1, 1)
        self.matrixpattern1_5 = QtWidgets.QSpinBox(self.matrixframe)
        self.matrixpattern1_5.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.matrixpattern1_5.setMinimum(1)
        self.matrixpattern1_5.setMaximum(3)
        self.matrixpattern1_5.setObjectName("matrixpattern1_5")
        self.gridLayout_4.addWidget(self.matrixpattern1_5, 2, 5, 1, 1)
        self.verticalLayout_17.addWidget(self.matrixframe)
        self.gridLayout_14.addWidget(self.matrixgroup, 4, 0, 1, 1)
        self.timegroup = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_5)
        self.timegroup.setObjectName("timegroup")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.timegroup)
        self.verticalLayout_3.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_3.setSpacing(6)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.timegrid = QtWidgets.QGridLayout()
        self.timegrid.setSpacing(6)
        self.timegrid.setObjectName("timegrid")
        self.runbutton = QtWidgets.QPushButton(self.timegroup)
        self.runbutton.setCheckable(True)
        self.runbutton.setObjectName("runbutton")
        self.timegrid.addWidget(self.runbutton, 4, 5, 1, 1)
        self.itiinput = QtWidgets.QSpinBox(self.timegroup)
        self.itiinput.setMaximum(100)
        self.itiinput.setObjectName("itiinput")
        self.timegrid.addWidget(self.itiinput, 4, 1, 1, 1)
        self.replabel = QtWidgets.QLabel(self.timegroup)
        self.replabel.setObjectName("replabel")
        self.timegrid.addWidget(self.replabel, 4, 2, 1, 1)
        self.timeinput3 = QtWidgets.QSpinBox(self.timegroup)
        self.timeinput3.setMaximum(100)
        self.timeinput3.setObjectName("timeinput3")
        self.timegrid.addWidget(self.timeinput3, 3, 3, 1, 1)
        self.period1 = QtWidgets.QLabel(self.timegroup)
        self.period1.setObjectName("period1")
        self.timegrid.addWidget(self.period1, 0, 1, 1, 1)
        self.repinput = QtWidgets.QSpinBox(self.timegroup)
        self.repinput.setMaximum(100)
        self.repinput.setObjectName("repinput")
        self.timegrid.addWidget(self.repinput, 4, 3, 1, 1)
        self.timeinput1 = QtWidgets.QSpinBox(self.timegroup)
        self.timeinput1.setMaximum(100)
        self.timeinput1.setObjectName("timeinput1")
        self.timegrid.addWidget(self.timeinput1, 3, 1, 1, 1)
        self.durationlabel_2 = QtWidgets.QLabel(self.timegroup)
        self.durationlabel_2.setObjectName("durationlabel_2")
        self.timegrid.addWidget(self.durationlabel_2, 3, 0, 1, 1)
        self.timeinput4 = QtWidgets.QSpinBox(self.timegroup)
        self.timeinput4.setMaximum(100)
        self.timeinput4.setObjectName("timeinput4")
        self.timegrid.addWidget(self.timeinput4, 3, 4, 1, 1)
        self.period3 = QtWidgets.QLabel(self.timegroup)
        self.period3.setObjectName("period3")
        self.timegrid.addWidget(self.period3, 0, 3, 1, 1)
        self.timeinput2 = QtWidgets.QSpinBox(self.timegroup)
        self.timeinput2.setMaximum(100)
        self.timeinput2.setObjectName("timeinput2")
        self.timegrid.addWidget(self.timeinput2, 3, 2, 1, 1)
        self.period2 = QtWidgets.QLabel(self.timegroup)
        self.period2.setObjectName("period2")
        self.timegrid.addWidget(self.period2, 0, 2, 1, 1)
        self.period4 = QtWidgets.QLabel(self.timegroup)
        self.period4.setObjectName("period4")
        self.timegrid.addWidget(self.period4, 0, 4, 1, 1)
        self.period5 = QtWidgets.QLabel(self.timegroup)
        self.period5.setObjectName("period5")
        self.timegrid.addWidget(self.period5, 0, 5, 1, 1)
        self.timeinput5 = QtWidgets.QSpinBox(self.timegroup)
        self.timeinput5.setMaximum(100)
        self.timeinput5.setObjectName("timeinput5")
        self.timegrid.addWidget(self.timeinput5, 3, 5, 1, 1)
        self.itilabel = QtWidgets.QLabel(self.timegroup)
        self.itilabel.setObjectName("itilabel")
        self.timegrid.addWidget(self.itilabel, 4, 0, 1, 1)
        self.checkBox = QtWidgets.QCheckBox(self.timegroup)
        self.checkBox.setObjectName("checkBox")
        self.timegrid.addWidget(self.checkBox, 4, 4, 1, 1)
        self.verticalLayout_3.addLayout(self.timegrid)
        self.gridLayout_14.addWidget(self.timegroup, 5, 0, 1, 1)
        self.gridLayout_15.addLayout(self.gridLayout_14, 0, 0, 1, 1)
        self.scrollArea_5.setWidget(self.scrollAreaWidgetContents_5)
        self.gridLayout_9.addWidget(self.scrollArea_5, 0, 0, 1, 1)
        self.gridLayout_10.addWidget(self.frame, 0, 0, 1, 1)
        self.tabs.addTab(self.protocol, "")
        self.gridLayout.addWidget(self.tabs, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralWidget)
        self.menuBar = QtWidgets.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 811, 21))
        self.menuBar.setObjectName("menuBar")
        MainWindow.setMenuBar(self.menuBar)
        self.mainToolBar = QtWidgets.QToolBar(MainWindow)
        self.mainToolBar.setObjectName("mainToolBar")
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.mainToolBar)
        self.statusBar = QtWidgets.QStatusBar(MainWindow)
        self.statusBar.setObjectName("statusBar")
        MainWindow.setStatusBar(self.statusBar)

        self.retranslateUi(MainWindow)
        self.tabs.setCurrentIndex(0)
        self.colourbox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.cameralabel.setText(_translate("MainWindow", "Camera"))
        self.windowlabel.setText(_translate("MainWindow", "Window size"))
        self.zoomlabel.setText(_translate("MainWindow", "Digital zoom"))
        self.horizontallabel.setText(_translate("MainWindow", "Horiz offset"))
        self.camonbutton.setText(_translate("MainWindow", "ON"))
        self.to_avibutton.setText(_translate("MainWindow", "To AVI"))
        self.brightnesslabel.setText(_translate("MainWindow", "Brightness"))
        self.binlabel.setText(_translate("MainWindow", "Binning"))
        self.fpslabel.setText(_translate("MainWindow", "FPS"))
        self.exposurelabel.setText(_translate("MainWindow", "Exposure"))
        self.rotationlabel.setText(_translate("MainWindow", "Rotation"))
        self.verticallabel.setText(_translate("MainWindow", "vertical offset"))
        self.contrastlabel.setText(_translate("MainWindow", "Contrast"))
        self.autoexposurebox.setText(_translate("MainWindow", "Auto exposure"))
        self.flipimagebox.setText(_translate("MainWindow", "Flip image"))
        self.resolutionlabel.setText(_translate("MainWindow", "Resolution"))
        self.resolutionbox.setItemText(0, _translate("MainWindow", "2592x1944"))
        self.resolutionbox.setItemText(1, _translate("MainWindow", "1920x1080"))
        self.resolutionbox.setItemText(2, _translate("MainWindow", "1296x972"))
        self.resolutionbox.setItemText(3, _translate("MainWindow", "1296x730"))
        self.resolutionbox.setItemText(4, _translate("MainWindow", "640x480"))
        self.whitebalancelabel.setText(_translate("MainWindow", "White balance"))
        self.whitebalancebox.setItemText(0, _translate("MainWindow", "off"))
        self.whitebalancebox.setItemText(1, _translate("MainWindow", "auto"))
        self.whitebalancebox.setItemText(2, _translate("MainWindow", "green"))
        self.whitebalancebox.setItemText(3, _translate("MainWindow", "red"))
        self.whitebalancebox.setItemText(4, _translate("MainWindow", "blue"))
        self.whitebalancebox.setItemText(5, _translate("MainWindow", "sunlight"))
        self.whitebalancebox.setItemText(6, _translate("MainWindow", "cloudy"))
        self.whitebalancebox.setItemText(7, _translate("MainWindow", "shade"))
        self.whitebalancebox.setItemText(8, _translate("MainWindow", "tungsten"))
        self.whitebalancebox.setItemText(9, _translate("MainWindow", "fluorescent"))
        self.whitebalancebox.setItemText(10, _translate("MainWindow", "incandescent"))
        self.whitebalancebox.setItemText(11, _translate("MainWindow", "flash"))
        self.whitebalancebox.setItemText(12, _translate("MainWindow", "horizon"))
        self.modelabel.setText(_translate("MainWindow", "Mode"))
        self.modebox.setItemText(0, _translate("MainWindow", "none"))
        self.modebox.setItemText(1, _translate("MainWindow", "negative"))
        self.modebox.setItemText(2, _translate("MainWindow", "solarize"))
        self.modebox.setItemText(3, _translate("MainWindow", "sketch"))
        self.modebox.setItemText(4, _translate("MainWindow", "denoise"))
        self.modebox.setItemText(5, _translate("MainWindow", "emboss"))
        self.modebox.setItemText(6, _translate("MainWindow", "oilpaint"))
        self.modebox.setItemText(7, _translate("MainWindow", "hatch"))
        self.modebox.setItemText(8, _translate("MainWindow", "gpen"))
        self.modebox.setItemText(9, _translate("MainWindow", "pastel"))
        self.modebox.setItemText(10, _translate("MainWindow", "watercolor"))
        self.modebox.setItemText(11, _translate("MainWindow", "film"))
        self.modebox.setItemText(12, _translate("MainWindow", "blur"))
        self.modebox.setItemText(13, _translate("MainWindow", "saturation"))
        self.modebox.setItemText(14, _translate("MainWindow", "colorswap"))
        self.modebox.setItemText(15, _translate("MainWindow", "washedout"))
        self.modebox.setItemText(16, _translate("MainWindow", "posterise"))
        self.modebox.setItemText(17, _translate("MainWindow", "colorpoint"))
        self.modebox.setItemText(18, _translate("MainWindow", "colorbalance"))
        self.modebox.setItemText(19, _translate("MainWindow", "cartoon"))
        self.modebox.setItemText(20, _translate("MainWindow", "deinterlace1"))
        self.modebox.setItemText(21, _translate("MainWindow", "deinterlace2"))
        self.colourlabel.setText(_translate("MainWindow", "Colour effect"))
        self.colourbox.setCurrentText(_translate("MainWindow", "NONE"))
        self.colourbox.setItemText(0, _translate("MainWindow", "NONE"))
        self.colourbox.setItemText(1, _translate("MainWindow", "BW"))
        self.colourbox.setItemText(2, _translate("MainWindow", "RED"))
        self.colourbox.setItemText(3, _translate("MainWindow", "GREEN"))
        self.colourbox.setItemText(4, _translate("MainWindow", "BLUE"))
        self.photobutton.setText(_translate("MainWindow", "Photo"))
        self.timelapsebutton.setText(_translate("MainWindow", "Time lapse"))
        self.videobutton.setText(_translate("MainWindow", "Record video"))
        self.intervallabel.setText(_translate("MainWindow", "interval between images (sec)"))
        self.durationlabel.setText(_translate("MainWindow", "Total duration (sec)"))
        self.tabs.setTabText(self.tabs.indexOf(self.camera), _translate("MainWindow", "Camera"))
        self.matrixlabel.setText(_translate("MainWindow", "Matrix"))
        self.matrixonbutton.setText(_translate("MainWindow", "On"))
        self.matbrightlabel.setText(_translate("MainWindow", "Brightness"))
        self.matbrightindicator.setFormat(_translate("MainWindow", "%p"))
        self.matrixpat1.setText(_translate("MainWindow", "Pattern1"))
        self.matrixpat2.setText(_translate("MainWindow", "Pattern2"))
        self.matrixpat3.setText(_translate("MainWindow", "Pattern3"))
        self.led1label.setText(_translate("MainWindow", "LED 1"))
        self.led1onbutton.setText(_translate("MainWindow", "On"))
        self.led1brightlabel.setText(_translate("MainWindow", "Brightness"))
        self.led1brightindicator.setFormat(_translate("MainWindow", "%v"))
        self.pulsedurationlabel_2.setText(_translate("MainWindow", "Pulse brightness (0-100)"))
        self.pulsedurationlabel.setText(_translate("MainWindow", "Pulse duration (ms)"))
        self.led1pulsebutton.setText(_translate("MainWindow", "Pulse"))
        self.led2label.setText(_translate("MainWindow", "LED 2"))
        self.led2onbutton.setText(_translate("MainWindow", "On"))
        self.led2brightlabel_2.setText(_translate("MainWindow", "Brightness"))
        self.led2brightindicator.setFormat(_translate("MainWindow", "%v"))
        self.led2pulsebrightlabel.setText(_translate("MainWindow", "Pulse brightness (0-100)"))
        self.led2pulsedurlabel.setText(_translate("MainWindow", "Pulse duration (ms)"))
        self.led2pulsebutton.setText(_translate("MainWindow", "Pulse"))
        self.label.setText(_translate("MainWindow", "Ring"))
        self.ringonbutton.setText(_translate("MainWindow", "On"))
        self.redlabel.setText(_translate("MainWindow", "Red"))
        self.redindicator.setFormat(_translate("MainWindow", "%v"))
        self.greenlabel.setText(_translate("MainWindow", "Green"))
        self.greenindicator.setFormat(_translate("MainWindow", "%v"))
        self.bluelabel.setText(_translate("MainWindow", "Blue"))
        self.blueindicator.setFormat(_translate("MainWindow", "%v"))
        self.bluelabel_2.setText(_translate("MainWindow", "All"))
        self.allindicator.setFormat(_translate("MainWindow", "%v"))
        self.greenpulselable_2.setText(_translate("MainWindow", "Red pulse brightness (0-100)"))
        self.greenpulselabel.setText(_translate("MainWindow", "Green pulse brightness (0-100)"))
        self.bluepulselabel.setText(_translate("MainWindow", "Blue pulse brightness (0-100)"))
        self.ringpulsedurlabel_2.setText(_translate("MainWindow", "Pulse duration (ms)"))
        self.ringpulsebutton.setText(_translate("MainWindow", "Pulse"))
        self.tabs.setTabText(self.tabs.indexOf(self.lightdevices), _translate("MainWindow", "Light devices"))
        self.peltonbutton.setText(_translate("MainWindow", "On"))
        self.logtempcheck.setText(_translate("MainWindow", "Log temperature?"))
        self.tempclosedloop.setText(_translate("MainWindow", "closed loop temp control"))
        self.desiredtemplabel.setText(_translate("MainWindow", "desired temp"))
        self.desiredtempbar.setFormat(_translate("MainWindow", "%v"))
        self.actualtemplabel.setText(_translate("MainWindow", "actual temp"))
        self.actualtempbar.setFormat(_translate("MainWindow", "%v"))
        self.tabs.setTabText(self.tabs.indexOf(self.peltier), _translate("MainWindow", "Peltier"))
        self.servobutton.setText(_translate("MainWindow", "turn servo"))
        self.servolabel.setText(_translate("MainWindow", "servo velocity"))
        self.servobar.setFormat(_translate("MainWindow", "%v"))
        self.tabs.setTabText(self.tabs.indexOf(self.servo), _translate("MainWindow", "servo"))
        self.Ringgroup.setTitle(_translate("MainWindow", "Ring"))
        self.period_2.setText(_translate("MainWindow", "period 2"))
        self.protringbutton.setText(_translate("MainWindow", "ON"))
        self.blue.setText(_translate("MainWindow", "Blue brightness"))
        self.period_1.setText(_translate("MainWindow", "period 1"))
        self.period_3.setText(_translate("MainWindow", "period 3"))
        self.red.setText(_translate("MainWindow", "Red brightness"))
        self.period_5.setText(_translate("MainWindow", "period 5"))
        self.period_4.setText(_translate("MainWindow", "period 4"))
        self.green.setText(_translate("MainWindow", "Green brightness"))
        self.led1group.setTitle(_translate("MainWindow", "LED 1"))
        self.brightness_7.setText(_translate("MainWindow", "period 3"))
        self.Brightness1_2.setText(_translate("MainWindow", "period 1"))
        self.brightness_6.setText(_translate("MainWindow", "period 4"))
        self.brightness_8.setText(_translate("MainWindow", "period 2"))
        self.protled1button.setText(_translate("MainWindow", "ON"))
        self.brightness_9.setText(_translate("MainWindow", "period 5"))
        self.Brightness1_3.setText(_translate("MainWindow", "Brightness"))
        self.led2group.setTitle(_translate("MainWindow", "LED 2"))
        self.protled2button.setText(_translate("MainWindow", "ON"))
        self.Brightness1_4.setText(_translate("MainWindow", "period 1"))
        self.brightness_11.setText(_translate("MainWindow", "period 2"))
        self.brightness_10.setText(_translate("MainWindow", "period 3"))
        self.led2per4label.setText(_translate("MainWindow", "period 4"))
        self.brightness_12.setText(_translate("MainWindow", "period 5"))
        self.led2brightlabel.setText(_translate("MainWindow", "Brightness"))
        self.Peltiergroup.setTitle(_translate("MainWindow", "Peltier"))
        self.peltlabel1.setText(_translate("MainWindow", "period 1"))
        self.templabel.setText(_translate("MainWindow", "temp"))
        self.peltlabel3.setText(_translate("MainWindow", "period 3"))
        self.protpeltierbutton.setText(_translate("MainWindow", "ON"))
        self.peltlabel2.setText(_translate("MainWindow", "period 2"))
        self.peltlabel4.setText(_translate("MainWindow", "period 4"))
        self.peltlabel5.setText(_translate("MainWindow", "period 5"))
        self.matrixgroup.setTitle(_translate("MainWindow", "Matrix"))
        self.protmatrixbutton.setText(_translate("MainWindow", "ON"))
        self.Brightness1_6.setText(_translate("MainWindow", "period 1"))
        self.brightness_15.setText(_translate("MainWindow", "period 2"))
        self.brightness_14.setText(_translate("MainWindow", "period 3"))
        self.brightness_17.setText(_translate("MainWindow", "period 4"))
        self.brightness_16.setText(_translate("MainWindow", "period 5"))
        self.Brightness1_7.setText(_translate("MainWindow", "Brightness"))
        self.Brightness1_8.setText(_translate("MainWindow", "Pattern"))
        self.timegroup.setTitle(_translate("MainWindow", "Time"))
        self.runbutton.setText(_translate("MainWindow", "Run Protocol"))
        self.replabel.setText(_translate("MainWindow", "Repetitions"))
        self.period1.setText(_translate("MainWindow", "period 1"))
        self.durationlabel_2.setText(_translate("MainWindow", "Durat(ms)   "))
        self.period3.setText(_translate("MainWindow", "period 3"))
        self.period2.setText(_translate("MainWindow", "period 2"))
        self.period4.setText(_translate("MainWindow", "period 4"))
        self.period5.setText(_translate("MainWindow", "period 5"))
        self.itilabel.setText(_translate("MainWindow", "ITI"))
        self.checkBox.setText(_translate("MainWindow", "Record video?"))
        self.tabs.setTabText(self.tabs.indexOf(self.protocol), _translate("MainWindow", "Protocol"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    MainWindow = QtWidgets.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())
