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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/voltage_current_v2/ui/voltage_current_v2.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_VoltageCurrentV2(object):
    def setupUi(self, VoltageCurrentV2):
        VoltageCurrentV2.setObjectName("VoltageCurrentV2")
        VoltageCurrentV2.resize(595, 169)
        self.main_layout = QtWidgets.QVBoxLayout(VoltageCurrentV2)
        self.main_layout.setObjectName("main_layout")
        self.line = QtWidgets.QFrame(VoltageCurrentV2)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.main_layout.addWidget(self.line)
        self.gridLayout_6 = QtWidgets.QGridLayout()
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.label_7 = QtWidgets.QLabel(VoltageCurrentV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_7.sizePolicy().hasHeightForWidth())
        self.label_7.setSizePolicy(sizePolicy)
        self.label_7.setObjectName("label_7")
        self.gridLayout_6.addWidget(self.label_7, 2, 0, 1, 1)
        self.current_box = QtWidgets.QComboBox(VoltageCurrentV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, 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.gridLayout_6.addWidget(self.current_box, 2, 1, 1, 1)
        self.button_calibration = QtWidgets.QPushButton(VoltageCurrentV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_calibration.sizePolicy().hasHeightForWidth())
        self.button_calibration.setSizePolicy(sizePolicy)
        self.button_calibration.setObjectName("button_calibration")
        self.gridLayout_6.addWidget(self.button_calibration, 0, 2, 2, 1)
        self.button_clear_graphs = QtWidgets.QPushButton(VoltageCurrentV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_clear_graphs.sizePolicy().hasHeightForWidth())
        self.button_clear_graphs.setSizePolicy(sizePolicy)
        self.button_clear_graphs.setObjectName("button_clear_graphs")
        self.gridLayout_6.addWidget(self.button_clear_graphs, 2, 2, 2, 1)
        self.save_conf_button = QtWidgets.QPushButton(VoltageCurrentV2)
        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.gridLayout_6.addWidget(self.save_conf_button, 3, 0, 1, 2)
        self.label_5 = QtWidgets.QLabel(VoltageCurrentV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setObjectName("label_5")
        self.gridLayout_6.addWidget(self.label_5, 0, 0, 1, 1)
        self.voltage_box = QtWidgets.QComboBox(VoltageCurrentV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, 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.gridLayout_6.addWidget(self.voltage_box, 1, 1, 1, 1)
        self.averaging_box = QtWidgets.QComboBox(VoltageCurrentV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, 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.gridLayout_6.addWidget(self.averaging_box, 0, 1, 1, 1)
        self.label_6 = QtWidgets.QLabel(VoltageCurrentV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
        self.label_6.setSizePolicy(sizePolicy)
        self.label_6.setObjectName("label_6")
        self.gridLayout_6.addWidget(self.label_6, 1, 0, 1, 1)
        self.main_layout.addLayout(self.gridLayout_6)

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

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