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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/industrial_analog_out_v2/ui/industrial_analog_out_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_IndustrialAnalogOutV2(object):
    def setupUi(self, IndustrialAnalogOutV2):
        IndustrialAnalogOutV2.setObjectName("IndustrialAnalogOutV2")
        IndustrialAnalogOutV2.resize(673, 442)
        self.verticalLayout = QtWidgets.QVBoxLayout(IndustrialAnalogOutV2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.checkbox_enable = QtWidgets.QCheckBox(IndustrialAnalogOutV2)
        self.checkbox_enable.setObjectName("checkbox_enable")
        self.horizontalLayout_2.addWidget(self.checkbox_enable)
        self.radio_voltage = QtWidgets.QRadioButton(IndustrialAnalogOutV2)
        self.radio_voltage.setChecked(True)
        self.radio_voltage.setObjectName("radio_voltage")
        self.horizontalLayout_2.addWidget(self.radio_voltage)
        self.radio_current = QtWidgets.QRadioButton(IndustrialAnalogOutV2)
        self.radio_current.setObjectName("radio_current")
        self.horizontalLayout_2.addWidget(self.radio_current)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.line = QtWidgets.QFrame(IndustrialAnalogOutV2)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.widget_voltage = QtWidgets.QWidget(IndustrialAnalogOutV2)
        self.widget_voltage.setObjectName("widget_voltage")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.widget_voltage)
        self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_voltage = QtWidgets.QLabel(self.widget_voltage)
        self.label_voltage.setObjectName("label_voltage")
        self.gridLayout_3.addWidget(self.label_voltage, 1, 0, 1, 1)
        self.spin_voltage = QtWidgets.QSpinBox(self.widget_voltage)
        self.spin_voltage.setMaximum(10000)
        self.spin_voltage.setSingleStep(100)
        self.spin_voltage.setObjectName("spin_voltage")
        self.gridLayout_3.addWidget(self.spin_voltage, 1, 2, 1, 1)
        self.slider_voltage = QtWidgets.QSlider(self.widget_voltage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.slider_voltage.sizePolicy().hasHeightForWidth())
        self.slider_voltage.setSizePolicy(sizePolicy)
        self.slider_voltage.setMaximum(10000)
        self.slider_voltage.setPageStep(1000)
        self.slider_voltage.setOrientation(QtCore.Qt.Horizontal)
        self.slider_voltage.setObjectName("slider_voltage")
        self.gridLayout_3.addWidget(self.slider_voltage, 1, 1, 1, 1)
        self.label_voltage_range = QtWidgets.QLabel(self.widget_voltage)
        self.label_voltage_range.setObjectName("label_voltage_range")
        self.gridLayout_3.addWidget(self.label_voltage_range, 0, 0, 1, 1)
        self.box_voltage_range = QtWidgets.QComboBox(self.widget_voltage)
        self.box_voltage_range.setObjectName("box_voltage_range")
        self.box_voltage_range.addItem("")
        self.box_voltage_range.addItem("")
        self.gridLayout_3.addWidget(self.box_voltage_range, 0, 1, 1, 2)
        self.verticalLayout.addWidget(self.widget_voltage)
        self.widget_current = QtWidgets.QWidget(IndustrialAnalogOutV2)
        self.widget_current.setObjectName("widget_current")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.widget_current)
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_current = QtWidgets.QLabel(self.widget_current)
        self.label_current.setObjectName("label_current")
        self.gridLayout_2.addWidget(self.label_current, 1, 0, 1, 1)
        self.spin_current = QtWidgets.QSpinBox(self.widget_current)
        self.spin_current.setMinimum(4000)
        self.spin_current.setMaximum(20000)
        self.spin_current.setSingleStep(100)
        self.spin_current.setObjectName("spin_current")
        self.gridLayout_2.addWidget(self.spin_current, 1, 2, 1, 1)
        self.slider_current = QtWidgets.QSlider(self.widget_current)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.slider_current.sizePolicy().hasHeightForWidth())
        self.slider_current.setSizePolicy(sizePolicy)
        self.slider_current.setMinimum(4000)
        self.slider_current.setMaximum(20000)
        self.slider_current.setPageStep(1000)
        self.slider_current.setOrientation(QtCore.Qt.Horizontal)
        self.slider_current.setObjectName("slider_current")
        self.gridLayout_2.addWidget(self.slider_current, 1, 1, 1, 1)
        self.label_current_range = QtWidgets.QLabel(self.widget_current)
        self.label_current_range.setObjectName("label_current_range")
        self.gridLayout_2.addWidget(self.label_current_range, 0, 0, 1, 1)
        self.box_current_range = QtWidgets.QComboBox(self.widget_current)
        self.box_current_range.setObjectName("box_current_range")
        self.box_current_range.addItem("")
        self.box_current_range.addItem("")
        self.box_current_range.addItem("")
        self.gridLayout_2.addWidget(self.box_current_range, 0, 1, 1, 2)
        self.verticalLayout.addWidget(self.widget_current)
        self.line_2 = QtWidgets.QFrame(IndustrialAnalogOutV2)
        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.widget_out_status_led = QtWidgets.QWidget(IndustrialAnalogOutV2)
        self.widget_out_status_led.setEnabled(True)
        self.widget_out_status_led.setObjectName("widget_out_status_led")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.widget_out_status_led)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label = QtWidgets.QLabel(self.widget_out_status_led)
        self.label.setObjectName("label")
        self.gridLayout_4.addWidget(self.label, 0, 0, 1, 1)
        self.label_sbox_osl_max = QtWidgets.QLabel(self.widget_out_status_led)
        self.label_sbox_osl_max.setObjectName("label_sbox_osl_max")
        self.gridLayout_4.addWidget(self.label_sbox_osl_max, 3, 0, 1, 1)
        self.label_cbox_osl_lsc = QtWidgets.QLabel(self.widget_out_status_led)
        self.label_cbox_osl_lsc.setObjectName("label_cbox_osl_lsc")
        self.gridLayout_4.addWidget(self.label_cbox_osl_lsc, 1, 0, 1, 1)
        self.label_sbox_osl_min = QtWidgets.QLabel(self.widget_out_status_led)
        self.label_sbox_osl_min.setObjectName("label_sbox_osl_min")
        self.gridLayout_4.addWidget(self.label_sbox_osl_min, 2, 0, 1, 1)
        self.cbox_osl_lc = QtWidgets.QComboBox(self.widget_out_status_led)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cbox_osl_lc.sizePolicy().hasHeightForWidth())
        self.cbox_osl_lc.setSizePolicy(sizePolicy)
        self.cbox_osl_lc.setObjectName("cbox_osl_lc")
        self.cbox_osl_lc.addItem("")
        self.cbox_osl_lc.addItem("")
        self.cbox_osl_lc.addItem("")
        self.cbox_osl_lc.addItem("")
        self.gridLayout_4.addWidget(self.cbox_osl_lc, 0, 1, 1, 1)
        self.cbox_osl_lsc = QtWidgets.QComboBox(self.widget_out_status_led)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cbox_osl_lsc.sizePolicy().hasHeightForWidth())
        self.cbox_osl_lsc.setSizePolicy(sizePolicy)
        self.cbox_osl_lsc.setObjectName("cbox_osl_lsc")
        self.cbox_osl_lsc.addItem("")
        self.cbox_osl_lsc.addItem("")
        self.gridLayout_4.addWidget(self.cbox_osl_lsc, 1, 1, 1, 1)
        self.sbox_osl_min = QtWidgets.QSpinBox(self.widget_out_status_led)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sbox_osl_min.sizePolicy().hasHeightForWidth())
        self.sbox_osl_min.setSizePolicy(sizePolicy)
        self.sbox_osl_min.setObjectName("sbox_osl_min")
        self.gridLayout_4.addWidget(self.sbox_osl_min, 2, 1, 1, 1)
        self.sbox_osl_max = QtWidgets.QSpinBox(self.widget_out_status_led)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sbox_osl_max.sizePolicy().hasHeightForWidth())
        self.sbox_osl_max.setSizePolicy(sizePolicy)
        self.sbox_osl_max.setObjectName("sbox_osl_max")
        self.gridLayout_4.addWidget(self.sbox_osl_max, 3, 1, 1, 1)
        self.verticalLayout.addWidget(self.widget_out_status_led)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem2)

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

    def retranslateUi(self, IndustrialAnalogOutV2):
        _translate = QtCore.QCoreApplication.translate
        IndustrialAnalogOutV2.setWindowTitle(_translate("IndustrialAnalogOutV2", "Form"))
        self.checkbox_enable.setText(_translate("IndustrialAnalogOutV2", "Enable Output"))
        self.radio_voltage.setText(_translate("IndustrialAnalogOutV2", "Voltage"))
        self.radio_current.setText(_translate("IndustrialAnalogOutV2", "Current"))
        self.label_voltage.setText(_translate("IndustrialAnalogOutV2", "Output Voltage:"))
        self.spin_voltage.setSuffix(_translate("IndustrialAnalogOutV2", " mV"))
        self.label_voltage_range.setText(_translate("IndustrialAnalogOutV2", "Range:"))
        self.box_voltage_range.setItemText(0, _translate("IndustrialAnalogOutV2", "0 - 5 V"))
        self.box_voltage_range.setItemText(1, _translate("IndustrialAnalogOutV2", "0 - 10 V"))
        self.label_current.setText(_translate("IndustrialAnalogOutV2", "Output Current:"))
        self.spin_current.setSuffix(_translate("IndustrialAnalogOutV2", " µA"))
        self.label_current_range.setText(_translate("IndustrialAnalogOutV2", "Range:"))
        self.box_current_range.setItemText(0, _translate("IndustrialAnalogOutV2", "4 - 20 mA"))
        self.box_current_range.setItemText(1, _translate("IndustrialAnalogOutV2", "0 - 20 mA"))
        self.box_current_range.setItemText(2, _translate("IndustrialAnalogOutV2", "0 - 24 mA"))
        self.label.setText(_translate("IndustrialAnalogOutV2", "LED Config:"))
        self.label_sbox_osl_max.setText(_translate("IndustrialAnalogOutV2", "Max:"))
        self.label_cbox_osl_lsc.setText(_translate("IndustrialAnalogOutV2", "LED Status Config:"))
        self.label_sbox_osl_min.setText(_translate("IndustrialAnalogOutV2", "Min:"))
        self.cbox_osl_lc.setItemText(0, _translate("IndustrialAnalogOutV2", "Off"))
        self.cbox_osl_lc.setItemText(1, _translate("IndustrialAnalogOutV2", "On"))
        self.cbox_osl_lc.setItemText(2, _translate("IndustrialAnalogOutV2", "Show Heartbeat"))
        self.cbox_osl_lc.setItemText(3, _translate("IndustrialAnalogOutV2", "Show Out Status"))
        self.cbox_osl_lsc.setItemText(0, _translate("IndustrialAnalogOutV2", "Threshold"))
        self.cbox_osl_lsc.setItemText(1, _translate("IndustrialAnalogOutV2", "Intensity"))
