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

# Form implementation generated from reading ui file 'main_window.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_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(881, 742)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMinimumSize(QtCore.QSize(220, 0))
        self.groupBox.setMaximumSize(QtCore.QSize(157, 16777215))
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_5 = QtWidgets.QLabel(self.groupBox)
        self.label_5.setObjectName("label_5")
        self.gridLayout_3.addWidget(self.label_5, 0, 1, 1, 1)
        self.connectButton = QtWidgets.QPushButton(self.groupBox)
        self.connectButton.setCheckable(True)
        self.connectButton.setObjectName("connectButton")
        self.gridLayout_3.addWidget(self.connectButton, 5, 0, 1, 3)
        self.localRadioButton = QtWidgets.QRadioButton(self.groupBox)
        self.localRadioButton.setObjectName("localRadioButton")
        self.gridLayout_3.addWidget(self.localRadioButton, 4, 0, 1, 3)
        self.remoteRadioButton = QtWidgets.QRadioButton(self.groupBox)
        self.remoteRadioButton.setChecked(True)
        self.remoteRadioButton.setObjectName("remoteRadioButton")
        self.gridLayout_3.addWidget(self.remoteRadioButton, 3, 0, 1, 3)
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self.gridLayout_3.addWidget(self.label, 0, 0, 1, 1)
        self.ip_address = QtWidgets.QLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ip_address.sizePolicy().hasHeightForWidth())
        self.ip_address.setSizePolicy(sizePolicy)
        self.ip_address.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ip_address.setAlignment(QtCore.Qt.AlignCenter)
        self.ip_address.setObjectName("ip_address")
        self.gridLayout_3.addWidget(self.ip_address, 1, 0, 1, 1)
        self.portField = QtWidgets.QLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.portField.sizePolicy().hasHeightForWidth())
        self.portField.setSizePolicy(sizePolicy)
        self.portField.setMaximumSize(QtCore.QSize(50, 16777215))
        self.portField.setObjectName("portField")
        self.gridLayout_3.addWidget(self.portField, 1, 1, 1, 2)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem, 6, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 1)
        self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label_2 = QtWidgets.QLabel(self.groupBox_2)
        self.label_2.setObjectName("label_2")
        self.gridLayout_4.addWidget(self.label_2, 0, 0, 1, 1)
        self.out_ch1 = QtWidgets.QLineEdit(self.groupBox_2)
        self.out_ch1.setObjectName("out_ch1")
        self.gridLayout_4.addWidget(self.out_ch1, 2, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.groupBox_2)
        self.label_3.setObjectName("label_3")
        self.gridLayout_4.addWidget(self.label_3, 0, 2, 1, 1)
        self.temp_ch2 = QtWidgets.QLineEdit(self.groupBox_2)
        self.temp_ch2.setObjectName("temp_ch2")
        self.gridLayout_4.addWidget(self.temp_ch2, 3, 0, 1, 1)
        self.out_ch2 = QtWidgets.QLineEdit(self.groupBox_2)
        self.out_ch2.setObjectName("out_ch2")
        self.gridLayout_4.addWidget(self.out_ch2, 3, 1, 1, 1)
        self.out_ch3 = QtWidgets.QLineEdit(self.groupBox_2)
        self.out_ch3.setObjectName("out_ch3")
        self.gridLayout_4.addWidget(self.out_ch3, 4, 1, 1, 1)
        self.temp_ch0 = QtWidgets.QLineEdit(self.groupBox_2)
        self.temp_ch0.setObjectName("temp_ch0")
        self.gridLayout_4.addWidget(self.temp_ch0, 1, 0, 1, 1)
        self.enable_ch3 = QtWidgets.QPushButton(self.groupBox_2)
        self.enable_ch3.setStyleSheet("background-color: rgb(255,0,0)")
        self.enable_ch3.setText("")
        self.enable_ch3.setObjectName("enable_ch3")
        self.gridLayout_4.addWidget(self.enable_ch3, 4, 2, 1, 1)
        self.temp_ch1 = QtWidgets.QLineEdit(self.groupBox_2)
        self.temp_ch1.setObjectName("temp_ch1")
        self.gridLayout_4.addWidget(self.temp_ch1, 2, 0, 1, 1)
        self.enable_ch2 = QtWidgets.QPushButton(self.groupBox_2)
        self.enable_ch2.setStyleSheet("background-color: rgb(255,0,0)")
        self.enable_ch2.setText("")
        self.enable_ch2.setObjectName("enable_ch2")
        self.gridLayout_4.addWidget(self.enable_ch2, 3, 2, 1, 1)
        self.temp_ch3 = QtWidgets.QLineEdit(self.groupBox_2)
        self.temp_ch3.setObjectName("temp_ch3")
        self.gridLayout_4.addWidget(self.temp_ch3, 4, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.groupBox_2)
        self.label_4.setObjectName("label_4")
        self.gridLayout_4.addWidget(self.label_4, 0, 1, 1, 1)
        self.out_ch0 = QtWidgets.QLineEdit(self.groupBox_2)
        self.out_ch0.setObjectName("out_ch0")
        self.gridLayout_4.addWidget(self.out_ch0, 1, 1, 1, 1)
        self.enable_ch0 = QtWidgets.QPushButton(self.groupBox_2)
        self.enable_ch0.setStyleSheet("background-color: rgb(255,0,0)")
        self.enable_ch0.setText("")
        self.enable_ch0.setCheckable(False)
        self.enable_ch0.setChecked(False)
        self.enable_ch0.setObjectName("enable_ch0")
        self.gridLayout_4.addWidget(self.enable_ch0, 1, 2, 1, 1)
        self.enable_ch1 = QtWidgets.QPushButton(self.groupBox_2)
        self.enable_ch1.setStyleSheet("background-color: rgb(255,0,0)")
        self.enable_ch1.setText("")
        self.enable_ch1.setObjectName("enable_ch1")
        self.gridLayout_4.addWidget(self.enable_ch1, 2, 2, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem1, 5, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox_2, 0, 1, 1, 1)
        self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
        self.tabWidget.setObjectName("tabWidget")
        self.tab_0 = QtWidgets.QWidget()
        self.tab_0.setObjectName("tab_0")
        self.layout_ch0 = QtWidgets.QHBoxLayout(self.tab_0)
        self.layout_ch0.setObjectName("layout_ch0")
        self.tabWidget.addTab(self.tab_0, "")
        self.tab_1 = QtWidgets.QWidget()
        self.tab_1.setObjectName("tab_1")
        self.layout_ch1 = QtWidgets.QHBoxLayout(self.tab_1)
        self.layout_ch1.setObjectName("layout_ch1")
        self.tabWidget.addTab(self.tab_1, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.layout_ch2 = QtWidgets.QHBoxLayout(self.tab_2)
        self.layout_ch2.setObjectName("layout_ch2")
        self.tabWidget.addTab(self.tab_2, "")
        self.tab_3 = QtWidgets.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.layout_ch3 = QtWidgets.QHBoxLayout(self.tab_3)
        self.layout_ch3.setObjectName("layout_ch3")
        self.tabWidget.addTab(self.tab_3, "")
        self.gridLayout_2.addWidget(self.tabWidget, 1, 0, 1, 2)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 881, 22))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.groupBox.setTitle(_translate("MainWindow", "Connection setup"))
        self.label_5.setText(_translate("MainWindow", "Port:"))
        self.connectButton.setText(_translate("MainWindow", "Connect"))
        self.localRadioButton.setText(_translate("MainWindow", "use local settings"))
        self.remoteRadioButton.setText(_translate("MainWindow", "use remote settings"))
        self.label.setText(_translate("MainWindow", "IP:"))
        self.ip_address.setText(_translate("MainWindow", "134.96.13.239"))
        self.portField.setText(_translate("MainWindow", "2000"))
        self.groupBox_2.setTitle(_translate("MainWindow", "Overview"))
        self.label_2.setText(_translate("MainWindow", "temperatures (°C)"))
        self.label_3.setText(_translate("MainWindow", "PID enabled"))
        self.label_4.setText(_translate("MainWindow", "outputs (V)"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_0), _translate("MainWindow", "Channel 0"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_1), _translate("MainWindow", "Channel 1"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Channel 2"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Channel 3"))
