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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/led_strip_v2/ui/led_strip_v2.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_LEDStripV2(object):
    def setupUi(self, LEDStripV2):
        LEDStripV2.setObjectName("LEDStripV2")
        LEDStripV2.resize(928, 402)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(LEDStripV2)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.chip_type_label = QtWidgets.QLabel(LEDStripV2)
        self.chip_type_label.setObjectName("chip_type_label")
        self.horizontalLayout_5.addWidget(self.chip_type_label)
        self.chip_type_combobox = QtWidgets.QComboBox(LEDStripV2)
        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(LEDStripV2)
        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(LEDStripV2)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.box_num_led = QtWidgets.QSpinBox(LEDStripV2)
        self.box_num_led.setMinimum(1)
        self.box_num_led.setMaximum(2048)
        self.box_num_led.setObjectName("box_num_led")
        self.horizontalLayout.addWidget(self.box_num_led)
        self.label_5 = QtWidgets.QLabel(LEDStripV2)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout.addWidget(self.label_5)
        self.box_frame_duration = QtWidgets.QSpinBox(LEDStripV2)
        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(LEDStripV2)
        self.label_clock_frequency.setObjectName("label_clock_frequency")
        self.horizontalLayout.addWidget(self.label_clock_frequency)
        self.box_clock_frequency = QtWidgets.QSpinBox(LEDStripV2)
        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(LEDStripV2)
        self.channel_mapping_label.setObjectName("channel_mapping_label")
        self.horizontalLayout_7.addWidget(self.channel_mapping_label)
        self.channel_mapping_combobox = QtWidgets.QComboBox(LEDStripV2)
        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(LEDStripV2)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_2.addWidget(self.label_2)
        self.box_r = QtWidgets.QSpinBox(LEDStripV2)
        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(LEDStripV2)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_2.addWidget(self.label_3)
        self.box_g = QtWidgets.QSpinBox(LEDStripV2)
        self.box_g.setMaximum(255)
        self.box_g.setObjectName("box_g")
        self.horizontalLayout_2.addWidget(self.box_g)
        self.label_4 = QtWidgets.QLabel(LEDStripV2)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_2.addWidget(self.label_4)
        self.box_b = QtWidgets.QSpinBox(LEDStripV2)
        self.box_b.setMaximum(255)
        self.box_b.setObjectName("box_b")
        self.horizontalLayout_2.addWidget(self.box_b)
        self.label_w = QtWidgets.QLabel(LEDStripV2)
        self.label_w.setObjectName("label_w")
        self.horizontalLayout_2.addWidget(self.label_w)
        self.box_w = QtWidgets.QSpinBox(LEDStripV2)
        self.box_w.setMaximum(255)
        self.box_w.setObjectName("box_w")
        self.horizontalLayout_2.addWidget(self.box_w)
        self.brightness_label = QtWidgets.QLabel(LEDStripV2)
        self.brightness_label.setObjectName("brightness_label")
        self.horizontalLayout_2.addWidget(self.brightness_label)
        self.brightness_slider = QtWidgets.QSlider(LEDStripV2)
        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(LEDStripV2)
        self.button_color.setObjectName("button_color")
        self.horizontalLayout_2.addWidget(self.button_color)
        self.button_black = QtWidgets.QPushButton(LEDStripV2)
        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(LEDStripV2)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_3.addWidget(self.label_6)
        self.box_speed = QtWidgets.QSpinBox(LEDStripV2)
        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(LEDStripV2)
        self.button_dot.setObjectName("button_dot")
        self.horizontalLayout_3.addWidget(self.button_dot)
        self.line = QtWidgets.QFrame(LEDStripV2)
        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(LEDStripV2)
        self.button_gradient.setObjectName("button_gradient")
        self.horizontalLayout_3.addWidget(self.button_gradient)
        self.label_9 = QtWidgets.QLabel(LEDStripV2)
        self.label_9.setObjectName("label_9")
        self.horizontalLayout_3.addWidget(self.label_9)
        self.gradient_intensity = QtWidgets.QSlider(LEDStripV2)
        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(LEDStripV2)
        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(LEDStripV2)
        self.label_8.setObjectName("label_8")
        self.horizontalLayout_4.addWidget(self.label_8)
        self.label_voltage = QtWidgets.QLabel(LEDStripV2)
        self.label_voltage.setObjectName("label_voltage")
        self.horizontalLayout_4.addWidget(self.label_voltage)
        self.line_3 = QtWidgets.QFrame(LEDStripV2)
        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(LEDStripV2)
        self.channel_mapping_combobox.setCurrentIndex(-1)
        QtCore.QMetaObject.connectSlotsByName(LEDStripV2)
        LEDStripV2.setTabOrder(self.chip_type_combobox, self.box_num_led)
        LEDStripV2.setTabOrder(self.box_num_led, self.box_frame_duration)
        LEDStripV2.setTabOrder(self.box_frame_duration, self.box_clock_frequency)
        LEDStripV2.setTabOrder(self.box_clock_frequency, self.box_r)
        LEDStripV2.setTabOrder(self.box_r, self.box_g)
        LEDStripV2.setTabOrder(self.box_g, self.box_b)
        LEDStripV2.setTabOrder(self.box_b, self.box_w)
        LEDStripV2.setTabOrder(self.box_w, self.button_color)
        LEDStripV2.setTabOrder(self.button_color, self.button_black)
        LEDStripV2.setTabOrder(self.button_black, self.box_speed)
        LEDStripV2.setTabOrder(self.box_speed, self.button_dot)
        LEDStripV2.setTabOrder(self.button_dot, self.button_gradient)
        LEDStripV2.setTabOrder(self.button_gradient, self.gradient_intensity)

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