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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/industrial_analog_out/ui/industrial_analog_out.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_IndustrialAnalogOut(object):
    def setupUi(self, IndustrialAnalogOut):
        IndustrialAnalogOut.setObjectName("IndustrialAnalogOut")
        IndustrialAnalogOut.resize(673, 177)
        self.verticalLayout = QtWidgets.QVBoxLayout(IndustrialAnalogOut)
        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(IndustrialAnalogOut)
        self.checkbox_enable.setObjectName("checkbox_enable")
        self.horizontalLayout_2.addWidget(self.checkbox_enable)
        self.radio_voltage = QtWidgets.QRadioButton(IndustrialAnalogOut)
        self.radio_voltage.setChecked(True)
        self.radio_voltage.setObjectName("radio_voltage")
        self.horizontalLayout_2.addWidget(self.radio_voltage)
        self.radio_current = QtWidgets.QRadioButton(IndustrialAnalogOut)
        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(IndustrialAnalogOut)
        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(IndustrialAnalogOut)
        self.widget_voltage.setObjectName("widget_voltage")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.widget_voltage)
        self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_voltage = QtWidgets.QLabel(self.widget_voltage)
        self.label_voltage.setObjectName("label_voltage")
        self.horizontalLayout_3.addWidget(self.label_voltage)
        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.horizontalLayout_3.addWidget(self.slider_voltage)
        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.horizontalLayout_3.addWidget(self.spin_voltage)
        self.label_voltage_range = QtWidgets.QLabel(self.widget_voltage)
        self.label_voltage_range.setObjectName("label_voltage_range")
        self.horizontalLayout_3.addWidget(self.label_voltage_range)
        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.horizontalLayout_3.addWidget(self.box_voltage_range)
        self.verticalLayout.addWidget(self.widget_voltage)
        self.widget_current = QtWidgets.QWidget(IndustrialAnalogOut)
        self.widget_current.setObjectName("widget_current")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.widget_current)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_current = QtWidgets.QLabel(self.widget_current)
        self.label_current.setObjectName("label_current")
        self.horizontalLayout.addWidget(self.label_current)
        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.horizontalLayout.addWidget(self.slider_current)
        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.horizontalLayout.addWidget(self.spin_current)
        self.label_current_range = QtWidgets.QLabel(self.widget_current)
        self.label_current_range.setObjectName("label_current_range")
        self.horizontalLayout.addWidget(self.label_current_range)
        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.horizontalLayout.addWidget(self.box_current_range)
        self.verticalLayout.addWidget(self.widget_current)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem2)

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

    def retranslateUi(self, IndustrialAnalogOut):
        _translate = QtCore.QCoreApplication.translate
        IndustrialAnalogOut.setWindowTitle(_translate("IndustrialAnalogOut", "Form"))
        self.checkbox_enable.setText(_translate("IndustrialAnalogOut", "Enable Output"))
        self.radio_voltage.setText(_translate("IndustrialAnalogOut", "Voltage"))
        self.radio_current.setText(_translate("IndustrialAnalogOut", "Current"))
        self.label_voltage.setText(_translate("IndustrialAnalogOut", "Output Voltage [mV]:"))
        self.label_voltage_range.setText(_translate("IndustrialAnalogOut", "Range:"))
        self.box_voltage_range.setItemText(0, _translate("IndustrialAnalogOut", "0 - 5 V"))
        self.box_voltage_range.setItemText(1, _translate("IndustrialAnalogOut", "0 - 10 V"))
        self.label_current.setText(_translate("IndustrialAnalogOut", "Output Current [µA]:"))
        self.label_current_range.setText(_translate("IndustrialAnalogOut", "Range:"))
        self.box_current_range.setItemText(0, _translate("IndustrialAnalogOut", "4 - 20 mA"))
        self.box_current_range.setItemText(1, _translate("IndustrialAnalogOut", "0 - 20 mA"))
        self.box_current_range.setItemText(2, _translate("IndustrialAnalogOut", "0 - 24 mA"))
