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

# Form implementation generated from reading ui file 'widget.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_Widget(object):
    def setupUi(self, Widget):
        Widget.setObjectName("Widget")
        Widget.resize(1450, 400)
        Widget.setMinimumSize(QtCore.QSize(1400, 0))
        Widget.setMaximumSize(QtCore.QSize(16777215, 400))
        self.gridLayout = QtWidgets.QGridLayout(Widget)
        self.gridLayout.setObjectName("gridLayout")
        self.msgTableView = QtWidgets.QTableView(Widget)
        self.msgTableView.setMinimumSize(QtCore.QSize(955, 0))
        self.msgTableView.setMaximumSize(QtCore.QSize(16777215, 300))
        self.msgTableView.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
        self.msgTableView.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
        self.msgTableView.setObjectName("msgTableView")
        self.gridLayout.addWidget(self.msgTableView, 0, 0, 1, 1)
        self.groupBox = QtWidgets.QGroupBox(Widget)
        self.groupBox.setMinimumSize(QtCore.QSize(1450, 114))
        self.groupBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.groupBox.setStyleSheet("border-color: rgb(0, 0, 0);")
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.label.setOpenExternalLinks(False)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.widget = QtWidgets.QWidget(self.groupBox)
        self.widget.setMinimumSize(QtCore.QSize(300, 0))
        self.widget.setMaximumSize(QtCore.QSize(300, 16777215))
        self.widget.setObjectName("widget")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.widget)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.channelCombo = MyComboBox(self.widget)
        self.channelCombo.setMinimumSize(QtCore.QSize(280, 0))
        self.channelCombo.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.channelCombo.setObjectName("channelCombo")
        self.verticalLayout_2.addWidget(self.channelCombo)
        self.gridLayout_2.addWidget(self.widget, 0, 1, 1, 3)
        self.tresCheck = QtWidgets.QCheckBox(self.groupBox)
        self.tresCheck.setChecked(True)
        self.tresCheck.setObjectName("tresCheck")
        self.gridLayout_2.addWidget(self.tresCheck, 0, 4, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.groupBox)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 0, 6, 1, 1)
        self.modeCombo = QtWidgets.QComboBox(self.groupBox)
        self.modeCombo.setMinimumSize(QtCore.QSize(100, 0))
        self.modeCombo.setMaximumSize(QtCore.QSize(100, 16777215))
        self.modeCombo.setMaxVisibleItems(4)
        self.modeCombo.setObjectName("modeCombo")
        self.gridLayout_2.addWidget(self.modeCombo, 0, 7, 1, 2)
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        self.label_2.setMinimumSize(QtCore.QSize(100, 0))
        self.label_2.setMaximumSize(QtCore.QSize(120, 16777215))
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 0, 9, 1, 3)
        self.nominalBitrateEdit = QtWidgets.QLineEdit(self.groupBox)
        self.nominalBitrateEdit.setMinimumSize(QtCore.QSize(30, 0))
        self.nominalBitrateEdit.setMaximumSize(QtCore.QSize(10, 20))
        self.nominalBitrateEdit.setObjectName("nominalBitrateEdit")
        self.gridLayout_2.addWidget(self.nominalBitrateEdit, 0, 12, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.groupBox)
        self.label_6.setMinimumSize(QtCore.QSize(90, 0))
        self.label_6.setMaximumSize(QtCore.QSize(90, 16777215))
        self.label_6.setObjectName("label_6")
        self.gridLayout_2.addWidget(self.label_6, 0, 15, 1, 1)
        self.dataBitrateEdit = QtWidgets.QLineEdit(self.groupBox)
        self.dataBitrateEdit.setMinimumSize(QtCore.QSize(40, 0))
        self.dataBitrateEdit.setMaximumSize(QtCore.QSize(40, 16777215))
        self.dataBitrateEdit.setObjectName("dataBitrateEdit")
        self.gridLayout_2.addWidget(self.dataBitrateEdit, 0, 16, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.groupBox)
        self.label_7.setMinimumSize(QtCore.QSize(120, 0))
        self.label_7.setMaximumSize(QtCore.QSize(120, 16777215))
        self.label_7.setObjectName("label_7")
        self.gridLayout_2.addWidget(self.label_7, 0, 17, 1, 1)
        self.samplePosSpin = QtWidgets.QSpinBox(self.groupBox)
        self.samplePosSpin.setMinimumSize(QtCore.QSize(60, 0))
        self.samplePosSpin.setMaximumSize(QtCore.QSize(60, 16777215))
        self.samplePosSpin.setMinimum(50)
        self.samplePosSpin.setMaximum(90)
        self.samplePosSpin.setSingleStep(5)
        self.samplePosSpin.setProperty("value", 75)
        self.samplePosSpin.setObjectName("samplePosSpin")
        self.gridLayout_2.addWidget(self.samplePosSpin, 0, 18, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        self.label_3.setMinimumSize(QtCore.QSize(50, 0))
        self.label_3.setMaximumSize(QtCore.QSize(50, 16777215))
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 1, 0, 1, 1)
        self.rxIdEdit = QtWidgets.QLineEdit(self.groupBox)
        self.rxIdEdit.setMaximumSize(QtCore.QSize(100, 16777215))
        self.rxIdEdit.setMaxLength(8)
        self.rxIdEdit.setObjectName("rxIdEdit")
        self.gridLayout_2.addWidget(self.rxIdEdit, 1, 1, 1, 1)
        self.label_13 = QtWidgets.QLabel(self.groupBox)
        self.label_13.setMinimumSize(QtCore.QSize(38, 0))
        self.label_13.setMaximumSize(QtCore.QSize(38, 16777215))
        self.label_13.setObjectName("label_13")
        self.gridLayout_2.addWidget(self.label_13, 1, 2, 1, 1)
        self.rxMaskEdit = QtWidgets.QLineEdit(self.groupBox)
        self.rxMaskEdit.setMinimumSize(QtCore.QSize(90, 0))
        self.rxMaskEdit.setMaximumSize(QtCore.QSize(90, 16777215))
        self.rxMaskEdit.setMaxLength(8)
        self.rxMaskEdit.setObjectName("rxMaskEdit")
        self.gridLayout_2.addWidget(self.rxMaskEdit, 1, 3, 1, 1)
        self.rxStandardCheck = QtWidgets.QCheckBox(self.groupBox)
        self.rxStandardCheck.setEnabled(True)
        self.rxStandardCheck.setChecked(True)
        self.rxStandardCheck.setObjectName("rxStandardCheck")
        self.gridLayout_2.addWidget(self.rxStandardCheck, 1, 4, 1, 2)
        self.rxExtendedCheck = QtWidgets.QCheckBox(self.groupBox)
        self.rxExtendedCheck.setEnabled(True)
        self.rxExtendedCheck.setMinimumSize(QtCore.QSize(110, 0))
        self.rxExtendedCheck.setMaximumSize(QtCore.QSize(110, 16777215))
        self.rxExtendedCheck.setChecked(True)
        self.rxExtendedCheck.setObjectName("rxExtendedCheck")
        self.gridLayout_2.addWidget(self.rxExtendedCheck, 1, 6, 1, 1)
        self.rxAdvancedFilterCheck = QtWidgets.QCheckBox(self.groupBox)
        self.rxAdvancedFilterCheck.setEnabled(False)
        self.rxAdvancedFilterCheck.setMinimumSize(QtCore.QSize(200, 0))
        self.rxAdvancedFilterCheck.setMaximumSize(QtCore.QSize(200, 16777215))
        self.rxAdvancedFilterCheck.setChecked(False)
        self.rxAdvancedFilterCheck.setObjectName("rxAdvancedFilterCheck")
        self.gridLayout_2.addWidget(self.rxAdvancedFilterCheck, 1, 7, 1, 5)
        self.label_14 = QtWidgets.QLabel(self.groupBox)
        self.label_14.setObjectName("label_14")
        self.gridLayout_2.addWidget(self.label_14, 1, 15, 1, 1)
        self.rxDataMaskEdit = QtWidgets.QLineEdit(self.groupBox)
        self.rxDataMaskEdit.setEnabled(False)
        self.rxDataMaskEdit.setMinimumSize(QtCore.QSize(250, 0))
        self.rxDataMaskEdit.setMaximumSize(QtCore.QSize(200, 16777215))
        self.rxDataMaskEdit.setReadOnly(False)
        self.rxDataMaskEdit.setObjectName("rxDataMaskEdit")
        self.gridLayout_2.addWidget(self.rxDataMaskEdit, 1, 16, 1, 3)
        self.label_5 = QtWidgets.QLabel(self.groupBox)
        self.label_5.setObjectName("label_5")
        self.gridLayout_2.addWidget(self.label_5, 2, 0, 1, 1)
        self.txIdEdit = QtWidgets.QLineEdit(self.groupBox)
        self.txIdEdit.setMinimumSize(QtCore.QSize(100, 0))
        self.txIdEdit.setMaximumSize(QtCore.QSize(100, 16777215))
        self.txIdEdit.setMaxLength(8)
        self.txIdEdit.setObjectName("txIdEdit")
        self.gridLayout_2.addWidget(self.txIdEdit, 2, 1, 1, 1)
        self.label_12 = QtWidgets.QLabel(self.groupBox)
        self.label_12.setObjectName("label_12")
        self.gridLayout_2.addWidget(self.label_12, 2, 2, 1, 1)
        self.txTypeCombo = QtWidgets.QComboBox(self.groupBox)
        self.txTypeCombo.setEnabled(True)
        self.txTypeCombo.setMinimumSize(QtCore.QSize(90, 0))
        self.txTypeCombo.setMaximumSize(QtCore.QSize(90, 16777215))
        self.txTypeCombo.setObjectName("txTypeCombo")
        self.txTypeCombo.addItem("")
        self.gridLayout_2.addWidget(self.txTypeCombo, 2, 3, 1, 1)
        self.txFdCheck = QtWidgets.QCheckBox(self.groupBox)
        self.txFdCheck.setMaximumSize(QtCore.QSize(60, 16777215))
        self.txFdCheck.setChecked(True)
        self.txFdCheck.setObjectName("txFdCheck")
        self.gridLayout_2.addWidget(self.txFdCheck, 2, 4, 1, 1)
        self.txExtendedCheck = QtWidgets.QCheckBox(self.groupBox)
        self.txExtendedCheck.setMinimumSize(QtCore.QSize(60, 0))
        self.txExtendedCheck.setMaximumSize(QtCore.QSize(60, 16777215))
        self.txExtendedCheck.setChecked(True)
        self.txExtendedCheck.setObjectName("txExtendedCheck")
        self.gridLayout_2.addWidget(self.txExtendedCheck, 2, 5, 1, 1)
        self.label_9 = QtWidgets.QLabel(self.groupBox)
        self.label_9.setObjectName("label_9")
        self.gridLayout_2.addWidget(self.label_9, 2, 6, 1, 1)
        self.txCycleEdit = QtWidgets.QLineEdit(self.groupBox)
        self.txCycleEdit.setMinimumSize(QtCore.QSize(45, 0))
        self.txCycleEdit.setMaximumSize(QtCore.QSize(45, 16777215))
        self.txCycleEdit.setPlaceholderText("")
        self.txCycleEdit.setObjectName("txCycleEdit")
        self.gridLayout_2.addWidget(self.txCycleEdit, 2, 7, 1, 1)
        self.label_15 = QtWidgets.QLabel(self.groupBox)
        self.label_15.setMinimumSize(QtCore.QSize(25, 0))
        self.label_15.setMaximumSize(QtCore.QSize(25, 16777215))
        self.label_15.setObjectName("label_15")
        self.gridLayout_2.addWidget(self.label_15, 2, 8, 1, 1)
        self.txChannelCombo = QtWidgets.QComboBox(self.groupBox)
        self.txChannelCombo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.txChannelCombo.setObjectName("txChannelCombo")
        self.gridLayout_2.addWidget(self.txChannelCombo, 2, 9, 1, 1)
        self.label_11 = QtWidgets.QLabel(self.groupBox)
        self.label_11.setMaximumSize(QtCore.QSize(30, 16777215))
        self.label_11.setObjectName("label_11")
        self.gridLayout_2.addWidget(self.label_11, 2, 10, 1, 1)
        self.txCountEdit = QtWidgets.QLineEdit(self.groupBox)
        self.txCountEdit.setMaximumSize(QtCore.QSize(25, 16777215))
        self.txCountEdit.setObjectName("txCountEdit")
        self.gridLayout_2.addWidget(self.txCountEdit, 2, 11, 1, 1)
        self.txDlcEdit = QtWidgets.QLineEdit(self.groupBox)
        self.txDlcEdit.setMaximumSize(QtCore.QSize(25, 16777215))
        self.txDlcEdit.setMaxLength(2)
        self.txDlcEdit.setObjectName("txDlcEdit")
        self.gridLayout_2.addWidget(self.txDlcEdit, 2, 14, 1, 1)
        self.label_10 = QtWidgets.QLabel(self.groupBox)
        self.label_10.setObjectName("label_10")
        self.gridLayout_2.addWidget(self.label_10, 2, 15, 1, 1)
        self.txDataEdit = QtWidgets.QLineEdit(self.groupBox)
        self.txDataEdit.setMinimumSize(QtCore.QSize(250, 0))
        self.txDataEdit.setMaximumSize(QtCore.QSize(200, 16777215))
        self.txDataEdit.setObjectName("txDataEdit")
        self.gridLayout_2.addWidget(self.txDataEdit, 2, 16, 1, 3)
        self.label_8 = QtWidgets.QLabel(self.groupBox)
        self.label_8.setMaximumSize(QtCore.QSize(30, 16777215))
        self.label_8.setObjectName("label_8")
        self.gridLayout_2.addWidget(self.label_8, 2, 12, 1, 1)
        self.widget1 = QtWidgets.QWidget(self.groupBox)
        self.widget1.setMinimumSize(QtCore.QSize(100, 0))
        self.widget1.setMaximumSize(QtCore.QSize(120, 16777215))
        self.widget1.setObjectName("widget1")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.widget1)
        self.verticalLayout.setObjectName("verticalLayout")
        self.openButton = QtWidgets.QPushButton(self.widget1)
        self.openButton.setMinimumSize(QtCore.QSize(0, 0))
        self.openButton.setMaximumSize(QtCore.QSize(100, 16777215))
        self.openButton.setCheckable(True)
        self.openButton.setObjectName("openButton")
        self.verticalLayout.addWidget(self.openButton)
        self.enumerateButton = QtWidgets.QPushButton(self.widget1)
        self.enumerateButton.setMinimumSize(QtCore.QSize(0, 0))
        self.enumerateButton.setMaximumSize(QtCore.QSize(100, 16777215))
        self.enumerateButton.setObjectName("enumerateButton")
        self.verticalLayout.addWidget(self.enumerateButton)
        self.txButton = QtWidgets.QPushButton(self.widget1)
        self.txButton.setEnabled(False)
        self.txButton.setMinimumSize(QtCore.QSize(80, 0))
        self.txButton.setMaximumSize(QtCore.QSize(100, 16777215))
        self.txButton.setCheckable(True)
        self.txButton.setObjectName("txButton")
        self.verticalLayout.addWidget(self.txButton)
        self.gridLayout_2.addWidget(self.widget1, 0, 19, 3, 1)
        self.gridLayout.addWidget(self.groupBox, 1, 0, 1, 1)

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

    def retranslateUi(self, Widget):
        _translate = QtCore.QCoreApplication.translate
        Widget.setWindowTitle(_translate("Widget", "BUSMUST CAN Analyzer"))
        self.groupBox.setTitle(_translate("Widget", "Control Panel"))
        self.label.setText(_translate("Widget", "Channel:"))
        self.tresCheck.setText(_translate("Widget", "T-Res"))
        self.label_4.setText(_translate("Widget", "CAN Mode:"))
        self.label_2.setText(_translate("Widget", "<html><head/><body><p>Nominal kbps:</p></body></html>"))
        self.nominalBitrateEdit.setText(_translate("Widget", "500"))
        self.label_6.setText(_translate("Widget", "Data kbps:"))
        self.dataBitrateEdit.setText(_translate("Widget", "2000"))
        self.label_7.setText(_translate("Widget", "<html><head/><body><p align=\"right\">SamplePos %:</p></body></html>"))
        self.label_3.setText(_translate("Widget", "RX ID:"))
        self.rxIdEdit.setText(_translate("Widget", "0"))
        self.label_13.setText(_translate("Widget", "Mask:"))
        self.rxMaskEdit.setText(_translate("Widget", "0"))
        self.rxStandardCheck.setText(_translate("Widget", "Accept Std"))
        self.rxExtendedCheck.setText(_translate("Widget", "Accept Ext"))
        self.rxAdvancedFilterCheck.setText(_translate("Widget", "Advanced RX Filter"))
        self.label_14.setText(_translate("Widget", "Data Mask:"))
        self.rxDataMaskEdit.setText(_translate("Widget", "XX XX XX XX XX XX XX XX"))
        self.rxDataMaskEdit.setPlaceholderText(_translate("Widget", "Accepted payload pattern in HEX format"))
        self.label_5.setText(_translate("Widget", "TX ID:"))
        self.txIdEdit.setText(_translate("Widget", "7FF"))
        self.label_12.setText(_translate("Widget", "Type:"))
        self.txTypeCombo.setItemText(0, _translate("Widget", "SW"))
        self.txFdCheck.setText(_translate("Widget", "FD"))
        self.txExtendedCheck.setText(_translate("Widget", "Ext"))
        self.label_9.setText(_translate("Widget", "Cycle(ms):"))
        self.txCycleEdit.setText(_translate("Widget", "1000"))
        self.label_15.setText(_translate("Widget", "<html><head/><body><p>CH</p></body></html>"))
        self.label_11.setText(_translate("Widget", "Count:"))
        self.txCountEdit.setText(_translate("Widget", "1"))
        self.txDlcEdit.setText(_translate("Widget", "8"))
        self.label_10.setText(_translate("Widget", "Data:"))
        self.txDataEdit.setText(_translate("Widget", "01 23 45 67 89 AB CD EF"))
        self.label_8.setText(_translate("Widget", "DLC:"))
        self.openButton.setText(_translate("Widget", "Open"))
        self.enumerateButton.setText(_translate("Widget", "Enumerate"))
        self.txButton.setText(_translate("Widget", "Transmit"))
from mycombobox import MyComboBox
