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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/dual_relay/ui/dual_relay.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_DualRelay(object):
    def setupUi(self, DualRelay):
        DualRelay.setObjectName("DualRelay")
        DualRelay.resize(485, 356)
        self.verticalLayout = QtWidgets.QVBoxLayout(DualRelay)
        self.verticalLayout.setObjectName("verticalLayout")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout()
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.label_7 = QtWidgets.QLabel(DualRelay)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_7.setFont(font)
        self.label_7.setObjectName("label_7")
        self.verticalLayout_3.addWidget(self.label_7)
        self.dr1_button = QtWidgets.QPushButton(DualRelay)
        self.dr1_button.setObjectName("dr1_button")
        self.verticalLayout_3.addWidget(self.dr1_button)
        self.horizontalLayout.addLayout(self.verticalLayout_3)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.dr1_image = QtWidgets.QLabel(DualRelay)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dr1_image.sizePolicy().hasHeightForWidth())
        self.dr1_image.setSizePolicy(sizePolicy)
        self.dr1_image.setObjectName("dr1_image")
        self.horizontalLayout.addWidget(self.dr1_image)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout_5.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtWidgets.QLabel(DualRelay)
        self.label.setObjectName("label")
        self.horizontalLayout_2.addWidget(self.label)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.label_4 = QtWidgets.QLabel(DualRelay)
        self.label_4.setObjectName("label_4")
        self.verticalLayout_6.addWidget(self.label_4)
        self.label_3 = QtWidgets.QLabel(DualRelay)
        self.label_3.setObjectName("label_3")
        self.verticalLayout_6.addWidget(self.label_3)
        self.horizontalLayout_2.addLayout(self.verticalLayout_6)
        self.verticalLayout_7 = QtWidgets.QVBoxLayout()
        self.verticalLayout_7.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.state1_combobox = QtWidgets.QComboBox(DualRelay)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.state1_combobox.sizePolicy().hasHeightForWidth())
        self.state1_combobox.setSizePolicy(sizePolicy)
        self.state1_combobox.setObjectName("state1_combobox")
        self.state1_combobox.addItem("")
        self.state1_combobox.addItem("")
        self.verticalLayout_7.addWidget(self.state1_combobox)
        self.time1_spinbox = QtWidgets.QDoubleSpinBox(DualRelay)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.time1_spinbox.sizePolicy().hasHeightForWidth())
        self.time1_spinbox.setSizePolicy(sizePolicy)
        self.time1_spinbox.setObjectName("time1_spinbox")
        self.verticalLayout_7.addWidget(self.time1_spinbox)
        self.horizontalLayout_2.addLayout(self.verticalLayout_7)
        self.go1_button = QtWidgets.QPushButton(DualRelay)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.go1_button.sizePolicy().hasHeightForWidth())
        self.go1_button.setSizePolicy(sizePolicy)
        self.go1_button.setObjectName("go1_button")
        self.horizontalLayout_2.addWidget(self.go1_button)
        self.horizontalLayout_2.setStretch(2, 1)
        self.verticalLayout_5.addLayout(self.horizontalLayout_2)
        self.verticalLayout.addLayout(self.verticalLayout_5)
        self.line = QtWidgets.QFrame(DualRelay)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.label_8 = QtWidgets.QLabel(DualRelay)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_8.setFont(font)
        self.label_8.setObjectName("label_8")
        self.verticalLayout_4.addWidget(self.label_8)
        self.dr2_button = QtWidgets.QPushButton(DualRelay)
        self.dr2_button.setObjectName("dr2_button")
        self.verticalLayout_4.addWidget(self.dr2_button)
        self.horizontalLayout_3.addLayout(self.verticalLayout_4)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.dr2_image = QtWidgets.QLabel(DualRelay)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dr2_image.sizePolicy().hasHeightForWidth())
        self.dr2_image.setSizePolicy(sizePolicy)
        self.dr2_image.setObjectName("dr2_image")
        self.horizontalLayout_3.addWidget(self.dr2_image)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem3)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_2 = QtWidgets.QLabel(DualRelay)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_4.addWidget(self.label_2)
        self.verticalLayout_8 = QtWidgets.QVBoxLayout()
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.label_6 = QtWidgets.QLabel(DualRelay)
        self.label_6.setObjectName("label_6")
        self.verticalLayout_8.addWidget(self.label_6)
        self.label_5 = QtWidgets.QLabel(DualRelay)
        self.label_5.setObjectName("label_5")
        self.verticalLayout_8.addWidget(self.label_5)
        self.horizontalLayout_4.addLayout(self.verticalLayout_8)
        self.verticalLayout_9 = QtWidgets.QVBoxLayout()
        self.verticalLayout_9.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.state2_combobox = QtWidgets.QComboBox(DualRelay)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.state2_combobox.sizePolicy().hasHeightForWidth())
        self.state2_combobox.setSizePolicy(sizePolicy)
        self.state2_combobox.setObjectName("state2_combobox")
        self.state2_combobox.addItem("")
        self.state2_combobox.addItem("")
        self.verticalLayout_9.addWidget(self.state2_combobox)
        self.time2_spinbox = QtWidgets.QDoubleSpinBox(DualRelay)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.time2_spinbox.sizePolicy().hasHeightForWidth())
        self.time2_spinbox.setSizePolicy(sizePolicy)
        self.time2_spinbox.setObjectName("time2_spinbox")
        self.verticalLayout_9.addWidget(self.time2_spinbox)
        self.horizontalLayout_4.addLayout(self.verticalLayout_9)
        self.go2_button = QtWidgets.QPushButton(DualRelay)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.go2_button.sizePolicy().hasHeightForWidth())
        self.go2_button.setSizePolicy(sizePolicy)
        self.go2_button.setObjectName("go2_button")
        self.horizontalLayout_4.addWidget(self.go2_button)
        self.horizontalLayout_4.setStretch(2, 1)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.verticalLayout.addLayout(self.verticalLayout_2)
        spacerItem4 = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem4)

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

    def retranslateUi(self, DualRelay):
        _translate = QtCore.QCoreApplication.translate
        DualRelay.setWindowTitle(_translate("DualRelay", "Form"))
        self.label_7.setText(_translate("DualRelay", "Relay 1"))
        self.dr1_button.setText(_translate("DualRelay", "Switch Off"))
        self.dr1_image.setText(_translate("DualRelay", "Image"))
        self.label.setText(_translate("DualRelay", "Monoflop:    "))
        self.label_4.setText(_translate("DualRelay", "State:"))
        self.label_3.setText(_translate("DualRelay", "Time [ms]:"))
        self.state1_combobox.setItemText(0, _translate("DualRelay", "On"))
        self.state1_combobox.setItemText(1, _translate("DualRelay", "Off"))
        self.go1_button.setText(_translate("DualRelay", "Go"))
        self.label_8.setText(_translate("DualRelay", "Relay 2"))
        self.dr2_button.setText(_translate("DualRelay", "Switch Off"))
        self.dr2_image.setText(_translate("DualRelay", "Image"))
        self.label_2.setText(_translate("DualRelay", "Monoflop:    "))
        self.label_6.setText(_translate("DualRelay", "State"))
        self.label_5.setText(_translate("DualRelay", "Time [ms]:"))
        self.state2_combobox.setItemText(0, _translate("DualRelay", "On"))
        self.state2_combobox.setItemText(1, _translate("DualRelay", "Off"))
        self.go2_button.setText(_translate("DualRelay", "Go"))
