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

# Form implementation generated from reading ui file 'qt_plot.ui'
#
# Created by: PyQt5 UI code generator 5.14.1
#
# WARNING! All changes made in this file will be lost!


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_plot_view(object):
    def setupUi(self, plot_view):
        plot_view.setObjectName("plot_view")
        plot_view.resize(1207, 772)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(plot_view.sizePolicy().hasHeightForWidth())
        plot_view.setSizePolicy(sizePolicy)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(plot_view)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.tabs = QtWidgets.QTabWidget(plot_view)
        self.tabs.setObjectName("tabs")
        self.leds_tab = QtWidgets.QWidget()
        self.leds_tab.setObjectName("leds_tab")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.leds_tab)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.led1_2 = QtWidgets.QRadioButton(self.leds_tab)
        self.led1_2.setText("")
        self.led1_2.setAutoExclusive(False)
        self.led1_2.setObjectName("led1_2")
        self.horizontalLayout_2.addWidget(self.led1_2)
        self.led2_2 = QtWidgets.QRadioButton(self.leds_tab)
        self.led2_2.setText("")
        self.led2_2.setAutoExclusive(False)
        self.led2_2.setObjectName("led2_2")
        self.horizontalLayout_2.addWidget(self.led2_2)
        self.led3_2 = QtWidgets.QRadioButton(self.leds_tab)
        self.led3_2.setText("")
        self.led3_2.setAutoExclusive(False)
        self.led3_2.setObjectName("led3_2")
        self.horizontalLayout_2.addWidget(self.led3_2)
        self.led4_2 = QtWidgets.QRadioButton(self.leds_tab)
        self.led4_2.setText("")
        self.led4_2.setAutoExclusive(False)
        self.led4_2.setObjectName("led4_2")
        self.horizontalLayout_2.addWidget(self.led4_2)
        self.led5_2 = QtWidgets.QRadioButton(self.leds_tab)
        self.led5_2.setText("")
        self.led5_2.setAutoExclusive(False)
        self.led5_2.setObjectName("led5_2")
        self.horizontalLayout_2.addWidget(self.led5_2)
        self.led6_2 = QtWidgets.QRadioButton(self.leds_tab)
        self.led6_2.setText("")
        self.led6_2.setAutoExclusive(False)
        self.led6_2.setObjectName("led6_2")
        self.horizontalLayout_2.addWidget(self.led6_2)
        self.led7_2 = QtWidgets.QRadioButton(self.leds_tab)
        self.led7_2.setText("")
        self.led7_2.setAutoExclusive(False)
        self.led7_2.setObjectName("led7_2")
        self.horizontalLayout_2.addWidget(self.led7_2)
        self.led8_2 = QtWidgets.QRadioButton(self.leds_tab)
        self.led8_2.setText("")
        self.led8_2.setAutoExclusive(False)
        self.led8_2.setObjectName("led8_2")
        self.horizontalLayout_2.addWidget(self.led8_2)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.label = QtWidgets.QLabel(self.leds_tab)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.sendButton = QtWidgets.QPushButton(self.leds_tab)
        self.sendButton.setToolTip("")
        self.sendButton.setObjectName("sendButton")
        self.verticalLayout.addWidget(self.sendButton)
        self.line_2 = QtWidgets.QFrame(self.leds_tab)
        self.line_2.setLineWidth(4)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.verticalLayout.addWidget(self.line_2)
        self.line = QtWidgets.QFrame(self.leds_tab)
        self.line.setLineWidth(4)
        self.line.setMidLineWidth(0)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.radioButton_4 = QtWidgets.QRadioButton(self.leds_tab)
        self.radioButton_4.setText("")
        self.radioButton_4.setObjectName("radioButton_4")
        self.horizontalLayout.addWidget(self.radioButton_4)
        self.radioButton_8 = QtWidgets.QRadioButton(self.leds_tab)
        self.radioButton_8.setText("")
        self.radioButton_8.setObjectName("radioButton_8")
        self.horizontalLayout.addWidget(self.radioButton_8)
        self.radioButton_6 = QtWidgets.QRadioButton(self.leds_tab)
        self.radioButton_6.setText("")
        self.radioButton_6.setObjectName("radioButton_6")
        self.horizontalLayout.addWidget(self.radioButton_6)
        self.radioButton_7 = QtWidgets.QRadioButton(self.leds_tab)
        self.radioButton_7.setText("")
        self.radioButton_7.setObjectName("radioButton_7")
        self.horizontalLayout.addWidget(self.radioButton_7)
        self.radioButton_5 = QtWidgets.QRadioButton(self.leds_tab)
        self.radioButton_5.setText("")
        self.radioButton_5.setObjectName("radioButton_5")
        self.horizontalLayout.addWidget(self.radioButton_5)
        self.radioButton_3 = QtWidgets.QRadioButton(self.leds_tab)
        self.radioButton_3.setText("")
        self.radioButton_3.setObjectName("radioButton_3")
        self.horizontalLayout.addWidget(self.radioButton_3)
        self.radioButton = QtWidgets.QRadioButton(self.leds_tab)
        self.radioButton.setText("")
        self.radioButton.setObjectName("radioButton")
        self.horizontalLayout.addWidget(self.radioButton)
        self.radioButton_2 = QtWidgets.QRadioButton(self.leds_tab)
        self.radioButton_2.setText("")
        self.radioButton_2.setObjectName("radioButton_2")
        self.horizontalLayout.addWidget(self.radioButton_2)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.label_2 = QtWidgets.QLabel(self.leds_tab)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2)
        self.pushButton = QtWidgets.QPushButton(self.leds_tab)
        self.pushButton.setObjectName("pushButton")
        self.verticalLayout.addWidget(self.pushButton)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.horizontalLayout_7.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_4.addLayout(self.verticalLayout)
        self.ledInformation = QtWidgets.QTextEdit(self.leds_tab)
        self.ledInformation.setReadOnly(True)
        self.ledInformation.setObjectName("ledInformation")
        self.horizontalLayout_4.addWidget(self.ledInformation)
        self.tabs.addTab(self.leds_tab, "")
        self.plot_tab = QtWidgets.QWidget()
        self.plot_tab.setObjectName("plot_tab")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.plot_tab)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.widget = QtWidgets.QWidget(self.plot_tab)
        self.widget.setObjectName("widget")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.widget)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.pButton_Status = QtWidgets.QPushButton(self.widget)
        self.pButton_Status.setText("")
        self.pButton_Status.setObjectName("pButton_Status")
        self.verticalLayout_2.addWidget(self.pButton_Status)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.pB_Start = QtWidgets.QPushButton(self.widget)
        self.pB_Start.setObjectName("pB_Start")
        self.horizontalLayout_5.addWidget(self.pB_Start)
        self.pB_Stop = QtWidgets.QPushButton(self.widget)
        self.pB_Stop.setObjectName("pB_Stop")
        self.horizontalLayout_5.addWidget(self.pB_Stop)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.lcd = QtWidgets.QLCDNumber(self.widget)
        self.lcd.setObjectName("lcd")
        self.verticalLayout_2.addWidget(self.lcd)
        self.line_3 = QtWidgets.QFrame(self.widget)
        self.line_3.setLineWidth(5)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.verticalLayout_2.addWidget(self.line_3)
        self.label_3 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(15)
        self.label_3.setFont(font)
        self.label_3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_3.setObjectName("label_3")
        self.verticalLayout_2.addWidget(self.label_3)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.chBox_1 = QtWidgets.QCheckBox(self.widget)
        self.chBox_1.setObjectName("chBox_1")
        self.horizontalLayout_8.addWidget(self.chBox_1)
        self.chBox_2 = QtWidgets.QCheckBox(self.widget)
        self.chBox_2.setObjectName("chBox_2")
        self.horizontalLayout_8.addWidget(self.chBox_2)
        self.chBox_3 = QtWidgets.QCheckBox(self.widget)
        self.chBox_3.setObjectName("chBox_3")
        self.horizontalLayout_8.addWidget(self.chBox_3)
        self.chBox_4 = QtWidgets.QCheckBox(self.widget)
        self.chBox_4.setObjectName("chBox_4")
        self.horizontalLayout_8.addWidget(self.chBox_4)
        self.verticalLayout_2.addLayout(self.horizontalLayout_8)
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.chBox_5 = QtWidgets.QCheckBox(self.widget)
        self.chBox_5.setObjectName("chBox_5")
        self.horizontalLayout_9.addWidget(self.chBox_5)
        self.chBox_6 = QtWidgets.QCheckBox(self.widget)
        self.chBox_6.setObjectName("chBox_6")
        self.horizontalLayout_9.addWidget(self.chBox_6)
        self.chBox_7 = QtWidgets.QCheckBox(self.widget)
        self.chBox_7.setObjectName("chBox_7")
        self.horizontalLayout_9.addWidget(self.chBox_7)
        self.chBox_8 = QtWidgets.QCheckBox(self.widget)
        self.chBox_8.setObjectName("chBox_8")
        self.horizontalLayout_9.addWidget(self.chBox_8)
        self.verticalLayout_2.addLayout(self.horizontalLayout_9)
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.chBox_9 = QtWidgets.QCheckBox(self.widget)
        self.chBox_9.setObjectName("chBox_9")
        self.horizontalLayout_10.addWidget(self.chBox_9)
        self.chBox_10 = QtWidgets.QCheckBox(self.widget)
        self.chBox_10.setObjectName("chBox_10")
        self.horizontalLayout_10.addWidget(self.chBox_10)
        self.chBox_11 = QtWidgets.QCheckBox(self.widget)
        self.chBox_11.setObjectName("chBox_11")
        self.horizontalLayout_10.addWidget(self.chBox_11)
        self.chBox_12 = QtWidgets.QCheckBox(self.widget)
        self.chBox_12.setObjectName("chBox_12")
        self.horizontalLayout_10.addWidget(self.chBox_12)
        self.verticalLayout_2.addLayout(self.horizontalLayout_10)
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.chBox_13 = QtWidgets.QCheckBox(self.widget)
        self.chBox_13.setObjectName("chBox_13")
        self.horizontalLayout_11.addWidget(self.chBox_13)
        self.chBox_14 = QtWidgets.QCheckBox(self.widget)
        self.chBox_14.setObjectName("chBox_14")
        self.horizontalLayout_11.addWidget(self.chBox_14)
        self.chBox_15 = QtWidgets.QCheckBox(self.widget)
        self.chBox_15.setObjectName("chBox_15")
        self.horizontalLayout_11.addWidget(self.chBox_15)
        self.chBox_16 = QtWidgets.QCheckBox(self.widget)
        self.chBox_16.setObjectName("chBox_16")
        self.horizontalLayout_11.addWidget(self.chBox_16)
        self.verticalLayout_2.addLayout(self.horizontalLayout_11)
        self.line_4 = QtWidgets.QFrame(self.widget)
        self.line_4.setLineWidth(5)
        self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.verticalLayout_2.addWidget(self.line_4)
        self.label_4 = QtWidgets.QLabel(self.widget)
        font = QtGui.QFont()
        font.setPointSize(15)
        self.label_4.setFont(font)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName("label_4")
        self.verticalLayout_2.addWidget(self.label_4)
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.cBox_CommSource = QtWidgets.QComboBox(self.widget)
        self.cBox_CommSource.setObjectName("cBox_CommSource")
        self.horizontalLayout_13.addWidget(self.cBox_CommSource)
        self.cBox_CommPort = QtWidgets.QComboBox(self.widget)
        self.cBox_CommPort.setEditable(True)
        self.cBox_CommPort.setObjectName("cBox_CommPort")
        self.horizontalLayout_13.addWidget(self.cBox_CommPort)
        self.verticalLayout_2.addLayout(self.horizontalLayout_13)
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.sBox_NumSamples = QtWidgets.QSpinBox(self.widget)
        self.sBox_NumSamples.setMinimum(1)
        self.sBox_NumSamples.setMaximum(10000)
        self.sBox_NumSamples.setProperty("value", 500)
        self.sBox_NumSamples.setObjectName("sBox_NumSamples")
        self.horizontalLayout_12.addWidget(self.sBox_NumSamples)
        self.verticalLayout_2.addLayout(self.horizontalLayout_12)
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        self.cBox_CommSpeed = QtWidgets.QComboBox(self.widget)
        self.cBox_CommSpeed.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.cBox_CommSpeed.setEditable(True)
        self.cBox_CommSpeed.setObjectName("cBox_CommSpeed")
        self.horizontalLayout_14.addWidget(self.cBox_CommSpeed)
        self.verticalLayout_2.addLayout(self.horizontalLayout_14)
        self.ch_ExportCVS = QtWidgets.QCheckBox(self.widget)
        self.ch_ExportCVS.setObjectName("ch_ExportCVS")
        self.verticalLayout_2.addWidget(self.ch_ExportCVS)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem1)
        self.horizontalLayout_6.addWidget(self.widget)
        self.graphComponent = PlotWidget(self.plot_tab)
        self.graphComponent.setObjectName("graphComponent")
        self.horizontalLayout_6.addWidget(self.graphComponent)
        self.tabs.addTab(self.plot_tab, "")
        self.horizontalLayout_3.addWidget(self.tabs)

        self.retranslateUi(plot_view)
        self.tabs.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(plot_view)

    def retranslateUi(self, plot_view):
        _translate = QtCore.QCoreApplication.translate
        plot_view.setWindowTitle(_translate("plot_view", "Basic Rd/Wr Interface "))
        self.label.setText(_translate("plot_view", " L0 L1L2 L3L4 L5 L6 L7"))
        self.sendButton.setText(_translate("plot_view", "Write Values to LEDs"))
        self.label_2.setText(_translate("plot_view", " S0 S1 S2 S3 S4 S5 S6 S7"))
        self.pushButton.setText(_translate("plot_view", "Read Values from  SWs"))
        self.tabs.setTabText(self.tabs.indexOf(self.leds_tab), _translate("plot_view", "LEDs/SWs"))
        self.pB_Start.setText(_translate("plot_view", "START"))
        self.pB_Stop.setText(_translate("plot_view", "STOP"))
        self.label_3.setText(_translate("plot_view", "Sensors"))
        self.chBox_1.setText(_translate("plot_view", "1"))
        self.chBox_2.setText(_translate("plot_view", "2"))
        self.chBox_3.setText(_translate("plot_view", "3"))
        self.chBox_4.setText(_translate("plot_view", "4"))
        self.chBox_5.setText(_translate("plot_view", "5"))
        self.chBox_6.setText(_translate("plot_view", "6"))
        self.chBox_7.setText(_translate("plot_view", "7"))
        self.chBox_8.setText(_translate("plot_view", "8"))
        self.chBox_9.setText(_translate("plot_view", "9"))
        self.chBox_10.setText(_translate("plot_view", "10"))
        self.chBox_11.setText(_translate("plot_view", "11"))
        self.chBox_12.setText(_translate("plot_view", "12"))
        self.chBox_13.setText(_translate("plot_view", "13"))
        self.chBox_14.setText(_translate("plot_view", "14"))
        self.chBox_15.setText(_translate("plot_view", "15"))
        self.chBox_16.setText(_translate("plot_view", "16"))
        self.label_4.setText(_translate("plot_view", "Communication"))
        self.sBox_NumSamples.setSuffix(_translate("plot_view", " samples"))
        self.sBox_NumSamples.setPrefix(_translate("plot_view", "Show "))
        self.ch_ExportCVS.setText(_translate("plot_view", " Export to CVS"))
        self.tabs.setTabText(self.tabs.indexOf(self.plot_tab), _translate("plot_view", "Sensors Acq"))


from pyqtgraph import PlotWidget

if __name__ == "__main__":
    import sys

    app = QtWidgets.QApplication(sys.argv)
    plot_view = QtWidgets.QWidget()
    ui = Ui_plot_view()
    ui.setupUi(plot_view)
    plot_view.show()
    sys.exit(app.exec_())
