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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/solid_state_relay/ui/solid_state_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_SolidStateRelay(object):
    def setupUi(self, SolidStateRelay):
        SolidStateRelay.setObjectName("SolidStateRelay")
        SolidStateRelay.resize(450, 196)
        self.verticalLayout = QtWidgets.QVBoxLayout(SolidStateRelay)
        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.ssr_button = QtWidgets.QPushButton(SolidStateRelay)
        self.ssr_button.setObjectName("ssr_button")
        self.verticalLayout_3.addWidget(self.ssr_button)
        self.horizontalLayout.addLayout(self.verticalLayout_3)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.ssr_image = QtWidgets.QLabel(SolidStateRelay)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ssr_image.sizePolicy().hasHeightForWidth())
        self.ssr_image.setSizePolicy(sizePolicy)
        self.ssr_image.setObjectName("ssr_image")
        self.horizontalLayout.addWidget(self.ssr_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(SolidStateRelay)
        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(SolidStateRelay)
        self.label_4.setObjectName("label_4")
        self.verticalLayout_6.addWidget(self.label_4)
        self.label_3 = QtWidgets.QLabel(SolidStateRelay)
        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.state_combobox = QtWidgets.QComboBox(SolidStateRelay)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.state_combobox.sizePolicy().hasHeightForWidth())
        self.state_combobox.setSizePolicy(sizePolicy)
        self.state_combobox.setObjectName("state_combobox")
        self.state_combobox.addItem("")
        self.state_combobox.addItem("")
        self.verticalLayout_7.addWidget(self.state_combobox)
        self.time_spinbox = QtWidgets.QDoubleSpinBox(SolidStateRelay)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.time_spinbox.sizePolicy().hasHeightForWidth())
        self.time_spinbox.setSizePolicy(sizePolicy)
        self.time_spinbox.setObjectName("time_spinbox")
        self.verticalLayout_7.addWidget(self.time_spinbox)
        self.horizontalLayout_2.addLayout(self.verticalLayout_7)
        self.go_button = QtWidgets.QPushButton(SolidStateRelay)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.go_button.sizePolicy().hasHeightForWidth())
        self.go_button.setSizePolicy(sizePolicy)
        self.go_button.setObjectName("go_button")
        self.horizontalLayout_2.addWidget(self.go_button)
        self.horizontalLayout_2.setStretch(2, 1)
        self.verticalLayout_5.addLayout(self.horizontalLayout_2)
        self.verticalLayout.addLayout(self.verticalLayout_5)
        spacerItem2 = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem2)

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

    def retranslateUi(self, SolidStateRelay):
        _translate = QtCore.QCoreApplication.translate
        SolidStateRelay.setWindowTitle(_translate("SolidStateRelay", "Form"))
        self.ssr_button.setText(_translate("SolidStateRelay", "Switch Off"))
        self.ssr_image.setText(_translate("SolidStateRelay", "Image"))
        self.label.setText(_translate("SolidStateRelay", "Monoflop:    "))
        self.label_4.setText(_translate("SolidStateRelay", "State:"))
        self.label_3.setText(_translate("SolidStateRelay", "Time [ms]:"))
        self.state_combobox.setItemText(0, _translate("SolidStateRelay", "On"))
        self.state_combobox.setItemText(1, _translate("SolidStateRelay", "Off"))
        self.go_button.setText(_translate("SolidStateRelay", "Go"))
