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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/can_v2/ui/can_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_CANV2(object):
    def setupUi(self, CANV2):
        CANV2.setObjectName("CANV2")
        CANV2.resize(1012, 636)
        self.verticalLayout = QtWidgets.QVBoxLayout(CANV2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tree_frames = QtWidgets.QTreeWidget(CANV2)
        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(CANV2)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(CANV2)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 3, 1, 1)
        self.label_2 = QtWidgets.QLabel(CANV2)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 0, 2, 1, 1)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.button_write_frame = QtWidgets.QPushButton(CANV2)
        self.button_write_frame.setObjectName("button_write_frame")
        self.horizontalLayout_6.addWidget(self.button_write_frame)
        self.button_clear_history = QtWidgets.QPushButton(CANV2)
        self.button_clear_history.setObjectName("button_clear_history")
        self.horizontalLayout_6.addWidget(self.button_clear_history)
        self.button_save_history = QtWidgets.QPushButton(CANV2)
        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, 4)
        self.combo_frame_type = QtWidgets.QComboBox(CANV2)
        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(CANV2)
        self.edit_data.setObjectName("edit_data")
        self.gridLayout.addWidget(self.edit_data, 1, 2, 1, 1)
        self.spin_length = QtWidgets.QSpinBox(CANV2)
        self.spin_length.setMaximum(15)
        self.spin_length.setObjectName("spin_length")
        self.gridLayout.addWidget(self.spin_length, 1, 3, 1, 1)
        self.spin_identifier = SpinBoxHex(CANV2)
        self.spin_identifier.setMaximum(536870911)
        self.spin_identifier.setObjectName("spin_identifier")
        self.gridLayout.addWidget(self.spin_identifier, 1, 1, 1, 1)
        self.label_11 = QtWidgets.QLabel(CANV2)
        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(CANV2)
        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 = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_6 = QtWidgets.QLabel(CANV2)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout.addWidget(self.label_6)
        self.spin_baud_rate = QtWidgets.QSpinBox(CANV2)
        self.spin_baud_rate.setMinimum(10000)
        self.spin_baud_rate.setMaximum(1000000)
        self.spin_baud_rate.setProperty("value", 125000)
        self.spin_baud_rate.setObjectName("spin_baud_rate")
        self.horizontalLayout.addWidget(self.spin_baud_rate)
        self.label_5 = QtWidgets.QLabel(CANV2)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout.addWidget(self.label_5)
        self.spin_sample_point = QtWidgets.QDoubleSpinBox(CANV2)
        self.spin_sample_point.setDecimals(1)
        self.spin_sample_point.setMinimum(50.0)
        self.spin_sample_point.setMaximum(90.0)
        self.spin_sample_point.setProperty("value", 62.5)
        self.spin_sample_point.setObjectName("spin_sample_point")
        self.horizontalLayout.addWidget(self.spin_sample_point)
        self.label_7 = QtWidgets.QLabel(CANV2)
        self.label_7.setObjectName("label_7")
        self.horizontalLayout.addWidget(self.label_7)
        self.combo_transceiver_mode = QtWidgets.QComboBox(CANV2)
        self.combo_transceiver_mode.setObjectName("combo_transceiver_mode")
        self.combo_transceiver_mode.addItem("")
        self.combo_transceiver_mode.addItem("")
        self.combo_transceiver_mode.addItem("")
        self.horizontalLayout.addWidget(self.combo_transceiver_mode)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.button_save_transceiver_configuration = QtWidgets.QPushButton(CANV2)
        self.button_save_transceiver_configuration.setObjectName("button_save_transceiver_configuration")
        self.horizontalLayout.addWidget(self.button_save_transceiver_configuration)
        self.button_reset_transceiver_configuration = QtWidgets.QPushButton(CANV2)
        self.button_reset_transceiver_configuration.setObjectName("button_reset_transceiver_configuration")
        self.horizontalLayout.addWidget(self.button_reset_transceiver_configuration)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.line_7 = QtWidgets.QFrame(CANV2)
        self.line_7.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_7.setObjectName("line_7")
        self.verticalLayout.addWidget(self.line_7)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.gridLayout_6 = QtWidgets.QGridLayout()
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.label_21 = QtWidgets.QLabel(CANV2)
        self.label_21.setObjectName("label_21")
        self.gridLayout_6.addWidget(self.label_21, 0, 0, 1, 1)
        self.label_24 = QtWidgets.QLabel(CANV2)
        self.label_24.setObjectName("label_24")
        self.gridLayout_6.addWidget(self.label_24, 4, 0, 1, 1)
        self.label_25 = QtWidgets.QLabel(CANV2)
        self.label_25.setObjectName("label_25")
        self.gridLayout_6.addWidget(self.label_25, 1, 0, 1, 1)
        self.label_27 = QtWidgets.QLabel(CANV2)
        self.label_27.setObjectName("label_27")
        self.gridLayout_6.addWidget(self.label_27, 2, 0, 1, 1)
        self.label_28 = QtWidgets.QLabel(CANV2)
        self.label_28.setObjectName("label_28")
        self.gridLayout_6.addWidget(self.label_28, 3, 0, 1, 1)
        self.spin_write_buffer_size = QtWidgets.QSpinBox(CANV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spin_write_buffer_size.sizePolicy().hasHeightForWidth())
        self.spin_write_buffer_size.setSizePolicy(sizePolicy)
        self.spin_write_buffer_size.setMaximum(31)
        self.spin_write_buffer_size.setObjectName("spin_write_buffer_size")
        self.gridLayout_6.addWidget(self.spin_write_buffer_size, 0, 1, 1, 1)
        self.spin_write_buffer_timeout = QtWidgets.QSpinBox(CANV2)
        self.spin_write_buffer_timeout.setMinimum(-1)
        self.spin_write_buffer_timeout.setMaximum(2147483647)
        self.spin_write_buffer_timeout.setProperty("value", 0)
        self.spin_write_buffer_timeout.setObjectName("spin_write_buffer_timeout")
        self.gridLayout_6.addWidget(self.spin_write_buffer_timeout, 1, 1, 1, 1)
        self.spin_write_backlog_size = QtWidgets.QSpinBox(CANV2)
        self.spin_write_backlog_size.setMaximum(768)
        self.spin_write_backlog_size.setObjectName("spin_write_backlog_size")
        self.gridLayout_6.addWidget(self.spin_write_backlog_size, 2, 1, 1, 1)
        self.edit_read_buffer_sizes = QtWidgets.QLineEdit(CANV2)
        self.edit_read_buffer_sizes.setObjectName("edit_read_buffer_sizes")
        self.gridLayout_6.addWidget(self.edit_read_buffer_sizes, 3, 1, 1, 1)
        self.spin_read_backlog_size = QtWidgets.QSpinBox(CANV2)
        self.spin_read_backlog_size.setMaximum(768)
        self.spin_read_backlog_size.setObjectName("spin_read_backlog_size")
        self.gridLayout_6.addWidget(self.spin_read_backlog_size, 4, 1, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.button_save_queue_configuration = QtWidgets.QPushButton(CANV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_save_queue_configuration.sizePolicy().hasHeightForWidth())
        self.button_save_queue_configuration.setSizePolicy(sizePolicy)
        self.button_save_queue_configuration.setObjectName("button_save_queue_configuration")
        self.horizontalLayout_2.addWidget(self.button_save_queue_configuration)
        self.button_reset_queue_configuration = QtWidgets.QPushButton(CANV2)
        self.button_reset_queue_configuration.setObjectName("button_reset_queue_configuration")
        self.horizontalLayout_2.addWidget(self.button_reset_queue_configuration)
        self.gridLayout_6.addLayout(self.horizontalLayout_2, 5, 0, 1, 2)
        self.horizontalLayout_4.addLayout(self.gridLayout_6)
        self.line_5 = QtWidgets.QFrame(CANV2)
        self.line_5.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.horizontalLayout_4.addWidget(self.line_5)
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_20 = QtWidgets.QLabel(CANV2)
        self.label_20.setObjectName("label_20")
        self.gridLayout_3.addWidget(self.label_20, 1, 0, 1, 1)
        self.label_22 = QtWidgets.QLabel(CANV2)
        self.label_22.setObjectName("label_22")
        self.gridLayout_3.addWidget(self.label_22, 2, 0, 1, 1)
        self.label_23 = QtWidgets.QLabel(CANV2)
        self.label_23.setObjectName("label_23")
        self.gridLayout_3.addWidget(self.label_23, 3, 0, 1, 1)
        self.spin_filter_identifier = SpinBoxHex(CANV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spin_filter_identifier.sizePolicy().hasHeightForWidth())
        self.spin_filter_identifier.setSizePolicy(sizePolicy)
        self.spin_filter_identifier.setMaximum(536870911)
        self.spin_filter_identifier.setObjectName("spin_filter_identifier")
        self.gridLayout_3.addWidget(self.spin_filter_identifier, 3, 1, 1, 1)
        self.spin_filter_mask = SpinBoxHex(CANV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spin_filter_mask.sizePolicy().hasHeightForWidth())
        self.spin_filter_mask.setSizePolicy(sizePolicy)
        self.spin_filter_mask.setMaximum(536870911)
        self.spin_filter_mask.setObjectName("spin_filter_mask")
        self.gridLayout_3.addWidget(self.spin_filter_mask, 2, 1, 1, 1)
        self.combo_filter_mode = QtWidgets.QComboBox(CANV2)
        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.gridLayout_3.addWidget(self.combo_filter_mode, 1, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(CANV2)
        self.label_3.setObjectName("label_3")
        self.gridLayout_3.addWidget(self.label_3, 0, 0, 1, 1)
        self.combo_filter_buffer = QtWidgets.QComboBox(CANV2)
        self.combo_filter_buffer.setObjectName("combo_filter_buffer")
        self.gridLayout_3.addWidget(self.combo_filter_buffer, 0, 1, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem1, 4, 0, 1, 1)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.button_save_read_filter_configuration = QtWidgets.QPushButton(CANV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_save_read_filter_configuration.sizePolicy().hasHeightForWidth())
        self.button_save_read_filter_configuration.setSizePolicy(sizePolicy)
        self.button_save_read_filter_configuration.setObjectName("button_save_read_filter_configuration")
        self.horizontalLayout_3.addWidget(self.button_save_read_filter_configuration)
        self.button_reset_read_filter_configuration = QtWidgets.QPushButton(CANV2)
        self.button_reset_read_filter_configuration.setObjectName("button_reset_read_filter_configuration")
        self.horizontalLayout_3.addWidget(self.button_reset_read_filter_configuration)
        self.gridLayout_3.addLayout(self.horizontalLayout_3, 5, 0, 1, 2)
        self.horizontalLayout_4.addLayout(self.gridLayout_3)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.line_4 = QtWidgets.QFrame(CANV2)
        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(CANV2)
        self.label_8.setObjectName("label_8")
        self.gridLayout_4.addWidget(self.label_8, 2, 0, 1, 1)
        self.label_10 = QtWidgets.QLabel(CANV2)
        self.label_10.setObjectName("label_10")
        self.gridLayout_4.addWidget(self.label_10, 1, 0, 1, 1)
        self.label_transceiver_write_error_level = QtWidgets.QLabel(CANV2)
        self.label_transceiver_write_error_level.setObjectName("label_transceiver_write_error_level")
        self.gridLayout_4.addWidget(self.label_transceiver_write_error_level, 1, 1, 1, 1)
        self.label_transceiver_read_error_level = QtWidgets.QLabel(CANV2)
        self.label_transceiver_read_error_level.setObjectName("label_transceiver_read_error_level")
        self.gridLayout_4.addWidget(self.label_transceiver_read_error_level, 2, 1, 1, 1)
        self.label_9 = QtWidgets.QLabel(CANV2)
        self.label_9.setObjectName("label_9")
        self.gridLayout_4.addWidget(self.label_9, 0, 0, 1, 1)
        self.label_transceiver_state = QtWidgets.QLabel(CANV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_transceiver_state.sizePolicy().hasHeightForWidth())
        self.label_transceiver_state.setSizePolicy(sizePolicy)
        self.label_transceiver_state.setObjectName("label_transceiver_state")
        self.gridLayout_4.addWidget(self.label_transceiver_state, 0, 1, 1, 1)
        self.label_15 = QtWidgets.QLabel(CANV2)
        self.label_15.setObjectName("label_15")
        self.gridLayout_4.addWidget(self.label_15, 3, 0, 1, 1)
        self.label_transceiver_stuffing_errors = QtWidgets.QLabel(CANV2)
        self.label_transceiver_stuffing_errors.setObjectName("label_transceiver_stuffing_errors")
        self.gridLayout_4.addWidget(self.label_transceiver_stuffing_errors, 3, 1, 1, 1)
        self.horizontalLayout_5.addLayout(self.gridLayout_4)
        self.line_2 = QtWidgets.QFrame(CANV2)
        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_7 = QtWidgets.QGridLayout()
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.label_14 = QtWidgets.QLabel(CANV2)
        self.label_14.setObjectName("label_14")
        self.gridLayout_7.addWidget(self.label_14, 0, 0, 1, 1)
        self.label_13 = QtWidgets.QLabel(CANV2)
        self.label_13.setObjectName("label_13")
        self.gridLayout_7.addWidget(self.label_13, 1, 0, 1, 1)
        self.label_transceiver_format_errors = QtWidgets.QLabel(CANV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_transceiver_format_errors.sizePolicy().hasHeightForWidth())
        self.label_transceiver_format_errors.setSizePolicy(sizePolicy)
        self.label_transceiver_format_errors.setObjectName("label_transceiver_format_errors")
        self.gridLayout_7.addWidget(self.label_transceiver_format_errors, 0, 1, 1, 1)
        self.label_transceiver_ack_errors = QtWidgets.QLabel(CANV2)
        self.label_transceiver_ack_errors.setObjectName("label_transceiver_ack_errors")
        self.gridLayout_7.addWidget(self.label_transceiver_ack_errors, 1, 1, 1, 1)
        self.label_26 = QtWidgets.QLabel(CANV2)
        self.label_26.setObjectName("label_26")
        self.gridLayout_7.addWidget(self.label_26, 2, 0, 1, 1)
        self.label_19 = QtWidgets.QLabel(CANV2)
        self.label_19.setObjectName("label_19")
        self.gridLayout_7.addWidget(self.label_19, 3, 0, 1, 1)
        self.label_transceiver_bit1_errors = QtWidgets.QLabel(CANV2)
        self.label_transceiver_bit1_errors.setObjectName("label_transceiver_bit1_errors")
        self.gridLayout_7.addWidget(self.label_transceiver_bit1_errors, 2, 1, 1, 1)
        self.label_transceiver_bit0_errors = QtWidgets.QLabel(CANV2)
        self.label_transceiver_bit0_errors.setObjectName("label_transceiver_bit0_errors")
        self.gridLayout_7.addWidget(self.label_transceiver_bit0_errors, 3, 1, 1, 1)
        self.horizontalLayout_5.addLayout(self.gridLayout_7)
        self.line_6 = QtWidgets.QFrame(CANV2)
        self.line_6.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_6.setObjectName("line_6")
        self.horizontalLayout_5.addWidget(self.line_6)
        self.gridLayout_5 = QtWidgets.QGridLayout()
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.label_read_backlog_overflows = QtWidgets.QLabel(CANV2)
        self.label_read_backlog_overflows.setObjectName("label_read_backlog_overflows")
        self.gridLayout_5.addWidget(self.label_read_backlog_overflows, 3, 1, 1, 1)
        self.label_12 = QtWidgets.QLabel(CANV2)
        self.label_12.setObjectName("label_12")
        self.gridLayout_5.addWidget(self.label_12, 3, 0, 1, 1)
        self.label_16 = QtWidgets.QLabel(CANV2)
        self.label_16.setObjectName("label_16")
        self.gridLayout_5.addWidget(self.label_16, 2, 0, 1, 1)
        self.label_17 = QtWidgets.QLabel(CANV2)
        self.label_17.setObjectName("label_17")
        self.gridLayout_5.addWidget(self.label_17, 1, 0, 1, 1)
        self.label_write_buffer_timeouts = QtWidgets.QLabel(CANV2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_write_buffer_timeouts.sizePolicy().hasHeightForWidth())
        self.label_write_buffer_timeouts.setSizePolicy(sizePolicy)
        self.label_write_buffer_timeouts.setObjectName("label_write_buffer_timeouts")
        self.gridLayout_5.addWidget(self.label_write_buffer_timeouts, 1, 1, 1, 1)
        self.label_read_buffer_overflows = QtWidgets.QLabel(CANV2)
        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_18 = QtWidgets.QLabel(CANV2)
        self.label_18.setObjectName("label_18")
        self.gridLayout_5.addWidget(self.label_18, 0, 0, 1, 1)
        self.label_transceiver_crc_errors = QtWidgets.QLabel(CANV2)
        self.label_transceiver_crc_errors.setObjectName("label_transceiver_crc_errors")
        self.gridLayout_5.addWidget(self.label_transceiver_crc_errors, 0, 1, 1, 1)
        self.horizontalLayout_5.addLayout(self.gridLayout_5)
        self.verticalLayout.addLayout(self.horizontalLayout_5)

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

    def retranslateUi(self, CANV2):
        _translate = QtCore.QCoreApplication.translate
        CANV2.setWindowTitle(_translate("CANV2", "Form"))
        self.tree_frames.headerItem().setText(0, _translate("CANV2", "Frame Type"))
        self.tree_frames.headerItem().setText(1, _translate("CANV2", "Identifier [Hex]"))
        self.tree_frames.headerItem().setText(2, _translate("CANV2", "Data [Hex]"))
        self.tree_frames.headerItem().setText(3, _translate("CANV2", "Length"))
        self.label.setText(_translate("CANV2", "Frame Type:"))
        self.label_4.setText(_translate("CANV2", "Length:"))
        self.label_2.setText(_translate("CANV2", "Data [Hex]:"))
        self.button_write_frame.setText(_translate("CANV2", "Write Frame"))
        self.button_clear_history.setText(_translate("CANV2", "Clear History"))
        self.button_save_history.setText(_translate("CANV2", "Save History..."))
        self.combo_frame_type.setItemText(0, _translate("CANV2", "Standard Data"))
        self.combo_frame_type.setItemText(1, _translate("CANV2", "Standard Remote"))
        self.combo_frame_type.setItemText(2, _translate("CANV2", "Extended Data"))
        self.combo_frame_type.setItemText(3, _translate("CANV2", "Extended Remote"))
        self.label_11.setText(_translate("CANV2", "Identifier [Hex]:"))
        self.label_6.setText(_translate("CANV2", "Baud Rate [bit/s]:"))
        self.label_5.setText(_translate("CANV2", "Sample Point [%]:"))
        self.label_7.setText(_translate("CANV2", "Mode:"))
        self.combo_transceiver_mode.setItemText(0, _translate("CANV2", "Normal"))
        self.combo_transceiver_mode.setItemText(1, _translate("CANV2", "Loopback"))
        self.combo_transceiver_mode.setItemText(2, _translate("CANV2", "Read Only"))
        self.button_save_transceiver_configuration.setText(_translate("CANV2", "Save Transceiver Configuration"))
        self.button_reset_transceiver_configuration.setText(_translate("CANV2", "Reset"))
        self.label_21.setText(_translate("CANV2", "Write Buffer Size:"))
        self.label_24.setText(_translate("CANV2", "Read Backlog Size:"))
        self.label_25.setText(_translate("CANV2", "Write Buffer Timeout:"))
        self.label_27.setText(_translate("CANV2", "Write Backlog Size:"))
        self.label_28.setText(_translate("CANV2", "Read Buffer Sizes:"))
        self.spin_write_buffer_timeout.setToolTip(_translate("CANV2", "< 0 (Single-Shot), = 0 (Infinite), > 0 (Milliseconds)"))
        self.edit_read_buffer_sizes.setToolTip(_translate("CANV2", "Up to 32 comma-separated Read Buffer Sizes"))
        self.button_save_queue_configuration.setText(_translate("CANV2", "Save Queue Configuration"))
        self.button_reset_queue_configuration.setText(_translate("CANV2", "Reset"))
        self.label_20.setText(_translate("CANV2", "Mode:"))
        self.label_22.setText(_translate("CANV2", "Mask [Hex]:"))
        self.label_23.setText(_translate("CANV2", "Identifier [Hex]:"))
        self.combo_filter_mode.setItemText(0, _translate("CANV2", "Accept All"))
        self.combo_filter_mode.setItemText(1, _translate("CANV2", "Match Standard Only"))
        self.combo_filter_mode.setItemText(2, _translate("CANV2", "Match Extended Only"))
        self.combo_filter_mode.setItemText(3, _translate("CANV2", "Match Standard And Extended"))
        self.label_3.setText(_translate("CANV2", "Read Buffer:"))
        self.button_save_read_filter_configuration.setText(_translate("CANV2", "Save Read Filter Configuration"))
        self.button_reset_read_filter_configuration.setText(_translate("CANV2", "Reset"))
        self.label_8.setText(_translate("CANV2", "Read Error Level:"))
        self.label_10.setText(_translate("CANV2", "Write Error Level:"))
        self.label_transceiver_write_error_level.setText(_translate("CANV2", "0"))
        self.label_transceiver_read_error_level.setText(_translate("CANV2", "0"))
        self.label_9.setText(_translate("CANV2", "Transceiver State:"))
        self.label_transceiver_state.setText(_translate("CANV2", "Active"))
        self.label_15.setText(_translate("CANV2", "Stuffing Errors:"))
        self.label_transceiver_stuffing_errors.setText(_translate("CANV2", "0"))
        self.label_14.setText(_translate("CANV2", "Format Errors:"))
        self.label_13.setText(_translate("CANV2", "ACK Errors:"))
        self.label_transceiver_format_errors.setText(_translate("CANV2", "0"))
        self.label_transceiver_ack_errors.setText(_translate("CANV2", "0"))
        self.label_26.setText(_translate("CANV2", "Bit1 Errors:"))
        self.label_19.setText(_translate("CANV2", "Bit0 Errors:"))
        self.label_transceiver_bit1_errors.setText(_translate("CANV2", "0"))
        self.label_transceiver_bit0_errors.setText(_translate("CANV2", "0"))
        self.label_read_backlog_overflows.setText(_translate("CANV2", "0"))
        self.label_12.setText(_translate("CANV2", "Read Backlog Overflows:"))
        self.label_16.setText(_translate("CANV2", "Read Buffer Overflows:"))
        self.label_17.setText(_translate("CANV2", "Write Buffer Timeouts:"))
        self.label_write_buffer_timeouts.setText(_translate("CANV2", "0"))
        self.label_read_buffer_overflows.setText(_translate("CANV2", "0"))
        self.label_18.setText(_translate("CANV2", "CRC Errors:"))
        self.label_transceiver_crc_errors.setText(_translate("CANV2", "0"))
from brickv.spin_box_hex import SpinBoxHex
