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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/can/ui/can.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_CAN(object):
    def setupUi(self, CAN):
        CAN.setObjectName("CAN")
        CAN.resize(696, 528)
        self.verticalLayout = QtWidgets.QVBoxLayout(CAN)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tree_frames = QtWidgets.QTreeWidget(CAN)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.tree_frames.sizePolicy().hasHeightForWidth())
        self.tree_frames.setSizePolicy(sizePolicy)
        self.tree_frames.setMinimumSize(QtCore.QSize(0, 100))
        self.tree_frames.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
        self.tree_frames.setRootIsDecorated(False)
        self.tree_frames.setObjectName("tree_frames")
        self.verticalLayout.addWidget(self.tree_frames)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(CAN)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(CAN)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 5, 1, 1)
        self.label_2 = QtWidgets.QLabel(CAN)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 0, 4, 1, 1)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.button_write_frame = QtWidgets.QPushButton(CAN)
        self.button_write_frame.setObjectName("button_write_frame")
        self.horizontalLayout_6.addWidget(self.button_write_frame)
        self.button_clear_history = QtWidgets.QPushButton(CAN)
        self.button_clear_history.setObjectName("button_clear_history")
        self.horizontalLayout_6.addWidget(self.button_clear_history)
        self.button_save_history = QtWidgets.QPushButton(CAN)
        self.button_save_history.setObjectName("button_save_history")
        self.horizontalLayout_6.addWidget(self.button_save_history)
        self.gridLayout.addLayout(self.horizontalLayout_6, 2, 0, 1, 6)
        self.combo_frame_type = QtWidgets.QComboBox(CAN)
        self.combo_frame_type.setObjectName("combo_frame_type")
        self.combo_frame_type.addItem("")
        self.combo_frame_type.addItem("")
        self.combo_frame_type.addItem("")
        self.combo_frame_type.addItem("")
        self.gridLayout.addWidget(self.combo_frame_type, 1, 0, 1, 1)
        self.edit_data = QtWidgets.QLineEdit(CAN)
        self.edit_data.setObjectName("edit_data")
        self.gridLayout.addWidget(self.edit_data, 1, 4, 1, 1)
        self.spin_length = QtWidgets.QSpinBox(CAN)
        self.spin_length.setMaximum(15)
        self.spin_length.setObjectName("spin_length")
        self.gridLayout.addWidget(self.spin_length, 1, 5, 1, 1)
        self.spin_identifier_extended = SpinBoxHex(CAN)
        self.spin_identifier_extended.setMaximum(262143)
        self.spin_identifier_extended.setObjectName("spin_identifier_extended")
        self.gridLayout.addWidget(self.spin_identifier_extended, 1, 1, 1, 1)
        self.spin_identifier_standard = SpinBoxHex(CAN)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spin_identifier_standard.sizePolicy().hasHeightForWidth())
        self.spin_identifier_standard.setSizePolicy(sizePolicy)
        self.spin_identifier_standard.setMaximum(2047)
        self.spin_identifier_standard.setObjectName("spin_identifier_standard")
        self.gridLayout.addWidget(self.spin_identifier_standard, 1, 2, 1, 1)
        self.label_3 = QtWidgets.QLabel(CAN)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 0, 2, 1, 1)
        self.label_11 = QtWidgets.QLabel(CAN)
        self.label_11.setObjectName("label_11")
        self.gridLayout.addWidget(self.label_11, 0, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.line_3 = QtWidgets.QFrame(CAN)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.verticalLayout.addWidget(self.line_3)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_6 = QtWidgets.QLabel(CAN)
        self.label_6.setObjectName("label_6")
        self.gridLayout_2.addWidget(self.label_6, 0, 0, 1, 1)
        self.label_7 = QtWidgets.QLabel(CAN)
        self.label_7.setObjectName("label_7")
        self.gridLayout_2.addWidget(self.label_7, 1, 0, 1, 1)
        self.label_5 = QtWidgets.QLabel(CAN)
        self.label_5.setObjectName("label_5")
        self.gridLayout_2.addWidget(self.label_5, 2, 0, 1, 1)
        self.button_save_configuration = QtWidgets.QPushButton(CAN)
        self.button_save_configuration.setObjectName("button_save_configuration")
        self.gridLayout_2.addWidget(self.button_save_configuration, 4, 0, 1, 2)
        self.spin_write_timeout = QtWidgets.QSpinBox(CAN)
        self.spin_write_timeout.setMinimum(-1)
        self.spin_write_timeout.setMaximum(2147483647)
        self.spin_write_timeout.setProperty("value", 0)
        self.spin_write_timeout.setObjectName("spin_write_timeout")
        self.gridLayout_2.addWidget(self.spin_write_timeout, 2, 1, 1, 1)
        self.combo_transceiver_mode = QtWidgets.QComboBox(CAN)
        self.combo_transceiver_mode.setObjectName("combo_transceiver_mode")
        self.combo_transceiver_mode.addItem("")
        self.combo_transceiver_mode.addItem("")
        self.combo_transceiver_mode.addItem("")
        self.gridLayout_2.addWidget(self.combo_transceiver_mode, 1, 1, 1, 1)
        self.combo_baud_rate = QtWidgets.QComboBox(CAN)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_baud_rate.sizePolicy().hasHeightForWidth())
        self.combo_baud_rate.setSizePolicy(sizePolicy)
        self.combo_baud_rate.setObjectName("combo_baud_rate")
        self.combo_baud_rate.addItem("")
        self.combo_baud_rate.addItem("")
        self.combo_baud_rate.addItem("")
        self.combo_baud_rate.addItem("")
        self.combo_baud_rate.addItem("")
        self.combo_baud_rate.addItem("")
        self.combo_baud_rate.addItem("")
        self.combo_baud_rate.addItem("")
        self.gridLayout_2.addWidget(self.combo_baud_rate, 0, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 3, 0, 1, 1)
        self.horizontalLayout_4.addLayout(self.gridLayout_2)
        self.line = QtWidgets.QFrame(CAN)
        self.line.setFrameShape(QtWidgets.QFrame.VLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.horizontalLayout_4.addWidget(self.line)
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_20 = QtWidgets.QLabel(CAN)
        self.label_20.setObjectName("label_20")
        self.gridLayout_3.addWidget(self.label_20, 0, 0, 1, 1)
        self.button_save_read_filter = QtWidgets.QPushButton(CAN)
        self.button_save_read_filter.setObjectName("button_save_read_filter")
        self.gridLayout_3.addWidget(self.button_save_read_filter, 4, 0, 1, 2)
        self.combo_filter_mode = QtWidgets.QComboBox(CAN)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_filter_mode.sizePolicy().hasHeightForWidth())
        self.combo_filter_mode.setSizePolicy(sizePolicy)
        self.combo_filter_mode.setObjectName("combo_filter_mode")
        self.combo_filter_mode.addItem("")
        self.combo_filter_mode.addItem("")
        self.combo_filter_mode.addItem("")
        self.combo_filter_mode.addItem("")
        self.combo_filter_mode.addItem("")
        self.gridLayout_3.addWidget(self.combo_filter_mode, 0, 1, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.spin_filter_mask_extended = SpinBoxHex(CAN)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spin_filter_mask_extended.sizePolicy().hasHeightForWidth())
        self.spin_filter_mask_extended.setSizePolicy(sizePolicy)
        self.spin_filter_mask_extended.setMaximum(262143)
        self.spin_filter_mask_extended.setObjectName("spin_filter_mask_extended")
        self.horizontalLayout.addWidget(self.spin_filter_mask_extended)
        self.spin_filter_mask_standard = SpinBoxHex(CAN)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spin_filter_mask_standard.sizePolicy().hasHeightForWidth())
        self.spin_filter_mask_standard.setSizePolicy(sizePolicy)
        self.spin_filter_mask_standard.setMaximum(2047)
        self.spin_filter_mask_standard.setObjectName("spin_filter_mask_standard")
        self.horizontalLayout.addWidget(self.spin_filter_mask_standard)
        self.spin_filter_mask_data1 = SpinBoxHex(CAN)
        self.spin_filter_mask_data1.setMaximum(255)
        self.spin_filter_mask_data1.setObjectName("spin_filter_mask_data1")
        self.horizontalLayout.addWidget(self.spin_filter_mask_data1)
        self.spin_filter_mask_data2 = SpinBoxHex(CAN)
        self.spin_filter_mask_data2.setMaximum(255)
        self.spin_filter_mask_data2.setObjectName("spin_filter_mask_data2")
        self.horizontalLayout.addWidget(self.spin_filter_mask_data2)
        self.gridLayout_3.addLayout(self.horizontalLayout, 1, 1, 1, 1)
        self.label_22 = QtWidgets.QLabel(CAN)
        self.label_22.setObjectName("label_22")
        self.gridLayout_3.addWidget(self.label_22, 1, 0, 1, 1)
        self.label_23 = QtWidgets.QLabel(CAN)
        self.label_23.setObjectName("label_23")
        self.gridLayout_3.addWidget(self.label_23, 2, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.spin_filter2_extended = SpinBoxHex(CAN)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spin_filter2_extended.sizePolicy().hasHeightForWidth())
        self.spin_filter2_extended.setSizePolicy(sizePolicy)
        self.spin_filter2_extended.setMaximum(262143)
        self.spin_filter2_extended.setObjectName("spin_filter2_extended")
        self.horizontalLayout_2.addWidget(self.spin_filter2_extended)
        self.spin_filter2_standard = SpinBoxHex(CAN)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spin_filter2_standard.sizePolicy().hasHeightForWidth())
        self.spin_filter2_standard.setSizePolicy(sizePolicy)
        self.spin_filter2_standard.setMaximum(2047)
        self.spin_filter2_standard.setObjectName("spin_filter2_standard")
        self.horizontalLayout_2.addWidget(self.spin_filter2_standard)
        self.spin_filter2_data1 = SpinBoxHex(CAN)
        self.spin_filter2_data1.setMaximum(255)
        self.spin_filter2_data1.setObjectName("spin_filter2_data1")
        self.horizontalLayout_2.addWidget(self.spin_filter2_data1)
        self.spin_filter2_data2 = SpinBoxHex(CAN)
        self.spin_filter2_data2.setMaximum(255)
        self.spin_filter2_data2.setObjectName("spin_filter2_data2")
        self.horizontalLayout_2.addWidget(self.spin_filter2_data2)
        self.gridLayout_3.addLayout(self.horizontalLayout_2, 3, 1, 1, 1)
        self.label_21 = QtWidgets.QLabel(CAN)
        self.label_21.setObjectName("label_21")
        self.gridLayout_3.addWidget(self.label_21, 3, 0, 1, 1)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.spin_filter1_extended = SpinBoxHex(CAN)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spin_filter1_extended.sizePolicy().hasHeightForWidth())
        self.spin_filter1_extended.setSizePolicy(sizePolicy)
        self.spin_filter1_extended.setMaximum(262143)
        self.spin_filter1_extended.setObjectName("spin_filter1_extended")
        self.horizontalLayout_3.addWidget(self.spin_filter1_extended)
        self.spin_filter1_standard = SpinBoxHex(CAN)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spin_filter1_standard.sizePolicy().hasHeightForWidth())
        self.spin_filter1_standard.setSizePolicy(sizePolicy)
        self.spin_filter1_standard.setMaximum(2047)
        self.spin_filter1_standard.setObjectName("spin_filter1_standard")
        self.horizontalLayout_3.addWidget(self.spin_filter1_standard)
        self.spin_filter1_data1 = SpinBoxHex(CAN)
        self.spin_filter1_data1.setMaximum(255)
        self.spin_filter1_data1.setObjectName("spin_filter1_data1")
        self.horizontalLayout_3.addWidget(self.spin_filter1_data1)
        self.spin_filter1_data2 = SpinBoxHex(CAN)
        self.spin_filter1_data2.setMaximum(255)
        self.spin_filter1_data2.setObjectName("spin_filter1_data2")
        self.horizontalLayout_3.addWidget(self.spin_filter1_data2)
        self.gridLayout_3.addLayout(self.horizontalLayout_3, 2, 1, 1, 1)
        self.horizontalLayout_4.addLayout(self.gridLayout_3)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.line_4 = QtWidgets.QFrame(CAN)
        self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.verticalLayout.addWidget(self.line_4)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.gridLayout_4 = QtWidgets.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label_8 = QtWidgets.QLabel(CAN)
        self.label_8.setObjectName("label_8")
        self.gridLayout_4.addWidget(self.label_8, 1, 0, 1, 1)
        self.label_10 = QtWidgets.QLabel(CAN)
        self.label_10.setObjectName("label_10")
        self.gridLayout_4.addWidget(self.label_10, 0, 0, 1, 1)
        self.label_write_error_level = QtWidgets.QLabel(CAN)
        self.label_write_error_level.setObjectName("label_write_error_level")
        self.gridLayout_4.addWidget(self.label_write_error_level, 0, 1, 1, 1)
        self.label_read_error_level = QtWidgets.QLabel(CAN)
        self.label_read_error_level.setObjectName("label_read_error_level")
        self.gridLayout_4.addWidget(self.label_read_error_level, 1, 1, 1, 1)
        self.label_9 = QtWidgets.QLabel(CAN)
        self.label_9.setObjectName("label_9")
        self.gridLayout_4.addWidget(self.label_9, 2, 0, 1, 1)
        self.label_transceiver_status = QtWidgets.QLabel(CAN)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_transceiver_status.sizePolicy().hasHeightForWidth())
        self.label_transceiver_status.setSizePolicy(sizePolicy)
        self.label_transceiver_status.setObjectName("label_transceiver_status")
        self.gridLayout_4.addWidget(self.label_transceiver_status, 2, 1, 1, 1)
        self.horizontalLayout_5.addLayout(self.gridLayout_4)
        self.line_2 = QtWidgets.QFrame(CAN)
        self.line_2.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.horizontalLayout_5.addWidget(self.line_2)
        self.gridLayout_5 = QtWidgets.QGridLayout()
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.label_read_buffer_overflows = QtWidgets.QLabel(CAN)
        self.label_read_buffer_overflows.setObjectName("label_read_buffer_overflows")
        self.gridLayout_5.addWidget(self.label_read_buffer_overflows, 2, 1, 1, 1)
        self.label_12 = QtWidgets.QLabel(CAN)
        self.label_12.setObjectName("label_12")
        self.gridLayout_5.addWidget(self.label_12, 2, 0, 1, 1)
        self.label_16 = QtWidgets.QLabel(CAN)
        self.label_16.setObjectName("label_16")
        self.gridLayout_5.addWidget(self.label_16, 1, 0, 1, 1)
        self.label_17 = QtWidgets.QLabel(CAN)
        self.label_17.setObjectName("label_17")
        self.gridLayout_5.addWidget(self.label_17, 0, 0, 1, 1)
        self.label_write_timeouts = QtWidgets.QLabel(CAN)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_write_timeouts.sizePolicy().hasHeightForWidth())
        self.label_write_timeouts.setSizePolicy(sizePolicy)
        self.label_write_timeouts.setObjectName("label_write_timeouts")
        self.gridLayout_5.addWidget(self.label_write_timeouts, 0, 1, 1, 1)
        self.label_read_register_overflows = QtWidgets.QLabel(CAN)
        self.label_read_register_overflows.setObjectName("label_read_register_overflows")
        self.gridLayout_5.addWidget(self.label_read_register_overflows, 1, 1, 1, 1)
        self.horizontalLayout_5.addLayout(self.gridLayout_5)
        self.verticalLayout.addLayout(self.horizontalLayout_5)

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

    def retranslateUi(self, CAN):
        _translate = QtCore.QCoreApplication.translate
        CAN.setWindowTitle(_translate("CAN", "Form"))
        self.tree_frames.headerItem().setText(0, _translate("CAN", "Frame Type"))
        self.tree_frames.headerItem().setText(1, _translate("CAN", "Extended ID [Hex]"))
        self.tree_frames.headerItem().setText(2, _translate("CAN", "Standard ID [Hex]"))
        self.tree_frames.headerItem().setText(3, _translate("CAN", "Data [Hex]"))
        self.tree_frames.headerItem().setText(4, _translate("CAN", "Length"))
        self.label.setText(_translate("CAN", "Frame Type:"))
        self.label_4.setText(_translate("CAN", "Length:"))
        self.label_2.setText(_translate("CAN", "Data [Hex]:"))
        self.button_write_frame.setText(_translate("CAN", "Write Frame"))
        self.button_clear_history.setText(_translate("CAN", "Clear History"))
        self.button_save_history.setText(_translate("CAN", "Save History..."))
        self.combo_frame_type.setItemText(0, _translate("CAN", "Standard Data"))
        self.combo_frame_type.setItemText(1, _translate("CAN", "Standard Remote"))
        self.combo_frame_type.setItemText(2, _translate("CAN", "Extended Data"))
        self.combo_frame_type.setItemText(3, _translate("CAN", "Extended Remote"))
        self.label_3.setText(_translate("CAN", "Standard ID [Hex]:"))
        self.label_11.setText(_translate("CAN", "Extended ID [Hex]:"))
        self.label_6.setText(_translate("CAN", "Baud Rate:"))
        self.label_7.setText(_translate("CAN", "Transceiver Mode:"))
        self.label_5.setText(_translate("CAN", "Write Timeout:"))
        self.button_save_configuration.setText(_translate("CAN", "Save Configuration"))
        self.spin_write_timeout.setToolTip(_translate("CAN", "< 0 (One-Shot), = 0 (Infinite), > 0 (Milliseconds)"))
        self.combo_transceiver_mode.setItemText(0, _translate("CAN", "Normal"))
        self.combo_transceiver_mode.setItemText(1, _translate("CAN", "Loopback"))
        self.combo_transceiver_mode.setItemText(2, _translate("CAN", "Read Only"))
        self.combo_baud_rate.setItemText(0, _translate("CAN", "10 kbit/s"))
        self.combo_baud_rate.setItemText(1, _translate("CAN", "20 kbit/s"))
        self.combo_baud_rate.setItemText(2, _translate("CAN", "50 kbit/s"))
        self.combo_baud_rate.setItemText(3, _translate("CAN", "125 kbit/s"))
        self.combo_baud_rate.setItemText(4, _translate("CAN", "250 kbit/s"))
        self.combo_baud_rate.setItemText(5, _translate("CAN", "500 kbit/s"))
        self.combo_baud_rate.setItemText(6, _translate("CAN", "800 kbit/s"))
        self.combo_baud_rate.setItemText(7, _translate("CAN", "1000 kbit/s"))
        self.label_20.setText(_translate("CAN", "Filter Mode:"))
        self.button_save_read_filter.setText(_translate("CAN", "Save Read Filter"))
        self.combo_filter_mode.setItemText(0, _translate("CAN", "Disabled"))
        self.combo_filter_mode.setItemText(1, _translate("CAN", "Accept All"))
        self.combo_filter_mode.setItemText(2, _translate("CAN", "Match Standard"))
        self.combo_filter_mode.setItemText(3, _translate("CAN", "Match Standard and Data"))
        self.combo_filter_mode.setItemText(4, _translate("CAN", "Match Extended"))
        self.label_22.setText(_translate("CAN", "Mask [Hex]:"))
        self.label_23.setText(_translate("CAN", "Filter 1 [Hex]:"))
        self.label_21.setText(_translate("CAN", "Filter 2 [Hex]:"))
        self.label_8.setText(_translate("CAN", "Read Error Level:"))
        self.label_10.setText(_translate("CAN", "Write Error Level:"))
        self.label_write_error_level.setText(_translate("CAN", "0"))
        self.label_read_error_level.setText(_translate("CAN", "0"))
        self.label_9.setText(_translate("CAN", "Transceiver Status:"))
        self.label_transceiver_status.setText(_translate("CAN", "Active"))
        self.label_read_buffer_overflows.setText(_translate("CAN", "0"))
        self.label_12.setText(_translate("CAN", "Read Buffer Overflows:"))
        self.label_16.setText(_translate("CAN", "Read Register Overflows:"))
        self.label_17.setText(_translate("CAN", "Write Timeouts:"))
        self.label_write_timeouts.setText(_translate("CAN", "0"))
        self.label_read_register_overflows.setText(_translate("CAN", "0"))
from brickv.spin_box_hex import SpinBoxHex
