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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/hat/ui/hat.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_HAT(object):
    def setupUi(self, HAT):
        HAT.setObjectName("HAT")
        HAT.resize(727, 415)
        self.horizontalLayout = QtWidgets.QHBoxLayout(HAT)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.groupBox_3 = QtWidgets.QGroupBox(HAT)
        self.groupBox_3.setObjectName("groupBox_3")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_13 = QtWidgets.QLabel(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_13.sizePolicy().hasHeightForWidth())
        self.label_13.setSizePolicy(sizePolicy)
        self.label_13.setObjectName("label_13")
        self.gridLayout_3.addWidget(self.label_13, 0, 0, 1, 1)
        self.spinbox_sleep_delay = QtWidgets.QSpinBox(self.groupBox_3)
        self.spinbox_sleep_delay.setSpecialValueText("")
        self.spinbox_sleep_delay.setSuffix(" seconds")
        self.spinbox_sleep_delay.setPrefix("")
        self.spinbox_sleep_delay.setMinimum(1)
        self.spinbox_sleep_delay.setMaximum(1000000)
        self.spinbox_sleep_delay.setProperty("value", 10)
        self.spinbox_sleep_delay.setObjectName("spinbox_sleep_delay")
        self.gridLayout_3.addWidget(self.spinbox_sleep_delay, 0, 1, 1, 1)
        self.label_15 = QtWidgets.QLabel(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_15.sizePolicy().hasHeightForWidth())
        self.label_15.setSizePolicy(sizePolicy)
        self.label_15.setObjectName("label_15")
        self.gridLayout_3.addWidget(self.label_15, 1, 0, 1, 1)
        self.spinbox_sleep_duration = QtWidgets.QSpinBox(self.groupBox_3)
        self.spinbox_sleep_duration.setSuffix(" seconds")
        self.spinbox_sleep_duration.setPrefix("")
        self.spinbox_sleep_duration.setMinimum(1)
        self.spinbox_sleep_duration.setMaximum(100000)
        self.spinbox_sleep_duration.setProperty("value", 100)
        self.spinbox_sleep_duration.setObjectName("spinbox_sleep_duration")
        self.gridLayout_3.addWidget(self.spinbox_sleep_duration, 1, 1, 1, 1)
        self.checkbox_bricklets_off = QtWidgets.QCheckBox(self.groupBox_3)
        self.checkbox_bricklets_off.setChecked(True)
        self.checkbox_bricklets_off.setObjectName("checkbox_bricklets_off")
        self.gridLayout_3.addWidget(self.checkbox_bricklets_off, 2, 0, 1, 2)
        self.checkbox_rpi_off = QtWidgets.QCheckBox(self.groupBox_3)
        self.checkbox_rpi_off.setChecked(True)
        self.checkbox_rpi_off.setObjectName("checkbox_rpi_off")
        self.gridLayout_3.addWidget(self.checkbox_rpi_off, 3, 0, 1, 2)
        self.checkbox_sleep_indicator = QtWidgets.QCheckBox(self.groupBox_3)
        self.checkbox_sleep_indicator.setChecked(True)
        self.checkbox_sleep_indicator.setObjectName("checkbox_sleep_indicator")
        self.gridLayout_3.addWidget(self.checkbox_sleep_indicator, 4, 0, 1, 2)
        self.button_sleep = QtWidgets.QPushButton(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_sleep.sizePolicy().hasHeightForWidth())
        self.button_sleep.setSizePolicy(sizePolicy)
        self.button_sleep.setObjectName("button_sleep")
        self.gridLayout_3.addWidget(self.button_sleep, 5, 0, 1, 2)
        self.verticalLayout_3.addLayout(self.gridLayout_3)
        self.verticalLayout_4.addWidget(self.groupBox_3)
        self.groupBox_2 = QtWidgets.QGroupBox(HAT)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.bricklet_power_checkbox = QtWidgets.QCheckBox(self.groupBox_2)
        self.bricklet_power_checkbox.setChecked(True)
        self.bricklet_power_checkbox.setObjectName("bricklet_power_checkbox")
        self.gridLayout.addWidget(self.bricklet_power_checkbox, 2, 0, 1, 2)
        self.label_2 = QtWidgets.QLabel(self.groupBox_2)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.label = QtWidgets.QLabel(self.groupBox_2)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.label_voltage_usb = QtWidgets.QLabel(self.groupBox_2)
        self.label_voltage_usb.setObjectName("label_voltage_usb")
        self.gridLayout.addWidget(self.label_voltage_usb, 0, 1, 1, 1)
        self.label_voltage_dc = QtWidgets.QLabel(self.groupBox_2)
        self.label_voltage_dc.setObjectName("label_voltage_dc")
        self.gridLayout.addWidget(self.label_voltage_dc, 1, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.verticalLayout_4.addWidget(self.groupBox_2)
        self.groupBox_4 = QtWidgets.QGroupBox(HAT)
        self.groupBox_4.setObjectName("groupBox_4")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.combo_rtc_driver = QtWidgets.QComboBox(self.groupBox_4)
        self.combo_rtc_driver.setObjectName("combo_rtc_driver")
        self.combo_rtc_driver.addItem("")
        self.combo_rtc_driver.addItem("")
        self.gridLayout_2.addWidget(self.combo_rtc_driver, 0, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.groupBox_4)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 0, 0, 1, 1)
        self.verticalLayout_6.addLayout(self.gridLayout_2)
        self.verticalLayout_4.addWidget(self.groupBox_4)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem)
        self.horizontalLayout.addLayout(self.verticalLayout_4)
        self.verticalLayout_5 = QtWidgets.QVBoxLayout()
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.groupBox = QtWidgets.QGroupBox(HAT)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout_4 = QtWidgets.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label_9 = QtWidgets.QLabel(self.groupBox)
        self.label_9.setObjectName("label_9")
        self.gridLayout_4.addWidget(self.label_9, 1, 0, 1, 1)
        self.label_14 = QtWidgets.QLabel(self.groupBox)
        self.label_14.setObjectName("label_14")
        self.gridLayout_4.addWidget(self.label_14, 2, 0, 1, 1)
        self.label_16 = QtWidgets.QLabel(self.groupBox)
        self.label_16.setObjectName("label_16")
        self.gridLayout_4.addWidget(self.label_16, 3, 0, 1, 1)
        self.label_17 = QtWidgets.QLabel(self.groupBox)
        self.label_17.setObjectName("label_17")
        self.gridLayout_4.addWidget(self.label_17, 4, 0, 1, 1)
        self.label_18 = QtWidgets.QLabel(self.groupBox)
        self.label_18.setObjectName("label_18")
        self.gridLayout_4.addWidget(self.label_18, 5, 0, 1, 1)
        self.label_20 = QtWidgets.QLabel(self.groupBox)
        self.label_20.setObjectName("label_20")
        self.gridLayout_4.addWidget(self.label_20, 7, 0, 1, 1)
        self.label_19 = QtWidgets.QLabel(self.groupBox)
        self.label_19.setObjectName("label_19")
        self.gridLayout_4.addWidget(self.label_19, 6, 0, 1, 1)
        self.port_a = QtWidgets.QPushButton(self.groupBox)
        self.port_a.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.port_a.sizePolicy().hasHeightForWidth())
        self.port_a.setSizePolicy(sizePolicy)
        self.port_a.setObjectName("port_a")
        self.gridLayout_4.addWidget(self.port_a, 0, 1, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_8.sizePolicy().hasHeightForWidth())
        self.label_8.setSizePolicy(sizePolicy)
        self.label_8.setObjectName("label_8")
        self.gridLayout_4.addWidget(self.label_8, 0, 0, 1, 1)
        self.port_b = QtWidgets.QPushButton(self.groupBox)
        self.port_b.setEnabled(False)
        self.port_b.setObjectName("port_b")
        self.gridLayout_4.addWidget(self.port_b, 1, 1, 1, 1)
        self.port_c = QtWidgets.QPushButton(self.groupBox)
        self.port_c.setEnabled(False)
        self.port_c.setObjectName("port_c")
        self.gridLayout_4.addWidget(self.port_c, 2, 1, 1, 1)
        self.port_d = QtWidgets.QPushButton(self.groupBox)
        self.port_d.setEnabled(False)
        self.port_d.setObjectName("port_d")
        self.gridLayout_4.addWidget(self.port_d, 3, 1, 1, 1)
        self.port_e = QtWidgets.QPushButton(self.groupBox)
        self.port_e.setEnabled(False)
        self.port_e.setObjectName("port_e")
        self.gridLayout_4.addWidget(self.port_e, 4, 1, 1, 1)
        self.port_f = QtWidgets.QPushButton(self.groupBox)
        self.port_f.setEnabled(False)
        self.port_f.setObjectName("port_f")
        self.gridLayout_4.addWidget(self.port_f, 5, 1, 1, 1)
        self.port_g = QtWidgets.QPushButton(self.groupBox)
        self.port_g.setEnabled(False)
        self.port_g.setObjectName("port_g")
        self.gridLayout_4.addWidget(self.port_g, 6, 1, 1, 1)
        self.port_h = QtWidgets.QPushButton(self.groupBox)
        self.port_h.setEnabled(False)
        self.port_h.setObjectName("port_h")
        self.gridLayout_4.addWidget(self.port_h, 7, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_4)
        self.verticalLayout_5.addWidget(self.groupBox)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem1)
        self.horizontalLayout.addLayout(self.verticalLayout_5)

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

    def retranslateUi(self, HAT):
        _translate = QtCore.QCoreApplication.translate
        HAT.setWindowTitle(_translate("HAT", "Form"))
        self.groupBox_3.setTitle(_translate("HAT", "Sleep"))
        self.label_13.setText(_translate("HAT", "Sleep Delay:"))
        self.label_15.setText(_translate("HAT", "Sleep Duration:"))
        self.checkbox_bricklets_off.setText(_translate("HAT", "Disable Bricklet Power During Sleep"))
        self.checkbox_rpi_off.setText(_translate("HAT", "Disable Raspberry Pi Power During Sleep"))
        self.checkbox_sleep_indicator.setText(_translate("HAT", "Use Sleep Indicator"))
        self.button_sleep.setText(_translate("HAT", "Sleep Now"))
        self.groupBox_2.setTitle(_translate("HAT", "Voltages"))
        self.bricklet_power_checkbox.setText(_translate("HAT", "Enable Bricklet Power"))
        self.label_2.setText(_translate("HAT", "DC Voltage:"))
        self.label.setText(_translate("HAT", "USB Voltage:"))
        self.label_voltage_usb.setText(_translate("HAT", "TBD"))
        self.label_voltage_dc.setText(_translate("HAT", "TBD"))
        self.groupBox_4.setTitle(_translate("HAT", "RTC"))
        self.combo_rtc_driver.setItemText(0, _translate("HAT", "PCF8523"))
        self.combo_rtc_driver.setItemText(1, _translate("HAT", "DS1338"))
        self.label_3.setText(_translate("HAT", "Driver:"))
        self.groupBox.setTitle(_translate("HAT", "Connected Bricklets"))
        self.label_9.setText(_translate("HAT", "Port B:"))
        self.label_14.setText(_translate("HAT", "Port C:"))
        self.label_16.setText(_translate("HAT", "Port D:"))
        self.label_17.setText(_translate("HAT", "Port E:"))
        self.label_18.setText(_translate("HAT", "Port F:"))
        self.label_20.setText(_translate("HAT", "Port H:"))
        self.label_19.setText(_translate("HAT", "Port G:"))
        self.port_a.setText(_translate("HAT", "Not Connected"))
        self.label_8.setText(_translate("HAT", "Port A:"))
        self.port_b.setText(_translate("HAT", "Not Connected"))
        self.port_c.setText(_translate("HAT", "Not Connected"))
        self.port_d.setText(_translate("HAT", "Not Connected"))
        self.port_e.setText(_translate("HAT", "Not Connected"))
        self.port_f.setText(_translate("HAT", "Not Connected"))
        self.port_g.setText(_translate("HAT", "Not Connected"))
        self.port_h.setText(_translate("HAT", "Not Connected"))
