# Form implementation generated from reading ui file 'c:\PROJECTS\testAPI\LowLevelWidgetsPackage\AdvancedProgrammablePSUPackage\AdvancedProgrammablePSU.ui'
#
# Created by: PyQt6 UI code generator 6.4.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_AdvancedProgrammablePSU(object):
    def setupUi(self, AdvancedProgrammablePSU):
        AdvancedProgrammablePSU.setObjectName("AdvancedProgrammablePSU")
        AdvancedProgrammablePSU.resize(420, 180)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(AdvancedProgrammablePSU)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_4 = QtWidgets.QLabel(AdvancedProgrammablePSU)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 1)
        self.label_5 = QtWidgets.QLabel(AdvancedProgrammablePSU)
        self.label_5.setObjectName("label_5")
        self.gridLayout_2.addWidget(self.label_5, 0, 1, 1, 1)
        self.label_6 = QtWidgets.QLabel(AdvancedProgrammablePSU)
        self.label_6.setObjectName("label_6")
        self.gridLayout_2.addWidget(self.label_6, 0, 2, 1, 1)
        self.label_7 = QtWidgets.QLabel(AdvancedProgrammablePSU)
        self.label_7.setObjectName("label_7")
        self.gridLayout_2.addWidget(self.label_7, 0, 3, 1, 1)
        self.label = QtWidgets.QLabel(AdvancedProgrammablePSU)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 1, 0, 1, 1)
        self.dspin_voltage = QtWidgets.QDoubleSpinBox(AdvancedProgrammablePSU)
        self.dspin_voltage.setDecimals(3)
        self.dspin_voltage.setObjectName("dspin_voltage")
        self.gridLayout_2.addWidget(self.dspin_voltage, 1, 1, 1, 1)
        self.pb_set_voltage = QtWidgets.QPushButton(AdvancedProgrammablePSU)
        self.pb_set_voltage.setObjectName("pb_set_voltage")
        self.gridLayout_2.addWidget(self.pb_set_voltage, 1, 2, 1, 1)
        self.la_measured_voltage = QtWidgets.QLabel(AdvancedProgrammablePSU)
        self.la_measured_voltage.setObjectName("la_measured_voltage")
        self.gridLayout_2.addWidget(self.la_measured_voltage, 1, 3, 1, 1)
        self.che_OVP = QtWidgets.QCheckBox(AdvancedProgrammablePSU)
        self.che_OVP.setObjectName("che_OVP")
        self.gridLayout_2.addWidget(self.che_OVP, 2, 0, 1, 1)
        self.dspin_OVP = QtWidgets.QDoubleSpinBox(AdvancedProgrammablePSU)
        self.dspin_OVP.setDecimals(3)
        self.dspin_OVP.setObjectName("dspin_OVP")
        self.gridLayout_2.addWidget(self.dspin_OVP, 2, 1, 1, 1)
        self.pb_set_OVP = QtWidgets.QPushButton(AdvancedProgrammablePSU)
        self.pb_set_OVP.setObjectName("pb_set_OVP")
        self.gridLayout_2.addWidget(self.pb_set_OVP, 2, 2, 1, 1)
        self.la_OVP_value = QtWidgets.QLabel(AdvancedProgrammablePSU)
        self.la_OVP_value.setObjectName("la_OVP_value")
        self.gridLayout_2.addWidget(self.la_OVP_value, 2, 3, 1, 1)
        self.label_2 = QtWidgets.QLabel(AdvancedProgrammablePSU)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 3, 0, 1, 1)
        self.dspin_current = QtWidgets.QDoubleSpinBox(AdvancedProgrammablePSU)
        self.dspin_current.setDecimals(3)
        self.dspin_current.setObjectName("dspin_current")
        self.gridLayout_2.addWidget(self.dspin_current, 3, 1, 1, 1)
        self.pb_set_current = QtWidgets.QPushButton(AdvancedProgrammablePSU)
        self.pb_set_current.setObjectName("pb_set_current")
        self.gridLayout_2.addWidget(self.pb_set_current, 3, 2, 1, 1)
        self.la_measured_current = QtWidgets.QLabel(AdvancedProgrammablePSU)
        self.la_measured_current.setObjectName("la_measured_current")
        self.gridLayout_2.addWidget(self.la_measured_current, 3, 3, 1, 1)
        self.che_OCP = QtWidgets.QCheckBox(AdvancedProgrammablePSU)
        self.che_OCP.setObjectName("che_OCP")
        self.gridLayout_2.addWidget(self.che_OCP, 4, 0, 1, 1)
        self.dspin_OCP = QtWidgets.QDoubleSpinBox(AdvancedProgrammablePSU)
        self.dspin_OCP.setDecimals(3)
        self.dspin_OCP.setObjectName("dspin_OCP")
        self.gridLayout_2.addWidget(self.dspin_OCP, 4, 1, 1, 1)
        self.pb_set_OCP = QtWidgets.QPushButton(AdvancedProgrammablePSU)
        self.pb_set_OCP.setObjectName("pb_set_OCP")
        self.gridLayout_2.addWidget(self.pb_set_OCP, 4, 2, 1, 1)
        self.la_OCP_value = QtWidgets.QLabel(AdvancedProgrammablePSU)
        self.la_OCP_value.setObjectName("la_OCP_value")
        self.gridLayout_2.addWidget(self.la_OCP_value, 4, 3, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout_2)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.che_output_enable = QtWidgets.QCheckBox(AdvancedProgrammablePSU)
        self.che_output_enable.setObjectName("che_output_enable")
        self.horizontalLayout.addWidget(self.che_output_enable)
        self.che_continuous_measurement = QtWidgets.QCheckBox(AdvancedProgrammablePSU)
        self.che_continuous_measurement.setObjectName("che_continuous_measurement")
        self.horizontalLayout.addWidget(self.che_continuous_measurement)
        self.che_continuous_read = QtWidgets.QCheckBox(AdvancedProgrammablePSU)
        self.che_continuous_read.setObjectName("che_continuous_read")
        self.horizontalLayout.addWidget(self.che_continuous_read)
        self.pb_readback = QtWidgets.QPushButton(AdvancedProgrammablePSU)
        self.pb_readback.setObjectName("pb_readback")
        self.horizontalLayout.addWidget(self.pb_readback)
        self.verticalLayout_2.addLayout(self.horizontalLayout)

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

    def retranslateUi(self, AdvancedProgrammablePSU):
        _translate = QtCore.QCoreApplication.translate
        AdvancedProgrammablePSU.setWindowTitle(_translate("AdvancedProgrammablePSU", "Form"))
        self.label_4.setText(_translate("AdvancedProgrammablePSU", "Parameter"))
        self.label_5.setText(_translate("AdvancedProgrammablePSU", "Value"))
        self.label_6.setText(_translate("AdvancedProgrammablePSU", "SET"))
        self.label_7.setText(_translate("AdvancedProgrammablePSU", "Readback"))
        self.label.setText(_translate("AdvancedProgrammablePSU", "Voltage:"))
        self.pb_set_voltage.setText(_translate("AdvancedProgrammablePSU", "SET"))
        self.la_measured_voltage.setText(_translate("AdvancedProgrammablePSU", "32V"))
        self.che_OVP.setText(_translate("AdvancedProgrammablePSU", "OVP"))
        self.pb_set_OVP.setText(_translate("AdvancedProgrammablePSU", "SET"))
        self.la_OVP_value.setText(_translate("AdvancedProgrammablePSU", "32V"))
        self.label_2.setText(_translate("AdvancedProgrammablePSU", "Current:"))
        self.pb_set_current.setText(_translate("AdvancedProgrammablePSU", "SET"))
        self.la_measured_current.setText(_translate("AdvancedProgrammablePSU", "1A"))
        self.che_OCP.setText(_translate("AdvancedProgrammablePSU", "OCP"))
        self.pb_set_OCP.setText(_translate("AdvancedProgrammablePSU", "SET"))
        self.la_OCP_value.setText(_translate("AdvancedProgrammablePSU", "32V"))
        self.che_output_enable.setText(_translate("AdvancedProgrammablePSU", "Output"))
        self.che_continuous_measurement.setText(_translate("AdvancedProgrammablePSU", "Continuous Measurement"))
        self.che_continuous_read.setText(_translate("AdvancedProgrammablePSU", "Continuous Read"))
        self.pb_readback.setText(_translate("AdvancedProgrammablePSU", "loadAll"))
