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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/led_strip/ui/led_strip.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_LEDStrip(object):
    def setupUi(self, LEDStrip):
        LEDStrip.setObjectName("LEDStrip")
        LEDStrip.resize(928, 402)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(LEDStrip)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.chip_type_label = QtWidgets.QLabel(LEDStrip)
        self.chip_type_label.setObjectName("chip_type_label")
        self.horizontalLayout_5.addWidget(self.chip_type_label)
        self.chip_type_combobox = QtWidgets.QComboBox(LEDStrip)
        self.chip_type_combobox.setObjectName("chip_type_combobox")
        self.horizontalLayout_5.addWidget(self.chip_type_combobox)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem)
        self.verticalLayout_6.addLayout(self.horizontalLayout_5)
        self.line_5 = QtWidgets.QFrame(LEDStrip)
        self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.verticalLayout_6.addWidget(self.line_5)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(LEDStrip)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.box_num_led = QtWidgets.QSpinBox(LEDStrip)
        self.box_num_led.setMinimum(1)
        self.box_num_led.setMaximum(320)
        self.box_num_led.setObjectName("box_num_led")
        self.horizontalLayout.addWidget(self.box_num_led)
        self.label_5 = QtWidgets.QLabel(LEDStrip)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout.addWidget(self.label_5)
        self.box_frame_duration = QtWidgets.QSpinBox(LEDStrip)
        self.box_frame_duration.setMinimum(10)
        self.box_frame_duration.setMaximum(32768)
        self.box_frame_duration.setProperty("value", 100)
        self.box_frame_duration.setObjectName("box_frame_duration")
        self.horizontalLayout.addWidget(self.box_frame_duration)
        self.label_clock_frequency = QtWidgets.QLabel(LEDStrip)
        self.label_clock_frequency.setObjectName("label_clock_frequency")
        self.horizontalLayout.addWidget(self.label_clock_frequency)
        self.box_clock_frequency = QtWidgets.QSpinBox(LEDStrip)
        self.box_clock_frequency.setMinimum(10000)
        self.box_clock_frequency.setMaximum(2000000)
        self.box_clock_frequency.setSingleStep(100000)
        self.box_clock_frequency.setProperty("value", 1666666)
        self.box_clock_frequency.setObjectName("box_clock_frequency")
        self.horizontalLayout.addWidget(self.box_clock_frequency)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout_6.addLayout(self.horizontalLayout)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.channel_mapping_label = QtWidgets.QLabel(LEDStrip)
        self.channel_mapping_label.setObjectName("channel_mapping_label")
        self.horizontalLayout_7.addWidget(self.channel_mapping_label)
        self.channel_mapping_combobox = QtWidgets.QComboBox(LEDStrip)
        self.channel_mapping_combobox.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.channel_mapping_combobox.setObjectName("channel_mapping_combobox")
        self.horizontalLayout_7.addWidget(self.channel_mapping_combobox)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem2)
        self.verticalLayout_6.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_2 = QtWidgets.QLabel(LEDStrip)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_2.addWidget(self.label_2)
        self.box_r = QtWidgets.QSpinBox(LEDStrip)
        self.box_r.setMaximum(255)
        self.box_r.setProperty("value", 255)
        self.box_r.setObjectName("box_r")
        self.horizontalLayout_2.addWidget(self.box_r)
        self.label_3 = QtWidgets.QLabel(LEDStrip)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_2.addWidget(self.label_3)
        self.box_g = QtWidgets.QSpinBox(LEDStrip)
        self.box_g.setMaximum(255)
        self.box_g.setObjectName("box_g")
        self.horizontalLayout_2.addWidget(self.box_g)
        self.label_4 = QtWidgets.QLabel(LEDStrip)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_2.addWidget(self.label_4)
        self.box_b = QtWidgets.QSpinBox(LEDStrip)
        self.box_b.setMaximum(255)
        self.box_b.setObjectName("box_b")
        self.horizontalLayout_2.addWidget(self.box_b)
        self.label_w = QtWidgets.QLabel(LEDStrip)
        self.label_w.setObjectName("label_w")
        self.horizontalLayout_2.addWidget(self.label_w)
        self.box_w = QtWidgets.QSpinBox(LEDStrip)
        self.box_w.setMaximum(255)
        self.box_w.setObjectName("box_w")
        self.horizontalLayout_2.addWidget(self.box_w)
        self.brightness_label = QtWidgets.QLabel(LEDStrip)
        self.brightness_label.setObjectName("brightness_label")
        self.horizontalLayout_2.addWidget(self.brightness_label)
        self.brightness_slider = QtWidgets.QSlider(LEDStrip)
        self.brightness_slider.setMaximum(31)
        self.brightness_slider.setProperty("value", 31)
        self.brightness_slider.setOrientation(QtCore.Qt.Horizontal)
        self.brightness_slider.setObjectName("brightness_slider")
        self.horizontalLayout_2.addWidget(self.brightness_slider)
        self.button_color = QtWidgets.QPushButton(LEDStrip)
        self.button_color.setObjectName("button_color")
        self.horizontalLayout_2.addWidget(self.button_color)
        self.button_black = QtWidgets.QPushButton(LEDStrip)
        self.button_black.setObjectName("button_black")
        self.horizontalLayout_2.addWidget(self.button_black)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.verticalLayout_6.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_6 = QtWidgets.QLabel(LEDStrip)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_3.addWidget(self.label_6)
        self.box_speed = QtWidgets.QSpinBox(LEDStrip)
        self.box_speed.setMaximum(100)
        self.box_speed.setProperty("value", 1)
        self.box_speed.setObjectName("box_speed")
        self.horizontalLayout_3.addWidget(self.box_speed)
        self.button_dot = QtWidgets.QPushButton(LEDStrip)
        self.button_dot.setObjectName("button_dot")
        self.horizontalLayout_3.addWidget(self.button_dot)
        self.line = QtWidgets.QFrame(LEDStrip)
        self.line.setFrameShape(QtWidgets.QFrame.VLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.horizontalLayout_3.addWidget(self.line)
        self.button_gradient = QtWidgets.QPushButton(LEDStrip)
        self.button_gradient.setObjectName("button_gradient")
        self.horizontalLayout_3.addWidget(self.button_gradient)
        self.label_9 = QtWidgets.QLabel(LEDStrip)
        self.label_9.setObjectName("label_9")
        self.horizontalLayout_3.addWidget(self.label_9)
        self.gradient_intensity = QtWidgets.QSlider(LEDStrip)
        self.gradient_intensity.setMinimum(0)
        self.gradient_intensity.setMaximum(100)
        self.gradient_intensity.setProperty("value", 10)
        self.gradient_intensity.setOrientation(QtCore.Qt.Horizontal)
        self.gradient_intensity.setObjectName("gradient_intensity")
        self.horizontalLayout_3.addWidget(self.gradient_intensity)
        self.label_gradient_intensity = QtWidgets.QLabel(LEDStrip)
        self.label_gradient_intensity.setObjectName("label_gradient_intensity")
        self.horizontalLayout_3.addWidget(self.label_gradient_intensity)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem4)
        self.verticalLayout_6.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_8 = QtWidgets.QLabel(LEDStrip)
        self.label_8.setObjectName("label_8")
        self.horizontalLayout_4.addWidget(self.label_8)
        self.label_voltage = QtWidgets.QLabel(LEDStrip)
        self.label_voltage.setObjectName("label_voltage")
        self.horizontalLayout_4.addWidget(self.label_voltage)
        self.line_3 = QtWidgets.QFrame(LEDStrip)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.horizontalLayout_4.addWidget(self.line_3)
        spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem5)
        self.verticalLayout_6.addLayout(self.horizontalLayout_4)
        spacerItem6 = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_6.addItem(spacerItem6)

        self.retranslateUi(LEDStrip)
        self.channel_mapping_combobox.setCurrentIndex(-1)
        QtCore.QMetaObject.connectSlotsByName(LEDStrip)
        LEDStrip.setTabOrder(self.chip_type_combobox, self.box_num_led)
        LEDStrip.setTabOrder(self.box_num_led, self.box_frame_duration)
        LEDStrip.setTabOrder(self.box_frame_duration, self.box_clock_frequency)
        LEDStrip.setTabOrder(self.box_clock_frequency, self.box_r)
        LEDStrip.setTabOrder(self.box_r, self.box_g)
        LEDStrip.setTabOrder(self.box_g, self.box_b)
        LEDStrip.setTabOrder(self.box_b, self.box_w)
        LEDStrip.setTabOrder(self.box_w, self.button_color)
        LEDStrip.setTabOrder(self.button_color, self.button_black)
        LEDStrip.setTabOrder(self.button_black, self.box_speed)
        LEDStrip.setTabOrder(self.box_speed, self.button_dot)
        LEDStrip.setTabOrder(self.button_dot, self.button_gradient)
        LEDStrip.setTabOrder(self.button_gradient, self.gradient_intensity)

    def retranslateUi(self, LEDStrip):
        _translate = QtCore.QCoreApplication.translate
        LEDStrip.setWindowTitle(_translate("LEDStrip", "Form"))
        self.chip_type_label.setText(_translate("LEDStrip", "Chip Type:"))
        self.label.setText(_translate("LEDStrip", "Number of LEDs:"))
        self.label_5.setText(_translate("LEDStrip", "Frame Duration [ms]:"))
        self.label_clock_frequency.setText(_translate("LEDStrip", "Clock Frequency [Hz]:"))
        self.channel_mapping_label.setText(_translate("LEDStrip", "Channel Mapping:"))
        self.label_2.setText(_translate("LEDStrip", "Color R:"))
        self.label_3.setText(_translate("LEDStrip", "G:"))
        self.label_4.setText(_translate("LEDStrip", "B:"))
        self.label_w.setText(_translate("LEDStrip", "W:"))
        self.brightness_label.setText(_translate("LEDStrip", "Brightness b:"))
        self.button_color.setText(_translate("LEDStrip", "Show Color"))
        self.button_black.setText(_translate("LEDStrip", "Clear Color"))
        self.label_6.setText(_translate("LEDStrip", "Speed:"))
        self.button_dot.setText(_translate("LEDStrip", "Show Moving Color Dot"))
        self.button_gradient.setText(_translate("LEDStrip", "Show Moving Color Gradient"))
        self.label_9.setText(_translate("LEDStrip", "Intensity:"))
        self.label_gradient_intensity.setText(_translate("LEDStrip", "10%"))
        self.label_8.setText(_translate("LEDStrip", "Supply Voltage:"))
        self.label_voltage.setText(_translate("LEDStrip", "-"))
