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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/red/ui/red_tab_settings_brickd.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_REDTabSettingsBrickd(object):
    def setupUi(self, REDTabSettingsBrickd):
        REDTabSettingsBrickd.setObjectName("REDTabSettingsBrickd")
        REDTabSettingsBrickd.resize(474, 553)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(REDTabSettingsBrickd)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.scrollArea = QtWidgets.QScrollArea(REDTabSettingsBrickd)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 460, 539))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout_4 = QtWidgets.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.sbox_brickd_la_ip2 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        self.sbox_brickd_la_ip2.setMaximum(255)
        self.sbox_brickd_la_ip2.setObjectName("sbox_brickd_la_ip2")
        self.gridLayout_4.addWidget(self.sbox_brickd_la_ip2, 0, 2, 1, 1)
        self.sbox_brickd_lwsp = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        self.sbox_brickd_lwsp.setMaximum(65535)
        self.sbox_brickd_lwsp.setObjectName("sbox_brickd_lwsp")
        self.gridLayout_4.addWidget(self.sbox_brickd_lwsp, 2, 1, 1, 4)
        self.sbox_brickd_la_ip1 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        self.sbox_brickd_la_ip1.setMaximum(255)
        self.sbox_brickd_la_ip1.setObjectName("sbox_brickd_la_ip1")
        self.gridLayout_4.addWidget(self.sbox_brickd_la_ip1, 0, 1, 1, 1)
        self.label_15 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_15.setObjectName("label_15")
        self.gridLayout_4.addWidget(self.label_15, 1, 0, 1, 1)
        self.sbox_brickd_la_ip3 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        self.sbox_brickd_la_ip3.setMaximum(255)
        self.sbox_brickd_la_ip3.setObjectName("sbox_brickd_la_ip3")
        self.gridLayout_4.addWidget(self.sbox_brickd_la_ip3, 0, 3, 1, 1)
        self.sbox_brickd_la_ip4 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        self.sbox_brickd_la_ip4.setMaximum(255)
        self.sbox_brickd_la_ip4.setObjectName("sbox_brickd_la_ip4")
        self.gridLayout_4.addWidget(self.sbox_brickd_la_ip4, 0, 4, 1, 1)
        self.sbox_brickd_lp = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        self.sbox_brickd_lp.setMaximum(65535)
        self.sbox_brickd_lp.setObjectName("sbox_brickd_lp")
        self.gridLayout_4.addWidget(self.sbox_brickd_lp, 1, 1, 1, 4)
        self.label_16 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_16.setObjectName("label_16")
        self.gridLayout_4.addWidget(self.label_16, 2, 0, 1, 1)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.pbutton_brickd_refresh = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
        self.pbutton_brickd_refresh.setObjectName("pbutton_brickd_refresh")
        self.horizontalLayout_5.addWidget(self.pbutton_brickd_refresh)
        self.pbutton_brickd_save = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
        self.pbutton_brickd_save.setEnabled(False)
        self.pbutton_brickd_save.setObjectName("pbutton_brickd_save")
        self.horizontalLayout_5.addWidget(self.pbutton_brickd_save)
        self.gridLayout_4.addLayout(self.horizontalLayout_5, 10, 0, 1, 5)
        self.label = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label.setObjectName("label")
        self.gridLayout_4.addWidget(self.label, 3, 0, 1, 1)
        self.ledit_brickd_secret = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ledit_brickd_secret.setObjectName("ledit_brickd_secret")
        self.gridLayout_4.addWidget(self.ledit_brickd_secret, 3, 1, 1, 4)
        self.line_5 = QtWidgets.QFrame(self.scrollAreaWidgetContents)
        self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.gridLayout_4.addWidget(self.line_5, 9, 0, 1, 5)
        self.label_13 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_13.setObjectName("label_13")
        self.gridLayout_4.addWidget(self.label_13, 4, 0, 1, 1)
        self.cbox_brickd_ll = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cbox_brickd_ll.sizePolicy().hasHeightForWidth())
        self.cbox_brickd_ll.setSizePolicy(sizePolicy)
        self.cbox_brickd_ll.setObjectName("cbox_brickd_ll")
        self.gridLayout_4.addWidget(self.cbox_brickd_ll, 4, 1, 1, 4)
        self.label_14 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_14.setObjectName("label_14")
        self.gridLayout_4.addWidget(self.label_14, 5, 0, 1, 1)
        self.label_17 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_17.setObjectName("label_17")
        self.gridLayout_4.addWidget(self.label_17, 6, 0, 1, 1)
        self.label_18 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_18.setObjectName("label_18")
        self.gridLayout_4.addWidget(self.label_18, 7, 0, 1, 1)
        self.label_21 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_21.setObjectName("label_21")
        self.gridLayout_4.addWidget(self.label_21, 8, 0, 1, 1)
        self.cbox_brickd_gt = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        self.cbox_brickd_gt.setObjectName("cbox_brickd_gt")
        self.gridLayout_4.addWidget(self.cbox_brickd_gt, 8, 1, 1, 4)
        self.cbox_brickd_rt = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        self.cbox_brickd_rt.setObjectName("cbox_brickd_rt")
        self.gridLayout_4.addWidget(self.cbox_brickd_rt, 7, 1, 1, 4)
        self.sbox_brickd_rs485_dly = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        self.sbox_brickd_rs485_dly.setMinimum(50)
        self.sbox_brickd_rs485_dly.setMaximum(2000000)
        self.sbox_brickd_rs485_dly.setObjectName("sbox_brickd_rs485_dly")
        self.gridLayout_4.addWidget(self.sbox_brickd_rs485_dly, 6, 1, 1, 4)
        self.sbox_brickd_spi_dly = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        self.sbox_brickd_spi_dly.setMinimum(50)
        self.sbox_brickd_spi_dly.setMaximum(2000000)
        self.sbox_brickd_spi_dly.setObjectName("sbox_brickd_spi_dly")
        self.gridLayout_4.addWidget(self.sbox_brickd_spi_dly, 5, 1, 1, 4)
        self.label_7 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_7.setObjectName("label_7")
        self.gridLayout_4.addWidget(self.label_7, 0, 0, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_4)
        spacerItem = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_2.addWidget(self.scrollArea)
        self.label_15.setBuddy(self.sbox_brickd_lp)
        self.label_16.setBuddy(self.sbox_brickd_lwsp)
        self.label.setBuddy(self.ledit_brickd_secret)
        self.label_13.setBuddy(self.cbox_brickd_ll)
        self.label_14.setBuddy(self.sbox_brickd_spi_dly)
        self.label_17.setBuddy(self.sbox_brickd_rs485_dly)
        self.label_18.setBuddy(self.cbox_brickd_rt)
        self.label_21.setBuddy(self.cbox_brickd_gt)
        self.label_7.setBuddy(self.sbox_brickd_la_ip1)

        self.retranslateUi(REDTabSettingsBrickd)
        QtCore.QMetaObject.connectSlotsByName(REDTabSettingsBrickd)
        REDTabSettingsBrickd.setTabOrder(self.scrollArea, self.sbox_brickd_la_ip1)
        REDTabSettingsBrickd.setTabOrder(self.sbox_brickd_la_ip1, self.sbox_brickd_la_ip2)
        REDTabSettingsBrickd.setTabOrder(self.sbox_brickd_la_ip2, self.sbox_brickd_la_ip3)
        REDTabSettingsBrickd.setTabOrder(self.sbox_brickd_la_ip3, self.sbox_brickd_la_ip4)
        REDTabSettingsBrickd.setTabOrder(self.sbox_brickd_la_ip4, self.sbox_brickd_lp)
        REDTabSettingsBrickd.setTabOrder(self.sbox_brickd_lp, self.sbox_brickd_lwsp)
        REDTabSettingsBrickd.setTabOrder(self.sbox_brickd_lwsp, self.ledit_brickd_secret)
        REDTabSettingsBrickd.setTabOrder(self.ledit_brickd_secret, self.cbox_brickd_ll)
        REDTabSettingsBrickd.setTabOrder(self.cbox_brickd_ll, self.sbox_brickd_spi_dly)
        REDTabSettingsBrickd.setTabOrder(self.sbox_brickd_spi_dly, self.sbox_brickd_rs485_dly)
        REDTabSettingsBrickd.setTabOrder(self.sbox_brickd_rs485_dly, self.cbox_brickd_rt)
        REDTabSettingsBrickd.setTabOrder(self.cbox_brickd_rt, self.cbox_brickd_gt)
        REDTabSettingsBrickd.setTabOrder(self.cbox_brickd_gt, self.pbutton_brickd_refresh)
        REDTabSettingsBrickd.setTabOrder(self.pbutton_brickd_refresh, self.pbutton_brickd_save)

    def retranslateUi(self, REDTabSettingsBrickd):
        _translate = QtCore.QCoreApplication.translate
        REDTabSettingsBrickd.setWindowTitle(_translate("REDTabSettingsBrickd", "Form"))
        self.label_15.setText(_translate("REDTabSettingsBrickd", "Port:"))
        self.label_16.setText(_translate("REDTabSettingsBrickd", "WebSocket Port:"))
        self.pbutton_brickd_refresh.setText(_translate("REDTabSettingsBrickd", "Refresh"))
        self.pbutton_brickd_save.setText(_translate("REDTabSettingsBrickd", "Save and Restart Brick Daemon"))
        self.label.setText(_translate("REDTabSettingsBrickd", "Authentication Secret:"))
        self.label_13.setText(_translate("REDTabSettingsBrickd", "Log Level:"))
        self.label_14.setText(_translate("REDTabSettingsBrickd", "SPI Poll Delay:"))
        self.label_17.setText(_translate("REDTabSettingsBrickd", "RS485 Poll Delay:"))
        self.label_18.setText(_translate("REDTabSettingsBrickd", "Red LED Trigger:"))
        self.label_21.setText(_translate("REDTabSettingsBrickd", "Green LED Trigger:"))
        self.sbox_brickd_rs485_dly.setSuffix(_translate("REDTabSettingsBrickd", " microseconds"))
        self.sbox_brickd_spi_dly.setSuffix(_translate("REDTabSettingsBrickd", " microseconds"))
        self.label_7.setText(_translate("REDTabSettingsBrickd", "Listen Address:"))
