# Form implementation generated from reading ui file 'c:\Users\Filip\Desktop\testApiV2\LowLevelWidgetsPackage\SimpleProgrammablePSUPackage\SimpleProgrammablePSU.ui'
#
# Created by: PyQt6 UI code generator 6.4.2
#
# 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_SImpleProgrammablePSU(object):
    def setupUi(self, SImpleProgrammablePSU):
        SImpleProgrammablePSU.setObjectName("SImpleProgrammablePSU")
        SImpleProgrammablePSU.resize(279, 150)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(SImpleProgrammablePSU)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.pb_set_current = QtWidgets.QPushButton(parent=SImpleProgrammablePSU)
        self.pb_set_current.setObjectName("pb_set_current")
        self.gridLayout.addWidget(self.pb_set_current, 2, 2, 1, 1)
        self.dspin_voltage = QtWidgets.QDoubleSpinBox(parent=SImpleProgrammablePSU)
        self.dspin_voltage.setDecimals(3)
        self.dspin_voltage.setObjectName("dspin_voltage")
        self.gridLayout.addWidget(self.dspin_voltage, 0, 1, 1, 1)
        self.label = QtWidgets.QLabel(parent=SImpleProgrammablePSU)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.pb_set_voltage = QtWidgets.QPushButton(parent=SImpleProgrammablePSU)
        self.pb_set_voltage.setObjectName("pb_set_voltage")
        self.gridLayout.addWidget(self.pb_set_voltage, 0, 2, 1, 1)
        self.dspin_current = QtWidgets.QDoubleSpinBox(parent=SImpleProgrammablePSU)
        self.dspin_current.setDecimals(3)
        self.dspin_current.setObjectName("dspin_current")
        self.gridLayout.addWidget(self.dspin_current, 2, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(parent=SImpleProgrammablePSU)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.label_9 = QtWidgets.QLabel(parent=SImpleProgrammablePSU)
        self.label_9.setObjectName("label_9")
        self.gridLayout.addWidget(self.label_9, 1, 1, 1, 1)
        self.la_measured_voltage = QtWidgets.QLabel(parent=SImpleProgrammablePSU)
        self.la_measured_voltage.setObjectName("la_measured_voltage")
        self.gridLayout.addWidget(self.la_measured_voltage, 1, 2, 1, 1)
        self.label_10 = QtWidgets.QLabel(parent=SImpleProgrammablePSU)
        self.label_10.setObjectName("label_10")
        self.gridLayout.addWidget(self.label_10, 3, 1, 1, 1)
        self.la_measured_current = QtWidgets.QLabel(parent=SImpleProgrammablePSU)
        self.la_measured_current.setObjectName("la_measured_current")
        self.gridLayout.addWidget(self.la_measured_current, 3, 2, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.che_output_enable = QtWidgets.QCheckBox(parent=SImpleProgrammablePSU)
        self.che_output_enable.setObjectName("che_output_enable")
        self.horizontalLayout.addWidget(self.che_output_enable)
        self.che_continuous_readback = QtWidgets.QCheckBox(parent=SImpleProgrammablePSU)
        self.che_continuous_readback.setObjectName("che_continuous_readback")
        self.horizontalLayout.addWidget(self.che_continuous_readback)
        self.pb_readback = QtWidgets.QPushButton(parent=SImpleProgrammablePSU)
        self.pb_readback.setObjectName("pb_readback")
        self.horizontalLayout.addWidget(self.pb_readback)
        self.verticalLayout_2.addLayout(self.horizontalLayout)

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

    def retranslateUi(self, SImpleProgrammablePSU):
        _translate = QtCore.QCoreApplication.translate
        SImpleProgrammablePSU.setWindowTitle(_translate("SImpleProgrammablePSU", "Form"))
        self.pb_set_current.setText(_translate("SImpleProgrammablePSU", "SET"))
        self.label.setText(_translate("SImpleProgrammablePSU", "Voltage"))
        self.pb_set_voltage.setText(_translate("SImpleProgrammablePSU", "SET"))
        self.label_2.setText(_translate("SImpleProgrammablePSU", "Current"))
        self.label_9.setText(_translate("SImpleProgrammablePSU", "readback:"))
        self.la_measured_voltage.setText(_translate("SImpleProgrammablePSU", "32V"))
        self.label_10.setText(_translate("SImpleProgrammablePSU", "readback:"))
        self.la_measured_current.setText(_translate("SImpleProgrammablePSU", "25A"))
        self.che_output_enable.setText(_translate("SImpleProgrammablePSU", "Output"))
        self.che_continuous_readback.setText(_translate("SImpleProgrammablePSU", "Continuous read"))
        self.pb_readback.setText(_translate("SImpleProgrammablePSU", "READBACK"))
