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

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


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_VoltageCurrent(object):
    def setupUi(self, VoltageCurrent):
        VoltageCurrent.setObjectName("VoltageCurrent")
        VoltageCurrent.resize(908, 130)
        self.main_layout = QtWidgets.QVBoxLayout(VoltageCurrent)
        self.main_layout.setObjectName("main_layout")
        self.line = QtWidgets.QFrame(VoltageCurrent)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.main_layout.addWidget(self.line)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_5 = QtWidgets.QLabel(VoltageCurrent)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_4.addWidget(self.label_5)
        self.averaging_box = QtWidgets.QComboBox(VoltageCurrent)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.averaging_box.sizePolicy().hasHeightForWidth())
        self.averaging_box.setSizePolicy(sizePolicy)
        self.averaging_box.setObjectName("averaging_box")
        self.averaging_box.addItem("")
        self.averaging_box.addItem("")
        self.averaging_box.addItem("")
        self.averaging_box.addItem("")
        self.averaging_box.addItem("")
        self.averaging_box.addItem("")
        self.averaging_box.addItem("")
        self.averaging_box.addItem("")
        self.horizontalLayout_4.addWidget(self.averaging_box)
        self.verticalLayout_3.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_6 = QtWidgets.QLabel(VoltageCurrent)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_5.addWidget(self.label_6)
        self.voltage_box = QtWidgets.QComboBox(VoltageCurrent)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.voltage_box.sizePolicy().hasHeightForWidth())
        self.voltage_box.setSizePolicy(sizePolicy)
        self.voltage_box.setObjectName("voltage_box")
        self.voltage_box.addItem("")
        self.voltage_box.addItem("")
        self.voltage_box.addItem("")
        self.voltage_box.addItem("")
        self.voltage_box.addItem("")
        self.voltage_box.addItem("")
        self.voltage_box.addItem("")
        self.voltage_box.addItem("")
        self.horizontalLayout_5.addWidget(self.voltage_box)
        self.verticalLayout_3.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_7 = QtWidgets.QLabel(VoltageCurrent)
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_6.addWidget(self.label_7)
        self.current_box = QtWidgets.QComboBox(VoltageCurrent)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.current_box.sizePolicy().hasHeightForWidth())
        self.current_box.setSizePolicy(sizePolicy)
        self.current_box.setObjectName("current_box")
        self.current_box.addItem("")
        self.current_box.addItem("")
        self.current_box.addItem("")
        self.current_box.addItem("")
        self.current_box.addItem("")
        self.current_box.addItem("")
        self.current_box.addItem("")
        self.current_box.addItem("")
        self.horizontalLayout_6.addWidget(self.current_box)
        self.verticalLayout_3.addLayout(self.horizontalLayout_6)
        self.horizontalLayout.addLayout(self.verticalLayout_3)
        self.save_conf_button = QtWidgets.QPushButton(VoltageCurrent)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.save_conf_button.sizePolicy().hasHeightForWidth())
        self.save_conf_button.setSizePolicy(sizePolicy)
        self.save_conf_button.setObjectName("save_conf_button")
        self.horizontalLayout.addWidget(self.save_conf_button)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.layout_cal = QtWidgets.QHBoxLayout()
        self.layout_cal.setObjectName("layout_cal")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_2 = QtWidgets.QLabel(VoltageCurrent)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_2.addWidget(self.label_2)
        self.gainmul_spinbox = QtWidgets.QSpinBox(VoltageCurrent)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gainmul_spinbox.sizePolicy().hasHeightForWidth())
        self.gainmul_spinbox.setSizePolicy(sizePolicy)
        self.gainmul_spinbox.setMinimum(1)
        self.gainmul_spinbox.setMaximum(65536)
        self.gainmul_spinbox.setObjectName("gainmul_spinbox")
        self.horizontalLayout_2.addWidget(self.gainmul_spinbox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_3 = QtWidgets.QLabel(VoltageCurrent)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_3.addWidget(self.label_3)
        self.gaindiv_spinbox = QtWidgets.QSpinBox(VoltageCurrent)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gaindiv_spinbox.sizePolicy().hasHeightForWidth())
        self.gaindiv_spinbox.setSizePolicy(sizePolicy)
        self.gaindiv_spinbox.setMinimum(1)
        self.gaindiv_spinbox.setMaximum(65536)
        self.gaindiv_spinbox.setObjectName("gaindiv_spinbox")
        self.horizontalLayout_3.addWidget(self.gaindiv_spinbox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.layout_cal.addLayout(self.verticalLayout_2)
        self.save_cal_button = QtWidgets.QPushButton(VoltageCurrent)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.save_cal_button.sizePolicy().hasHeightForWidth())
        self.save_cal_button.setSizePolicy(sizePolicy)
        self.save_cal_button.setObjectName("save_cal_button")
        self.layout_cal.addWidget(self.save_cal_button)
        self.horizontalLayout.addLayout(self.layout_cal)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.button_clear_graphs = QtWidgets.QPushButton(VoltageCurrent)
        self.button_clear_graphs.setObjectName("button_clear_graphs")
        self.horizontalLayout.addWidget(self.button_clear_graphs)
        self.main_layout.addLayout(self.horizontalLayout)

        self.retranslateUi(VoltageCurrent)
        QtCore.QMetaObject.connectSlotsByName(VoltageCurrent)

    def retranslateUi(self, VoltageCurrent):
        _translate = QtCore.QCoreApplication.translate
        VoltageCurrent.setWindowTitle(_translate("VoltageCurrent", "Form"))
        self.label_5.setText(_translate("VoltageCurrent", "Averaging Length:"))
        self.averaging_box.setItemText(0, _translate("VoltageCurrent", "1"))
        self.averaging_box.setItemText(1, _translate("VoltageCurrent", "4"))
        self.averaging_box.setItemText(2, _translate("VoltageCurrent", "16"))
        self.averaging_box.setItemText(3, _translate("VoltageCurrent", "64"))
        self.averaging_box.setItemText(4, _translate("VoltageCurrent", "128"))
        self.averaging_box.setItemText(5, _translate("VoltageCurrent", "256"))
        self.averaging_box.setItemText(6, _translate("VoltageCurrent", "512"))
        self.averaging_box.setItemText(7, _translate("VoltageCurrent", "1024"))
        self.label_6.setText(_translate("VoltageCurrent", "Voltage Conversion Time:"))
        self.voltage_box.setItemText(0, _translate("VoltageCurrent", "140µs"))
        self.voltage_box.setItemText(1, _translate("VoltageCurrent", "204µs"))
        self.voltage_box.setItemText(2, _translate("VoltageCurrent", "332µs"))
        self.voltage_box.setItemText(3, _translate("VoltageCurrent", "588µs"))
        self.voltage_box.setItemText(4, _translate("VoltageCurrent", "1.1ms"))
        self.voltage_box.setItemText(5, _translate("VoltageCurrent", "2.116ms"))
        self.voltage_box.setItemText(6, _translate("VoltageCurrent", "4.156ms"))
        self.voltage_box.setItemText(7, _translate("VoltageCurrent", "8.244ms"))
        self.label_7.setText(_translate("VoltageCurrent", "Current Conversion Time:"))
        self.current_box.setItemText(0, _translate("VoltageCurrent", "140µs"))
        self.current_box.setItemText(1, _translate("VoltageCurrent", "204µs"))
        self.current_box.setItemText(2, _translate("VoltageCurrent", "332µs"))
        self.current_box.setItemText(3, _translate("VoltageCurrent", "588µs"))
        self.current_box.setItemText(4, _translate("VoltageCurrent", "1.1ms"))
        self.current_box.setItemText(5, _translate("VoltageCurrent", "2.116ms"))
        self.current_box.setItemText(6, _translate("VoltageCurrent", "4.156ms"))
        self.current_box.setItemText(7, _translate("VoltageCurrent", "8.244ms"))
        self.save_conf_button.setText(_translate("VoltageCurrent", "Save\n"
"Configuration"))
        self.label_2.setText(_translate("VoltageCurrent", "Gain Multiplier:"))
        self.label_3.setText(_translate("VoltageCurrent", "Gain Divisor:"))
        self.save_cal_button.setText(_translate("VoltageCurrent", "Save\n"
"Calibration"))
        self.button_clear_graphs.setText(_translate("VoltageCurrent", "Clear\n"
"Graphs"))
