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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/master/ui/chibi.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_Chibi(object):
    def setupUi(self, Chibi):
        Chibi.setObjectName("Chibi")
        Chibi.resize(533, 557)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(Chibi)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.scrollArea = QtWidgets.QScrollArea(Chibi)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 513, 537))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_4 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.signal_strength_label = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.signal_strength_label.sizePolicy().hasHeightForWidth())
        self.signal_strength_label.setSizePolicy(sizePolicy)
        self.signal_strength_label.setObjectName("signal_strength_label")
        self.gridLayout.addWidget(self.signal_strength_label, 0, 1, 1, 1)
        self.label = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 2, 0, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 3, 0, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 4, 0, 1, 1)
        self.address_spinbox = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        self.address_spinbox.setMaximum(255)
        self.address_spinbox.setObjectName("address_spinbox")
        self.gridLayout.addWidget(self.address_spinbox, 2, 1, 1, 1)
        self.chibi_frequency = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chibi_frequency.sizePolicy().hasHeightForWidth())
        self.chibi_frequency.setSizePolicy(sizePolicy)
        self.chibi_frequency.setObjectName("chibi_frequency")
        self.chibi_frequency.addItem("")
        self.chibi_frequency.addItem("")
        self.chibi_frequency.addItem("")
        self.chibi_frequency.addItem("")
        self.gridLayout.addWidget(self.chibi_frequency, 3, 1, 1, 1)
        self.chibi_channel = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        self.chibi_channel.setObjectName("chibi_channel")
        self.chibi_channel.addItem("")
        self.chibi_channel.addItem("")
        self.chibi_channel.addItem("")
        self.chibi_channel.addItem("")
        self.chibi_channel.addItem("")
        self.chibi_channel.addItem("")
        self.chibi_channel.addItem("")
        self.chibi_channel.addItem("")
        self.chibi_channel.addItem("")
        self.chibi_channel.addItem("")
        self.chibi_channel.addItem("")
        self.gridLayout.addWidget(self.chibi_channel, 4, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 6, 0, 1, 1)
        self.line_2 = QtWidgets.QFrame(self.scrollAreaWidgetContents)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout.addWidget(self.line_2, 5, 0, 1, 2)
        self.chibi_type = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        self.chibi_type.setObjectName("chibi_type")
        self.chibi_type.addItem("")
        self.chibi_type.addItem("")
        self.gridLayout.addWidget(self.chibi_type, 6, 1, 1, 1)
        self.label_master_address = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_master_address.setObjectName("label_master_address")
        self.gridLayout.addWidget(self.label_master_address, 7, 0, 1, 1)
        self.master_address_spinbox = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        self.master_address_spinbox.setMaximum(255)
        self.master_address_spinbox.setObjectName("master_address_spinbox")
        self.gridLayout.addWidget(self.master_address_spinbox, 7, 1, 1, 1)
        self.label_slave_addresses_help = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_slave_addresses_help.setWordWrap(True)
        self.label_slave_addresses_help.setObjectName("label_slave_addresses_help")
        self.gridLayout.addWidget(self.label_slave_addresses_help, 9, 1, 1, 1)
        self.label_slave_addresses = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_slave_addresses.setObjectName("label_slave_addresses")
        self.gridLayout.addWidget(self.label_slave_addresses, 8, 0, 1, 1)
        self.lineedit_slave_address = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.lineedit_slave_address.setObjectName("lineedit_slave_address")
        self.gridLayout.addWidget(self.lineedit_slave_address, 8, 1, 1, 1)
        self.save_button = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
        self.save_button.setObjectName("save_button")
        self.gridLayout.addWidget(self.save_button, 11, 0, 1, 2)
        self.line_3 = QtWidgets.QFrame(self.scrollAreaWidgetContents)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.gridLayout.addWidget(self.line_3, 10, 0, 1, 2)
        self.line = QtWidgets.QFrame(self.scrollAreaWidgetContents)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout.addWidget(self.line, 1, 0, 1, 2)
        self.verticalLayout.addLayout(self.gridLayout)
        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.retranslateUi(Chibi)
        QtCore.QMetaObject.connectSlotsByName(Chibi)
        Chibi.setTabOrder(self.scrollArea, self.address_spinbox)
        Chibi.setTabOrder(self.address_spinbox, self.chibi_frequency)
        Chibi.setTabOrder(self.chibi_frequency, self.chibi_channel)
        Chibi.setTabOrder(self.chibi_channel, self.chibi_type)
        Chibi.setTabOrder(self.chibi_type, self.master_address_spinbox)
        Chibi.setTabOrder(self.master_address_spinbox, self.lineedit_slave_address)
        Chibi.setTabOrder(self.lineedit_slave_address, self.save_button)

    def retranslateUi(self, Chibi):
        _translate = QtCore.QCoreApplication.translate
        Chibi.setWindowTitle(_translate("Chibi", "Form"))
        self.label_4.setText(_translate("Chibi", "Signal Strength:"))
        self.signal_strength_label.setText(_translate("Chibi", "0 dBm"))
        self.label.setText(_translate("Chibi", "Address:"))
        self.label_6.setText(_translate("Chibi", "Frequency:"))
        self.label_8.setText(_translate("Chibi", "Channel:"))
        self.chibi_frequency.setItemText(0, _translate("Chibi", "OQPSK 868Mhz (Europe)"))
        self.chibi_frequency.setItemText(1, _translate("Chibi", "OQPSK 915Mhz (US)"))
        self.chibi_frequency.setItemText(2, _translate("Chibi", "OQPSK 780Mhz (China)"))
        self.chibi_frequency.setItemText(3, _translate("Chibi", "BPSK40 915Mhz"))
        self.chibi_channel.setItemText(0, _translate("Chibi", "0"))
        self.chibi_channel.setItemText(1, _translate("Chibi", "1"))
        self.chibi_channel.setItemText(2, _translate("Chibi", "2"))
        self.chibi_channel.setItemText(3, _translate("Chibi", "3"))
        self.chibi_channel.setItemText(4, _translate("Chibi", "4"))
        self.chibi_channel.setItemText(5, _translate("Chibi", "5"))
        self.chibi_channel.setItemText(6, _translate("Chibi", "6"))
        self.chibi_channel.setItemText(7, _translate("Chibi", "7"))
        self.chibi_channel.setItemText(8, _translate("Chibi", "8"))
        self.chibi_channel.setItemText(9, _translate("Chibi", "9"))
        self.chibi_channel.setItemText(10, _translate("Chibi", "10"))
        self.label_7.setText(_translate("Chibi", "Type:"))
        self.chibi_type.setItemText(0, _translate("Chibi", "Slave"))
        self.chibi_type.setItemText(1, _translate("Chibi", "Master"))
        self.label_master_address.setText(_translate("Chibi", "Master Address:"))
        self.label_slave_addresses_help.setText(_translate("Chibi", "As comma separated list e.g. \"5\" (one slave with address 5) or \"1,2,42\" (three slaves with addresses 1, 2 and 42)."))
        self.label_slave_addresses.setText(_translate("Chibi", "Slave Addresses:"))
        self.save_button.setText(_translate("Chibi", "Save Chibi Configuration"))
