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

# Form implementation generated from reading ui file 'channel.ui'
#
# Created by: PyQt5 UI code generator 5.14.1
#
# WARNING! All changes made in this file will be lost!


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(846, 423)
        self.gridLayout = QtWidgets.QGridLayout(Form)
        self.gridLayout.setObjectName("gridLayout")
        spacerItem = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 6, 1, 1, 1)
        self.label = QtWidgets.QLabel(Form)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(Form)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        self.gridLayout.addItem(spacerItem1, 7, 1, 1, 1)
        self.PIDenableButton = QtWidgets.QPushButton(Form)
        self.PIDenableButton.setStyleSheet("background-color: rgb(255,0,0)")
        self.PIDenableButton.setCheckable(True)
        self.PIDenableButton.setObjectName("PIDenableButton")
        self.gridLayout.addWidget(self.PIDenableButton, 4, 0, 1, 1)
        self.setpointBox = QtWidgets.QDoubleSpinBox(Form)
        self.setpointBox.setDecimals(4)
        self.setpointBox.setSingleStep(0.01)
        self.setpointBox.setProperty("value", 22.0)
        self.setpointBox.setObjectName("setpointBox")
        self.gridLayout.addWidget(self.setpointBox, 0, 1, 1, 1)
        self.kdBox = QtWidgets.QDoubleSpinBox(Form)
        self.kdBox.setMinimum(-99.0)
        self.kdBox.setSingleStep(0.01)
        self.kdBox.setProperty("value", 1.0)
        self.kdBox.setObjectName("kdBox")
        self.gridLayout.addWidget(self.kdBox, 3, 1, 1, 1)
        self.outputBox = QtWidgets.QDoubleSpinBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.outputBox.sizePolicy().hasHeightForWidth())
        self.outputBox.setSizePolicy(sizePolicy)
        self.outputBox.setMaximumSize(QtCore.QSize(100, 16777215))
        self.outputBox.setDecimals(3)
        self.outputBox.setSingleStep(0.01)
        self.outputBox.setObjectName("outputBox")
        self.gridLayout.addWidget(self.outputBox, 5, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(Form)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.kpBox = QtWidgets.QDoubleSpinBox(Form)
        self.kpBox.setMinimum(-99.0)
        self.kpBox.setSingleStep(0.01)
        self.kpBox.setProperty("value", 1.0)
        self.kpBox.setObjectName("kpBox")
        self.gridLayout.addWidget(self.kpBox, 1, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(Form)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.OutputButton = QtWidgets.QPushButton(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.OutputButton.sizePolicy().hasHeightForWidth())
        self.OutputButton.setSizePolicy(sizePolicy)
        self.OutputButton.setMaximumSize(QtCore.QSize(100, 16777215))
        self.OutputButton.setObjectName("OutputButton")
        self.gridLayout.addWidget(self.OutputButton, 5, 1, 1, 1)
        self.kiBox = QtWidgets.QDoubleSpinBox(Form)
        self.kiBox.setMinimum(-99.0)
        self.kiBox.setSingleStep(0.01)
        self.kiBox.setProperty("value", 1.0)
        self.kiBox.setObjectName("kiBox")
        self.gridLayout.addWidget(self.kiBox, 2, 1, 1, 1)
        self.widget = QtWidgets.QWidget(Form)
        self.widget.setObjectName("widget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.widget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.widget_2 = QtWidgets.QWidget(self.widget)
        self.widget_2.setObjectName("widget_2")
        self.temp_layout = QtWidgets.QHBoxLayout(self.widget_2)
        self.temp_layout.setObjectName("temp_layout")
        self.gridLayout_2.addWidget(self.widget_2, 0, 0, 1, 1)
        self.widget_3 = QtWidgets.QWidget(self.widget)
        self.widget_3.setObjectName("widget_3")
        self.error_layout = QtWidgets.QHBoxLayout(self.widget_3)
        self.error_layout.setObjectName("error_layout")
        self.gridLayout_2.addWidget(self.widget_3, 0, 1, 1, 1)
        self.widget_4 = QtWidgets.QWidget(self.widget)
        self.widget_4.setObjectName("widget_4")
        self.output_layout = QtWidgets.QHBoxLayout(self.widget_4)
        self.output_layout.setObjectName("output_layout")
        self.gridLayout_2.addWidget(self.widget_4, 1, 0, 1, 2)
        self.gridLayout.addWidget(self.widget, 0, 2, 8, 1)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.label.setText(_translate("Form", "kp"))
        self.label_2.setText(_translate("Form", "ki"))
        self.PIDenableButton.setText(_translate("Form", "PID enable"))
        self.label_4.setText(_translate("Form", "Setpoint (°C)"))
        self.label_3.setText(_translate("Form", "kd"))
        self.OutputButton.setText(_translate("Form", "Set output"))
