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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/motion_detector_v2/ui/motion_detector_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_MotionDetectorV2(object):
    def setupUi(self, MotionDetectorV2):
        MotionDetectorV2.setObjectName("MotionDetectorV2")
        MotionDetectorV2.resize(355, 300)
        self.verticalLayout = QtWidgets.QVBoxLayout(MotionDetectorV2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.line = QtWidgets.QFrame(MotionDetectorV2)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout.addWidget(self.line, 10, 0, 1, 3)
        self.slider_right = QtWidgets.QSlider(MotionDetectorV2)
        self.slider_right.setMaximum(255)
        self.slider_right.setOrientation(QtCore.Qt.Horizontal)
        self.slider_right.setObjectName("slider_right")
        self.gridLayout.addWidget(self.slider_right, 5, 1, 1, 1)
        self.spin_left = QtWidgets.QSpinBox(MotionDetectorV2)
        self.spin_left.setMaximum(255)
        self.spin_left.setObjectName("spin_left")
        self.gridLayout.addWidget(self.spin_left, 4, 2, 1, 1)
        self.spin_all = QtWidgets.QSpinBox(MotionDetectorV2)
        self.spin_all.setMaximum(255)
        self.spin_all.setObjectName("spin_all")
        self.gridLayout.addWidget(self.spin_all, 8, 2, 1, 1)
        self.slider_all = QtWidgets.QSlider(MotionDetectorV2)
        self.slider_all.setMaximum(255)
        self.slider_all.setOrientation(QtCore.Qt.Horizontal)
        self.slider_all.setObjectName("slider_all")
        self.gridLayout.addWidget(self.slider_all, 8, 1, 1, 1)
        self.label = QtWidgets.QLabel(MotionDetectorV2)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 8, 0, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.button_off = QtWidgets.QToolButton(MotionDetectorV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_off.sizePolicy().hasHeightForWidth())
        self.button_off.setSizePolicy(sizePolicy)
        self.button_off.setStyleSheet("")
        self.button_off.setObjectName("button_off")
        self.horizontalLayout.addWidget(self.button_off)
        self.button_on = QtWidgets.QToolButton(MotionDetectorV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_on.sizePolicy().hasHeightForWidth())
        self.button_on.setSizePolicy(sizePolicy)
        self.button_on.setStyleSheet("")
        self.button_on.setObjectName("button_on")
        self.horizontalLayout.addWidget(self.button_on)
        self.button_left = QtWidgets.QToolButton(MotionDetectorV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_left.sizePolicy().hasHeightForWidth())
        self.button_left.setSizePolicy(sizePolicy)
        self.button_left.setStyleSheet("")
        self.button_left.setObjectName("button_left")
        self.horizontalLayout.addWidget(self.button_left)
        self.button_right = QtWidgets.QToolButton(MotionDetectorV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_right.sizePolicy().hasHeightForWidth())
        self.button_right.setSizePolicy(sizePolicy)
        self.button_right.setStyleSheet("")
        self.button_right.setObjectName("button_right")
        self.horizontalLayout.addWidget(self.button_right)
        self.button_bottom = QtWidgets.QToolButton(MotionDetectorV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_bottom.sizePolicy().hasHeightForWidth())
        self.button_bottom.setSizePolicy(sizePolicy)
        self.button_bottom.setStyleSheet("")
        self.button_bottom.setObjectName("button_bottom")
        self.horizontalLayout.addWidget(self.button_bottom)
        self.gridLayout.addLayout(self.horizontalLayout, 9, 0, 1, 3)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_color_left = QtWidgets.QLabel(MotionDetectorV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.label_color_left.sizePolicy().hasHeightForWidth())
        self.label_color_left.setSizePolicy(sizePolicy)
        self.label_color_left.setText("")
        self.label_color_left.setObjectName("label_color_left")
        self.horizontalLayout_4.addWidget(self.label_color_left)
        self.label_color_right = QtWidgets.QLabel(MotionDetectorV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.label_color_right.sizePolicy().hasHeightForWidth())
        self.label_color_right.setSizePolicy(sizePolicy)
        self.label_color_right.setText("")
        self.label_color_right.setObjectName("label_color_right")
        self.horizontalLayout_4.addWidget(self.label_color_right)
        self.label_color_bottom = QtWidgets.QLabel(MotionDetectorV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.label_color_bottom.sizePolicy().hasHeightForWidth())
        self.label_color_bottom.setSizePolicy(sizePolicy)
        self.label_color_bottom.setText("")
        self.label_color_bottom.setObjectName("label_color_bottom")
        self.horizontalLayout_4.addWidget(self.label_color_bottom)
        self.gridLayout.addLayout(self.horizontalLayout_4, 11, 0, 1, 3)
        self.line_2 = QtWidgets.QFrame(MotionDetectorV2)
        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, 7, 0, 1, 3)
        self.label_5 = QtWidgets.QLabel(MotionDetectorV2)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 4, 0, 1, 1)
        self.line_5 = QtWidgets.QFrame(MotionDetectorV2)
        self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.gridLayout.addWidget(self.line_5, 1, 0, 1, 3)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.label_motion = QtWidgets.QLabel(MotionDetectorV2)
        self.label_motion.setObjectName("label_motion")
        self.horizontalLayout_2.addWidget(self.label_motion)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.gridLayout.addLayout(self.horizontalLayout_2, 0, 0, 1, 3)
        self.slider_left = QtWidgets.QSlider(MotionDetectorV2)
        self.slider_left.setMaximum(255)
        self.slider_left.setOrientation(QtCore.Qt.Horizontal)
        self.slider_left.setObjectName("slider_left")
        self.gridLayout.addWidget(self.slider_left, 4, 1, 1, 1)
        self.spin_bottom = QtWidgets.QSpinBox(MotionDetectorV2)
        self.spin_bottom.setMaximum(255)
        self.spin_bottom.setObjectName("spin_bottom")
        self.gridLayout.addWidget(self.spin_bottom, 6, 2, 1, 1)
        self.spin_right = QtWidgets.QSpinBox(MotionDetectorV2)
        self.spin_right.setMaximum(255)
        self.spin_right.setObjectName("spin_right")
        self.gridLayout.addWidget(self.spin_right, 5, 2, 1, 1)
        self.label_4 = QtWidgets.QLabel(MotionDetectorV2)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 6, 0, 1, 1)
        self.label_6 = QtWidgets.QLabel(MotionDetectorV2)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 5, 0, 1, 1)
        self.slider_bottom = QtWidgets.QSlider(MotionDetectorV2)
        self.slider_bottom.setMaximum(255)
        self.slider_bottom.setOrientation(QtCore.Qt.Horizontal)
        self.slider_bottom.setObjectName("slider_bottom")
        self.gridLayout.addWidget(self.slider_bottom, 6, 1, 1, 1)
        self.label_8 = QtWidgets.QLabel(MotionDetectorV2)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 2, 0, 1, 1)
        self.line_4 = QtWidgets.QFrame(MotionDetectorV2)
        self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.gridLayout.addWidget(self.line_4, 3, 0, 1, 3)
        self.spin_sensitivity = QtWidgets.QSpinBox(MotionDetectorV2)
        self.spin_sensitivity.setMaximum(100)
        self.spin_sensitivity.setProperty("value", 0)
        self.spin_sensitivity.setObjectName("spin_sensitivity")
        self.gridLayout.addWidget(self.spin_sensitivity, 2, 2, 1, 1)
        self.slider_sensitivity = QtWidgets.QSlider(MotionDetectorV2)
        self.slider_sensitivity.setMaximum(100)
        self.slider_sensitivity.setOrientation(QtCore.Qt.Horizontal)
        self.slider_sensitivity.setObjectName("slider_sensitivity")
        self.gridLayout.addWidget(self.slider_sensitivity, 2, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem2)

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

    def retranslateUi(self, MotionDetectorV2):
        _translate = QtCore.QCoreApplication.translate
        MotionDetectorV2.setWindowTitle(_translate("MotionDetectorV2", "Form"))
        self.label.setText(_translate("MotionDetectorV2", "All LEDs:"))
        self.button_off.setText(_translate("MotionDetectorV2", "All Off"))
        self.button_on.setText(_translate("MotionDetectorV2", "All On"))
        self.button_left.setText(_translate("MotionDetectorV2", "Top Left"))
        self.button_right.setText(_translate("MotionDetectorV2", "Top Right"))
        self.button_bottom.setText(_translate("MotionDetectorV2", "Bottom"))
        self.label_5.setText(_translate("MotionDetectorV2", "LED Top Left:"))
        self.label_motion.setText(_translate("MotionDetectorV2", "No Motion Detected"))
        self.label_4.setText(_translate("MotionDetectorV2", "LED Bottom:"))
        self.label_6.setText(_translate("MotionDetectorV2", "LED Top Right:"))
        self.label_8.setText(_translate("MotionDetectorV2", "Sensitivity:"))
