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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/io4_v2/ui/io4_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_IO4V2(object):
    def setupUi(self, IO4V2):
        IO4V2.setObjectName("IO4V2")
        IO4V2.resize(841, 433)
        self.verticalLayout = QtWidgets.QVBoxLayout(IO4V2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout_5 = QtWidgets.QGridLayout()
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.label_3 = QtWidgets.QLabel(IO4V2)
        self.label_3.setObjectName("label_3")
        self.gridLayout_5.addWidget(self.label_3, 0, 0, 1, 1)
        self.label_53 = QtWidgets.QLabel(IO4V2)
        self.label_53.setObjectName("label_53")
        self.gridLayout_5.addWidget(self.label_53, 6, 0, 1, 1)
        self.label_5 = QtWidgets.QLabel(IO4V2)
        self.label_5.setObjectName("label_5")
        self.gridLayout_5.addWidget(self.label_5, 7, 0, 1, 1)
        self.label_7 = QtWidgets.QLabel(IO4V2)
        self.label_7.setObjectName("label_7")
        self.gridLayout_5.addWidget(self.label_7, 8, 0, 1, 1)
        self.cbox_cfg_ch = QtWidgets.QComboBox(IO4V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cbox_cfg_ch.sizePolicy().hasHeightForWidth())
        self.cbox_cfg_ch.setSizePolicy(sizePolicy)
        self.cbox_cfg_ch.setObjectName("cbox_cfg_ch")
        self.cbox_cfg_ch.addItem("")
        self.cbox_cfg_ch.addItem("")
        self.cbox_cfg_ch.addItem("")
        self.cbox_cfg_ch.addItem("")
        self.gridLayout_5.addWidget(self.cbox_cfg_ch, 0, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(IO4V2)
        self.label_4.setObjectName("label_4")
        self.gridLayout_5.addWidget(self.label_4, 9, 0, 1, 1)
        self.line = QtWidgets.QFrame(IO4V2)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout_5.addWidget(self.line, 5, 0, 1, 3)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.lbl_st_ch3_d = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch3_d.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch3_d.setObjectName("lbl_st_ch3_d")
        self.gridLayout.addWidget(self.lbl_st_ch3_d, 2, 3, 1, 1)
        self.lbl_st_ch1_d = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch1_d.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch1_d.setObjectName("lbl_st_ch1_d")
        self.gridLayout.addWidget(self.lbl_st_ch1_d, 2, 1, 1, 1)
        self.lbl_st_ch3_v = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch3_v.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch3_v.setObjectName("lbl_st_ch3_v")
        self.gridLayout.addWidget(self.lbl_st_ch3_v, 1, 3, 1, 1)
        self.label_56 = QtWidgets.QLabel(IO4V2)
        self.label_56.setTextFormat(QtCore.Qt.RichText)
        self.label_56.setAlignment(QtCore.Qt.AlignCenter)
        self.label_56.setObjectName("label_56")
        self.gridLayout.addWidget(self.label_56, 0, 1, 1, 1)
        self.label_58 = QtWidgets.QLabel(IO4V2)
        self.label_58.setTextFormat(QtCore.Qt.RichText)
        self.label_58.setAlignment(QtCore.Qt.AlignCenter)
        self.label_58.setObjectName("label_58")
        self.gridLayout.addWidget(self.label_58, 0, 3, 1, 1)
        self.label_57 = QtWidgets.QLabel(IO4V2)
        self.label_57.setTextFormat(QtCore.Qt.RichText)
        self.label_57.setAlignment(QtCore.Qt.AlignCenter)
        self.label_57.setObjectName("label_57")
        self.gridLayout.addWidget(self.label_57, 0, 2, 1, 1)
        self.lbl_st_ch0_d = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch0_d.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch0_d.setObjectName("lbl_st_ch0_d")
        self.gridLayout.addWidget(self.lbl_st_ch0_d, 2, 0, 1, 1)
        self.lbl_st_ch0_monoflop_t = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch0_monoflop_t.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch0_monoflop_t.setObjectName("lbl_st_ch0_monoflop_t")
        self.gridLayout.addWidget(self.lbl_st_ch0_monoflop_t, 4, 0, 1, 1)
        self.lbl_st_ch2_v = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch2_v.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch2_v.setObjectName("lbl_st_ch2_v")
        self.gridLayout.addWidget(self.lbl_st_ch2_v, 1, 2, 1, 1)
        self.lbl_st_ch2_d = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch2_d.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch2_d.setObjectName("lbl_st_ch2_d")
        self.gridLayout.addWidget(self.lbl_st_ch2_d, 2, 2, 1, 1)
        self.lbl_st_ch0_v = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch0_v.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch0_v.setObjectName("lbl_st_ch0_v")
        self.gridLayout.addWidget(self.lbl_st_ch0_v, 1, 0, 1, 1)
        self.lbl_st_ch1_v = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch1_v.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch1_v.setObjectName("lbl_st_ch1_v")
        self.gridLayout.addWidget(self.lbl_st_ch1_v, 1, 1, 1, 1)
        self.label_55 = QtWidgets.QLabel(IO4V2)
        self.label_55.setTextFormat(QtCore.Qt.RichText)
        self.label_55.setAlignment(QtCore.Qt.AlignCenter)
        self.label_55.setObjectName("label_55")
        self.gridLayout.addWidget(self.label_55, 0, 0, 1, 1)
        self.lbl_st_ch2_cfg = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch2_cfg.setTextFormat(QtCore.Qt.RichText)
        self.lbl_st_ch2_cfg.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch2_cfg.setObjectName("lbl_st_ch2_cfg")
        self.gridLayout.addWidget(self.lbl_st_ch2_cfg, 3, 2, 1, 1)
        self.lbl_st_ch1_cfg = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch1_cfg.setTextFormat(QtCore.Qt.RichText)
        self.lbl_st_ch1_cfg.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch1_cfg.setObjectName("lbl_st_ch1_cfg")
        self.gridLayout.addWidget(self.lbl_st_ch1_cfg, 3, 1, 1, 1)
        self.lbl_st_ch3_cfg = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch3_cfg.setTextFormat(QtCore.Qt.RichText)
        self.lbl_st_ch3_cfg.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch3_cfg.setObjectName("lbl_st_ch3_cfg")
        self.gridLayout.addWidget(self.lbl_st_ch3_cfg, 3, 3, 1, 1)
        self.lbl_st_ch3_monoflop_t = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch3_monoflop_t.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch3_monoflop_t.setObjectName("lbl_st_ch3_monoflop_t")
        self.gridLayout.addWidget(self.lbl_st_ch3_monoflop_t, 4, 3, 1, 1)
        self.lbl_st_ch1_monoflop_t = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch1_monoflop_t.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch1_monoflop_t.setObjectName("lbl_st_ch1_monoflop_t")
        self.gridLayout.addWidget(self.lbl_st_ch1_monoflop_t, 4, 1, 1, 1)
        self.lbl_st_ch0_cfg = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch0_cfg.setTextFormat(QtCore.Qt.RichText)
        self.lbl_st_ch0_cfg.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch0_cfg.setObjectName("lbl_st_ch0_cfg")
        self.gridLayout.addWidget(self.lbl_st_ch0_cfg, 3, 0, 1, 1)
        self.lbl_st_ch2_monoflop_t = QtWidgets.QLabel(IO4V2)
        self.lbl_st_ch2_monoflop_t.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_st_ch2_monoflop_t.setObjectName("lbl_st_ch2_monoflop_t")
        self.gridLayout.addWidget(self.lbl_st_ch2_monoflop_t, 4, 2, 1, 1)
        self.gridLayout_5.addLayout(self.gridLayout, 6, 1, 5, 2)
        self.lbl_monoflop = QtWidgets.QLabel(IO4V2)
        self.lbl_monoflop.setObjectName("lbl_monoflop")
        self.gridLayout_5.addWidget(self.lbl_monoflop, 4, 0, 1, 1)
        self.label_15 = QtWidgets.QLabel(IO4V2)
        self.label_15.setObjectName("label_15")
        self.gridLayout_5.addWidget(self.label_15, 10, 0, 1, 1)
        self.monoflop_value_stack = QtWidgets.QStackedWidget(IO4V2)
        self.monoflop_value_stack.setObjectName("monoflop_value_stack")
        self.gridLayout_5.addWidget(self.monoflop_value_stack, 3, 1, 1, 1)
        self.label = QtWidgets.QLabel(IO4V2)
        self.label.setObjectName("label")
        self.gridLayout_5.addWidget(self.label, 3, 0, 1, 1)
        self.monoflop_time_stack = QtWidgets.QStackedWidget(IO4V2)
        self.monoflop_time_stack.setObjectName("monoflop_time_stack")
        self.gridLayout_5.addWidget(self.monoflop_time_stack, 4, 1, 1, 1)
        self.btn_monoflop_go = QtWidgets.QPushButton(IO4V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_monoflop_go.sizePolicy().hasHeightForWidth())
        self.btn_monoflop_go.setSizePolicy(sizePolicy)
        self.btn_monoflop_go.setObjectName("btn_monoflop_go")
        self.gridLayout_5.addWidget(self.btn_monoflop_go, 3, 2, 2, 1)
        self.cbox_cfg_ch_dir = QtWidgets.QComboBox(IO4V2)
        self.cbox_cfg_ch_dir.setObjectName("cbox_cfg_ch_dir")
        self.cbox_cfg_ch_dir.addItem("")
        self.cbox_cfg_ch_dir.addItem("")
        self.gridLayout_5.addWidget(self.cbox_cfg_ch_dir, 1, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(IO4V2)
        self.label_2.setObjectName("label_2")
        self.gridLayout_5.addWidget(self.label_2, 1, 0, 1, 1)
        self.lbl_cfg_ch_v = QtWidgets.QLabel(IO4V2)
        self.lbl_cfg_ch_v.setObjectName("lbl_cfg_ch_v")
        self.gridLayout_5.addWidget(self.lbl_cfg_ch_v, 2, 0, 1, 1)
        self.cbox_cfg_ch_v = QtWidgets.QComboBox(IO4V2)
        self.cbox_cfg_ch_v.setObjectName("cbox_cfg_ch_v")
        self.gridLayout_5.addWidget(self.cbox_cfg_ch_v, 2, 1, 1, 1)
        self.btn_cfg_ch_save = QtWidgets.QPushButton(IO4V2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_cfg_ch_save.sizePolicy().hasHeightForWidth())
        self.btn_cfg_ch_save.setSizePolicy(sizePolicy)
        self.btn_cfg_ch_save.setObjectName("btn_cfg_ch_save")
        self.gridLayout_5.addWidget(self.btn_cfg_ch_save, 1, 2, 2, 1)
        self.verticalLayout.addLayout(self.gridLayout_5)
        spacerItem = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)

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

    def retranslateUi(self, IO4V2):
        _translate = QtCore.QCoreApplication.translate
        IO4V2.setWindowTitle(_translate("IO4V2", "Form"))
        self.label_3.setText(_translate("IO4V2", "Channel:"))
        self.label_53.setText(_translate("IO4V2", "Channel:"))
        self.label_5.setText(_translate("IO4V2", "Value:"))
        self.label_7.setText(_translate("IO4V2", "Direction:"))
        self.cbox_cfg_ch.setItemText(0, _translate("IO4V2", "0"))
        self.cbox_cfg_ch.setItemText(1, _translate("IO4V2", "1"))
        self.cbox_cfg_ch.setItemText(2, _translate("IO4V2", "2"))
        self.cbox_cfg_ch.setItemText(3, _translate("IO4V2", "3"))
        self.label_4.setText(_translate("IO4V2", "Configuration:"))
        self.lbl_st_ch3_d.setText(_translate("IO4V2", "-"))
        self.lbl_st_ch1_d.setText(_translate("IO4V2", "-"))
        self.lbl_st_ch3_v.setText(_translate("IO4V2", "-"))
        self.label_56.setText(_translate("IO4V2", "<html><head/><body><p><span style=\" font-weight:600;\">1</span></p></body></html>"))
        self.label_58.setText(_translate("IO4V2", "<html><head/><body><p><span style=\" font-weight:600;\">3</span></p></body></html>"))
        self.label_57.setText(_translate("IO4V2", "<html><head/><body><p><span style=\" font-weight:600;\">2</span></p></body></html>"))
        self.lbl_st_ch0_d.setText(_translate("IO4V2", "-"))
        self.lbl_st_ch0_monoflop_t.setText(_translate("IO4V2", "0"))
        self.lbl_st_ch2_v.setText(_translate("IO4V2", "-"))
        self.lbl_st_ch2_d.setText(_translate("IO4V2", "-"))
        self.lbl_st_ch0_v.setText(_translate("IO4V2", "-"))
        self.lbl_st_ch1_v.setText(_translate("IO4V2", "-"))
        self.label_55.setText(_translate("IO4V2", "<html><head/><body><p><span style=\" font-weight:600;\">0</span></p></body></html>"))
        self.lbl_st_ch2_cfg.setText(_translate("IO4V2", "-"))
        self.lbl_st_ch1_cfg.setText(_translate("IO4V2", "-"))
        self.lbl_st_ch3_cfg.setText(_translate("IO4V2", "-"))
        self.lbl_st_ch3_monoflop_t.setText(_translate("IO4V2", "0"))
        self.lbl_st_ch1_monoflop_t.setText(_translate("IO4V2", "0"))
        self.lbl_st_ch0_cfg.setText(_translate("IO4V2", "-"))
        self.lbl_st_ch2_monoflop_t.setText(_translate("IO4V2", "0"))
        self.lbl_monoflop.setText(_translate("IO4V2", "Monoflop Time [ms]:"))
        self.label_15.setText(_translate("IO4V2", "Monoflop Time Remaining [ms]:"))
        self.label.setText(_translate("IO4V2", "Monoflop Value:"))
        self.btn_monoflop_go.setText(_translate("IO4V2", "Go"))
        self.cbox_cfg_ch_dir.setItemText(0, _translate("IO4V2", "Input"))
        self.cbox_cfg_ch_dir.setItemText(1, _translate("IO4V2", "Output"))
        self.label_2.setText(_translate("IO4V2", "Direction:"))
        self.lbl_cfg_ch_v.setText(_translate("IO4V2", "Value:"))
        self.btn_cfg_ch_save.setText(_translate("IO4V2", "Save"))
