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

# Form implementation generated from reading ui file '../qtplasmac.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# 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 qtpy import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1348, 866)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setMinimumSize(QtCore.QSize(1348, 702))
        MainWindow.setMaximumSize(QtCore.QSize(16777215, 16777215))
        MainWindow.setWindowTitle("QtPlasmaC")
        MainWindow.setAutoFillBackground(False)
        MainWindow.setStyleSheet("")
        self.central_widget = QtWidgets.QWidget(MainWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.central_widget.sizePolicy().hasHeightForWidth())
        self.central_widget.setSizePolicy(sizePolicy)
        self.central_widget.setMinimumSize(QtCore.QSize(0, 0))
        self.central_widget.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.central_widget.setObjectName("central_widget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.central_widget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.screen_options = ScreenOptions(self.central_widget)
        self.screen_options.setStyleSheet("")
        self.screen_options.setProperty("notify_option", True)
        self.screen_options.setProperty("catch_close_option", False)
        self.screen_options.setProperty("close_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setProperty("play_sounds_option", False)
        self.screen_options.setProperty("use_pref_file_option", True)
        self.screen_options.setProperty("focusOverlay_option", True)
        self.screen_options.setProperty("message_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setProperty("closeDialog_option", True)
        self.screen_options.setProperty("entryDialog_option", True)
        self.screen_options.setProperty("entryDialogSoftkey_option", True)
        self.screen_options.setProperty("entry_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setProperty("tool_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setProperty("fileDialog_option", True)
        self.screen_options.setProperty("file_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setProperty("keyboardDialog_option", True)
        self.screen_options.setProperty("keyboard_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setProperty("versaProbe_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setProperty("macroTab_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setProperty("camViewDialog_option", False)
        self.screen_options.setProperty("camView_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setProperty("toolOffset_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setProperty("originOffsetDialog_option", False)
        self.screen_options.setProperty("originOffset_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setProperty("calculatorDialog_option", True)
        self.screen_options.setProperty("calculator_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setProperty("machineLogDialog_option", True)
        self.screen_options.setProperty("machineLog_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setProperty("runFromLine_overlay_color", QtGui.QColor(128, 128, 128, 128))
        self.screen_options.setObjectName("screen_options")
        self.verticalLayout_16 = QtWidgets.QVBoxLayout(self.screen_options)
        self.verticalLayout_16.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_16.setSpacing(0)
        self.verticalLayout_16.setObjectName("verticalLayout_16")
        self.main_tab_widget = QtWidgets.QTabWidget(self.screen_options)
        self.main_tab_widget.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.main_tab_widget.sizePolicy().hasHeightForWidth())
        self.main_tab_widget.setSizePolicy(sizePolicy)
        self.main_tab_widget.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.main_tab_widget.setTabPosition(QtWidgets.QTabWidget.South)
        self.main_tab_widget.setUsesScrollButtons(False)
        self.main_tab_widget.setObjectName("main_tab_widget")
        self.main_tab = QtWidgets.QWidget()
        self.main_tab.setObjectName("main_tab")
        self.main_tab_Layout = QtWidgets.QHBoxLayout(self.main_tab)
        self.main_tab_Layout.setContentsMargins(4, 4, 4, 4)
        self.main_tab_Layout.setSpacing(2)
        self.main_tab_Layout.setObjectName("main_tab_Layout")
        self.main_c1 = QtWidgets.QFrame(self.main_tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.main_c1.sizePolicy().hasHeightForWidth())
        self.main_c1.setSizePolicy(sizePolicy)
        self.main_c1.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.main_c1.setFrameShadow(QtWidgets.QFrame.Plain)
        self.main_c1.setObjectName("main_c1")
        self.verticalLayout_31 = QtWidgets.QVBoxLayout(self.main_c1)
        self.verticalLayout_31.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_31.setSpacing(2)
        self.verticalLayout_31.setObjectName("verticalLayout_31")
        self.preview_stack = QtWidgets.QStackedWidget(self.main_c1)
        self.preview_stack.setObjectName("preview_stack")
        self.preview_page = QtWidgets.QWidget()
        self.preview_page.setObjectName("preview_page")
        self.horizontalLayout_18 = QtWidgets.QHBoxLayout(self.preview_page)
        self.horizontalLayout_18.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_18.setSpacing(0)
        self.horizontalLayout_18.setObjectName("horizontalLayout_18")
        self.preview_frame = QtWidgets.QFrame(self.preview_page)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.preview_frame.sizePolicy().hasHeightForWidth())
        self.preview_frame.setSizePolicy(sizePolicy)
        self.preview_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.preview_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.preview_frame.setObjectName("preview_frame")
        self.verticalLayout_30 = QtWidgets.QVBoxLayout(self.preview_frame)
        self.verticalLayout_30.setContentsMargins(0, 0, 0, 2)
        self.verticalLayout_30.setSpacing(2)
        self.verticalLayout_30.setObjectName("verticalLayout_30")
        self.frame_22 = QtWidgets.QFrame(self.preview_frame)
        self.frame_22.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_22.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_22.setObjectName("frame_22")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.frame_22)
        self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_3.setSpacing(0)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.material_label = QtWidgets.QLabel(self.frame_22)
        self.material_label.setMinimumSize(QtCore.QSize(0, 16))
        self.material_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.material_label.setObjectName("material_label")
        self.horizontalLayout_3.addWidget(self.material_label)
        self.material_selector = QtWidgets.QComboBox(self.frame_22)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.material_selector.sizePolicy().hasHeightForWidth())
        self.material_selector.setSizePolicy(sizePolicy)
        self.material_selector.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.material_selector.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.material_selector.setObjectName("material_selector")
        self.horizontalLayout_3.addWidget(self.material_selector)
        self.velocity_label = QtWidgets.QLabel(self.frame_22)
        self.velocity_label.setMinimumSize(QtCore.QSize(0, 16))
        self.velocity_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.velocity_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.velocity_label.setObjectName("velocity_label")
        self.horizontalLayout_3.addWidget(self.velocity_label)
        self.velocity_show = StatusLabel(self.frame_22)
        self.velocity_show.setMinimumSize(QtCore.QSize(48, 16))
        self.velocity_show.setMaximumSize(QtCore.QSize(48, 16))
        self.velocity_show.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.velocity_show.setProperty("textTemplate", "%0.1f")
        self.velocity_show.setProperty("alt_textTemplate", "%0.0f")
        self.velocity_show.setProperty("current_feedrate_status", True)
        self.velocity_show.setObjectName("velocity_show")
        self.horizontalLayout_3.addWidget(self.velocity_show)
        self.verticalLayout_30.addWidget(self.frame_22)
        self.preview_place = QtWidgets.QFrame(self.preview_frame)
        self.preview_place.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.preview_place.setFrameShadow(QtWidgets.QFrame.Plain)
        self.preview_place.setObjectName("preview_place")
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout(self.preview_place)
        self.horizontalLayout_11.setContentsMargins(2, 0, 2, 0)
        self.horizontalLayout_11.setSpacing(2)
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.gcodegraphics = GCodeGraphics(self.preview_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gcodegraphics.sizePolicy().hasHeightForWidth())
        self.gcodegraphics.setSizePolicy(sizePolicy)
        self.gcodegraphics.setMinimumSize(QtCore.QSize(0, 0))
        self.gcodegraphics.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.gcodegraphics.setStyleSheet("")
        self.gcodegraphics.setProperty("_view", "z")
        self.gcodegraphics.setProperty("_dtg", False)
        self.gcodegraphics.setProperty("background_color", QtGui.QColor(29, 29, 29))
        self.gcodegraphics.setProperty("overlay", False)
        self.gcodegraphics.setObjectName("gcodegraphics")
        self.horizontalLayout_11.addWidget(self.gcodegraphics)
        self.preview_buttons = QtWidgets.QFrame(self.preview_place)
        self.preview_buttons.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.preview_buttons.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.preview_buttons.setFrameShadow(QtWidgets.QFrame.Plain)
        self.preview_buttons.setObjectName("preview_buttons")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.preview_buttons)
        self.verticalLayout_3.setContentsMargins(0, 2, 0, 2)
        self.verticalLayout_3.setSpacing(8)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.view_t = QtWidgets.QPushButton(self.preview_buttons)
        self.view_t.setMinimumSize(QtCore.QSize(40, 28))
        self.view_t.setMaximumSize(QtCore.QSize(40, 28))
        self.view_t.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.view_t.setText("T")
        self.view_t.setCheckable(True)
        self.view_t.setAutoExclusive(True)
        self.view_t.setObjectName("view_t")
        self.verticalLayout_3.addWidget(self.view_t)
        self.view_p = QtWidgets.QPushButton(self.preview_buttons)
        self.view_p.setMinimumSize(QtCore.QSize(40, 28))
        self.view_p.setMaximumSize(QtCore.QSize(40, 28))
        self.view_p.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.view_p.setText("P")
        self.view_p.setCheckable(True)
        self.view_p.setAutoExclusive(True)
        self.view_p.setObjectName("view_p")
        self.verticalLayout_3.addWidget(self.view_p)
        self.view_z = QtWidgets.QPushButton(self.preview_buttons)
        self.view_z.setMinimumSize(QtCore.QSize(40, 28))
        self.view_z.setMaximumSize(QtCore.QSize(40, 28))
        self.view_z.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.view_z.setText("Z")
        self.view_z.setCheckable(True)
        self.view_z.setChecked(True)
        self.view_z.setAutoExclusive(True)
        self.view_z.setObjectName("view_z")
        self.verticalLayout_3.addWidget(self.view_z)
        self.view_spacer_1 = QtWidgets.QLabel(self.preview_buttons)
        self.view_spacer_1.setMinimumSize(QtCore.QSize(0, 10))
        self.view_spacer_1.setMaximumSize(QtCore.QSize(16777215, 10))
        self.view_spacer_1.setText("")
        self.view_spacer_1.setObjectName("view_spacer_1")
        self.verticalLayout_3.addWidget(self.view_spacer_1)
        self.pan_right = QtWidgets.QPushButton(self.preview_buttons)
        self.pan_right.setMinimumSize(QtCore.QSize(40, 28))
        self.pan_right.setMaximumSize(QtCore.QSize(40, 28))
        self.pan_right.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.pan_right.setText("→")
        self.pan_right.setAutoRepeat(True)
        self.pan_right.setObjectName("pan_right")
        self.verticalLayout_3.addWidget(self.pan_right)
        self.pan_left = QtWidgets.QPushButton(self.preview_buttons)
        self.pan_left.setMinimumSize(QtCore.QSize(40, 28))
        self.pan_left.setMaximumSize(QtCore.QSize(40, 28))
        self.pan_left.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.pan_left.setText("←")
        self.pan_left.setAutoRepeat(True)
        self.pan_left.setObjectName("pan_left")
        self.verticalLayout_3.addWidget(self.pan_left)
        self.pan_up = QtWidgets.QPushButton(self.preview_buttons)
        self.pan_up.setMinimumSize(QtCore.QSize(40, 28))
        self.pan_up.setMaximumSize(QtCore.QSize(40, 28))
        self.pan_up.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.pan_up.setText("↑")
        self.pan_up.setAutoRepeat(True)
        self.pan_up.setObjectName("pan_up")
        self.verticalLayout_3.addWidget(self.pan_up)
        self.pan_down = QtWidgets.QPushButton(self.preview_buttons)
        self.pan_down.setMinimumSize(QtCore.QSize(40, 28))
        self.pan_down.setMaximumSize(QtCore.QSize(40, 28))
        self.pan_down.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.pan_down.setText("↓")
        self.pan_down.setAutoRepeat(True)
        self.pan_down.setObjectName("pan_down")
        self.verticalLayout_3.addWidget(self.pan_down)
        self.view_spacer_2 = QtWidgets.QLabel(self.preview_buttons)
        self.view_spacer_2.setMinimumSize(QtCore.QSize(0, 10))
        self.view_spacer_2.setMaximumSize(QtCore.QSize(16777215, 10))
        self.view_spacer_2.setText("")
        self.view_spacer_2.setObjectName("view_spacer_2")
        self.verticalLayout_3.addWidget(self.view_spacer_2)
        self.zoom_in = QtWidgets.QPushButton(self.preview_buttons)
        self.zoom_in.setMinimumSize(QtCore.QSize(40, 28))
        self.zoom_in.setMaximumSize(QtCore.QSize(40, 28))
        self.zoom_in.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.zoom_in.setText("+")
        self.zoom_in.setAutoRepeat(True)
        self.zoom_in.setObjectName("zoom_in")
        self.verticalLayout_3.addWidget(self.zoom_in)
        self.zoom_out = QtWidgets.QPushButton(self.preview_buttons)
        self.zoom_out.setMinimumSize(QtCore.QSize(40, 28))
        self.zoom_out.setMaximumSize(QtCore.QSize(40, 28))
        self.zoom_out.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.zoom_out.setText("-")
        self.zoom_out.setAutoRepeat(True)
        self.zoom_out.setObjectName("zoom_out")
        self.verticalLayout_3.addWidget(self.zoom_out)
        self.view_spacer_3 = QtWidgets.QLabel(self.preview_buttons)
        self.view_spacer_3.setMinimumSize(QtCore.QSize(0, 10))
        self.view_spacer_3.setMaximumSize(QtCore.QSize(16777215, 10))
        self.view_spacer_3.setText("")
        self.view_spacer_3.setObjectName("view_spacer_3")
        self.verticalLayout_3.addWidget(self.view_spacer_3)
        self.view_clear = QtWidgets.QPushButton(self.preview_buttons)
        self.view_clear.setMinimumSize(QtCore.QSize(40, 28))
        self.view_clear.setMaximumSize(QtCore.QSize(40, 28))
        self.view_clear.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.view_clear.setText("C")
        self.view_clear.setObjectName("view_clear")
        self.verticalLayout_3.addWidget(self.view_clear)
        self.horizontalLayout_11.addWidget(self.preview_buttons)
        self.horizontalLayout_11.setStretch(0, 1)
        self.verticalLayout_30.addWidget(self.preview_place)
        self.horizontalLayout_18.addWidget(self.preview_frame)
        self.preview_stack.addWidget(self.preview_page)
        self.file_page = QtWidgets.QWidget()
        self.file_page.setObjectName("file_page")
        self.horizontalLayout_22 = QtWidgets.QHBoxLayout(self.file_page)
        self.horizontalLayout_22.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_22.setSpacing(0)
        self.horizontalLayout_22.setObjectName("horizontalLayout_22")
        self.file_frame = QtWidgets.QFrame(self.file_page)
        self.file_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.file_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.file_frame.setObjectName("file_frame")
        self.verticalLayout_32 = QtWidgets.QVBoxLayout(self.file_frame)
        self.verticalLayout_32.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_32.setSpacing(4)
        self.verticalLayout_32.setObjectName("verticalLayout_32")
        self.open_label = QtWidgets.QLabel(self.file_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.open_label.sizePolicy().hasHeightForWidth())
        self.open_label.setSizePolicy(sizePolicy)
        self.open_label.setMinimumSize(QtCore.QSize(0, 16))
        self.open_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.open_label.setAlignment(QtCore.Qt.AlignCenter)
        self.open_label.setObjectName("open_label")
        self.verticalLayout_32.addWidget(self.open_label)
        self.filemanager = FileManager(self.file_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.filemanager.sizePolicy().hasHeightForWidth())
        self.filemanager.setSizePolicy(sizePolicy)
        self.filemanager.setObjectName("filemanager")
        self.verticalLayout_32.addWidget(self.filemanager)
        self.file_buttons_2 = QtWidgets.QFrame(self.file_frame)
        self.file_buttons_2.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.file_buttons_2.setFrameShadow(QtWidgets.QFrame.Plain)
        self.file_buttons_2.setObjectName("file_buttons_2")
        self.horizontalLayout_20 = QtWidgets.QHBoxLayout(self.file_buttons_2)
        self.horizontalLayout_20.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout_20.setSpacing(4)
        self.horizontalLayout_20.setObjectName("horizontalLayout_20")
        self.file_select = IndicatedPushButton(self.file_buttons_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.file_select.sizePolicy().hasHeightForWidth())
        self.file_select.setSizePolicy(sizePolicy)
        self.file_select.setMinimumSize(QtCore.QSize(40, 40))
        self.file_select.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.file_select.setProperty("python_command_option", True)
        self.file_select.setProperty("false_python_cmd_string", "")
        self.file_select.setObjectName("file_select")
        self.horizontalLayout_20.addWidget(self.file_select)
        self.file_next = IndicatedPushButton(self.file_buttons_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.file_next.sizePolicy().hasHeightForWidth())
        self.file_next.setSizePolicy(sizePolicy)
        self.file_next.setMinimumSize(QtCore.QSize(40, 40))
        self.file_next.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.file_next.setAutoRepeat(True)
        self.file_next.setProperty("python_command_option", True)
        self.file_next.setProperty("false_python_cmd_string", "")
        self.file_next.setObjectName("file_next")
        self.horizontalLayout_20.addWidget(self.file_next)
        self.file_prev = IndicatedPushButton(self.file_buttons_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.file_prev.sizePolicy().hasHeightForWidth())
        self.file_prev.setSizePolicy(sizePolicy)
        self.file_prev.setMinimumSize(QtCore.QSize(40, 40))
        self.file_prev.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.file_prev.setAutoRepeat(True)
        self.file_prev.setProperty("python_command_option", True)
        self.file_prev.setProperty("false_python_cmd_string", "")
        self.file_prev.setObjectName("file_prev")
        self.horizontalLayout_20.addWidget(self.file_prev)
        self.file_cancel = QtWidgets.QPushButton(self.file_buttons_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.file_cancel.sizePolicy().hasHeightForWidth())
        self.file_cancel.setSizePolicy(sizePolicy)
        self.file_cancel.setMinimumSize(QtCore.QSize(40, 40))
        self.file_cancel.setObjectName("file_cancel")
        self.horizontalLayout_20.addWidget(self.file_cancel)
        self.verticalLayout_32.addWidget(self.file_buttons_2)
        self.horizontalLayout_22.addWidget(self.file_frame)
        self.preview_stack.addWidget(self.file_page)
        self.edit_page = QtWidgets.QWidget()
        self.edit_page.setObjectName("edit_page")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.edit_page)
        self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_5.setSpacing(0)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.edit_frame = QtWidgets.QFrame(self.edit_page)
        self.edit_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.edit_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.edit_frame.setObjectName("edit_frame")
        self.verticalLayout_22 = QtWidgets.QVBoxLayout(self.edit_frame)
        self.verticalLayout_22.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_22.setSpacing(2)
        self.verticalLayout_22.setObjectName("verticalLayout_22")
        self.edit_label = QtWidgets.QLabel(self.edit_frame)
        self.edit_label.setMinimumSize(QtCore.QSize(0, 16))
        self.edit_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.edit_label.setAlignment(QtCore.Qt.AlignCenter)
        self.edit_label.setObjectName("edit_label")
        self.verticalLayout_22.addWidget(self.edit_label)
        self.gcode_editor = GcodeEditor(self.edit_frame)
        self.gcode_editor.setProperty("auto_show_mdi_status", False)
        self.gcode_editor.setObjectName("gcode_editor")
        self.verticalLayout_22.addWidget(self.gcode_editor)
        self.horizontalLayout_5.addWidget(self.edit_frame)
        self.preview_stack.addWidget(self.edit_page)
        self.camview_page = QtWidgets.QWidget()
        self.camview_page.setObjectName("camview_page")
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout(self.camview_page)
        self.horizontalLayout_13.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_13.setSpacing(0)
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.camview_frame = QtWidgets.QFrame(self.camview_page)
        self.camview_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.camview_frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.camview_frame.setObjectName("camview_frame")
        self.verticalLayout_47 = QtWidgets.QVBoxLayout(self.camview_frame)
        self.verticalLayout_47.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_47.setSpacing(4)
        self.verticalLayout_47.setObjectName("verticalLayout_47")
        self.camview_label = QtWidgets.QLabel(self.camview_frame)
        self.camview_label.setMinimumSize(QtCore.QSize(0, 16))
        self.camview_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.camview_label.setAlignment(QtCore.Qt.AlignCenter)
        self.camview_label.setObjectName("camview_label")
        self.verticalLayout_47.addWidget(self.camview_label)
        self.camview_widgets = QtWidgets.QFrame(self.camview_frame)
        self.camview_widgets.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.camview_widgets.setFrameShadow(QtWidgets.QFrame.Plain)
        self.camview_widgets.setObjectName("camview_widgets")
        self.verticalLayout_49 = QtWidgets.QVBoxLayout(self.camview_widgets)
        self.verticalLayout_49.setContentsMargins(4, 0, 4, 0)
        self.verticalLayout_49.setSpacing(4)
        self.verticalLayout_49.setObjectName("verticalLayout_49")
        self.frame_15 = QtWidgets.QFrame(self.camview_widgets)
        self.frame_15.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_15.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_15.setObjectName("frame_15")
        self.horizontalLayout_31 = QtWidgets.QHBoxLayout(self.frame_15)
        self.horizontalLayout_31.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_31.setSpacing(4)
        self.horizontalLayout_31.setObjectName("horizontalLayout_31")
        spacerItem1 = QtWidgets.QSpacerItem(69, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_31.addItem(spacerItem1)
        self.cam_dia_plus = PushButton(self.frame_15)
        self.cam_dia_plus.setMinimumSize(QtCore.QSize(60, 40))
        self.cam_dia_plus.setMaximumSize(QtCore.QSize(60, 40))
        self.cam_dia_plus.setAutoRepeat(True)
        self.cam_dia_plus.setAutoRepeatDelay(250)
        self.cam_dia_plus.setObjectName("cam_dia_plus")
        self.horizontalLayout_31.addWidget(self.cam_dia_plus)
        self.cam_dia_minus = PushButton(self.frame_15)
        self.cam_dia_minus.setMinimumSize(QtCore.QSize(60, 40))
        self.cam_dia_minus.setMaximumSize(QtCore.QSize(60, 40))
        self.cam_dia_minus.setAutoRepeat(True)
        self.cam_dia_minus.setAutoRepeatDelay(250)
        self.cam_dia_minus.setObjectName("cam_dia_minus")
        self.horizontalLayout_31.addWidget(self.cam_dia_minus)
        self.label_12 = QtWidgets.QLabel(self.frame_15)
        self.label_12.setMinimumSize(QtCore.QSize(60, 0))
        self.label_12.setMaximumSize(QtCore.QSize(60, 16777215))
        self.label_12.setText("")
        self.label_12.setObjectName("label_12")
        self.horizontalLayout_31.addWidget(self.label_12)
        self.cam_zoom_plus = PushButton(self.frame_15)
        self.cam_zoom_plus.setMinimumSize(QtCore.QSize(60, 40))
        self.cam_zoom_plus.setMaximumSize(QtCore.QSize(60, 40))
        self.cam_zoom_plus.setAutoRepeat(True)
        self.cam_zoom_plus.setAutoRepeatDelay(250)
        self.cam_zoom_plus.setObjectName("cam_zoom_plus")
        self.horizontalLayout_31.addWidget(self.cam_zoom_plus)
        self.cam_zoom_minus = PushButton(self.frame_15)
        self.cam_zoom_minus.setMinimumSize(QtCore.QSize(60, 40))
        self.cam_zoom_minus.setMaximumSize(QtCore.QSize(60, 40))
        self.cam_zoom_minus.setAutoRepeat(True)
        self.cam_zoom_minus.setAutoRepeatDelay(250)
        self.cam_zoom_minus.setObjectName("cam_zoom_minus")
        self.horizontalLayout_31.addWidget(self.cam_zoom_minus)
        self.label_3 = QtWidgets.QLabel(self.frame_15)
        self.label_3.setMinimumSize(QtCore.QSize(60, 0))
        self.label_3.setMaximumSize(QtCore.QSize(60, 16777215))
        self.label_3.setText("")
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_31.addWidget(self.label_3)
        self.cam_goto = PushButton(self.frame_15)
        self.cam_goto.setMinimumSize(QtCore.QSize(60, 40))
        self.cam_goto.setMaximumSize(QtCore.QSize(60, 40))
        self.cam_goto.setObjectName("cam_goto")
        self.horizontalLayout_31.addWidget(self.cam_goto)
        self.label = QtWidgets.QLabel(self.frame_15)
        self.label.setMinimumSize(QtCore.QSize(40, 0))
        self.label.setMaximumSize(QtCore.QSize(40, 16777215))
        self.label.setText("")
        self.label.setObjectName("label")
        self.horizontalLayout_31.addWidget(self.label)
        self.cam_mark = PushButton(self.frame_15)
        self.cam_mark.setMinimumSize(QtCore.QSize(60, 40))
        self.cam_mark.setMaximumSize(QtCore.QSize(60, 40))
        self.cam_mark.setObjectName("cam_mark")
        self.horizontalLayout_31.addWidget(self.cam_mark)
        self.verticalLayout_49.addWidget(self.frame_15)
        self.camview = CamView(self.camview_widgets)
        self.camview.setObjectName("camview")
        self.verticalLayout_49.addWidget(self.camview)
        self.verticalLayout_49.setStretch(1, 1)
        self.verticalLayout_47.addWidget(self.camview_widgets)
        self.horizontalLayout_13.addWidget(self.camview_frame)
        self.preview_stack.addWidget(self.camview_page)
        self.offsets_page = QtWidgets.QWidget()
        self.offsets_page.setObjectName("offsets_page")
        self.horizontalLayout_36 = QtWidgets.QHBoxLayout(self.offsets_page)
        self.horizontalLayout_36.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_36.setSpacing(0)
        self.horizontalLayout_36.setObjectName("horizontalLayout_36")
        self.originoffsetview = OriginOffsetView(self.offsets_page)
        self.originoffsetview.setProperty("dialog_code_string", "")
        self.originoffsetview.setProperty("text_dialog_code_string", "")
        self.originoffsetview.setObjectName("originoffsetview")
        self.horizontalLayout_36.addWidget(self.originoffsetview)
        self.preview_stack.addWidget(self.offsets_page)
        self.webview_page = QtWidgets.QWidget()
        self.webview_page.setObjectName("webview_page")
        self.verticalLayout_60 = QtWidgets.QVBoxLayout(self.webview_page)
        self.verticalLayout_60.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_60.setSpacing(0)
        self.verticalLayout_60.setObjectName("verticalLayout_60")
        self.webview_frame = QtWidgets.QFrame(self.webview_page)
        self.webview_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.webview_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.webview_frame.setObjectName("webview_frame")
        self.verticalLayout_61 = QtWidgets.QVBoxLayout(self.webview_frame)
        self.verticalLayout_61.setContentsMargins(0, 0, 0, 2)
        self.verticalLayout_61.setSpacing(2)
        self.verticalLayout_61.setObjectName("verticalLayout_61")
        self.webview_buttons = QtWidgets.QFrame(self.webview_frame)
        self.webview_buttons.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.webview_buttons.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.webview_buttons.setFrameShadow(QtWidgets.QFrame.Plain)
        self.webview_buttons.setObjectName("webview_buttons")
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout(self.webview_buttons)
        self.horizontalLayout_10.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_10.setSpacing(1)
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.webview_back = QtWidgets.QPushButton(self.webview_buttons)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.webview_back.sizePolicy().hasHeightForWidth())
        self.webview_back.setSizePolicy(sizePolicy)
        self.webview_back.setMaximumSize(QtCore.QSize(16777215, 16))
        self.webview_back.setObjectName("webview_back")
        self.horizontalLayout_10.addWidget(self.webview_back)
        self.webview_reload = QtWidgets.QPushButton(self.webview_buttons)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.webview_reload.sizePolicy().hasHeightForWidth())
        self.webview_reload.setSizePolicy(sizePolicy)
        self.webview_reload.setMaximumSize(QtCore.QSize(16777215, 16))
        self.webview_reload.setObjectName("webview_reload")
        self.horizontalLayout_10.addWidget(self.webview_reload)
        self.webview_forward = QtWidgets.QPushButton(self.webview_buttons)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.webview_forward.sizePolicy().hasHeightForWidth())
        self.webview_forward.setSizePolicy(sizePolicy)
        self.webview_forward.setMaximumSize(QtCore.QSize(16777215, 16))
        self.webview_forward.setObjectName("webview_forward")
        self.horizontalLayout_10.addWidget(self.webview_forward)
        self.verticalLayout_61.addWidget(self.webview_buttons)
        self.webview_place = QtWidgets.QFrame(self.webview_frame)
        self.webview_place.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.webview_place.setFrameShadow(QtWidgets.QFrame.Raised)
        self.webview_place.setObjectName("webview_place")
        self.horizontalLayout_40 = QtWidgets.QHBoxLayout(self.webview_place)
        self.horizontalLayout_40.setContentsMargins(2, 0, 2, 0)
        self.horizontalLayout_40.setSpacing(2)
        self.horizontalLayout_40.setObjectName("horizontalLayout_40")
        self.webview = WebWidget(self.webview_place)
        self.webview.setObjectName("webview")
        self.horizontalLayout_40.addWidget(self.webview)
        self.verticalLayout_61.addWidget(self.webview_place)
        self.verticalLayout_61.setStretch(1, 1)
        self.verticalLayout_60.addWidget(self.webview_frame)
        self.preview_stack.addWidget(self.webview_page)
        self.verticalLayout_31.addWidget(self.preview_stack)
        self.main_tab_Layout.addWidget(self.main_c1)
        self.main_c2 = QtWidgets.QFrame(self.main_tab)
        self.main_c2.setMinimumSize(QtCore.QSize(136, 0))
        self.main_c2.setMaximumSize(QtCore.QSize(136, 16777215))
        self.main_c2.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.main_c2.setFrameShadow(QtWidgets.QFrame.Plain)
        self.main_c2.setObjectName("main_c2")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.main_c2)
        self.verticalLayout_7.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_7.setSpacing(2)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.machine_frame = QtWidgets.QFrame(self.main_c2)
        self.machine_frame.setMinimumSize(QtCore.QSize(0, 364))
        self.machine_frame.setMaximumSize(QtCore.QSize(16777215, 364))
        self.machine_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.machine_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.machine_frame.setObjectName("machine_frame")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.machine_frame)
        self.verticalLayout_8.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_8.setSpacing(4)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.machine_label = QtWidgets.QLabel(self.machine_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.machine_label.sizePolicy().hasHeightForWidth())
        self.machine_label.setSizePolicy(sizePolicy)
        self.machine_label.setMinimumSize(QtCore.QSize(0, 16))
        self.machine_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.machine_label.setAlignment(QtCore.Qt.AlignCenter)
        self.machine_label.setObjectName("machine_label")
        self.verticalLayout_8.addWidget(self.machine_label)
        self.frame_31 = QtWidgets.QFrame(self.machine_frame)
        self.frame_31.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_31.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_31.setObjectName("frame_31")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.frame_31)
        self.horizontalLayout_8.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout_8.setSpacing(4)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.estop = ActionButton(self.frame_31)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.estop.sizePolicy().hasHeightForWidth())
        self.estop.setSizePolicy(sizePolicy)
        self.estop.setMinimumSize(QtCore.QSize(60, 40))
        self.estop.setMaximumSize(QtCore.QSize(16777215, 40))
        self.estop.setBaseSize(QtCore.QSize(0, 0))
        self.estop.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.estop.setIconSize(QtCore.QSize(0, 0))
        self.estop.setCheckable(True)
        self.estop.setChecked(False)
        self.estop.setProperty("indicator_option", False)
        self.estop.setProperty("indicator_HAL_pin_option", False)
        self.estop.setProperty("indicator_status_option", False)
        self.estop.setProperty("checked_state_text_option", False)
        self.estop.setProperty("on_color", QtGui.QColor(255, 0, 0))
        self.estop.setProperty("off_color", QtGui.QColor(0, 0, 0))
        self.estop.setProperty("indicator_size", 0.2)
        self.estop.setProperty("true_state_string", "")
        self.estop.setProperty("false_state_string", "")
        self.estop.setProperty("is_estopped_status", True)
        self.estop.setProperty("estop_action", True)
        self.estop.setProperty("template_label_option", False)
        self.estop.setProperty("joint_number", 0)
        self.estop.setProperty("incr_imperial_number", 0.01)
        self.estop.setProperty("incr_mm_number", 0.025)
        self.estop.setProperty("incr_angular_number", -1.0)
        self.estop.setProperty("toggle_float_option", False)
        self.estop.setProperty("float_num", 100.0)
        self.estop.setProperty("float_alt_num", 50.0)
        self.estop.setProperty("view_type_string", "p")
        self.estop.setProperty("command_text_string", "")
        self.estop.setProperty("ini_mdi_number", 0)
        self.estop.setProperty("textTemplate", "")
        self.estop.setProperty("alt_textTemplate", "%1.2f mm")
        self.estop.setObjectName("estop")
        self.horizontalLayout_8.addWidget(self.estop)
        self.power = QtWidgets.QPushButton(self.frame_31)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.power.sizePolicy().hasHeightForWidth())
        self.power.setSizePolicy(sizePolicy)
        self.power.setMinimumSize(QtCore.QSize(60, 40))
        self.power.setMaximumSize(QtCore.QSize(16777215, 40))
        self.power.setBaseSize(QtCore.QSize(0, 0))
        self.power.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.power.setToolTip("")
        self.power.setIconSize(QtCore.QSize(0, 0))
        self.power.setCheckable(True)
        self.power.setObjectName("power")
        self.horizontalLayout_8.addWidget(self.power)
        self.verticalLayout_8.addWidget(self.frame_31)
        self.machine_buttons = QtWidgets.QFrame(self.machine_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.machine_buttons.sizePolicy().hasHeightForWidth())
        self.machine_buttons.setSizePolicy(sizePolicy)
        self.machine_buttons.setMaximumSize(QtCore.QSize(16777215, 178))
        self.machine_buttons.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.machine_buttons.setFrameShadow(QtWidgets.QFrame.Plain)
        self.machine_buttons.setObjectName("machine_buttons")
        self.verticalLayout_17 = QtWidgets.QVBoxLayout(self.machine_buttons)
        self.verticalLayout_17.setContentsMargins(4, 0, 4, 0)
        self.verticalLayout_17.setSpacing(4)
        self.verticalLayout_17.setObjectName("verticalLayout_17")
        self.run = QtWidgets.QPushButton(self.machine_buttons)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.run.sizePolicy().hasHeightForWidth())
        self.run.setSizePolicy(sizePolicy)
        self.run.setMinimumSize(QtCore.QSize(60, 40))
        self.run.setMaximumSize(QtCore.QSize(16777215, 40))
        self.run.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.run.setObjectName("run")
        self.verticalLayout_17.addWidget(self.run)
        self.pause_resume = ActionButton(self.machine_buttons)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pause_resume.sizePolicy().hasHeightForWidth())
        self.pause_resume.setSizePolicy(sizePolicy)
        self.pause_resume.setMinimumSize(QtCore.QSize(60, 40))
        self.pause_resume.setMaximumSize(QtCore.QSize(16777215, 40))
        self.pause_resume.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.pause_resume.setProperty("indicator_option", False)
        self.pause_resume.setProperty("indicator_HAL_pin_option", False)
        self.pause_resume.setProperty("indicator_status_option", False)
        self.pause_resume.setProperty("checked_state_text_option", False)
        self.pause_resume.setProperty("python_command_option", False)
        self.pause_resume.setProperty("on_color", QtGui.QColor(255, 0, 0))
        self.pause_resume.setProperty("shape_option", 0)
        self.pause_resume.setProperty("off_color", QtGui.QColor(0, 0, 0))
        self.pause_resume.setProperty("indicator_size", 0.3)
        self.pause_resume.setProperty("circle_diameter", 10)
        self.pause_resume.setProperty("right_edge_offset", 0)
        self.pause_resume.setProperty("top_edge_offset", 0)
        self.pause_resume.setProperty("corner_radius", 5.0)
        self.pause_resume.setProperty("height_fraction", 0.3)
        self.pause_resume.setProperty("width_fraction", 0.9)
        self.pause_resume.setProperty("true_state_string", "True")
        self.pause_resume.setProperty("false_state_string", "False")
        self.pause_resume.setProperty("true_python_cmd_string", "print\"true command\"")
        self.pause_resume.setProperty("false_python_cmd_string", "print\"false command\"")
        self.pause_resume.setProperty("invert_the_status", False)
        self.pause_resume.setProperty("is_paused_status", False)
        self.pause_resume.setProperty("is_estopped_status", False)
        self.pause_resume.setProperty("is_on_status", False)
        self.pause_resume.setProperty("is_idle_status", False)
        self.pause_resume.setProperty("is_homed_status", False)
        self.pause_resume.setProperty("is_flood_status", False)
        self.pause_resume.setProperty("is_mist_status", False)
        self.pause_resume.setProperty("is_block_delete_status", False)
        self.pause_resume.setProperty("is_optional_stop_status", False)
        self.pause_resume.setProperty("is_joint_homed_status", False)
        self.pause_resume.setProperty("is_limits_overridden_status", False)
        self.pause_resume.setProperty("is_manual_status", False)
        self.pause_resume.setProperty("is_mdi_status", False)
        self.pause_resume.setProperty("is_auto_status", False)
        self.pause_resume.setProperty("is_spindle_stopped_status", False)
        self.pause_resume.setProperty("is_spindle_fwd_status", False)
        self.pause_resume.setProperty("is_spindle_rev_status", False)
        self.pause_resume.setProperty("joint_number_status", 0)
        self.pause_resume.setProperty("run_action", False)
        self.pause_resume.setProperty("pause_action", True)
        self.pause_resume.setProperty("template_label_option", False)
        self.pause_resume.setProperty("joint_number", 0)
        self.pause_resume.setProperty("incr_imperial_number", 0.01)
        self.pause_resume.setProperty("incr_mm_number", 0.025)
        self.pause_resume.setProperty("incr_angular_number", -1.0)
        self.pause_resume.setProperty("toggle_float_option", False)
        self.pause_resume.setProperty("float_num", 0.3)
        self.pause_resume.setProperty("float_alt_num", 50.0)
        self.pause_resume.setProperty("view_type_string", "P")
        self.pause_resume.setProperty("command_text_string", "")
        self.pause_resume.setProperty("ini_mdi_number", 0)
        self.pause_resume.setProperty("textTemplate", "")
        self.pause_resume.setProperty("alt_textTemplate", "%1.2f mm")
        self.pause_resume.setObjectName("pause_resume")
        self.verticalLayout_17.addWidget(self.pause_resume)
        self.abort = QtWidgets.QPushButton(self.machine_buttons)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.abort.sizePolicy().hasHeightForWidth())
        self.abort.setSizePolicy(sizePolicy)
        self.abort.setMinimumSize(QtCore.QSize(60, 40))
        self.abort.setMaximumSize(QtCore.QSize(16777215, 40))
        self.abort.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.abort.setToolTip("")
        self.abort.setObjectName("abort")
        self.verticalLayout_17.addWidget(self.abort)
        self.verticalLayout_8.addWidget(self.machine_buttons)
        self.machine_sliders = QtWidgets.QFrame(self.machine_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.machine_sliders.sizePolicy().hasHeightForWidth())
        self.machine_sliders.setSizePolicy(sizePolicy)
        self.machine_sliders.setMinimumSize(QtCore.QSize(0, 0))
        self.machine_sliders.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.machine_sliders.setFrameShadow(QtWidgets.QFrame.Plain)
        self.machine_sliders.setObjectName("machine_sliders")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.machine_sliders)
        self.horizontalLayout_4.setContentsMargins(2, 0, 2, 0)
        self.horizontalLayout_4.setSpacing(2)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.frame_4 = QtWidgets.QFrame(self.machine_sliders)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_4.sizePolicy().hasHeightForWidth())
        self.frame_4.setSizePolicy(sizePolicy)
        self.frame_4.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_4.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_4.setObjectName("frame_4")
        self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.frame_4)
        self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_9.setSpacing(4)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.feed_label = QtWidgets.QPushButton(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.feed_label.sizePolicy().hasHeightForWidth())
        self.feed_label.setSizePolicy(sizePolicy)
        self.feed_label.setMaximumSize(QtCore.QSize(41, 16777215))
        self.feed_label.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.feed_label.setObjectName("feed_label")
        self.verticalLayout_9.addWidget(self.feed_label)
        self.feed_slider = StatusSlider(self.frame_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.feed_slider.sizePolicy().hasHeightForWidth())
        self.feed_slider.setSizePolicy(sizePolicy)
        self.feed_slider.setMinimumSize(QtCore.QSize(0, 0))
        self.feed_slider.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.feed_slider.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.feed_slider.setMaximum(100)
        self.feed_slider.setTickPosition(QtWidgets.QSlider.NoTicks)
        self.feed_slider.setProperty("feed_rate", True)
        self.feed_slider.setObjectName("feed_slider")
        self.verticalLayout_9.addWidget(self.feed_slider)
        self.horizontalLayout_4.addWidget(self.frame_4)
        self.frame_5 = QtWidgets.QFrame(self.machine_sliders)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_5.sizePolicy().hasHeightForWidth())
        self.frame_5.setSizePolicy(sizePolicy)
        self.frame_5.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_5.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_5.setObjectName("frame_5")
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.frame_5)
        self.verticalLayout_10.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_10.setSpacing(4)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.rapid_label = QtWidgets.QPushButton(self.frame_5)
        self.rapid_label.setMaximumSize(QtCore.QSize(41, 16777215))
        self.rapid_label.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.rapid_label.setObjectName("rapid_label")
        self.verticalLayout_10.addWidget(self.rapid_label)
        self.rapid_slider = StatusSlider(self.frame_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.rapid_slider.sizePolicy().hasHeightForWidth())
        self.rapid_slider.setSizePolicy(sizePolicy)
        self.rapid_slider.setMinimumSize(QtCore.QSize(0, 0))
        self.rapid_slider.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.rapid_slider.setMaximum(100)
        self.rapid_slider.setObjectName("rapid_slider")
        self.verticalLayout_10.addWidget(self.rapid_slider)
        self.horizontalLayout_4.addWidget(self.frame_5)
        self.frame_6 = QtWidgets.QFrame(self.machine_sliders)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_6.sizePolicy().hasHeightForWidth())
        self.frame_6.setSizePolicy(sizePolicy)
        self.frame_6.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_6.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_6.setObjectName("frame_6")
        self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.frame_6)
        self.verticalLayout_11.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_11.setSpacing(4)
        self.verticalLayout_11.setObjectName("verticalLayout_11")
        self.jogs_label = QtWidgets.QPushButton(self.frame_6)
        self.jogs_label.setMaximumSize(QtCore.QSize(41, 16777215))
        self.jogs_label.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jogs_label.setObjectName("jogs_label")
        self.verticalLayout_11.addWidget(self.jogs_label)
        self.jog_slider = StatusSlider(self.frame_6)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_slider.sizePolicy().hasHeightForWidth())
        self.jog_slider.setSizePolicy(sizePolicy)
        self.jog_slider.setMinimumSize(QtCore.QSize(0, 0))
        self.jog_slider.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_slider.setMaximum(100)
        self.jog_slider.setProperty("jograte_rate", True)
        self.jog_slider.setObjectName("jog_slider")
        self.verticalLayout_11.addWidget(self.jog_slider)
        self.horizontalLayout_4.addWidget(self.frame_6)
        self.verticalLayout_8.addWidget(self.machine_sliders)
        self.verticalLayout_7.addWidget(self.machine_frame)
        self.button_frame = QtWidgets.QFrame(self.main_c2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_frame.sizePolicy().hasHeightForWidth())
        self.button_frame.setSizePolicy(sizePolicy)
        self.button_frame.setMinimumSize(QtCore.QSize(0, 0))
        self.button_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.button_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.button_frame.setObjectName("button_frame")
        self.verticalLayout_24 = QtWidgets.QVBoxLayout(self.button_frame)
        self.verticalLayout_24.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_24.setSpacing(4)
        self.verticalLayout_24.setObjectName("verticalLayout_24")
        self.button_label = QtWidgets.QLabel(self.button_frame)
        self.button_label.setMinimumSize(QtCore.QSize(0, 16))
        self.button_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.button_label.setAlignment(QtCore.Qt.AlignCenter)
        self.button_label.setObjectName("button_label")
        self.verticalLayout_24.addWidget(self.button_label)
        self.button_grid = QtWidgets.QGridLayout()
        self.button_grid.setContentsMargins(5, -1, 5, 0)
        self.button_grid.setSpacing(4)
        self.button_grid.setObjectName("button_grid")
        self.button_10 = QtWidgets.QPushButton(self.button_frame)
        self.button_10.setMinimumSize(QtCore.QSize(60, 40))
        self.button_10.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_10.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_10.setText("10")
        self.button_10.setObjectName("button_10")
        self.button_grid.addWidget(self.button_10, 5, 1, 1, 1)
        self.button_18 = QtWidgets.QPushButton(self.button_frame)
        self.button_18.setMinimumSize(QtCore.QSize(60, 40))
        self.button_18.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_18.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_18.setText("18")
        self.button_18.setObjectName("button_18")
        self.button_grid.addWidget(self.button_18, 9, 1, 1, 1)
        self.button_8 = QtWidgets.QPushButton(self.button_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_8.sizePolicy().hasHeightForWidth())
        self.button_8.setSizePolicy(sizePolicy)
        self.button_8.setMinimumSize(QtCore.QSize(60, 40))
        self.button_8.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_8.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_8.setText("8")
        self.button_8.setObjectName("button_8")
        self.button_grid.addWidget(self.button_8, 4, 1, 1, 1)
        self.button_7 = QtWidgets.QPushButton(self.button_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_7.sizePolicy().hasHeightForWidth())
        self.button_7.setSizePolicy(sizePolicy)
        self.button_7.setMinimumSize(QtCore.QSize(60, 40))
        self.button_7.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_7.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_7.setText("7")
        self.button_7.setObjectName("button_7")
        self.button_grid.addWidget(self.button_7, 4, 0, 1, 1)
        self.button_9 = QtWidgets.QPushButton(self.button_frame)
        self.button_9.setMinimumSize(QtCore.QSize(60, 40))
        self.button_9.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_9.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_9.setText("9")
        self.button_9.setObjectName("button_9")
        self.button_grid.addWidget(self.button_9, 5, 0, 1, 1)
        self.button_12 = QtWidgets.QPushButton(self.button_frame)
        self.button_12.setMinimumSize(QtCore.QSize(60, 40))
        self.button_12.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_12.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_12.setText("12")
        self.button_12.setObjectName("button_12")
        self.button_grid.addWidget(self.button_12, 6, 1, 1, 1)
        self.button_14 = QtWidgets.QPushButton(self.button_frame)
        self.button_14.setMinimumSize(QtCore.QSize(60, 40))
        self.button_14.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_14.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_14.setText("14")
        self.button_14.setObjectName("button_14")
        self.button_grid.addWidget(self.button_14, 7, 1, 1, 1)
        self.button_13 = QtWidgets.QPushButton(self.button_frame)
        self.button_13.setMinimumSize(QtCore.QSize(60, 40))
        self.button_13.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_13.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_13.setText("13")
        self.button_13.setObjectName("button_13")
        self.button_grid.addWidget(self.button_13, 7, 0, 1, 1)
        self.button_17 = QtWidgets.QPushButton(self.button_frame)
        self.button_17.setMinimumSize(QtCore.QSize(60, 40))
        self.button_17.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_17.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_17.setText("17")
        self.button_17.setObjectName("button_17")
        self.button_grid.addWidget(self.button_17, 9, 0, 1, 1)
        self.button_4 = QtWidgets.QPushButton(self.button_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_4.sizePolicy().hasHeightForWidth())
        self.button_4.setSizePolicy(sizePolicy)
        self.button_4.setMinimumSize(QtCore.QSize(60, 40))
        self.button_4.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_4.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_4.setText("4")
        self.button_4.setObjectName("button_4")
        self.button_grid.addWidget(self.button_4, 2, 1, 1, 1)
        self.button_5 = QtWidgets.QPushButton(self.button_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_5.sizePolicy().hasHeightForWidth())
        self.button_5.setSizePolicy(sizePolicy)
        self.button_5.setMinimumSize(QtCore.QSize(60, 40))
        self.button_5.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_5.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_5.setText("5")
        self.button_5.setObjectName("button_5")
        self.button_grid.addWidget(self.button_5, 3, 0, 1, 1)
        self.file_edit = PushButton(self.button_frame)
        self.file_edit.setMinimumSize(QtCore.QSize(60, 40))
        self.file_edit.setMaximumSize(QtCore.QSize(16777215, 40))
        self.file_edit.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.file_edit.setObjectName("file_edit")
        self.button_grid.addWidget(self.file_edit, 0, 0, 1, 1)
        self.button_16 = QtWidgets.QPushButton(self.button_frame)
        self.button_16.setMinimumSize(QtCore.QSize(60, 40))
        self.button_16.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_16.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_16.setText("16")
        self.button_16.setObjectName("button_16")
        self.button_grid.addWidget(self.button_16, 8, 1, 1, 1)
        self.button_11 = QtWidgets.QPushButton(self.button_frame)
        self.button_11.setMinimumSize(QtCore.QSize(60, 40))
        self.button_11.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_11.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_11.setText("11")
        self.button_11.setObjectName("button_11")
        self.button_grid.addWidget(self.button_11, 6, 0, 1, 1)
        self.button_2 = QtWidgets.QPushButton(self.button_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_2.sizePolicy().hasHeightForWidth())
        self.button_2.setSizePolicy(sizePolicy)
        self.button_2.setMinimumSize(QtCore.QSize(60, 40))
        self.button_2.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_2.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_2.setText("2")
        self.button_2.setObjectName("button_2")
        self.button_grid.addWidget(self.button_2, 1, 1, 1, 1)
        self.button_1 = QtWidgets.QPushButton(self.button_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_1.sizePolicy().hasHeightForWidth())
        self.button_1.setSizePolicy(sizePolicy)
        self.button_1.setMinimumSize(QtCore.QSize(60, 40))
        self.button_1.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_1.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_1.setText("1")
        self.button_1.setObjectName("button_1")
        self.button_grid.addWidget(self.button_1, 1, 0, 1, 1)
        self.button_15 = QtWidgets.QPushButton(self.button_frame)
        self.button_15.setMinimumSize(QtCore.QSize(60, 40))
        self.button_15.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_15.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_15.setText("15")
        self.button_15.setObjectName("button_15")
        self.button_grid.addWidget(self.button_15, 8, 0, 1, 1)
        self.button_6 = QtWidgets.QPushButton(self.button_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_6.sizePolicy().hasHeightForWidth())
        self.button_6.setSizePolicy(sizePolicy)
        self.button_6.setMinimumSize(QtCore.QSize(60, 40))
        self.button_6.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_6.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_6.setText("6")
        self.button_6.setObjectName("button_6")
        self.button_grid.addWidget(self.button_6, 3, 1, 1, 1)
        self.mdi_show = PushButton(self.button_frame)
        self.mdi_show.setMinimumSize(QtCore.QSize(60, 40))
        self.mdi_show.setMaximumSize(QtCore.QSize(16777215, 40))
        self.mdi_show.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.mdi_show.setObjectName("mdi_show")
        self.button_grid.addWidget(self.mdi_show, 0, 1, 1, 1)
        self.button_3 = QtWidgets.QPushButton(self.button_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_3.sizePolicy().hasHeightForWidth())
        self.button_3.setSizePolicy(sizePolicy)
        self.button_3.setMinimumSize(QtCore.QSize(60, 40))
        self.button_3.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_3.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_3.setText("3")
        self.button_3.setObjectName("button_3")
        self.button_grid.addWidget(self.button_3, 2, 0, 1, 1)
        self.button_19 = QtWidgets.QPushButton(self.button_frame)
        self.button_19.setMinimumSize(QtCore.QSize(60, 40))
        self.button_19.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_19.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_19.setText("19")
        self.button_19.setObjectName("button_19")
        self.button_grid.addWidget(self.button_19, 10, 0, 1, 1)
        self.button_20 = QtWidgets.QPushButton(self.button_frame)
        self.button_20.setMinimumSize(QtCore.QSize(60, 40))
        self.button_20.setMaximumSize(QtCore.QSize(16777215, 40))
        self.button_20.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.button_20.setText("20")
        self.button_20.setObjectName("button_20")
        self.button_grid.addWidget(self.button_20, 10, 1, 1, 1)
        self.verticalLayout_24.addLayout(self.button_grid)
        spacerItem2 = QtWidgets.QSpacerItem(20, 1, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_24.addItem(spacerItem2)
        self.verticalLayout_7.addWidget(self.button_frame)
        self.verticalLayout_7.setStretch(0, 1)
        self.main_tab_Layout.addWidget(self.main_c2)
        self.main_c3 = QtWidgets.QFrame(self.main_tab)
        self.main_c3.setMinimumSize(QtCore.QSize(0, 0))
        self.main_c3.setMaximumSize(QtCore.QSize(268, 16777215))
        self.main_c3.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.main_c3.setFrameShadow(QtWidgets.QFrame.Plain)
        self.main_c3.setObjectName("main_c3")
        self.verticalLayout_15 = QtWidgets.QVBoxLayout(self.main_c3)
        self.verticalLayout_15.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_15.setSpacing(2)
        self.verticalLayout_15.setObjectName("verticalLayout_15")
        self.plasma_frame = QtWidgets.QFrame(self.main_c3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.plasma_frame.sizePolicy().hasHeightForWidth())
        self.plasma_frame.setSizePolicy(sizePolicy)
        self.plasma_frame.setMinimumSize(QtCore.QSize(0, 291))
        self.plasma_frame.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.plasma_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.plasma_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.plasma_frame.setObjectName("plasma_frame")
        self.verticalLayout_33 = QtWidgets.QVBoxLayout(self.plasma_frame)
        self.verticalLayout_33.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_33.setSpacing(2)
        self.verticalLayout_33.setObjectName("verticalLayout_33")
        self.arc_frame = QtWidgets.QFrame(self.plasma_frame)
        self.arc_frame.setMinimumSize(QtCore.QSize(0, 0))
        self.arc_frame.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.arc_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.arc_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.arc_frame.setObjectName("arc_frame")
        self.gridLayout_11 = QtWidgets.QGridLayout(self.arc_frame)
        self.gridLayout_11.setContentsMargins(0, 0, 0, 4)
        self.gridLayout_11.setSpacing(2)
        self.gridLayout_11.setObjectName("gridLayout_11")
        self.arc_label = QtWidgets.QLabel(self.arc_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.arc_label.sizePolicy().hasHeightForWidth())
        self.arc_label.setSizePolicy(sizePolicy)
        self.arc_label.setMinimumSize(QtCore.QSize(0, 16))
        self.arc_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.arc_label.setAlignment(QtCore.Qt.AlignCenter)
        self.arc_label.setObjectName("arc_label")
        self.gridLayout_11.addWidget(self.arc_label, 0, 0, 1, 2)
        self.frame_24 = QtWidgets.QFrame(self.arc_frame)
        self.frame_24.setMinimumSize(QtCore.QSize(0, 0))
        self.frame_24.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_24.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_24.setObjectName("frame_24")
        self.horizontalLayout_44 = QtWidgets.QHBoxLayout(self.frame_24)
        self.horizontalLayout_44.setContentsMargins(4, 2, 4, 0)
        self.horizontalLayout_44.setSpacing(0)
        self.horizontalLayout_44.setObjectName("horizontalLayout_44")
        self.arc_voltage = HALLabel(self.frame_24)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.arc_voltage.sizePolicy().hasHeightForWidth())
        self.arc_voltage.setSizePolicy(sizePolicy)
        self.arc_voltage.setMinimumSize(QtCore.QSize(90, 44))
        self.arc_voltage.setMaximumSize(QtCore.QSize(90, 44))
        font = QtGui.QFont()
        font.setFamily("DejaVuSans")
        font.setPointSize(40)
        self.arc_voltage.setFont(font)
        self.arc_voltage.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.arc_voltage.setText("300")
        self.arc_voltage.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.arc_voltage.setProperty("pin_name", "")
        self.arc_voltage.setProperty("float_pin_type", True)
        self.arc_voltage.setProperty("textTemplate", "%0.0f")
        self.arc_voltage.setObjectName("arc_voltage")
        self.horizontalLayout_44.addWidget(self.arc_voltage)
        spacerItem3 = QtWidgets.QSpacerItem(10, 17, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_44.addItem(spacerItem3)
        self.frame_25 = QtWidgets.QFrame(self.frame_24)
        self.frame_25.setMinimumSize(QtCore.QSize(0, 0))
        self.frame_25.setMaximumSize(QtCore.QSize(16777215, 44))
        self.frame_25.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_25.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_25.setObjectName("frame_25")
        self.verticalLayout_34 = QtWidgets.QVBoxLayout(self.frame_25)
        self.verticalLayout_34.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_34.setSpacing(4)
        self.verticalLayout_34.setObjectName("verticalLayout_34")
        self.label_47 = QtWidgets.QLabel(self.frame_25)
        self.label_47.setMinimumSize(QtCore.QSize(0, 0))
        self.label_47.setMaximumSize(QtCore.QSize(16777215, 17))
        self.label_47.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_47.setObjectName("label_47")
        self.verticalLayout_34.addWidget(self.label_47)
        self.led_arc_ok = LED(self.frame_25)
        self.led_arc_ok.setMinimumSize(QtCore.QSize(0, 0))
        self.led_arc_ok.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.led_arc_ok.setColor(QtGui.QColor(252, 233, 79))
        self.led_arc_ok.setObjectName("led_arc_ok")
        self.verticalLayout_34.addWidget(self.led_arc_ok)
        self.horizontalLayout_44.addWidget(self.frame_25)
        spacerItem4 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_44.addItem(spacerItem4)
        self.arc_override_frm = QtWidgets.QFrame(self.frame_24)
        self.arc_override_frm.setMinimumSize(QtCore.QSize(68, 44))
        self.arc_override_frm.setMaximumSize(QtCore.QSize(16777215, 44))
        self.arc_override_frm.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.arc_override_frm.setFrameShadow(QtWidgets.QFrame.Plain)
        self.arc_override_frm.setObjectName("arc_override_frm")
        self.verticalLayout_25 = QtWidgets.QVBoxLayout(self.arc_override_frm)
        self.verticalLayout_25.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_25.setSpacing(4)
        self.verticalLayout_25.setObjectName("verticalLayout_25")
        self.height_reset = QtWidgets.QPushButton(self.arc_override_frm)
        self.height_reset.setMinimumSize(QtCore.QSize(82, 16))
        self.height_reset.setMaximumSize(QtCore.QSize(82, 16))
        self.height_reset.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.height_reset.setObjectName("height_reset")
        self.verticalLayout_25.addWidget(self.height_reset)
        self.frame_26 = QtWidgets.QFrame(self.arc_override_frm)
        self.frame_26.setMaximumSize(QtCore.QSize(82, 16777215))
        self.frame_26.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_26.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_26.setObjectName("frame_26")
        self.horizontalLayout_23 = QtWidgets.QHBoxLayout(self.frame_26)
        self.horizontalLayout_23.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_23.setSpacing(4)
        self.horizontalLayout_23.setObjectName("horizontalLayout_23")
        self.height_lower = QtWidgets.QPushButton(self.frame_26)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.height_lower.sizePolicy().hasHeightForWidth())
        self.height_lower.setSizePolicy(sizePolicy)
        self.height_lower.setMaximumSize(QtCore.QSize(24, 24))
        self.height_lower.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.height_lower.setText("-")
        self.height_lower.setAutoRepeat(True)
        self.height_lower.setAutoRepeatInterval(250)
        self.height_lower.setObjectName("height_lower")
        self.horizontalLayout_23.addWidget(self.height_lower)
        self.height_ovr_label = QtWidgets.QLabel(self.frame_26)
        self.height_ovr_label.setMaximumSize(QtCore.QSize(30, 30))
        self.height_ovr_label.setText("0.0")
        self.height_ovr_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.height_ovr_label.setObjectName("height_ovr_label")
        self.horizontalLayout_23.addWidget(self.height_ovr_label)
        self.height_raise = QtWidgets.QPushButton(self.frame_26)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.height_raise.sizePolicy().hasHeightForWidth())
        self.height_raise.setSizePolicy(sizePolicy)
        self.height_raise.setMaximumSize(QtCore.QSize(24, 24))
        self.height_raise.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.height_raise.setText("+")
        self.height_raise.setAutoRepeat(True)
        self.height_raise.setAutoRepeatInterval(250)
        self.height_raise.setObjectName("height_raise")
        self.horizontalLayout_23.addWidget(self.height_raise)
        self.verticalLayout_25.addWidget(self.frame_26)
        self.horizontalLayout_44.addWidget(self.arc_override_frm)
        self.gridLayout_11.addWidget(self.frame_24, 1, 0, 2, 2)
        self.verticalLayout_33.addWidget(self.arc_frame)
        self.control_frame = QtWidgets.QFrame(self.plasma_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.control_frame.sizePolicy().hasHeightForWidth())
        self.control_frame.setSizePolicy(sizePolicy)
        self.control_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.control_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.control_frame.setObjectName("control_frame")
        self.gridLayout_12 = QtWidgets.QGridLayout(self.control_frame)
        self.gridLayout_12.setContentsMargins(0, 0, 0, 4)
        self.gridLayout_12.setSpacing(2)
        self.gridLayout_12.setObjectName("gridLayout_12")
        self.frame_28 = QtWidgets.QFrame(self.control_frame)
        self.frame_28.setMinimumSize(QtCore.QSize(0, 18))
        self.frame_28.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frame_28.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_28.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_28.setObjectName("frame_28")
        self.horizontalLayout_25 = QtWidgets.QHBoxLayout(self.frame_28)
        self.horizontalLayout_25.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout_25.setSpacing(2)
        self.horizontalLayout_25.setObjectName("horizontalLayout_25")
        self.ignore_arc_ok = CheckBox(self.frame_28)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ignore_arc_ok.sizePolicy().hasHeightForWidth())
        self.ignore_arc_ok.setSizePolicy(sizePolicy)
        self.ignore_arc_ok.setMinimumSize(QtCore.QSize(0, 0))
        self.ignore_arc_ok.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ignore_arc_ok.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.ignore_arc_ok.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.ignore_arc_ok.setText("")
        self.ignore_arc_ok.setObjectName("ignore_arc_ok")
        self.horizontalLayout_25.addWidget(self.ignore_arc_ok)
        self.label_64 = QtWidgets.QLabel(self.frame_28)
        self.label_64.setMinimumSize(QtCore.QSize(0, 0))
        self.label_64.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.label_64.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_64.setObjectName("label_64")
        self.horizontalLayout_25.addWidget(self.label_64)
        spacerItem5 = QtWidgets.QSpacerItem(32, 18, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_25.addItem(spacerItem5)
        self.label_67 = QtWidgets.QLabel(self.frame_28)
        self.label_67.setMinimumSize(QtCore.QSize(0, 0))
        self.label_67.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.label_67.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_67.setObjectName("label_67")
        self.horizontalLayout_25.addWidget(self.label_67)
        self.ohmic_probe_enable = CheckBox(self.frame_28)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ohmic_probe_enable.sizePolicy().hasHeightForWidth())
        self.ohmic_probe_enable.setSizePolicy(sizePolicy)
        self.ohmic_probe_enable.setMinimumSize(QtCore.QSize(0, 0))
        self.ohmic_probe_enable.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ohmic_probe_enable.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.ohmic_probe_enable.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.ohmic_probe_enable.setText("")
        self.ohmic_probe_enable.setObjectName("ohmic_probe_enable")
        self.horizontalLayout_25.addWidget(self.ohmic_probe_enable)
        self.gridLayout_12.addWidget(self.frame_28, 5, 1, 1, 1)
        self.control_label = QtWidgets.QLabel(self.control_frame)
        self.control_label.setMinimumSize(QtCore.QSize(0, 16))
        self.control_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.control_label.setAlignment(QtCore.Qt.AlignCenter)
        self.control_label.setObjectName("control_label")
        self.gridLayout_12.addWidget(self.control_label, 0, 0, 1, 2)
        self.frame_29 = QtWidgets.QFrame(self.control_frame)
        self.frame_29.setMinimumSize(QtCore.QSize(0, 18))
        self.frame_29.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frame_29.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_29.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_29.setObjectName("frame_29")
        self.horizontalLayout_27 = QtWidgets.QHBoxLayout(self.frame_29)
        self.horizontalLayout_27.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout_27.setSpacing(2)
        self.horizontalLayout_27.setObjectName("horizontalLayout_27")
        self.led_torch_on = LED(self.frame_29)
        self.led_torch_on.setMinimumSize(QtCore.QSize(0, 0))
        self.led_torch_on.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.led_torch_on.setColor(QtGui.QColor(252, 233, 79))
        self.led_torch_on.setObjectName("led_torch_on")
        self.horizontalLayout_27.addWidget(self.led_torch_on)
        self.label_68 = QtWidgets.QLabel(self.frame_29)
        self.label_68.setMinimumSize(QtCore.QSize(0, 0))
        self.label_68.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.label_68.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_68.setObjectName("label_68")
        self.horizontalLayout_27.addWidget(self.label_68)
        spacerItem6 = QtWidgets.QSpacerItem(60, 15, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_27.addItem(spacerItem6)
        self.label_69 = QtWidgets.QLabel(self.frame_29)
        self.label_69.setMinimumSize(QtCore.QSize(0, 0))
        self.label_69.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.label_69.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_69.setObjectName("label_69")
        self.horizontalLayout_27.addWidget(self.label_69)
        self.torch_enable = CheckBox(self.frame_29)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.torch_enable.sizePolicy().hasHeightForWidth())
        self.torch_enable.setSizePolicy(sizePolicy)
        self.torch_enable.setMinimumSize(QtCore.QSize(0, 0))
        self.torch_enable.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.torch_enable.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.torch_enable.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.torch_enable.setText("")
        self.torch_enable.setObjectName("torch_enable")
        self.horizontalLayout_27.addWidget(self.torch_enable)
        self.gridLayout_12.addWidget(self.frame_29, 1, 1, 1, 1)
        self.frame_27 = QtWidgets.QFrame(self.control_frame)
        self.frame_27.setMinimumSize(QtCore.QSize(0, 18))
        self.frame_27.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_27.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_27.setObjectName("frame_27")
        self.horizontalLayout_24 = QtWidgets.QHBoxLayout(self.frame_27)
        self.horizontalLayout_24.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout_24.setSpacing(2)
        self.horizontalLayout_24.setObjectName("horizontalLayout_24")
        self.mesh_enable = CheckBox(self.frame_27)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mesh_enable.sizePolicy().hasHeightForWidth())
        self.mesh_enable.setSizePolicy(sizePolicy)
        self.mesh_enable.setMinimumSize(QtCore.QSize(0, 0))
        self.mesh_enable.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.mesh_enable.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.mesh_enable.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.mesh_enable.setText("")
        self.mesh_enable.setObjectName("mesh_enable")
        self.horizontalLayout_24.addWidget(self.mesh_enable)
        self.label_59 = QtWidgets.QLabel(self.frame_27)
        self.label_59.setMinimumSize(QtCore.QSize(0, 0))
        self.label_59.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.label_59.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_59.setObjectName("label_59")
        self.horizontalLayout_24.addWidget(self.label_59)
        spacerItem7 = QtWidgets.QSpacerItem(40, 13, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_24.addItem(spacerItem7)
        self.use_auto_volts_lbl = QtWidgets.QLabel(self.frame_27)
        self.use_auto_volts_lbl.setMinimumSize(QtCore.QSize(0, 0))
        self.use_auto_volts_lbl.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.use_auto_volts_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.use_auto_volts_lbl.setObjectName("use_auto_volts_lbl")
        self.horizontalLayout_24.addWidget(self.use_auto_volts_lbl)
        self.use_auto_volts = CheckBox(self.frame_27)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.use_auto_volts.sizePolicy().hasHeightForWidth())
        self.use_auto_volts.setSizePolicy(sizePolicy)
        self.use_auto_volts.setMinimumSize(QtCore.QSize(0, 0))
        self.use_auto_volts.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.use_auto_volts.setChecked(False)
        self.use_auto_volts.setObjectName("use_auto_volts")
        self.horizontalLayout_24.addWidget(self.use_auto_volts)
        self.gridLayout_12.addWidget(self.frame_27, 4, 1, 1, 1)
        self.voidlock_frm = QtWidgets.QFrame(self.control_frame)
        self.voidlock_frm.setMinimumSize(QtCore.QSize(18, 0))
        self.voidlock_frm.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.voidlock_frm.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.voidlock_frm.setFrameShadow(QtWidgets.QFrame.Plain)
        self.voidlock_frm.setObjectName("voidlock_frm")
        self.horizontalLayout_29 = QtWidgets.QHBoxLayout(self.voidlock_frm)
        self.horizontalLayout_29.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout_29.setSpacing(2)
        self.horizontalLayout_29.setObjectName("horizontalLayout_29")
        self.led_void_lock = LED(self.voidlock_frm)
        self.led_void_lock.setMinimumSize(QtCore.QSize(0, 0))
        self.led_void_lock.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.led_void_lock.setColor(QtGui.QColor(252, 233, 79))
        self.led_void_lock.setObjectName("led_void_lock")
        self.horizontalLayout_29.addWidget(self.led_void_lock)
        self.label_72 = QtWidgets.QLabel(self.voidlock_frm)
        self.label_72.setMinimumSize(QtCore.QSize(0, 0))
        self.label_72.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.label_72.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_72.setObjectName("label_72")
        self.horizontalLayout_29.addWidget(self.label_72)
        spacerItem8 = QtWidgets.QSpacerItem(51, 15, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_29.addItem(spacerItem8)
        self.label_73 = QtWidgets.QLabel(self.voidlock_frm)
        self.label_73.setMinimumSize(QtCore.QSize(0, 0))
        self.label_73.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.label_73.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_73.setObjectName("label_73")
        self.horizontalLayout_29.addWidget(self.label_73)
        self.voidlock_enable = CheckBox(self.voidlock_frm)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.voidlock_enable.sizePolicy().hasHeightForWidth())
        self.voidlock_enable.setSizePolicy(sizePolicy)
        self.voidlock_enable.setMinimumSize(QtCore.QSize(0, 0))
        self.voidlock_enable.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.voidlock_enable.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.voidlock_enable.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.voidlock_enable.setText("")
        self.voidlock_enable.setChecked(False)
        self.voidlock_enable.setObjectName("voidlock_enable")
        self.horizontalLayout_29.addWidget(self.voidlock_enable)
        self.gridLayout_12.addWidget(self.voidlock_frm, 3, 1, 1, 1)
        self.pmx485_frame = QtWidgets.QFrame(self.control_frame)
        self.pmx485_frame.setMinimumSize(QtCore.QSize(18, 0))
        self.pmx485_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.pmx485_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.pmx485_frame.setObjectName("pmx485_frame")
        self.horizontalLayout_30 = QtWidgets.QHBoxLayout(self.pmx485_frame)
        self.horizontalLayout_30.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout_30.setSpacing(2)
        self.horizontalLayout_30.setObjectName("horizontalLayout_30")
        self.pmx485_label = QtWidgets.QLabel(self.pmx485_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pmx485_label.sizePolicy().hasHeightForWidth())
        self.pmx485_label.setSizePolicy(sizePolicy)
        self.pmx485_label.setText("")
        self.pmx485_label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.pmx485_label.setObjectName("pmx485_label")
        self.horizontalLayout_30.addWidget(self.pmx485_label)
        self.pmx485_label1 = QtWidgets.QLabel(self.pmx485_frame)
        self.pmx485_label1.setText("RS485")
        self.pmx485_label1.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pmx485_label1.setObjectName("pmx485_label1")
        self.horizontalLayout_30.addWidget(self.pmx485_label1)
        self.pmx485_enable = CheckBox(self.pmx485_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pmx485_enable.sizePolicy().hasHeightForWidth())
        self.pmx485_enable.setSizePolicy(sizePolicy)
        self.pmx485_enable.setMinimumSize(QtCore.QSize(0, 0))
        self.pmx485_enable.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.pmx485_enable.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.pmx485_enable.setText("")
        self.pmx485_enable.setObjectName("pmx485_enable")
        self.horizontalLayout_30.addWidget(self.pmx485_enable)
        self.gridLayout_12.addWidget(self.pmx485_frame, 6, 1, 1, 1)
        self.frame_30 = QtWidgets.QFrame(self.control_frame)
        self.frame_30.setMinimumSize(QtCore.QSize(18, 0))
        self.frame_30.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frame_30.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_30.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_30.setObjectName("frame_30")
        self.horizontalLayout_28 = QtWidgets.QHBoxLayout(self.frame_30)
        self.horizontalLayout_28.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout_28.setSpacing(2)
        self.horizontalLayout_28.setObjectName("horizontalLayout_28")
        self.led_corner_lock = LED(self.frame_30)
        self.led_corner_lock.setMinimumSize(QtCore.QSize(0, 0))
        self.led_corner_lock.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.led_corner_lock.setColor(QtGui.QColor(252, 233, 79))
        self.led_corner_lock.setObjectName("led_corner_lock")
        self.horizontalLayout_28.addWidget(self.led_corner_lock)
        self.label_70 = QtWidgets.QLabel(self.frame_30)
        self.label_70.setMinimumSize(QtCore.QSize(0, 0))
        self.label_70.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.label_70.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_70.setObjectName("label_70")
        self.horizontalLayout_28.addWidget(self.label_70)
        spacerItem9 = QtWidgets.QSpacerItem(21, 15, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_28.addItem(spacerItem9)
        self.label_71 = QtWidgets.QLabel(self.frame_30)
        self.label_71.setMinimumSize(QtCore.QSize(0, 0))
        self.label_71.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.label_71.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_71.setObjectName("label_71")
        self.horizontalLayout_28.addWidget(self.label_71)
        self.cornerlock_enable = CheckBox(self.frame_30)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cornerlock_enable.sizePolicy().hasHeightForWidth())
        self.cornerlock_enable.setSizePolicy(sizePolicy)
        self.cornerlock_enable.setMinimumSize(QtCore.QSize(0, 0))
        self.cornerlock_enable.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.cornerlock_enable.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.cornerlock_enable.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.cornerlock_enable.setText("")
        self.cornerlock_enable.setChecked(False)
        self.cornerlock_enable.setObjectName("cornerlock_enable")
        self.horizontalLayout_28.addWidget(self.cornerlock_enable)
        self.gridLayout_12.addWidget(self.frame_30, 2, 1, 1, 1)
        self.verticalLayout_33.addWidget(self.control_frame)
        self.verticalLayout_33.setStretch(1, 1)
        self.verticalLayout_15.addWidget(self.plasma_frame)
        self.frame_3 = QtWidgets.QFrame(self.main_c3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_3.sizePolicy().hasHeightForWidth())
        self.frame_3.setSizePolicy(sizePolicy)
        self.frame_3.setMinimumSize(QtCore.QSize(0, 117))
        self.frame_3.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frame_3.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_3.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_3.setObjectName("frame_3")
        self.horizontalLayout_21 = QtWidgets.QHBoxLayout(self.frame_3)
        self.horizontalLayout_21.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_21.setSpacing(2)
        self.horizontalLayout_21.setObjectName("horizontalLayout_21")
        self.sensor_frame = QtWidgets.QFrame(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sensor_frame.sizePolicy().hasHeightForWidth())
        self.sensor_frame.setSizePolicy(sizePolicy)
        self.sensor_frame.setMinimumSize(QtCore.QSize(0, 0))
        self.sensor_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.sensor_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.sensor_frame.setObjectName("sensor_frame")
        self.verticalLayout_36 = QtWidgets.QVBoxLayout(self.sensor_frame)
        self.verticalLayout_36.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_36.setSpacing(3)
        self.verticalLayout_36.setObjectName("verticalLayout_36")
        self.sensor_label = QtWidgets.QLabel(self.sensor_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sensor_label.sizePolicy().hasHeightForWidth())
        self.sensor_label.setSizePolicy(sizePolicy)
        self.sensor_label.setMinimumSize(QtCore.QSize(0, 17))
        self.sensor_label.setMaximumSize(QtCore.QSize(16777215, 17))
        self.sensor_label.setAlignment(QtCore.Qt.AlignCenter)
        self.sensor_label.setObjectName("sensor_label")
        self.verticalLayout_36.addWidget(self.sensor_label)
        self.frame_9 = QtWidgets.QFrame(self.sensor_frame)
        self.frame_9.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_9.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_9.setObjectName("frame_9")
        self.gridLayout_10 = QtWidgets.QGridLayout(self.frame_9)
        self.gridLayout_10.setContentsMargins(4, 0, 0, 0)
        self.gridLayout_10.setHorizontalSpacing(0)
        self.gridLayout_10.setVerticalSpacing(4)
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.led_float_switch = LED(self.frame_9)
        self.led_float_switch.setMinimumSize(QtCore.QSize(0, 0))
        self.led_float_switch.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.led_float_switch.setColor(QtGui.QColor(252, 233, 79))
        self.led_float_switch.setObjectName("led_float_switch")
        self.gridLayout_10.addWidget(self.led_float_switch, 0, 0, 1, 1)
        self.label_49 = QtWidgets.QLabel(self.frame_9)
        self.label_49.setMinimumSize(QtCore.QSize(48, 17))
        self.label_49.setMaximumSize(QtCore.QSize(48, 17))
        self.label_49.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_49.setObjectName("label_49")
        self.gridLayout_10.addWidget(self.label_49, 0, 1, 1, 1)
        self.led_ohmic_probe = LED(self.frame_9)
        self.led_ohmic_probe.setMinimumSize(QtCore.QSize(0, 0))
        self.led_ohmic_probe.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.led_ohmic_probe.setColor(QtGui.QColor(252, 233, 79))
        self.led_ohmic_probe.setObjectName("led_ohmic_probe")
        self.gridLayout_10.addWidget(self.led_ohmic_probe, 1, 0, 1, 1)
        self.label_52 = QtWidgets.QLabel(self.frame_9)
        self.label_52.setMinimumSize(QtCore.QSize(48, 17))
        self.label_52.setMaximumSize(QtCore.QSize(48, 17))
        self.label_52.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_52.setObjectName("label_52")
        self.gridLayout_10.addWidget(self.label_52, 1, 1, 1, 1)
        self.led_breakaway_switch = LED(self.frame_9)
        self.led_breakaway_switch.setMinimumSize(QtCore.QSize(0, 0))
        self.led_breakaway_switch.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.led_breakaway_switch.setColor(QtGui.QColor(252, 233, 79))
        self.led_breakaway_switch.setObjectName("led_breakaway_switch")
        self.gridLayout_10.addWidget(self.led_breakaway_switch, 2, 0, 1, 1)
        self.label_53 = QtWidgets.QLabel(self.frame_9)
        self.label_53.setMinimumSize(QtCore.QSize(48, 17))
        self.label_53.setMaximumSize(QtCore.QSize(48, 17))
        self.label_53.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_53.setObjectName("label_53")
        self.gridLayout_10.addWidget(self.label_53, 2, 1, 1, 1)
        self.verticalLayout_36.addWidget(self.frame_9)
        self.horizontalLayout_21.addWidget(self.sensor_frame)
        self.thc_frame = QtWidgets.QFrame(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thc_frame.sizePolicy().hasHeightForWidth())
        self.thc_frame.setSizePolicy(sizePolicy)
        self.thc_frame.setMinimumSize(QtCore.QSize(0, 0))
        self.thc_frame.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.thc_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.thc_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.thc_frame.setObjectName("thc_frame")
        self.verticalLayout_35 = QtWidgets.QVBoxLayout(self.thc_frame)
        self.verticalLayout_35.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_35.setSpacing(4)
        self.verticalLayout_35.setObjectName("verticalLayout_35")
        self.thc_label = QtWidgets.QLabel(self.thc_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thc_label.sizePolicy().hasHeightForWidth())
        self.thc_label.setSizePolicy(sizePolicy)
        self.thc_label.setMinimumSize(QtCore.QSize(0, 16))
        self.thc_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.thc_label.setAlignment(QtCore.Qt.AlignCenter)
        self.thc_label.setObjectName("thc_label")
        self.verticalLayout_35.addWidget(self.thc_label)
        self.frame_14 = QtWidgets.QFrame(self.thc_frame)
        self.frame_14.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_14.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_14.setObjectName("frame_14")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_14)
        self.horizontalLayout.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout.setSpacing(2)
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem10 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem10)
        self.label_11 = QtWidgets.QLabel(self.frame_14)
        self.label_11.setMinimumSize(QtCore.QSize(0, 17))
        self.label_11.setMaximumSize(QtCore.QSize(16777215, 17))
        self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTop|QtCore.Qt.AlignTrailing)
        self.label_11.setObjectName("label_11")
        self.horizontalLayout.addWidget(self.label_11)
        self.thc_enable = CheckBox(self.frame_14)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thc_enable.sizePolicy().hasHeightForWidth())
        self.thc_enable.setSizePolicy(sizePolicy)
        self.thc_enable.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.thc_enable.setObjectName("thc_enable")
        self.horizontalLayout.addWidget(self.thc_enable)
        self.verticalLayout_35.addWidget(self.frame_14)
        self.frame_37 = QtWidgets.QFrame(self.thc_frame)
        self.frame_37.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_37.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_37.setObjectName("frame_37")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.frame_37)
        self.horizontalLayout_6.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout_6.setSpacing(2)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.led_thc_up = LED(self.frame_37)
        self.led_thc_up.setMinimumSize(QtCore.QSize(0, 0))
        self.led_thc_up.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.led_thc_up.setColor(QtGui.QColor(252, 233, 79))
        self.led_thc_up.setObjectName("led_thc_up")
        self.horizontalLayout_6.addWidget(self.led_thc_up)
        self.label_44 = QtWidgets.QLabel(self.frame_37)
        self.label_44.setMinimumSize(QtCore.QSize(0, 17))
        self.label_44.setMaximumSize(QtCore.QSize(1677215, 17))
        self.label_44.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_44.setObjectName("label_44")
        self.horizontalLayout_6.addWidget(self.label_44)
        spacerItem11 = QtWidgets.QSpacerItem(6, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem11)
        self.label_43 = QtWidgets.QLabel(self.frame_37)
        self.label_43.setMinimumSize(QtCore.QSize(0, 17))
        self.label_43.setMaximumSize(QtCore.QSize(16777215, 17))
        self.label_43.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_43.setObjectName("label_43")
        self.horizontalLayout_6.addWidget(self.label_43)
        self.led_thc_enabled = LED(self.frame_37)
        self.led_thc_enabled.setMinimumSize(QtCore.QSize(0, 0))
        self.led_thc_enabled.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.led_thc_enabled.setColor(QtGui.QColor(252, 233, 79))
        self.led_thc_enabled.setProperty("off_color", QtGui.QColor(252, 233, 79))
        self.led_thc_enabled.setObjectName("led_thc_enabled")
        self.horizontalLayout_6.addWidget(self.led_thc_enabled)
        self.verticalLayout_35.addWidget(self.frame_37)
        self.frame_2 = QtWidgets.QFrame(self.thc_frame)
        self.frame_2.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_2.setObjectName("frame_2")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.frame_2)
        self.horizontalLayout_9.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout_9.setSpacing(2)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.led_thc_down = LED(self.frame_2)
        self.led_thc_down.setMinimumSize(QtCore.QSize(0, 0))
        self.led_thc_down.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.led_thc_down.setColor(QtGui.QColor(252, 233, 79))
        self.led_thc_down.setObjectName("led_thc_down")
        self.horizontalLayout_9.addWidget(self.led_thc_down)
        self.label_45 = QtWidgets.QLabel(self.frame_2)
        self.label_45.setMinimumSize(QtCore.QSize(0, 17))
        self.label_45.setMaximumSize(QtCore.QSize(16777215, 17))
        self.label_45.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_45.setObjectName("label_45")
        self.horizontalLayout_9.addWidget(self.label_45)
        spacerItem12 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem12)
        self.led_thc_active_lbl = QtWidgets.QLabel(self.frame_2)
        self.led_thc_active_lbl.setMinimumSize(QtCore.QSize(0, 17))
        self.led_thc_active_lbl.setMaximumSize(QtCore.QSize(16777215, 17))
        self.led_thc_active_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.led_thc_active_lbl.setObjectName("led_thc_active_lbl")
        self.horizontalLayout_9.addWidget(self.led_thc_active_lbl)
        self.led_thc_active = LED(self.frame_2)
        self.led_thc_active.setMinimumSize(QtCore.QSize(0, 0))
        self.led_thc_active.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.led_thc_active.setColor(QtGui.QColor(252, 233, 79))
        self.led_thc_active.setObjectName("led_thc_active")
        self.horizontalLayout_9.addWidget(self.led_thc_active)
        self.verticalLayout_35.addWidget(self.frame_2)
        self.verticalLayout_35.setStretch(0, 1)
        self.horizontalLayout_21.addWidget(self.thc_frame)
        self.verticalLayout_15.addWidget(self.frame_3)
        self.jog_stack = QtWidgets.QStackedWidget(self.main_c3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_stack.sizePolicy().hasHeightForWidth())
        self.jog_stack.setSizePolicy(sizePolicy)
        self.jog_stack.setMinimumSize(QtCore.QSize(0, 240))
        self.jog_stack.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.jog_stack.setObjectName("jog_stack")
        self.jog_page = QtWidgets.QWidget()
        self.jog_page.setObjectName("jog_page")
        self.verticalLayout_21 = QtWidgets.QVBoxLayout(self.jog_page)
        self.verticalLayout_21.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_21.setSpacing(0)
        self.verticalLayout_21.setObjectName("verticalLayout_21")
        self.jog_frame = QtWidgets.QFrame(self.jog_page)
        self.jog_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.jog_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.jog_frame.setObjectName("jog_frame")
        self.verticalLayout_18 = QtWidgets.QVBoxLayout(self.jog_frame)
        self.verticalLayout_18.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_18.setSpacing(2)
        self.verticalLayout_18.setObjectName("verticalLayout_18")
        self.jog_label = QtWidgets.QLabel(self.jog_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_label.sizePolicy().hasHeightForWidth())
        self.jog_label.setSizePolicy(sizePolicy)
        self.jog_label.setMinimumSize(QtCore.QSize(0, 16))
        self.jog_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.jog_label.setAlignment(QtCore.Qt.AlignCenter)
        self.jog_label.setObjectName("jog_label")
        self.verticalLayout_18.addWidget(self.jog_label)
        self.frame_18 = QtWidgets.QFrame(self.jog_frame)
        self.frame_18.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_18.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_18.setObjectName("frame_18")
        self.horizontalLayout_16 = QtWidgets.QHBoxLayout(self.frame_18)
        self.horizontalLayout_16.setContentsMargins(0, 2, 0, 0)
        self.horizontalLayout_16.setObjectName("horizontalLayout_16")
        self.jogincrements = JogIncrements(self.frame_18)
        self.jogincrements.setMinimumSize(QtCore.QSize(128, 40))
        self.jogincrements.setMaximumSize(QtCore.QSize(128, 40))
        self.jogincrements.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jogincrements.setObjectName("jogincrements")
        self.horizontalLayout_16.addWidget(self.jogincrements)
        self.jog_slow = PushButton(self.frame_18)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_slow.sizePolicy().hasHeightForWidth())
        self.jog_slow.setSizePolicy(sizePolicy)
        self.jog_slow.setMinimumSize(QtCore.QSize(40, 40))
        self.jog_slow.setMaximumSize(QtCore.QSize(40, 40))
        self.jog_slow.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_slow.setToolTip("")
        self.jog_slow.setCheckable(True)
        self.jog_slow.setProperty("checked_state_text_option", False)
        self.jog_slow.setProperty("true_state_string", "")
        self.jog_slow.setProperty("false_state_string", "")
        self.jog_slow.setProperty("true_python_cmd_string", "print\"true command\"")
        self.jog_slow.setProperty("false_python_cmd_string", "print\"false command\"")
        self.jog_slow.setProperty("slider", "jog_slider")
        self.jog_slow.setObjectName("jog_slow")
        self.horizontalLayout_16.addWidget(self.jog_slow)
        self.verticalLayout_18.addWidget(self.frame_18)
        self.jog_grid = QtWidgets.QFrame(self.jog_frame)
        self.jog_grid.setMinimumSize(QtCore.QSize(0, 0))
        self.jog_grid.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.jog_grid.setFrameShadow(QtWidgets.QFrame.Plain)
        self.jog_grid.setObjectName("jog_grid")
        self.gridLayout = QtWidgets.QGridLayout(self.jog_grid)
        self.gridLayout.setContentsMargins(4, 0, 4, 0)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName("gridLayout")
        self.jog_b_minus = QtWidgets.QPushButton(self.jog_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_b_minus.sizePolicy().hasHeightForWidth())
        self.jog_b_minus.setSizePolicy(sizePolicy)
        self.jog_b_minus.setMinimumSize(QtCore.QSize(40, 40))
        self.jog_b_minus.setMaximumSize(QtCore.QSize(40, 40))
        self.jog_b_minus.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_b_minus.setText("")
        self.jog_b_minus.setIconSize(QtCore.QSize(32, 32))
        self.jog_b_minus.setObjectName("jog_b_minus")
        self.gridLayout.addWidget(self.jog_b_minus, 4, 0, 1, 1)
        self.jog_x_minus = QtWidgets.QPushButton(self.jog_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_x_minus.sizePolicy().hasHeightForWidth())
        self.jog_x_minus.setSizePolicy(sizePolicy)
        self.jog_x_minus.setMinimumSize(QtCore.QSize(40, 40))
        self.jog_x_minus.setMaximumSize(QtCore.QSize(40, 40))
        self.jog_x_minus.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_x_minus.setIconSize(QtCore.QSize(40, 40))
        self.jog_x_minus.setObjectName("jog_x_minus")
        self.gridLayout.addWidget(self.jog_x_minus, 2, 0, 1, 1)
        self.jog_a_minus = QtWidgets.QPushButton(self.jog_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_a_minus.sizePolicy().hasHeightForWidth())
        self.jog_a_minus.setSizePolicy(sizePolicy)
        self.jog_a_minus.setMinimumSize(QtCore.QSize(40, 40))
        self.jog_a_minus.setMaximumSize(QtCore.QSize(40, 40))
        self.jog_a_minus.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_a_minus.setIconSize(QtCore.QSize(32, 32))
        self.jog_a_minus.setObjectName("jog_a_minus")
        self.gridLayout.addWidget(self.jog_a_minus, 3, 0, 1, 1)
        self.jog_x_plus = QtWidgets.QPushButton(self.jog_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_x_plus.sizePolicy().hasHeightForWidth())
        self.jog_x_plus.setSizePolicy(sizePolicy)
        self.jog_x_plus.setMinimumSize(QtCore.QSize(40, 40))
        self.jog_x_plus.setMaximumSize(QtCore.QSize(40, 40))
        self.jog_x_plus.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_x_plus.setIconSize(QtCore.QSize(40, 40))
        self.jog_x_plus.setObjectName("jog_x_plus")
        self.gridLayout.addWidget(self.jog_x_plus, 2, 2, 1, 1)
        self.jog_y_minus = QtWidgets.QPushButton(self.jog_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_y_minus.sizePolicy().hasHeightForWidth())
        self.jog_y_minus.setSizePolicy(sizePolicy)
        self.jog_y_minus.setMinimumSize(QtCore.QSize(40, 40))
        self.jog_y_minus.setMaximumSize(QtCore.QSize(40, 40))
        self.jog_y_minus.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_y_minus.setIconSize(QtCore.QSize(40, 40))
        self.jog_y_minus.setObjectName("jog_y_minus")
        self.gridLayout.addWidget(self.jog_y_minus, 3, 1, 1, 1)
        self.jog_b_plus = QtWidgets.QPushButton(self.jog_grid)
        self.jog_b_plus.setMinimumSize(QtCore.QSize(40, 40))
        self.jog_b_plus.setMaximumSize(QtCore.QSize(40, 40))
        self.jog_b_plus.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_b_plus.setText("")
        self.jog_b_plus.setIconSize(QtCore.QSize(32, 32))
        self.jog_b_plus.setObjectName("jog_b_plus")
        self.gridLayout.addWidget(self.jog_b_plus, 4, 2, 1, 1)
        self.jog_z_plus = QtWidgets.QPushButton(self.jog_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_z_plus.sizePolicy().hasHeightForWidth())
        self.jog_z_plus.setSizePolicy(sizePolicy)
        self.jog_z_plus.setMinimumSize(QtCore.QSize(40, 40))
        self.jog_z_plus.setMaximumSize(QtCore.QSize(40, 40))
        self.jog_z_plus.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_z_plus.setIconSize(QtCore.QSize(40, 40))
        self.jog_z_plus.setObjectName("jog_z_plus")
        self.gridLayout.addWidget(self.jog_z_plus, 1, 3, 1, 1)
        self.jog_y_plus = QtWidgets.QPushButton(self.jog_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_y_plus.sizePolicy().hasHeightForWidth())
        self.jog_y_plus.setSizePolicy(sizePolicy)
        self.jog_y_plus.setMinimumSize(QtCore.QSize(40, 40))
        self.jog_y_plus.setMaximumSize(QtCore.QSize(40, 40))
        self.jog_y_plus.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_y_plus.setIconSize(QtCore.QSize(40, 40))
        self.jog_y_plus.setObjectName("jog_y_plus")
        self.gridLayout.addWidget(self.jog_y_plus, 1, 1, 1, 1)
        self.jog_a_plus = QtWidgets.QPushButton(self.jog_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_a_plus.sizePolicy().hasHeightForWidth())
        self.jog_a_plus.setSizePolicy(sizePolicy)
        self.jog_a_plus.setMinimumSize(QtCore.QSize(40, 40))
        self.jog_a_plus.setMaximumSize(QtCore.QSize(40, 40))
        self.jog_a_plus.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_a_plus.setIconSize(QtCore.QSize(32, 32))
        self.jog_a_plus.setObjectName("jog_a_plus")
        self.gridLayout.addWidget(self.jog_a_plus, 1, 0, 1, 1)
        self.jog_z_minus = QtWidgets.QPushButton(self.jog_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_z_minus.sizePolicy().hasHeightForWidth())
        self.jog_z_minus.setSizePolicy(sizePolicy)
        self.jog_z_minus.setMinimumSize(QtCore.QSize(40, 40))
        self.jog_z_minus.setMaximumSize(QtCore.QSize(40, 40))
        self.jog_z_minus.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_z_minus.setIconSize(QtCore.QSize(40, 40))
        self.jog_z_minus.setObjectName("jog_z_minus")
        self.gridLayout.addWidget(self.jog_z_minus, 3, 3, 1, 1)
        self.jog_c_plus = QtWidgets.QPushButton(self.jog_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_c_plus.sizePolicy().hasHeightForWidth())
        self.jog_c_plus.setSizePolicy(sizePolicy)
        self.jog_c_plus.setMinimumSize(QtCore.QSize(40, 40))
        self.jog_c_plus.setMaximumSize(QtCore.QSize(40, 40))
        self.jog_c_plus.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_c_plus.setText("")
        self.jog_c_plus.setIconSize(QtCore.QSize(32, 32))
        self.jog_c_plus.setObjectName("jog_c_plus")
        self.gridLayout.addWidget(self.jog_c_plus, 1, 4, 1, 1)
        self.jog_c_minus = QtWidgets.QPushButton(self.jog_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.jog_c_minus.sizePolicy().hasHeightForWidth())
        self.jog_c_minus.setSizePolicy(sizePolicy)
        self.jog_c_minus.setMinimumSize(QtCore.QSize(40, 40))
        self.jog_c_minus.setMaximumSize(QtCore.QSize(40, 40))
        self.jog_c_minus.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.jog_c_minus.setText("")
        self.jog_c_minus.setIconSize(QtCore.QSize(32, 32))
        self.jog_c_minus.setObjectName("jog_c_minus")
        self.gridLayout.addWidget(self.jog_c_minus, 1, 2, 1, 1)
        self.verticalLayout_18.addWidget(self.jog_grid)
        self.verticalLayout_18.setStretch(2, 1)
        self.verticalLayout_21.addWidget(self.jog_frame)
        self.jog_stack.addWidget(self.jog_page)
        self.cut_rec_page = QtWidgets.QWidget()
        self.cut_rec_page.setObjectName("cut_rec_page")
        self.verticalLayout_19 = QtWidgets.QVBoxLayout(self.cut_rec_page)
        self.verticalLayout_19.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_19.setSpacing(0)
        self.verticalLayout_19.setObjectName("verticalLayout_19")
        self.cut_rec_frame = QtWidgets.QFrame(self.cut_rec_page)
        self.cut_rec_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.cut_rec_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.cut_rec_frame.setObjectName("cut_rec_frame")
        self.verticalLayout_20 = QtWidgets.QVBoxLayout(self.cut_rec_frame)
        self.verticalLayout_20.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_20.setSpacing(4)
        self.verticalLayout_20.setObjectName("verticalLayout_20")
        self.cut_rec_label = QtWidgets.QLabel(self.cut_rec_frame)
        self.cut_rec_label.setMinimumSize(QtCore.QSize(0, 16))
        self.cut_rec_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.cut_rec_label.setAlignment(QtCore.Qt.AlignCenter)
        self.cut_rec_label.setObjectName("cut_rec_label")
        self.verticalLayout_20.addWidget(self.cut_rec_label)
        self.frame_8 = QtWidgets.QFrame(self.cut_rec_frame)
        self.frame_8.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_8.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_8.setObjectName("frame_8")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.frame_8)
        self.horizontalLayout_7.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_7.setSpacing(0)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.frame_7 = QtWidgets.QFrame(self.frame_8)
        self.frame_7.setMaximumSize(QtCore.QSize(59, 16777215))
        self.frame_7.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_7.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_7.setObjectName("frame_7")
        self.gridLayout_9 = QtWidgets.QGridLayout(self.frame_7)
        self.gridLayout_9.setContentsMargins(4, 0, 0, 0)
        self.gridLayout_9.setHorizontalSpacing(0)
        self.gridLayout_9.setVerticalSpacing(2)
        self.gridLayout_9.setObjectName("gridLayout_9")
        spacerItem13 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_9.addItem(spacerItem13, 2, 0, 1, 1)
        self.cut_rec_cancel = QtWidgets.QPushButton(self.frame_7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_rec_cancel.sizePolicy().hasHeightForWidth())
        self.cut_rec_cancel.setSizePolicy(sizePolicy)
        self.cut_rec_cancel.setMinimumSize(QtCore.QSize(55, 40))
        self.cut_rec_cancel.setMaximumSize(QtCore.QSize(55, 40))
        self.cut_rec_cancel.setObjectName("cut_rec_cancel")
        self.gridLayout_9.addWidget(self.cut_rec_cancel, 3, 0, 1, 1)
        self.frame_17 = QtWidgets.QFrame(self.frame_7)
        self.frame_17.setMaximumSize(QtCore.QSize(50, 16777215))
        self.frame_17.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_17.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_17.setObjectName("frame_17")
        self.horizontalLayout_15 = QtWidgets.QHBoxLayout(self.frame_17)
        self.horizontalLayout_15.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_15.setSpacing(0)
        self.horizontalLayout_15.setObjectName("horizontalLayout_15")
        self.cut_rec_rev = QtWidgets.QPushButton(self.frame_17)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_rec_rev.sizePolicy().hasHeightForWidth())
        self.cut_rec_rev.setSizePolicy(sizePolicy)
        self.cut_rec_rev.setMinimumSize(QtCore.QSize(40, 40))
        self.cut_rec_rev.setMaximumSize(QtCore.QSize(40, 40))
        self.cut_rec_rev.setCheckable(False)
        self.cut_rec_rev.setObjectName("cut_rec_rev")
        self.horizontalLayout_15.addWidget(self.cut_rec_rev)
        spacerItem14 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_15.addItem(spacerItem14)
        self.gridLayout_9.addWidget(self.frame_17, 0, 0, 1, 1)
        self.horizontalLayout_7.addWidget(self.frame_7)
        spacerItem15 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem15)
        self.cut_rec_speed = QtWidgets.QSlider(self.frame_8)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_rec_speed.sizePolicy().hasHeightForWidth())
        self.cut_rec_speed.setSizePolicy(sizePolicy)
        self.cut_rec_speed.setMinimum(1)
        self.cut_rec_speed.setMaximum(100)
        self.cut_rec_speed.setProperty("value", 50)
        self.cut_rec_speed.setSliderPosition(50)
        self.cut_rec_speed.setOrientation(QtCore.Qt.Vertical)
        self.cut_rec_speed.setObjectName("cut_rec_speed")
        self.horizontalLayout_7.addWidget(self.cut_rec_speed)
        spacerItem16 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem16)
        self.frame = QtWidgets.QFrame(self.frame_8)
        self.frame.setMaximumSize(QtCore.QSize(59, 16777215))
        self.frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame.setObjectName("frame")
        self.gridLayout_8 = QtWidgets.QGridLayout(self.frame)
        self.gridLayout_8.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_8.setSpacing(0)
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.frame_16 = QtWidgets.QFrame(self.frame)
        self.frame_16.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_16.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_16.setObjectName("frame_16")
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout(self.frame_16)
        self.horizontalLayout_14.setContentsMargins(0, 0, 4, 0)
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        spacerItem17 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_14.addItem(spacerItem17)
        self.cut_rec_fwd = QtWidgets.QPushButton(self.frame_16)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_rec_fwd.sizePolicy().hasHeightForWidth())
        self.cut_rec_fwd.setSizePolicy(sizePolicy)
        self.cut_rec_fwd.setMinimumSize(QtCore.QSize(40, 40))
        self.cut_rec_fwd.setMaximumSize(QtCore.QSize(40, 40))
        self.cut_rec_fwd.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.cut_rec_fwd.setCheckable(False)
        self.cut_rec_fwd.setObjectName("cut_rec_fwd")
        self.horizontalLayout_14.addWidget(self.cut_rec_fwd)
        self.gridLayout_8.addWidget(self.frame_16, 2, 0, 1, 1)
        self.cut_rec_feed = QtWidgets.QLabel(self.frame)
        self.cut_rec_feed.setMinimumSize(QtCore.QSize(55, 40))
        self.cut_rec_feed.setMaximumSize(QtCore.QSize(55, 40))
        self.cut_rec_feed.setText("1")
        self.cut_rec_feed.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cut_rec_feed.setObjectName("cut_rec_feed")
        self.gridLayout_8.addWidget(self.cut_rec_feed, 4, 0, 1, 1)
        spacerItem18 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_8.addItem(spacerItem18, 3, 0, 1, 1)
        self.horizontalLayout_7.addWidget(self.frame)
        self.verticalLayout_20.addWidget(self.frame_8)
        self.arrow_frame = QtWidgets.QFrame(self.cut_rec_frame)
        self.arrow_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.arrow_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.arrow_frame.setObjectName("arrow_frame")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.arrow_frame)
        self.gridLayout_7.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_7.setSpacing(4)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.cut_rec_se = QtWidgets.QPushButton(self.arrow_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_rec_se.sizePolicy().hasHeightForWidth())
        self.cut_rec_se.setSizePolicy(sizePolicy)
        self.cut_rec_se.setMinimumSize(QtCore.QSize(40, 40))
        self.cut_rec_se.setMaximumSize(QtCore.QSize(40, 40))
        self.cut_rec_se.setText("")
        self.cut_rec_se.setIconSize(QtCore.QSize(36, 36))
        self.cut_rec_se.setObjectName("cut_rec_se")
        self.gridLayout_7.addWidget(self.cut_rec_se, 2, 2, 1, 1)
        self.cut_rec_s = QtWidgets.QPushButton(self.arrow_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_rec_s.sizePolicy().hasHeightForWidth())
        self.cut_rec_s.setSizePolicy(sizePolicy)
        self.cut_rec_s.setMinimumSize(QtCore.QSize(40, 40))
        self.cut_rec_s.setMaximumSize(QtCore.QSize(40, 40))
        self.cut_rec_s.setText("")
        self.cut_rec_s.setIconSize(QtCore.QSize(40, 40))
        self.cut_rec_s.setObjectName("cut_rec_s")
        self.gridLayout_7.addWidget(self.cut_rec_s, 2, 1, 1, 1)
        self.cut_rec_nw = QtWidgets.QPushButton(self.arrow_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_rec_nw.sizePolicy().hasHeightForWidth())
        self.cut_rec_nw.setSizePolicy(sizePolicy)
        self.cut_rec_nw.setMinimumSize(QtCore.QSize(40, 40))
        self.cut_rec_nw.setMaximumSize(QtCore.QSize(40, 40))
        self.cut_rec_nw.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.cut_rec_nw.setText("")
        self.cut_rec_nw.setIconSize(QtCore.QSize(36, 36))
        self.cut_rec_nw.setObjectName("cut_rec_nw")
        self.gridLayout_7.addWidget(self.cut_rec_nw, 0, 0, 1, 1)
        self.cut_rec_e = QtWidgets.QPushButton(self.arrow_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_rec_e.sizePolicy().hasHeightForWidth())
        self.cut_rec_e.setSizePolicy(sizePolicy)
        self.cut_rec_e.setMinimumSize(QtCore.QSize(40, 40))
        self.cut_rec_e.setMaximumSize(QtCore.QSize(40, 40))
        self.cut_rec_e.setText("")
        self.cut_rec_e.setIconSize(QtCore.QSize(40, 40))
        self.cut_rec_e.setObjectName("cut_rec_e")
        self.gridLayout_7.addWidget(self.cut_rec_e, 1, 2, 1, 1)
        self.cut_rec_sw = QtWidgets.QPushButton(self.arrow_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_rec_sw.sizePolicy().hasHeightForWidth())
        self.cut_rec_sw.setSizePolicy(sizePolicy)
        self.cut_rec_sw.setMinimumSize(QtCore.QSize(40, 40))
        self.cut_rec_sw.setMaximumSize(QtCore.QSize(40, 40))
        self.cut_rec_sw.setText("")
        self.cut_rec_sw.setIconSize(QtCore.QSize(36, 36))
        self.cut_rec_sw.setObjectName("cut_rec_sw")
        self.gridLayout_7.addWidget(self.cut_rec_sw, 2, 0, 1, 1)
        self.cut_rec_w = QtWidgets.QPushButton(self.arrow_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_rec_w.sizePolicy().hasHeightForWidth())
        self.cut_rec_w.setSizePolicy(sizePolicy)
        self.cut_rec_w.setMinimumSize(QtCore.QSize(40, 40))
        self.cut_rec_w.setMaximumSize(QtCore.QSize(40, 40))
        self.cut_rec_w.setText("")
        self.cut_rec_w.setIconSize(QtCore.QSize(40, 40))
        self.cut_rec_w.setObjectName("cut_rec_w")
        self.gridLayout_7.addWidget(self.cut_rec_w, 1, 0, 1, 1)
        self.cut_rec_n = QtWidgets.QPushButton(self.arrow_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_rec_n.sizePolicy().hasHeightForWidth())
        self.cut_rec_n.setSizePolicy(sizePolicy)
        self.cut_rec_n.setMinimumSize(QtCore.QSize(40, 40))
        self.cut_rec_n.setMaximumSize(QtCore.QSize(40, 40))
        self.cut_rec_n.setText("")
        self.cut_rec_n.setIconSize(QtCore.QSize(40, 40))
        self.cut_rec_n.setObjectName("cut_rec_n")
        self.gridLayout_7.addWidget(self.cut_rec_n, 0, 1, 1, 1)
        self.cut_rec_ne = QtWidgets.QPushButton(self.arrow_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_rec_ne.sizePolicy().hasHeightForWidth())
        self.cut_rec_ne.setSizePolicy(sizePolicy)
        self.cut_rec_ne.setMinimumSize(QtCore.QSize(40, 40))
        self.cut_rec_ne.setMaximumSize(QtCore.QSize(40, 40))
        self.cut_rec_ne.setText("")
        self.cut_rec_ne.setIconSize(QtCore.QSize(36, 36))
        self.cut_rec_ne.setObjectName("cut_rec_ne")
        self.gridLayout_7.addWidget(self.cut_rec_ne, 0, 2, 1, 1)
        self.cut_rec_move_label = QtWidgets.QLabel(self.arrow_frame)
        self.cut_rec_move_label.setAlignment(QtCore.Qt.AlignCenter)
        self.cut_rec_move_label.setObjectName("cut_rec_move_label")
        self.gridLayout_7.addWidget(self.cut_rec_move_label, 1, 1, 1, 1)
        self.verticalLayout_20.addWidget(self.arrow_frame)
        self.verticalLayout_19.addWidget(self.cut_rec_frame)
        self.jog_stack.addWidget(self.cut_rec_page)
        self.verticalLayout_15.addWidget(self.jog_stack)
        self.verticalLayout_15.setStretch(0, 5)
        self.verticalLayout_15.setStretch(1, 2)
        self.verticalLayout_15.setStretch(2, 4)
        self.main_tab_Layout.addWidget(self.main_c3)
        self.dro_gcode_frame = QtWidgets.QFrame(self.main_tab)
        self.dro_gcode_frame.setMinimumSize(QtCore.QSize(320, 0))
        self.dro_gcode_frame.setMaximumSize(QtCore.QSize(320, 16777215))
        self.dro_gcode_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.dro_gcode_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.dro_gcode_frame.setObjectName("dro_gcode_frame")
        self.dro_gcode_layout = QtWidgets.QVBoxLayout(self.dro_gcode_frame)
        self.dro_gcode_layout.setContentsMargins(0, 0, 0, 0)
        self.dro_gcode_layout.setSpacing(2)
        self.dro_gcode_layout.setObjectName("dro_gcode_layout")
        self.gcode_frame = QtWidgets.QFrame(self.dro_gcode_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gcode_frame.sizePolicy().hasHeightForWidth())
        self.gcode_frame.setSizePolicy(sizePolicy)
        self.gcode_frame.setMinimumSize(QtCore.QSize(0, 0))
        self.gcode_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.gcode_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.gcode_frame.setObjectName("gcode_frame")
        self.verticalLayout_14 = QtWidgets.QVBoxLayout(self.gcode_frame)
        self.verticalLayout_14.setContentsMargins(0, 0, 0, 2)
        self.verticalLayout_14.setSpacing(4)
        self.verticalLayout_14.setObjectName("verticalLayout_14")
        self.gcode_stack = QtWidgets.QStackedWidget(self.gcode_frame)
        self.gcode_stack.setObjectName("gcode_stack")
        self.gcode_page = QtWidgets.QWidget()
        self.gcode_page.setMinimumSize(QtCore.QSize(270, 0))
        self.gcode_page.setObjectName("gcode_page")
        self.verticalLayout_12 = QtWidgets.QVBoxLayout(self.gcode_page)
        self.verticalLayout_12.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_12.setSpacing(0)
        self.verticalLayout_12.setObjectName("verticalLayout_12")
        self.frame_21 = QtWidgets.QFrame(self.gcode_page)
        self.frame_21.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_21.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_21.setObjectName("frame_21")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.frame_21)
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setSpacing(1)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.file_clear = PushButton(self.frame_21)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.file_clear.sizePolicy().hasHeightForWidth())
        self.file_clear.setSizePolicy(sizePolicy)
        self.file_clear.setMinimumSize(QtCore.QSize(60, 16))
        self.file_clear.setMaximumSize(QtCore.QSize(60, 16))
        self.file_clear.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.file_clear.setProperty("python_command_option", False)
        self.file_clear.setProperty("true_python_cmd_string", "")
        self.file_clear.setProperty("false_python_cmd_string", "")
        self.file_clear.setObjectName("file_clear")
        self.horizontalLayout_2.addWidget(self.file_clear)
        self.file_open = QtWidgets.QPushButton(self.frame_21)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.file_open.sizePolicy().hasHeightForWidth())
        self.file_open.setSizePolicy(sizePolicy)
        self.file_open.setMinimumSize(QtCore.QSize(60, 16))
        self.file_open.setMaximumSize(QtCore.QSize(16777215, 16))
        self.file_open.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.file_open.setObjectName("file_open")
        self.horizontalLayout_2.addWidget(self.file_open)
        self.file_reload = PushButton(self.frame_21)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.file_reload.sizePolicy().hasHeightForWidth())
        self.file_reload.setSizePolicy(sizePolicy)
        self.file_reload.setMinimumSize(QtCore.QSize(60, 16))
        self.file_reload.setMaximumSize(QtCore.QSize(60, 16))
        self.file_reload.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.file_reload.setProperty("python_command_option", False)
        self.file_reload.setProperty("true_python_cmd_string", "")
        self.file_reload.setProperty("false_python_cmd_string", "")
        self.file_reload.setObjectName("file_reload")
        self.horizontalLayout_2.addWidget(self.file_reload)
        self.verticalLayout_12.addWidget(self.frame_21)
        self.gcode_place = QtWidgets.QFrame(self.gcode_page)
        self.gcode_place.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.gcode_place.setFrameShadow(QtWidgets.QFrame.Plain)
        self.gcode_place.setObjectName("gcode_place")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.gcode_place)
        self.verticalLayout_6.setContentsMargins(4, 4, 4, 2)
        self.verticalLayout_6.setSpacing(4)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.gcode_display = GcodeDisplay(self.gcode_place)
        self.gcode_display.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.gcode_display.setFrameShadow(QtWidgets.QFrame.Plain)
        self.gcode_display.setProperty("auto_show_mdi_status", False)
        self.gcode_display.setObjectName("gcode_display")
        self.verticalLayout_6.addWidget(self.gcode_display)
        self.verticalLayout_12.addWidget(self.gcode_place)
        self.gcode_stack.addWidget(self.gcode_page)
        self.mdi_page = QtWidgets.QWidget()
        self.mdi_page.setObjectName("mdi_page")
        self.verticalLayout_13 = QtWidgets.QVBoxLayout(self.mdi_page)
        self.verticalLayout_13.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_13.setSpacing(0)
        self.verticalLayout_13.setObjectName("verticalLayout_13")
        self.mdi_frame = QtWidgets.QFrame(self.mdi_page)
        self.mdi_frame.setMinimumSize(QtCore.QSize(0, 60))
        self.mdi_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.mdi_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.mdi_frame.setObjectName("mdi_frame")
        self.verticalLayout_38 = QtWidgets.QVBoxLayout(self.mdi_frame)
        self.verticalLayout_38.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_38.setSpacing(4)
        self.verticalLayout_38.setObjectName("verticalLayout_38")
        self.mdi_label = QtWidgets.QLabel(self.mdi_frame)
        self.mdi_label.setMinimumSize(QtCore.QSize(0, 16))
        self.mdi_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.mdi_label.setAlignment(QtCore.Qt.AlignCenter)
        self.mdi_label.setObjectName("mdi_label")
        self.verticalLayout_38.addWidget(self.mdi_label)
        self.frame_20 = QtWidgets.QFrame(self.mdi_frame)
        self.frame_20.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_20.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_20.setObjectName("frame_20")
        self.horizontalLayout_26 = QtWidgets.QHBoxLayout(self.frame_20)
        self.horizontalLayout_26.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout_26.setSpacing(4)
        self.horizontalLayout_26.setObjectName("horizontalLayout_26")
        self.mdihistory = MDIHistory(self.frame_20)
        self.mdihistory.setProperty("soft_keyboard_option", False)
        self.mdihistory.setObjectName("mdihistory")
        self.horizontalLayout_26.addWidget(self.mdihistory)
        self.verticalLayout_38.addWidget(self.frame_20)
        self.verticalLayout_13.addWidget(self.mdi_frame)
        self.gcode_stack.addWidget(self.mdi_page)
        self.verticalLayout_14.addWidget(self.gcode_stack)
        self.dro_gcode_layout.addWidget(self.gcode_frame)
        self.dro_frame = QtWidgets.QFrame(self.dro_gcode_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dro_frame.sizePolicy().hasHeightForWidth())
        self.dro_frame.setSizePolicy(sizePolicy)
        self.dro_frame.setMinimumSize(QtCore.QSize(0, 0))
        self.dro_frame.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.dro_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.dro_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.dro_frame.setObjectName("dro_frame")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.dro_frame)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_2.setSpacing(4)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.dro_label = QtWidgets.QLabel(self.dro_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dro_label.sizePolicy().hasHeightForWidth())
        self.dro_label.setSizePolicy(sizePolicy)
        self.dro_label.setMinimumSize(QtCore.QSize(0, 16))
        self.dro_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.dro_label.setAlignment(QtCore.Qt.AlignCenter)
        self.dro_label.setObjectName("dro_label")
        self.verticalLayout_2.addWidget(self.dro_label)
        self.dro_place = QtWidgets.QFrame(self.dro_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dro_place.sizePolicy().hasHeightForWidth())
        self.dro_place.setSizePolicy(sizePolicy)
        self.dro_place.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.dro_place.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.dro_place.setFrameShadow(QtWidgets.QFrame.Plain)
        self.dro_place.setObjectName("dro_place")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.dro_place)
        self.gridLayout_2.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.dro_y = DROLabel(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dro_y.sizePolicy().hasHeightForWidth())
        self.dro_y.setSizePolicy(sizePolicy)
        self.dro_y.setMinimumSize(QtCore.QSize(0, 40))
        self.dro_y.setMaximumSize(QtCore.QSize(16777215, 40))
        self.dro_y.setStyleSheet("")
        self.dro_y.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.dro_y.setFrameShadow(QtWidgets.QFrame.Plain)
        self.dro_y.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.dro_y.setProperty("Qjoint_number", 1)
        self.dro_y.setProperty("homed", False)
        self.dro_y.setObjectName("dro_y")
        self.gridLayout_2.addWidget(self.dro_y, 2, 3, 1, 1)
        self.frame_10 = QtWidgets.QFrame(self.dro_place)
        self.frame_10.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_10.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_10.setObjectName("frame_10")
        self.horizontalLayout_46 = QtWidgets.QHBoxLayout(self.frame_10)
        self.horizontalLayout_46.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_46.setSpacing(4)
        self.horizontalLayout_46.setObjectName("horizontalLayout_46")
        self.wcs_button = SystemToolButton(self.frame_10)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wcs_button.sizePolicy().hasHeightForWidth())
        self.wcs_button.setSizePolicy(sizePolicy)
        self.wcs_button.setMinimumSize(QtCore.QSize(48, 40))
        self.wcs_button.setMaximumSize(QtCore.QSize(48, 40))
        self.wcs_button.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.wcs_button.setText("")
        self.wcs_button.setPopupMode(QtWidgets.QToolButton.InstantPopup)
        self.wcs_button.setObjectName("wcs_button")
        self.horizontalLayout_46.addWidget(self.wcs_button)
        spacerItem19 = QtWidgets.QSpacerItem(64, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_46.addItem(spacerItem19)
        self.camera = PushButton(self.frame_10)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.camera.sizePolicy().hasHeightForWidth())
        self.camera.setSizePolicy(sizePolicy)
        self.camera.setMinimumSize(QtCore.QSize(60, 40))
        self.camera.setMaximumSize(QtCore.QSize(60, 40))
        self.camera.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.camera.setObjectName("camera")
        self.horizontalLayout_46.addWidget(self.camera)
        self.laser = PushButton(self.frame_10)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.laser.sizePolicy().hasHeightForWidth())
        self.laser.setSizePolicy(sizePolicy)
        self.laser.setMinimumSize(QtCore.QSize(60, 40))
        self.laser.setMaximumSize(QtCore.QSize(60, 40))
        self.laser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.laser.setObjectName("laser")
        self.horizontalLayout_46.addWidget(self.laser)
        self.gridLayout_2.addWidget(self.frame_10, 0, 3, 1, 1)
        self.dro_label_a = QtWidgets.QLabel(self.dro_place)
        self.dro_label_a.setMinimumSize(QtCore.QSize(30, 40))
        self.dro_label_a.setMaximumSize(QtCore.QSize(30, 40))
        self.dro_label_a.setText("A")
        self.dro_label_a.setAlignment(QtCore.Qt.AlignCenter)
        self.dro_label_a.setObjectName("dro_label_a")
        self.gridLayout_2.addWidget(self.dro_label_a, 4, 2, 1, 1)
        self.dro_label_z = QtWidgets.QLabel(self.dro_place)
        self.dro_label_z.setMinimumSize(QtCore.QSize(30, 40))
        self.dro_label_z.setMaximumSize(QtCore.QSize(40, 40))
        self.dro_label_z.setText("Z")
        self.dro_label_z.setAlignment(QtCore.Qt.AlignCenter)
        self.dro_label_z.setObjectName("dro_label_z")
        self.gridLayout_2.addWidget(self.dro_label_z, 3, 2, 1, 1)
        self.home_b = ActionButton(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.home_b.sizePolicy().hasHeightForWidth())
        self.home_b.setSizePolicy(sizePolicy)
        self.home_b.setMinimumSize(QtCore.QSize(48, 40))
        self.home_b.setMaximumSize(QtCore.QSize(48, 40))
        self.home_b.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.home_b.setProperty("home_action", True)
        self.home_b.setProperty("joint_number", 4)
        self.home_b.setProperty("axis_letter", "B")
        self.home_b.setProperty("view_type_string", "P")
        self.home_b.setProperty("textTemplate", "%1.3f in")
        self.home_b.setProperty("alt_textTemplate", "%1.2f mm")
        self.home_b.setObjectName("home_b")
        self.gridLayout_2.addWidget(self.home_b, 5, 1, 1, 1)
        self.dro_label_y = QtWidgets.QLabel(self.dro_place)
        self.dro_label_y.setMinimumSize(QtCore.QSize(30, 40))
        self.dro_label_y.setMaximumSize(QtCore.QSize(40, 40))
        self.dro_label_y.setText("Y")
        self.dro_label_y.setAlignment(QtCore.Qt.AlignCenter)
        self.dro_label_y.setObjectName("dro_label_y")
        self.gridLayout_2.addWidget(self.dro_label_y, 2, 2, 1, 1)
        self.dro_b = DROLabel(self.dro_place)
        self.dro_b.setMinimumSize(QtCore.QSize(0, 40))
        self.dro_b.setMaximumSize(QtCore.QSize(200, 40))
        self.dro_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.dro_b.setProperty("Qjoint_number", 4)
        self.dro_b.setObjectName("dro_b")
        self.gridLayout_2.addWidget(self.dro_b, 5, 3, 1, 1)
        self.dro_a = DROLabel(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dro_a.sizePolicy().hasHeightForWidth())
        self.dro_a.setSizePolicy(sizePolicy)
        self.dro_a.setMinimumSize(QtCore.QSize(0, 40))
        self.dro_a.setMaximumSize(QtCore.QSize(200, 40))
        self.dro_a.setStyleSheet("")
        self.dro_a.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.dro_a.setFrameShadow(QtWidgets.QFrame.Plain)
        self.dro_a.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.dro_a.setProperty("Qjoint_number", 3)
        self.dro_a.setProperty("Qreference_type", 0)
        self.dro_a.setProperty("homed", False)
        self.dro_a.setObjectName("dro_a")
        self.gridLayout_2.addWidget(self.dro_a, 4, 3, 1, 1)
        self.touch_x = AxisToolButton(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.touch_x.sizePolicy().hasHeightForWidth())
        self.touch_x.setSizePolicy(sizePolicy)
        self.touch_x.setMinimumSize(QtCore.QSize(40, 40))
        self.touch_x.setMaximumSize(QtCore.QSize(40, 40))
        self.touch_x.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.touch_x.setText("0")
        self.touch_x.setPopupMode(QtWidgets.QToolButton.InstantPopup)
        self.touch_x.setArrowType(QtCore.Qt.NoArrow)
        self.touch_x.setProperty("axis_letter", "X")
        self.touch_x.setProperty("halpin_option", False)
        self.touch_x.setObjectName("touch_x")
        self.gridLayout_2.addWidget(self.touch_x, 1, 4, 1, 1)
        self.touch_y = AxisToolButton(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.touch_y.sizePolicy().hasHeightForWidth())
        self.touch_y.setSizePolicy(sizePolicy)
        self.touch_y.setMinimumSize(QtCore.QSize(40, 40))
        self.touch_y.setMaximumSize(QtCore.QSize(40, 40))
        self.touch_y.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.touch_y.setText("0")
        self.touch_y.setPopupMode(QtWidgets.QToolButton.InstantPopup)
        self.touch_y.setArrowType(QtCore.Qt.NoArrow)
        self.touch_y.setProperty("joint_number", 1)
        self.touch_y.setProperty("axis_letter", "Y")
        self.touch_y.setProperty("halpin_option", False)
        self.touch_y.setObjectName("touch_y")
        self.gridLayout_2.addWidget(self.touch_y, 2, 4, 1, 1)
        self.touch_z = AxisToolButton(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.touch_z.sizePolicy().hasHeightForWidth())
        self.touch_z.setSizePolicy(sizePolicy)
        self.touch_z.setMinimumSize(QtCore.QSize(40, 40))
        self.touch_z.setMaximumSize(QtCore.QSize(40, 40))
        self.touch_z.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.touch_z.setText("0")
        self.touch_z.setPopupMode(QtWidgets.QToolButton.InstantPopup)
        self.touch_z.setArrowType(QtCore.Qt.NoArrow)
        self.touch_z.setProperty("joint_number", 2)
        self.touch_z.setProperty("axis_letter", "Z")
        self.touch_z.setProperty("halpin_option", False)
        self.touch_z.setObjectName("touch_z")
        self.gridLayout_2.addWidget(self.touch_z, 3, 4, 1, 1)
        self.dro_z = DROLabel(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dro_z.sizePolicy().hasHeightForWidth())
        self.dro_z.setSizePolicy(sizePolicy)
        self.dro_z.setMinimumSize(QtCore.QSize(0, 40))
        self.dro_z.setMaximumSize(QtCore.QSize(16777215, 40))
        self.dro_z.setStyleSheet("")
        self.dro_z.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.dro_z.setFrameShadow(QtWidgets.QFrame.Plain)
        self.dro_z.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.dro_z.setProperty("Qjoint_number", 2)
        self.dro_z.setProperty("homed", False)
        self.dro_z.setObjectName("dro_z")
        self.gridLayout_2.addWidget(self.dro_z, 3, 3, 1, 1)
        self.dro_label_b = QtWidgets.QLabel(self.dro_place)
        self.dro_label_b.setMinimumSize(QtCore.QSize(30, 40))
        self.dro_label_b.setMaximumSize(QtCore.QSize(30, 40))
        self.dro_label_b.setText("B")
        self.dro_label_b.setAlignment(QtCore.Qt.AlignCenter)
        self.dro_label_b.setObjectName("dro_label_b")
        self.gridLayout_2.addWidget(self.dro_label_b, 5, 2, 1, 1)
        self.touch_b = AxisToolButton(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.touch_b.sizePolicy().hasHeightForWidth())
        self.touch_b.setSizePolicy(sizePolicy)
        self.touch_b.setMinimumSize(QtCore.QSize(40, 40))
        self.touch_b.setMaximumSize(QtCore.QSize(40, 40))
        self.touch_b.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.touch_b.setText("0")
        self.touch_b.setPopupMode(QtWidgets.QToolButton.InstantPopup)
        self.touch_b.setProperty("joint_number", 4)
        self.touch_b.setProperty("axis_letter", "B")
        self.touch_b.setProperty("halpin_option", False)
        self.touch_b.setObjectName("touch_b")
        self.gridLayout_2.addWidget(self.touch_b, 5, 4, 1, 1)
        self.home_a = ActionButton(self.dro_place)
        self.home_a.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.home_a.sizePolicy().hasHeightForWidth())
        self.home_a.setSizePolicy(sizePolicy)
        self.home_a.setMinimumSize(QtCore.QSize(48, 40))
        self.home_a.setMaximumSize(QtCore.QSize(48, 40))
        self.home_a.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.home_a.setProperty("indicator_option", False)
        self.home_a.setProperty("indicator_HAL_pin_option", False)
        self.home_a.setProperty("indicator_status_option", False)
        self.home_a.setProperty("checked_state_text_option", False)
        self.home_a.setProperty("on_color", QtGui.QColor(255, 0, 0))
        self.home_a.setProperty("off_color", QtGui.QColor(0, 0, 0))
        self.home_a.setProperty("indicator_size", 0.2)
        self.home_a.setProperty("is_joint_homed_status", False)
        self.home_a.setProperty("mdi_action", False)
        self.home_a.setProperty("home_action", True)
        self.home_a.setProperty("mdi_command_action", False)
        self.home_a.setProperty("template_label_option", False)
        self.home_a.setProperty("joint_number", 3)
        self.home_a.setProperty("axis_letter", "A")
        self.home_a.setProperty("incr_imperial_number", 0.01)
        self.home_a.setProperty("incr_mm_number", 0.025)
        self.home_a.setProperty("incr_angular_number", -1.0)
        self.home_a.setProperty("toggle_float_option", False)
        self.home_a.setProperty("float_num", 100.0)
        self.home_a.setProperty("float_alt_num", 50.0)
        self.home_a.setProperty("view_type_string", "P")
        self.home_a.setProperty("ini_mdi_number", 0)
        self.home_a.setProperty("textTemplate", "%1.3f in")
        self.home_a.setProperty("alt_textTemplate", "%1.2f mm")
        self.home_a.setObjectName("home_a")
        self.gridLayout_2.addWidget(self.home_a, 4, 1, 1, 1)
        self.home_y = ActionButton(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.home_y.sizePolicy().hasHeightForWidth())
        self.home_y.setSizePolicy(sizePolicy)
        self.home_y.setMinimumSize(QtCore.QSize(48, 40))
        self.home_y.setMaximumSize(QtCore.QSize(48, 40))
        self.home_y.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.home_y.setProperty("indicator_option", False)
        self.home_y.setProperty("indicator_HAL_pin_option", False)
        self.home_y.setProperty("indicator_status_option", False)
        self.home_y.setProperty("checked_state_text_option", False)
        self.home_y.setProperty("on_color", QtGui.QColor(255, 0, 0))
        self.home_y.setProperty("off_color", QtGui.QColor(0, 0, 0))
        self.home_y.setProperty("indicator_size", 0.2)
        self.home_y.setProperty("is_joint_homed_status", False)
        self.home_y.setProperty("home_action", True)
        self.home_y.setProperty("home_select_action", False)
        self.home_y.setProperty("template_label_option", False)
        self.home_y.setProperty("joint_number", 1)
        self.home_y.setProperty("axis_letter", "Y")
        self.home_y.setProperty("incr_imperial_number", 0.01)
        self.home_y.setProperty("incr_mm_number", 0.025)
        self.home_y.setProperty("incr_angular_number", -1.0)
        self.home_y.setProperty("toggle_float_option", False)
        self.home_y.setProperty("float_num", 100.0)
        self.home_y.setProperty("float_alt_num", 50.0)
        self.home_y.setProperty("view_type_string", "P")
        self.home_y.setProperty("command_text_string", "")
        self.home_y.setProperty("ini_mdi_number", 0)
        self.home_y.setProperty("textTemplate", "")
        self.home_y.setProperty("alt_textTemplate", "%1.2f mm")
        self.home_y.setObjectName("home_y")
        self.gridLayout_2.addWidget(self.home_y, 2, 1, 1, 1)
        self.touch_xy = PushButton(self.dro_place)
        self.touch_xy.setMinimumSize(QtCore.QSize(40, 40))
        self.touch_xy.setMaximumSize(QtCore.QSize(40, 40))
        self.touch_xy.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.touch_xy.setText("X0Y0")
        self.touch_xy.setObjectName("touch_xy")
        self.gridLayout_2.addWidget(self.touch_xy, 0, 4, 1, 1)
        self.home_x = ActionButton(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.home_x.sizePolicy().hasHeightForWidth())
        self.home_x.setSizePolicy(sizePolicy)
        self.home_x.setMinimumSize(QtCore.QSize(48, 40))
        self.home_x.setMaximumSize(QtCore.QSize(48, 40))
        self.home_x.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.home_x.setProperty("indicator_option", False)
        self.home_x.setProperty("indicator_HAL_pin_option", False)
        self.home_x.setProperty("indicator_status_option", False)
        self.home_x.setProperty("checked_state_text_option", False)
        self.home_x.setProperty("on_color", QtGui.QColor(255, 0, 0))
        self.home_x.setProperty("off_color", QtGui.QColor(0, 0, 0))
        self.home_x.setProperty("indicator_size", 0.2)
        self.home_x.setProperty("is_joint_homed_status", False)
        self.home_x.setProperty("joint_number_status", 0)
        self.home_x.setProperty("home_action", True)
        self.home_x.setProperty("home_select_action", False)
        self.home_x.setProperty("template_label_option", False)
        self.home_x.setProperty("joint_number", 0)
        self.home_x.setProperty("axis_letter", "X")
        self.home_x.setProperty("incr_imperial_number", 0.01)
        self.home_x.setProperty("incr_mm_number", 0.025)
        self.home_x.setProperty("incr_angular_number", -1.0)
        self.home_x.setProperty("toggle_float_option", False)
        self.home_x.setProperty("float_num", 100.0)
        self.home_x.setProperty("float_alt_num", 50.0)
        self.home_x.setProperty("view_type_string", "P")
        self.home_x.setProperty("command_text_string", "")
        self.home_x.setProperty("ini_mdi_number", 0)
        self.home_x.setProperty("textTemplate", "")
        self.home_x.setProperty("alt_textTemplate", "%1.2f mm")
        self.home_x.setObjectName("home_x")
        self.gridLayout_2.addWidget(self.home_x, 1, 1, 1, 1)
        self.home_z = ActionButton(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.home_z.sizePolicy().hasHeightForWidth())
        self.home_z.setSizePolicy(sizePolicy)
        self.home_z.setMinimumSize(QtCore.QSize(48, 40))
        self.home_z.setMaximumSize(QtCore.QSize(48, 40))
        self.home_z.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.home_z.setProperty("indicator_option", False)
        self.home_z.setProperty("indicator_HAL_pin_option", False)
        self.home_z.setProperty("indicator_status_option", False)
        self.home_z.setProperty("checked_state_text_option", False)
        self.home_z.setProperty("on_color", QtGui.QColor(255, 0, 0))
        self.home_z.setProperty("off_color", QtGui.QColor(0, 0, 0))
        self.home_z.setProperty("indicator_size", 0.2)
        self.home_z.setProperty("is_joint_homed_status", False)
        self.home_z.setProperty("home_action", True)
        self.home_z.setProperty("home_select_action", False)
        self.home_z.setProperty("joint_number", 2)
        self.home_z.setProperty("axis_letter", "Z")
        self.home_z.setProperty("view_type_string", "P")
        self.home_z.setProperty("textTemplate", "%1.3f in")
        self.home_z.setProperty("alt_textTemplate", "%1.2f mm")
        self.home_z.setObjectName("home_z")
        self.gridLayout_2.addWidget(self.home_z, 3, 1, 1, 1)
        self.touch_a = AxisToolButton(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.touch_a.sizePolicy().hasHeightForWidth())
        self.touch_a.setSizePolicy(sizePolicy)
        self.touch_a.setMinimumSize(QtCore.QSize(40, 40))
        self.touch_a.setMaximumSize(QtCore.QSize(40, 40))
        self.touch_a.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.touch_a.setText("0")
        self.touch_a.setPopupMode(QtWidgets.QToolButton.InstantPopup)
        self.touch_a.setArrowType(QtCore.Qt.NoArrow)
        self.touch_a.setProperty("joint_number", 3)
        self.touch_a.setProperty("axis_letter", "A")
        self.touch_a.setProperty("halpin_option", False)
        self.touch_a.setObjectName("touch_a")
        self.gridLayout_2.addWidget(self.touch_a, 4, 4, 1, 1)
        self.home_all = ActionButton(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.home_all.sizePolicy().hasHeightForWidth())
        self.home_all.setSizePolicy(sizePolicy)
        self.home_all.setMinimumSize(QtCore.QSize(48, 40))
        self.home_all.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.home_all.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.home_all.setToolTip("")
        self.home_all.setProperty("indicator_option", False)
        self.home_all.setProperty("indicator_HAL_pin_option", False)
        self.home_all.setProperty("indicator_status_option", False)
        self.home_all.setProperty("checked_state_text_option", False)
        self.home_all.setProperty("python_command_option", False)
        self.home_all.setProperty("on_color", QtGui.QColor(255, 0, 0))
        self.home_all.setProperty("shape_option", 0)
        self.home_all.setProperty("off_color", QtGui.QColor(0, 0, 0))
        self.home_all.setProperty("indicator_size", 0.3)
        self.home_all.setProperty("circle_diameter", 10)
        self.home_all.setProperty("right_edge_offset", 0)
        self.home_all.setProperty("top_edge_offset", 0)
        self.home_all.setProperty("corner_radius", 5.0)
        self.home_all.setProperty("height_fraction", 0.3)
        self.home_all.setProperty("width_fraction", 0.9)
        self.home_all.setProperty("true_python_cmd_string", "print\"true command\"")
        self.home_all.setProperty("false_python_cmd_string", "print\"false command\"")
        self.home_all.setProperty("invert_the_status", False)
        self.home_all.setProperty("is_paused_status", False)
        self.home_all.setProperty("is_estopped_status", False)
        self.home_all.setProperty("is_on_status", False)
        self.home_all.setProperty("is_idle_status", False)
        self.home_all.setProperty("is_homed_status", False)
        self.home_all.setProperty("is_flood_status", False)
        self.home_all.setProperty("is_mist_status", False)
        self.home_all.setProperty("is_block_delete_status", False)
        self.home_all.setProperty("is_optional_stop_status", False)
        self.home_all.setProperty("is_joint_homed_status", False)
        self.home_all.setProperty("is_limits_overridden_status", False)
        self.home_all.setProperty("is_manual_status", False)
        self.home_all.setProperty("is_mdi_status", False)
        self.home_all.setProperty("is_auto_status", False)
        self.home_all.setProperty("is_spindle_stopped_status", False)
        self.home_all.setProperty("is_spindle_fwd_status", False)
        self.home_all.setProperty("is_spindle_rev_status", False)
        self.home_all.setProperty("joint_number_status", 0)
        self.home_all.setProperty("home_action", True)
        self.home_all.setProperty("template_label_option", False)
        self.home_all.setProperty("joint_number", -1)
        self.home_all.setProperty("incr_imperial_number", 0.01)
        self.home_all.setProperty("incr_mm_number", 0.025)
        self.home_all.setProperty("incr_angular_number", -1.0)
        self.home_all.setProperty("toggle_float_option", False)
        self.home_all.setProperty("float_num", 0.3)
        self.home_all.setProperty("float_alt_num", 50.0)
        self.home_all.setProperty("view_type_string", "P")
        self.home_all.setProperty("command_text_string", "")
        self.home_all.setProperty("ini_mdi_number", 0)
        self.home_all.setProperty("textTemplate", "%1.3f in")
        self.home_all.setProperty("alt_textTemplate", "%1.2f mm")
        self.home_all.setObjectName("home_all")
        self.gridLayout_2.addWidget(self.home_all, 0, 1, 1, 2)
        self.dro_label_x = QtWidgets.QLabel(self.dro_place)
        self.dro_label_x.setMinimumSize(QtCore.QSize(30, 40))
        self.dro_label_x.setMaximumSize(QtCore.QSize(30, 40))
        self.dro_label_x.setText("X")
        self.dro_label_x.setAlignment(QtCore.Qt.AlignCenter)
        self.dro_label_x.setObjectName("dro_label_x")
        self.gridLayout_2.addWidget(self.dro_label_x, 1, 2, 1, 1)
        self.dro_x = DROLabel(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dro_x.sizePolicy().hasHeightForWidth())
        self.dro_x.setSizePolicy(sizePolicy)
        self.dro_x.setMinimumSize(QtCore.QSize(0, 40))
        self.dro_x.setMaximumSize(QtCore.QSize(16777215, 40))
        self.dro_x.setStyleSheet("")
        self.dro_x.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.dro_x.setFrameShadow(QtWidgets.QFrame.Plain)
        self.dro_x.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.dro_x.setProperty("Qjoint_number", 0)
        self.dro_x.setProperty("homed", False)
        self.dro_x.setObjectName("dro_x")
        self.gridLayout_2.addWidget(self.dro_x, 1, 3, 1, 1)
        self.home_c = ActionButton(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.home_c.sizePolicy().hasHeightForWidth())
        self.home_c.setSizePolicy(sizePolicy)
        self.home_c.setMinimumSize(QtCore.QSize(48, 40))
        self.home_c.setMaximumSize(QtCore.QSize(48, 40))
        self.home_c.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.home_c.setProperty("home_action", True)
        self.home_c.setProperty("joint_number", 5)
        self.home_c.setProperty("axis_letter", "C")
        self.home_c.setObjectName("home_c")
        self.gridLayout_2.addWidget(self.home_c, 6, 1, 1, 1)
        self.dro_label_c = QtWidgets.QLabel(self.dro_place)
        self.dro_label_c.setMinimumSize(QtCore.QSize(30, 40))
        self.dro_label_c.setMaximumSize(QtCore.QSize(30, 40))
        self.dro_label_c.setAlignment(QtCore.Qt.AlignCenter)
        self.dro_label_c.setObjectName("dro_label_c")
        self.gridLayout_2.addWidget(self.dro_label_c, 6, 2, 1, 1)
        self.dro_c = DROLabel(self.dro_place)
        self.dro_c.setMinimumSize(QtCore.QSize(0, 40))
        self.dro_c.setMaximumSize(QtCore.QSize(200, 40))
        self.dro_c.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.dro_c.setProperty("Qjoint_number", 5)
        self.dro_c.setObjectName("dro_c")
        self.gridLayout_2.addWidget(self.dro_c, 6, 3, 1, 1)
        self.touch_c = AxisToolButton(self.dro_place)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.touch_c.sizePolicy().hasHeightForWidth())
        self.touch_c.setSizePolicy(sizePolicy)
        self.touch_c.setMinimumSize(QtCore.QSize(40, 40))
        self.touch_c.setMaximumSize(QtCore.QSize(40, 40))
        self.touch_c.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.touch_c.setPopupMode(QtWidgets.QToolButton.InstantPopup)
        self.touch_c.setProperty("joint_number", 5)
        self.touch_c.setProperty("halpin_option", False)
        self.touch_c.setObjectName("touch_c")
        self.gridLayout_2.addWidget(self.touch_c, 6, 4, 1, 1)
        self.verticalLayout_2.addWidget(self.dro_place)
        self.dro_gcode_layout.addWidget(self.dro_frame)
        self.main_tab_Layout.addWidget(self.dro_gcode_frame)
        self.main_tab_widget.addTab(self.main_tab, "")
        self.conv_tab = QtWidgets.QWidget()
        self.conv_tab.setObjectName("conv_tab")
        self.horizontalLayout_32 = QtWidgets.QHBoxLayout(self.conv_tab)
        self.horizontalLayout_32.setContentsMargins(4, 4, 4, 4)
        self.horizontalLayout_32.setSpacing(2)
        self.horizontalLayout_32.setObjectName("horizontalLayout_32")
        self.conv_frame = QtWidgets.QFrame(self.conv_tab)
        self.conv_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.conv_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.conv_frame.setObjectName("conv_frame")
        self.verticalLayout_50 = QtWidgets.QVBoxLayout(self.conv_frame)
        self.verticalLayout_50.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_50.setSpacing(4)
        self.verticalLayout_50.setObjectName("verticalLayout_50")
        self.conv_label = QtWidgets.QLabel(self.conv_frame)
        self.conv_label.setMinimumSize(QtCore.QSize(0, 16))
        self.conv_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.conv_label.setAlignment(QtCore.Qt.AlignCenter)
        self.conv_label.setObjectName("conv_label")
        self.verticalLayout_50.addWidget(self.conv_label)
        self.conv_main = QtWidgets.QFrame(self.conv_frame)
        self.conv_main.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.conv_main.setFrameShadow(QtWidgets.QFrame.Plain)
        self.conv_main.setObjectName("conv_main")
        self.verticalLayout_51 = QtWidgets.QVBoxLayout(self.conv_main)
        self.verticalLayout_51.setContentsMargins(4, 0, 4, 0)
        self.verticalLayout_51.setSpacing(4)
        self.verticalLayout_51.setObjectName("verticalLayout_51")
        self.conv_top = QtWidgets.QFrame(self.conv_main)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_top.sizePolicy().hasHeightForWidth())
        self.conv_top.setSizePolicy(sizePolicy)
        self.conv_top.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.conv_top.setFrameShadow(QtWidgets.QFrame.Plain)
        self.conv_top.setObjectName("conv_top")
        self.horizontalLayout_33 = QtWidgets.QHBoxLayout(self.conv_top)
        self.horizontalLayout_33.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_33.setObjectName("horizontalLayout_33")
        self.conv_line = PushButton(self.conv_top)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_line.sizePolicy().hasHeightForWidth())
        self.conv_line.setSizePolicy(sizePolicy)
        self.conv_line.setMinimumSize(QtCore.QSize(60, 60))
        self.conv_line.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.conv_line.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_line.setIconSize(QtCore.QSize(48, 48))
        self.conv_line.setCheckable(False)
        self.conv_line.setAutoExclusive(True)
        self.conv_line.setObjectName("conv_line")
        self.horizontalLayout_33.addWidget(self.conv_line)
        self.conv_circle = PushButton(self.conv_top)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_circle.sizePolicy().hasHeightForWidth())
        self.conv_circle.setSizePolicy(sizePolicy)
        self.conv_circle.setMinimumSize(QtCore.QSize(60, 60))
        self.conv_circle.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.conv_circle.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_circle.setIconSize(QtCore.QSize(48, 48))
        self.conv_circle.setCheckable(False)
        self.conv_circle.setAutoExclusive(True)
        self.conv_circle.setObjectName("conv_circle")
        self.horizontalLayout_33.addWidget(self.conv_circle)
        self.conv_ellipse = QtWidgets.QPushButton(self.conv_top)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_ellipse.sizePolicy().hasHeightForWidth())
        self.conv_ellipse.setSizePolicy(sizePolicy)
        self.conv_ellipse.setMinimumSize(QtCore.QSize(60, 60))
        self.conv_ellipse.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_ellipse.setText("")
        self.conv_ellipse.setIconSize(QtCore.QSize(48, 48))
        self.conv_ellipse.setObjectName("conv_ellipse")
        self.horizontalLayout_33.addWidget(self.conv_ellipse)
        self.conv_triangle = PushButton(self.conv_top)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_triangle.sizePolicy().hasHeightForWidth())
        self.conv_triangle.setSizePolicy(sizePolicy)
        self.conv_triangle.setMinimumSize(QtCore.QSize(60, 60))
        self.conv_triangle.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.conv_triangle.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_triangle.setIconSize(QtCore.QSize(48, 48))
        self.conv_triangle.setCheckable(False)
        self.conv_triangle.setAutoExclusive(True)
        self.conv_triangle.setObjectName("conv_triangle")
        self.horizontalLayout_33.addWidget(self.conv_triangle)
        self.conv_rectangle = PushButton(self.conv_top)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_rectangle.sizePolicy().hasHeightForWidth())
        self.conv_rectangle.setSizePolicy(sizePolicy)
        self.conv_rectangle.setMinimumSize(QtCore.QSize(60, 60))
        self.conv_rectangle.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.conv_rectangle.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_rectangle.setIconSize(QtCore.QSize(48, 48))
        self.conv_rectangle.setCheckable(False)
        self.conv_rectangle.setAutoExclusive(True)
        self.conv_rectangle.setObjectName("conv_rectangle")
        self.horizontalLayout_33.addWidget(self.conv_rectangle)
        self.conv_polygon = PushButton(self.conv_top)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_polygon.sizePolicy().hasHeightForWidth())
        self.conv_polygon.setSizePolicy(sizePolicy)
        self.conv_polygon.setMinimumSize(QtCore.QSize(60, 60))
        self.conv_polygon.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.conv_polygon.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_polygon.setIconSize(QtCore.QSize(48, 48))
        self.conv_polygon.setCheckable(False)
        self.conv_polygon.setAutoExclusive(True)
        self.conv_polygon.setObjectName("conv_polygon")
        self.horizontalLayout_33.addWidget(self.conv_polygon)
        self.conv_bolt = PushButton(self.conv_top)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_bolt.sizePolicy().hasHeightForWidth())
        self.conv_bolt.setSizePolicy(sizePolicy)
        self.conv_bolt.setMinimumSize(QtCore.QSize(60, 60))
        self.conv_bolt.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.conv_bolt.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_bolt.setIconSize(QtCore.QSize(48, 48))
        self.conv_bolt.setCheckable(False)
        self.conv_bolt.setAutoExclusive(True)
        self.conv_bolt.setObjectName("conv_bolt")
        self.horizontalLayout_33.addWidget(self.conv_bolt)
        self.conv_slot = PushButton(self.conv_top)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_slot.sizePolicy().hasHeightForWidth())
        self.conv_slot.setSizePolicy(sizePolicy)
        self.conv_slot.setMinimumSize(QtCore.QSize(60, 60))
        self.conv_slot.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.conv_slot.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_slot.setIconSize(QtCore.QSize(48, 48))
        self.conv_slot.setCheckable(False)
        self.conv_slot.setAutoExclusive(True)
        self.conv_slot.setObjectName("conv_slot")
        self.horizontalLayout_33.addWidget(self.conv_slot)
        self.conv_star = PushButton(self.conv_top)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_star.sizePolicy().hasHeightForWidth())
        self.conv_star.setSizePolicy(sizePolicy)
        self.conv_star.setMinimumSize(QtCore.QSize(60, 60))
        self.conv_star.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.conv_star.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_star.setIconSize(QtCore.QSize(48, 48))
        self.conv_star.setCheckable(False)
        self.conv_star.setAutoExclusive(True)
        self.conv_star.setObjectName("conv_star")
        self.horizontalLayout_33.addWidget(self.conv_star)
        self.conv_gusset = PushButton(self.conv_top)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_gusset.sizePolicy().hasHeightForWidth())
        self.conv_gusset.setSizePolicy(sizePolicy)
        self.conv_gusset.setMinimumSize(QtCore.QSize(60, 60))
        self.conv_gusset.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.conv_gusset.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_gusset.setIconSize(QtCore.QSize(48, 48))
        self.conv_gusset.setCheckable(False)
        self.conv_gusset.setAutoExclusive(True)
        self.conv_gusset.setObjectName("conv_gusset")
        self.horizontalLayout_33.addWidget(self.conv_gusset)
        self.conv_sector = PushButton(self.conv_top)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_sector.sizePolicy().hasHeightForWidth())
        self.conv_sector.setSizePolicy(sizePolicy)
        self.conv_sector.setMinimumSize(QtCore.QSize(60, 60))
        self.conv_sector.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.conv_sector.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_sector.setIconSize(QtCore.QSize(48, 48))
        self.conv_sector.setCheckable(False)
        self.conv_sector.setAutoExclusive(True)
        self.conv_sector.setObjectName("conv_sector")
        self.horizontalLayout_33.addWidget(self.conv_sector)
        spacerItem20 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_33.addItem(spacerItem20)
        self.conv_block = QtWidgets.QPushButton(self.conv_top)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_block.sizePolicy().hasHeightForWidth())
        self.conv_block.setSizePolicy(sizePolicy)
        self.conv_block.setMinimumSize(QtCore.QSize(60, 60))
        self.conv_block.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_block.setText("")
        self.conv_block.setIconSize(QtCore.QSize(48, 48))
        self.conv_block.setObjectName("conv_block")
        self.horizontalLayout_33.addWidget(self.conv_block)
        self.verticalLayout_51.addWidget(self.conv_top)
        self.conv_bottom = QtWidgets.QFrame(self.conv_main)
        self.conv_bottom.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.conv_bottom.setFrameShadow(QtWidgets.QFrame.Plain)
        self.conv_bottom.setObjectName("conv_bottom")
        self.horizontalLayout_34 = QtWidgets.QHBoxLayout(self.conv_bottom)
        self.horizontalLayout_34.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_34.setSpacing(4)
        self.horizontalLayout_34.setObjectName("horizontalLayout_34")
        self.conv_left = QtWidgets.QFrame(self.conv_bottom)
        self.conv_left.setMinimumSize(QtCore.QSize(440, 0))
        self.conv_left.setMaximumSize(QtCore.QSize(440, 16777215))
        self.conv_left.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.conv_left.setFrameShadow(QtWidgets.QFrame.Plain)
        self.conv_left.setObjectName("conv_left")
        self.verticalLayout_53 = QtWidgets.QVBoxLayout(self.conv_left)
        self.verticalLayout_53.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_53.setSpacing(0)
        self.verticalLayout_53.setObjectName("verticalLayout_53")
        self.frame_34 = QtWidgets.QFrame(self.conv_left)
        self.frame_34.setMinimumSize(QtCore.QSize(0, 0))
        self.frame_34.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_34.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_34.setObjectName("frame_34")
        self.verticalLayout_54 = QtWidgets.QVBoxLayout(self.frame_34)
        self.verticalLayout_54.setObjectName("verticalLayout_54")
        self.conv_material = QtWidgets.QComboBox(self.frame_34)
        self.conv_material.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_material.setObjectName("conv_material")
        self.verticalLayout_54.addWidget(self.conv_material)
        self.entries = QtWidgets.QGridLayout()
        self.entries.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
        self.entries.setObjectName("entries")
        self.verticalLayout_54.addLayout(self.entries)
        self.verticalLayout_53.addWidget(self.frame_34)
        spacerItem21 = QtWidgets.QSpacerItem(20, 505, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_53.addItem(spacerItem21)
        self.frame_38 = QtWidgets.QFrame(self.conv_left)
        self.frame_38.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_38.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_38.setObjectName("frame_38")
        self.horizontalLayout_35 = QtWidgets.QHBoxLayout(self.frame_38)
        self.horizontalLayout_35.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_35.setObjectName("horizontalLayout_35")
        self.conv_new = PushButton(self.frame_38)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_new.sizePolicy().hasHeightForWidth())
        self.conv_new.setSizePolicy(sizePolicy)
        self.conv_new.setMinimumSize(QtCore.QSize(90, 0))
        self.conv_new.setMaximumSize(QtCore.QSize(90, 16777215))
        self.conv_new.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_new.setObjectName("conv_new")
        self.horizontalLayout_35.addWidget(self.conv_new)
        self.conv_save = PushButton(self.frame_38)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_save.sizePolicy().hasHeightForWidth())
        self.conv_save.setSizePolicy(sizePolicy)
        self.conv_save.setMinimumSize(QtCore.QSize(90, 0))
        self.conv_save.setMaximumSize(QtCore.QSize(90, 16777215))
        self.conv_save.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_save.setObjectName("conv_save")
        self.horizontalLayout_35.addWidget(self.conv_save)
        self.conv_settings = PushButton(self.frame_38)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_settings.sizePolicy().hasHeightForWidth())
        self.conv_settings.setSizePolicy(sizePolicy)
        self.conv_settings.setMinimumSize(QtCore.QSize(90, 0))
        self.conv_settings.setMaximumSize(QtCore.QSize(90, 16777215))
        self.conv_settings.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_settings.setObjectName("conv_settings")
        self.horizontalLayout_35.addWidget(self.conv_settings)
        self.conv_send = PushButton(self.frame_38)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_send.sizePolicy().hasHeightForWidth())
        self.conv_send.setSizePolicy(sizePolicy)
        self.conv_send.setMinimumSize(QtCore.QSize(90, 0))
        self.conv_send.setMaximumSize(QtCore.QSize(90, 16777215))
        self.conv_send.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_send.setObjectName("conv_send")
        self.horizontalLayout_35.addWidget(self.conv_send)
        self.horizontalLayout_35.setStretch(0, 1)
        self.horizontalLayout_35.setStretch(1, 1)
        self.horizontalLayout_35.setStretch(2, 1)
        self.horizontalLayout_35.setStretch(3, 1)
        self.verticalLayout_53.addWidget(self.frame_38)
        self.horizontalLayout_34.addWidget(self.conv_left)
        self.conv_right = QtWidgets.QFrame(self.conv_bottom)
        self.conv_right.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.conv_right.setFrameShadow(QtWidgets.QFrame.Plain)
        self.conv_right.setObjectName("conv_right")
        self.horizontalLayout_43 = QtWidgets.QHBoxLayout(self.conv_right)
        self.horizontalLayout_43.setObjectName("horizontalLayout_43")
        self.conv_preview = GCodeGraphics(self.conv_right)
        self.conv_preview.setObjectName("conv_preview")
        self.horizontalLayout_43.addWidget(self.conv_preview)
        self.conv_preview_buttons = QtWidgets.QFrame(self.conv_right)
        self.conv_preview_buttons.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conv_preview_buttons.sizePolicy().hasHeightForWidth())
        self.conv_preview_buttons.setSizePolicy(sizePolicy)
        self.conv_preview_buttons.setMaximumSize(QtCore.QSize(40, 16777215))
        self.conv_preview_buttons.setAutoFillBackground(True)
        self.conv_preview_buttons.setObjectName("conv_preview_buttons")
        self.verticalLayout_52 = QtWidgets.QVBoxLayout(self.conv_preview_buttons)
        self.verticalLayout_52.setContentsMargins(0, 2, 0, 2)
        self.verticalLayout_52.setSpacing(8)
        self.verticalLayout_52.setObjectName("verticalLayout_52")
        spacerItem22 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_52.addItem(spacerItem22)
        self.conv_view_t = QtWidgets.QPushButton(self.conv_preview_buttons)
        self.conv_view_t.setMinimumSize(QtCore.QSize(40, 28))
        self.conv_view_t.setMaximumSize(QtCore.QSize(40, 28))
        self.conv_view_t.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_view_t.setText("T")
        self.conv_view_t.setCheckable(True)
        self.conv_view_t.setAutoExclusive(True)
        self.conv_view_t.setObjectName("conv_view_t")
        self.verticalLayout_52.addWidget(self.conv_view_t)
        self.conv_view_z = QtWidgets.QPushButton(self.conv_preview_buttons)
        self.conv_view_z.setMinimumSize(QtCore.QSize(40, 28))
        self.conv_view_z.setMaximumSize(QtCore.QSize(40, 28))
        self.conv_view_z.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_view_z.setText("Z")
        self.conv_view_z.setCheckable(True)
        self.conv_view_z.setChecked(True)
        self.conv_view_z.setAutoExclusive(True)
        self.conv_view_z.setObjectName("conv_view_z")
        self.verticalLayout_52.addWidget(self.conv_view_z)
        self.view_spacer_4 = QtWidgets.QLabel(self.conv_preview_buttons)
        self.view_spacer_4.setMinimumSize(QtCore.QSize(0, 10))
        self.view_spacer_4.setMaximumSize(QtCore.QSize(16777215, 10))
        self.view_spacer_4.setText("")
        self.view_spacer_4.setObjectName("view_spacer_4")
        self.verticalLayout_52.addWidget(self.view_spacer_4)
        self.conv_pan_right = QtWidgets.QPushButton(self.conv_preview_buttons)
        self.conv_pan_right.setMinimumSize(QtCore.QSize(40, 28))
        self.conv_pan_right.setMaximumSize(QtCore.QSize(40, 28))
        self.conv_pan_right.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_pan_right.setText("→")
        self.conv_pan_right.setAutoRepeat(True)
        self.conv_pan_right.setObjectName("conv_pan_right")
        self.verticalLayout_52.addWidget(self.conv_pan_right)
        self.conv_pan_left = QtWidgets.QPushButton(self.conv_preview_buttons)
        self.conv_pan_left.setMinimumSize(QtCore.QSize(40, 28))
        self.conv_pan_left.setMaximumSize(QtCore.QSize(40, 28))
        self.conv_pan_left.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_pan_left.setText("←")
        self.conv_pan_left.setAutoRepeat(True)
        self.conv_pan_left.setObjectName("conv_pan_left")
        self.verticalLayout_52.addWidget(self.conv_pan_left)
        self.conv_pan_up = QtWidgets.QPushButton(self.conv_preview_buttons)
        self.conv_pan_up.setMinimumSize(QtCore.QSize(40, 28))
        self.conv_pan_up.setMaximumSize(QtCore.QSize(40, 28))
        self.conv_pan_up.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_pan_up.setText("↑")
        self.conv_pan_up.setAutoRepeat(True)
        self.conv_pan_up.setObjectName("conv_pan_up")
        self.verticalLayout_52.addWidget(self.conv_pan_up)
        self.conv_pan_down = QtWidgets.QPushButton(self.conv_preview_buttons)
        self.conv_pan_down.setMinimumSize(QtCore.QSize(40, 28))
        self.conv_pan_down.setMaximumSize(QtCore.QSize(40, 28))
        self.conv_pan_down.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_pan_down.setText("↓")
        self.conv_pan_down.setAutoRepeat(True)
        self.conv_pan_down.setObjectName("conv_pan_down")
        self.verticalLayout_52.addWidget(self.conv_pan_down)
        self.view_spacer_5 = QtWidgets.QLabel(self.conv_preview_buttons)
        self.view_spacer_5.setMinimumSize(QtCore.QSize(0, 10))
        self.view_spacer_5.setMaximumSize(QtCore.QSize(16777215, 10))
        self.view_spacer_5.setText("")
        self.view_spacer_5.setObjectName("view_spacer_5")
        self.verticalLayout_52.addWidget(self.view_spacer_5)
        self.conv_zoom_in = QtWidgets.QPushButton(self.conv_preview_buttons)
        self.conv_zoom_in.setMinimumSize(QtCore.QSize(40, 28))
        self.conv_zoom_in.setMaximumSize(QtCore.QSize(40, 28))
        self.conv_zoom_in.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_zoom_in.setText("+")
        self.conv_zoom_in.setAutoRepeat(True)
        self.conv_zoom_in.setObjectName("conv_zoom_in")
        self.verticalLayout_52.addWidget(self.conv_zoom_in)
        self.conv_zoom_out = QtWidgets.QPushButton(self.conv_preview_buttons)
        self.conv_zoom_out.setMinimumSize(QtCore.QSize(40, 28))
        self.conv_zoom_out.setMaximumSize(QtCore.QSize(40, 28))
        self.conv_zoom_out.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.conv_zoom_out.setText("-")
        self.conv_zoom_out.setAutoRepeat(True)
        self.conv_zoom_out.setObjectName("conv_zoom_out")
        self.verticalLayout_52.addWidget(self.conv_zoom_out)
        self.horizontalLayout_43.addWidget(self.conv_preview_buttons)
        self.horizontalLayout_34.addWidget(self.conv_right)
        self.verticalLayout_51.addWidget(self.conv_bottom)
        self.verticalLayout_51.setStretch(1, 1)
        self.verticalLayout_50.addWidget(self.conv_main)
        self.horizontalLayout_32.addWidget(self.conv_frame)
        self.main_tab_widget.addTab(self.conv_tab, "")
        self.param_tab = QtWidgets.QWidget()
        self.param_tab.setObjectName("param_tab")
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout(self.param_tab)
        self.horizontalLayout_12.setContentsMargins(4, 4, 4, 4)
        self.horizontalLayout_12.setSpacing(2)
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.config_frame = QtWidgets.QFrame(self.param_tab)
        self.config_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.config_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.config_frame.setObjectName("config_frame")
        self.verticalLayout_48 = QtWidgets.QVBoxLayout(self.config_frame)
        self.verticalLayout_48.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_48.setSpacing(4)
        self.verticalLayout_48.setObjectName("verticalLayout_48")
        self.frame_44 = QtWidgets.QFrame(self.config_frame)
        self.frame_44.setMinimumSize(QtCore.QSize(0, 0))
        self.frame_44.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_44.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_44.setObjectName("frame_44")
        self.horizontalLayout_42 = QtWidgets.QHBoxLayout(self.frame_44)
        self.horizontalLayout_42.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_42.setSpacing(1)
        self.horizontalLayout_42.setObjectName("horizontalLayout_42")
        self.save_plasma = PushButton(self.frame_44)
        self.save_plasma.setMinimumSize(QtCore.QSize(60, 16))
        self.save_plasma.setMaximumSize(QtCore.QSize(60, 16))
        self.save_plasma.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.save_plasma.setObjectName("save_plasma")
        self.horizontalLayout_42.addWidget(self.save_plasma)
        self.config_label = QtWidgets.QLabel(self.frame_44)
        self.config_label.setMinimumSize(QtCore.QSize(0, 16))
        self.config_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.config_label.setAlignment(QtCore.Qt.AlignCenter)
        self.config_label.setObjectName("config_label")
        self.horizontalLayout_42.addWidget(self.config_label)
        self.reload_plasma = PushButton(self.frame_44)
        self.reload_plasma.setMinimumSize(QtCore.QSize(60, 16))
        self.reload_plasma.setMaximumSize(QtCore.QSize(60, 16))
        self.reload_plasma.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.reload_plasma.setObjectName("reload_plasma")
        self.horizontalLayout_42.addWidget(self.reload_plasma)
        self.verticalLayout_48.addWidget(self.frame_44)
        self.frame_33 = QtWidgets.QFrame(self.config_frame)
        self.frame_33.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_33.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_33.setObjectName("frame_33")
        self.horizontalLayout_17 = QtWidgets.QHBoxLayout(self.frame_33)
        self.horizontalLayout_17.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout_17.setSpacing(4)
        self.horizontalLayout_17.setObjectName("horizontalLayout_17")
        self.frame_12 = QtWidgets.QFrame(self.frame_33)
        self.frame_12.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_12.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_12.setObjectName("frame_12")
        self.verticalLayout_46 = QtWidgets.QVBoxLayout(self.frame_12)
        self.verticalLayout_46.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_46.setSpacing(4)
        self.verticalLayout_46.setObjectName("verticalLayout_46")
        self.arc_config = QtWidgets.QFrame(self.frame_12)
        self.arc_config.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.arc_config.setFrameShadow(QtWidgets.QFrame.Raised)
        self.arc_config.setObjectName("arc_config")
        self.verticalLayout_28 = QtWidgets.QVBoxLayout(self.arc_config)
        self.verticalLayout_28.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_28.setSpacing(4)
        self.verticalLayout_28.setObjectName("verticalLayout_28")
        self.arc_conf_lbl = QtWidgets.QLabel(self.arc_config)
        self.arc_conf_lbl.setMinimumSize(QtCore.QSize(0, 16))
        self.arc_conf_lbl.setMaximumSize(QtCore.QSize(16777215, 16))
        self.arc_conf_lbl.setAlignment(QtCore.Qt.AlignCenter)
        self.arc_conf_lbl.setObjectName("arc_conf_lbl")
        self.verticalLayout_28.addWidget(self.arc_conf_lbl)
        self.arc_grid = QtWidgets.QFrame(self.arc_config)
        self.arc_grid.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.arc_grid.setFrameShadow(QtWidgets.QFrame.Raised)
        self.arc_grid.setObjectName("arc_grid")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.arc_grid)
        self.gridLayout_4.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_4.setHorizontalSpacing(4)
        self.gridLayout_4.setVerticalSpacing(7)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.arc_fail_delay = DoubleScale(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.arc_fail_delay.sizePolicy().hasHeightForWidth())
        self.arc_fail_delay.setSizePolicy(sizePolicy)
        self.arc_fail_delay.setMinimumSize(QtCore.QSize(136, 0))
        self.arc_fail_delay.setMaximumSize(QtCore.QSize(176, 16777215))
        self.arc_fail_delay.setWrapping(True)
        self.arc_fail_delay.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.arc_fail_delay.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.arc_fail_delay.setAccelerated(True)
        self.arc_fail_delay.setDecimals(1)
        self.arc_fail_delay.setMinimum(0.1)
        self.arc_fail_delay.setMaximum(60.0)
        self.arc_fail_delay.setSingleStep(0.1)
        self.arc_fail_delay.setProperty("value", 0.1)
        self.arc_fail_delay.setObjectName("arc_fail_delay")
        self.gridLayout_4.addWidget(self.arc_fail_delay, 0, 0, 1, 1)
        self.label_19 = QtWidgets.QLabel(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_19.sizePolicy().hasHeightForWidth())
        self.label_19.setSizePolicy(sizePolicy)
        self.label_19.setMinimumSize(QtCore.QSize(116, 0))
        self.label_19.setMaximumSize(QtCore.QSize(150, 16777215))
        self.label_19.setObjectName("label_19")
        self.gridLayout_4.addWidget(self.label_19, 0, 1, 1, 1)
        self.arc_max_starts = DoubleScale(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.arc_max_starts.sizePolicy().hasHeightForWidth())
        self.arc_max_starts.setSizePolicy(sizePolicy)
        self.arc_max_starts.setMinimumSize(QtCore.QSize(136, 0))
        self.arc_max_starts.setMaximumSize(QtCore.QSize(176, 16777215))
        self.arc_max_starts.setWrapping(True)
        self.arc_max_starts.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.arc_max_starts.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.arc_max_starts.setAccelerated(True)
        self.arc_max_starts.setDecimals(0)
        self.arc_max_starts.setMinimum(1.0)
        self.arc_max_starts.setMaximum(10.0)
        self.arc_max_starts.setObjectName("arc_max_starts")
        self.gridLayout_4.addWidget(self.arc_max_starts, 1, 0, 1, 1)
        self.label_21 = QtWidgets.QLabel(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_21.sizePolicy().hasHeightForWidth())
        self.label_21.setSizePolicy(sizePolicy)
        self.label_21.setMinimumSize(QtCore.QSize(110, 0))
        self.label_21.setMaximumSize(QtCore.QSize(150, 16777215))
        self.label_21.setObjectName("label_21")
        self.gridLayout_4.addWidget(self.label_21, 1, 1, 1, 1)
        self.arc_restart_delay = DoubleScale(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.arc_restart_delay.sizePolicy().hasHeightForWidth())
        self.arc_restart_delay.setSizePolicy(sizePolicy)
        self.arc_restart_delay.setMinimumSize(QtCore.QSize(136, 0))
        self.arc_restart_delay.setMaximumSize(QtCore.QSize(176, 16777215))
        self.arc_restart_delay.setWrapping(True)
        self.arc_restart_delay.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.arc_restart_delay.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.arc_restart_delay.setAccelerated(True)
        self.arc_restart_delay.setDecimals(0)
        self.arc_restart_delay.setMinimum(1.0)
        self.arc_restart_delay.setMaximum(60.0)
        self.arc_restart_delay.setObjectName("arc_restart_delay")
        self.gridLayout_4.addWidget(self.arc_restart_delay, 2, 0, 1, 1)
        self.label_24 = QtWidgets.QLabel(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_24.sizePolicy().hasHeightForWidth())
        self.label_24.setSizePolicy(sizePolicy)
        self.label_24.setMinimumSize(QtCore.QSize(110, 0))
        self.label_24.setMaximumSize(QtCore.QSize(150, 16777215))
        self.label_24.setObjectName("label_24")
        self.gridLayout_4.addWidget(self.label_24, 2, 1, 1, 1)
        self.arc_voltage_scale = DoubleScale(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.arc_voltage_scale.sizePolicy().hasHeightForWidth())
        self.arc_voltage_scale.setSizePolicy(sizePolicy)
        self.arc_voltage_scale.setMinimumSize(QtCore.QSize(136, 0))
        self.arc_voltage_scale.setMaximumSize(QtCore.QSize(176, 16777215))
        self.arc_voltage_scale.setWrapping(True)
        self.arc_voltage_scale.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.arc_voltage_scale.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.arc_voltage_scale.setAccelerated(True)
        self.arc_voltage_scale.setDecimals(6)
        self.arc_voltage_scale.setMinimum(-9999.0)
        self.arc_voltage_scale.setMaximum(9999.0)
        self.arc_voltage_scale.setSingleStep(1e-06)
        self.arc_voltage_scale.setProperty("value", 0.0)
        self.arc_voltage_scale.setObjectName("arc_voltage_scale")
        self.gridLayout_4.addWidget(self.arc_voltage_scale, 3, 0, 1, 1)
        self.arc_voltage_scale_lbl = QtWidgets.QLabel(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.arc_voltage_scale_lbl.sizePolicy().hasHeightForWidth())
        self.arc_voltage_scale_lbl.setSizePolicy(sizePolicy)
        self.arc_voltage_scale_lbl.setMinimumSize(QtCore.QSize(110, 0))
        self.arc_voltage_scale_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.arc_voltage_scale_lbl.setObjectName("arc_voltage_scale_lbl")
        self.gridLayout_4.addWidget(self.arc_voltage_scale_lbl, 3, 1, 1, 1)
        self.arc_voltage_offset = DoubleScale(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.arc_voltage_offset.sizePolicy().hasHeightForWidth())
        self.arc_voltage_offset.setSizePolicy(sizePolicy)
        self.arc_voltage_offset.setMinimumSize(QtCore.QSize(136, 0))
        self.arc_voltage_offset.setMaximumSize(QtCore.QSize(176, 16777215))
        self.arc_voltage_offset.setWrapping(True)
        self.arc_voltage_offset.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.arc_voltage_offset.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.arc_voltage_offset.setAccelerated(True)
        self.arc_voltage_offset.setDecimals(3)
        self.arc_voltage_offset.setMinimum(-999999.0)
        self.arc_voltage_offset.setMaximum(999999.0)
        self.arc_voltage_offset.setSingleStep(0.001)
        self.arc_voltage_offset.setProperty("value", 0.0)
        self.arc_voltage_offset.setObjectName("arc_voltage_offset")
        self.gridLayout_4.addWidget(self.arc_voltage_offset, 4, 0, 1, 1)
        self.arc_voltage_offset_lbl = QtWidgets.QLabel(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.arc_voltage_offset_lbl.sizePolicy().hasHeightForWidth())
        self.arc_voltage_offset_lbl.setSizePolicy(sizePolicy)
        self.arc_voltage_offset_lbl.setMinimumSize(QtCore.QSize(110, 0))
        self.arc_voltage_offset_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.arc_voltage_offset_lbl.setObjectName("arc_voltage_offset_lbl")
        self.gridLayout_4.addWidget(self.arc_voltage_offset_lbl, 4, 1, 1, 1)
        self.height_per_volt = DoubleScale(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.height_per_volt.sizePolicy().hasHeightForWidth())
        self.height_per_volt.setSizePolicy(sizePolicy)
        self.height_per_volt.setMinimumSize(QtCore.QSize(136, 0))
        self.height_per_volt.setMaximumSize(QtCore.QSize(176, 16777215))
        self.height_per_volt.setWrapping(True)
        self.height_per_volt.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.height_per_volt.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.height_per_volt.setAccelerated(True)
        self.height_per_volt.setDecimals(3)
        self.height_per_volt.setMinimum(0.025)
        self.height_per_volt.setMaximum(0.25)
        self.height_per_volt.setSingleStep(0.001)
        self.height_per_volt.setObjectName("height_per_volt")
        self.gridLayout_4.addWidget(self.height_per_volt, 5, 0, 1, 1)
        self.height_per_volt_lbl = QtWidgets.QLabel(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.height_per_volt_lbl.sizePolicy().hasHeightForWidth())
        self.height_per_volt_lbl.setSizePolicy(sizePolicy)
        self.height_per_volt_lbl.setMinimumSize(QtCore.QSize(110, 0))
        self.height_per_volt_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.height_per_volt_lbl.setObjectName("height_per_volt_lbl")
        self.gridLayout_4.addWidget(self.height_per_volt_lbl, 5, 1, 1, 1)
        self.arc_ok_high = DoubleScale(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.arc_ok_high.sizePolicy().hasHeightForWidth())
        self.arc_ok_high.setSizePolicy(sizePolicy)
        self.arc_ok_high.setMinimumSize(QtCore.QSize(136, 0))
        self.arc_ok_high.setMaximumSize(QtCore.QSize(176, 16777215))
        self.arc_ok_high.setWrapping(True)
        self.arc_ok_high.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.arc_ok_high.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.arc_ok_high.setAccelerated(True)
        self.arc_ok_high.setDecimals(0)
        self.arc_ok_high.setMaximum(99999.0)
        self.arc_ok_high.setProperty("value", 0.0)
        self.arc_ok_high.setObjectName("arc_ok_high")
        self.gridLayout_4.addWidget(self.arc_ok_high, 6, 0, 1, 1)
        self.arc_ok_high_lbl = QtWidgets.QLabel(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.arc_ok_high_lbl.sizePolicy().hasHeightForWidth())
        self.arc_ok_high_lbl.setSizePolicy(sizePolicy)
        self.arc_ok_high_lbl.setMinimumSize(QtCore.QSize(110, 0))
        self.arc_ok_high_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.arc_ok_high_lbl.setObjectName("arc_ok_high_lbl")
        self.gridLayout_4.addWidget(self.arc_ok_high_lbl, 6, 1, 1, 1)
        self.arc_ok_low = DoubleScale(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.arc_ok_low.sizePolicy().hasHeightForWidth())
        self.arc_ok_low.setSizePolicy(sizePolicy)
        self.arc_ok_low.setMinimumSize(QtCore.QSize(136, 0))
        self.arc_ok_low.setMaximumSize(QtCore.QSize(176, 16777215))
        self.arc_ok_low.setWrapping(True)
        self.arc_ok_low.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.arc_ok_low.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.arc_ok_low.setAccelerated(True)
        self.arc_ok_low.setDecimals(0)
        self.arc_ok_low.setProperty("value", 0.0)
        self.arc_ok_low.setObjectName("arc_ok_low")
        self.gridLayout_4.addWidget(self.arc_ok_low, 7, 0, 1, 1)
        self.arc_ok_low_lbl = QtWidgets.QLabel(self.arc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.arc_ok_low_lbl.sizePolicy().hasHeightForWidth())
        self.arc_ok_low_lbl.setSizePolicy(sizePolicy)
        self.arc_ok_low_lbl.setMinimumSize(QtCore.QSize(110, 0))
        self.arc_ok_low_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.arc_ok_low_lbl.setObjectName("arc_ok_low_lbl")
        self.gridLayout_4.addWidget(self.arc_ok_low_lbl, 7, 1, 1, 1)
        self.verticalLayout_28.addWidget(self.arc_grid)
        self.verticalLayout_46.addWidget(self.arc_config)
        self.thc_config = QtWidgets.QFrame(self.frame_12)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thc_config.sizePolicy().hasHeightForWidth())
        self.thc_config.setSizePolicy(sizePolicy)
        self.thc_config.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.thc_config.setFrameShadow(QtWidgets.QFrame.Raised)
        self.thc_config.setObjectName("thc_config")
        self.verticalLayout_29 = QtWidgets.QVBoxLayout(self.thc_config)
        self.verticalLayout_29.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_29.setSpacing(4)
        self.verticalLayout_29.setObjectName("verticalLayout_29")
        self.thc_conf_lbl = QtWidgets.QLabel(self.thc_config)
        self.thc_conf_lbl.setMinimumSize(QtCore.QSize(0, 16))
        self.thc_conf_lbl.setMaximumSize(QtCore.QSize(16777215, 16))
        self.thc_conf_lbl.setAlignment(QtCore.Qt.AlignCenter)
        self.thc_conf_lbl.setObjectName("thc_conf_lbl")
        self.verticalLayout_29.addWidget(self.thc_conf_lbl)
        self.thc_grid = QtWidgets.QFrame(self.thc_config)
        self.thc_grid.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.thc_grid.setFrameShadow(QtWidgets.QFrame.Raised)
        self.thc_grid.setObjectName("thc_grid")
        self.gridLayout_18 = QtWidgets.QGridLayout(self.thc_grid)
        self.gridLayout_18.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_18.setHorizontalSpacing(4)
        self.gridLayout_18.setVerticalSpacing(7)
        self.gridLayout_18.setObjectName("gridLayout_18")
        self.thc_sample_threshold_lbl = QtWidgets.QLabel(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thc_sample_threshold_lbl.sizePolicy().hasHeightForWidth())
        self.thc_sample_threshold_lbl.setSizePolicy(sizePolicy)
        self.thc_sample_threshold_lbl.setMinimumSize(QtCore.QSize(110, 0))
        self.thc_sample_threshold_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.thc_sample_threshold_lbl.setObjectName("thc_sample_threshold_lbl")
        self.gridLayout_18.addWidget(self.thc_sample_threshold_lbl, 4, 1, 1, 1)
        self.thc_delay_lbl = QtWidgets.QLabel(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thc_delay_lbl.sizePolicy().hasHeightForWidth())
        self.thc_delay_lbl.setSizePolicy(sizePolicy)
        self.thc_delay_lbl.setMinimumSize(QtCore.QSize(110, 0))
        self.thc_delay_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.thc_delay_lbl.setObjectName("thc_delay_lbl")
        self.gridLayout_18.addWidget(self.thc_delay_lbl, 2, 1, 1, 1)
        self.pid_d_gain = DoubleScale(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pid_d_gain.sizePolicy().hasHeightForWidth())
        self.pid_d_gain.setSizePolicy(sizePolicy)
        self.pid_d_gain.setMinimumSize(QtCore.QSize(136, 0))
        self.pid_d_gain.setMaximumSize(QtCore.QSize(176, 16777215))
        self.pid_d_gain.setWrapping(True)
        self.pid_d_gain.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pid_d_gain.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.pid_d_gain.setAccelerated(True)
        self.pid_d_gain.setDecimals(0)
        self.pid_d_gain.setMaximum(1000.0)
        self.pid_d_gain.setProperty("value", 0.0)
        self.pid_d_gain.setObjectName("pid_d_gain")
        self.gridLayout_18.addWidget(self.pid_d_gain, 10, 0, 1, 1)
        self.thc_threshold = DoubleScale(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thc_threshold.sizePolicy().hasHeightForWidth())
        self.thc_threshold.setSizePolicy(sizePolicy)
        self.thc_threshold.setMinimumSize(QtCore.QSize(136, 0))
        self.thc_threshold.setMaximumSize(QtCore.QSize(176, 16777215))
        self.thc_threshold.setWrapping(True)
        self.thc_threshold.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.thc_threshold.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.thc_threshold.setAccelerated(True)
        self.thc_threshold.setSuffix(" V")
        self.thc_threshold.setMinimum(0.05)
        self.thc_threshold.setMaximum(10.0)
        self.thc_threshold.setSingleStep(0.01)
        self.thc_threshold.setProperty("value", 0.05)
        self.thc_threshold.setObjectName("thc_threshold")
        self.gridLayout_18.addWidget(self.thc_threshold, 5, 0, 1, 1)
        self.voidlock_slope = DoubleScale(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.voidlock_slope.sizePolicy().hasHeightForWidth())
        self.voidlock_slope.setSizePolicy(sizePolicy)
        self.voidlock_slope.setMinimumSize(QtCore.QSize(136, 0))
        self.voidlock_slope.setMaximumSize(QtCore.QSize(176, 16777215))
        self.voidlock_slope.setWrapping(True)
        self.voidlock_slope.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.voidlock_slope.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.voidlock_slope.setAccelerated(True)
        self.voidlock_slope.setSuffix(" V/sec")
        self.voidlock_slope.setDecimals(0)
        self.voidlock_slope.setMinimum(1.0)
        self.voidlock_slope.setMaximum(10000.0)
        self.voidlock_slope.setObjectName("voidlock_slope")
        self.gridLayout_18.addWidget(self.voidlock_slope, 8, 0, 1, 1)
        self.thc_sample_counts = DoubleScale(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thc_sample_counts.sizePolicy().hasHeightForWidth())
        self.thc_sample_counts.setSizePolicy(sizePolicy)
        self.thc_sample_counts.setMinimumSize(QtCore.QSize(136, 0))
        self.thc_sample_counts.setMaximumSize(QtCore.QSize(176, 16777215))
        self.thc_sample_counts.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.thc_sample_counts.setDecimals(0)
        self.thc_sample_counts.setMaximum(1000.0)
        self.thc_sample_counts.setProperty("value", 50.0)
        self.thc_sample_counts.setObjectName("thc_sample_counts")
        self.gridLayout_18.addWidget(self.thc_sample_counts, 3, 0, 1, 1)
        self.pid_d_gain_lbl = QtWidgets.QLabel(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pid_d_gain_lbl.sizePolicy().hasHeightForWidth())
        self.pid_d_gain_lbl.setSizePolicy(sizePolicy)
        self.pid_d_gain_lbl.setMinimumSize(QtCore.QSize(110, 0))
        self.pid_d_gain_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.pid_d_gain_lbl.setObjectName("pid_d_gain_lbl")
        self.gridLayout_18.addWidget(self.pid_d_gain_lbl, 10, 1, 1, 1)
        self.thc_sample_threshold = DoubleScale(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thc_sample_threshold.sizePolicy().hasHeightForWidth())
        self.thc_sample_threshold.setSizePolicy(sizePolicy)
        self.thc_sample_threshold.setMinimumSize(QtCore.QSize(136, 0))
        self.thc_sample_threshold.setMaximumSize(QtCore.QSize(176, 16777215))
        self.thc_sample_threshold.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.thc_sample_threshold.setAccelerated(True)
        self.thc_sample_threshold.setMaximum(99.0)
        self.thc_sample_threshold.setSingleStep(0.01)
        self.thc_sample_threshold.setObjectName("thc_sample_threshold")
        self.gridLayout_18.addWidget(self.thc_sample_threshold, 4, 0, 1, 1)
        self.cornerlock_threshold = DoubleScale(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cornerlock_threshold.sizePolicy().hasHeightForWidth())
        self.cornerlock_threshold.setSizePolicy(sizePolicy)
        self.cornerlock_threshold.setMinimumSize(QtCore.QSize(136, 0))
        self.cornerlock_threshold.setMaximumSize(QtCore.QSize(176, 16777215))
        self.cornerlock_threshold.setWrapping(True)
        self.cornerlock_threshold.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cornerlock_threshold.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.cornerlock_threshold.setAccelerated(True)
        self.cornerlock_threshold.setSuffix(" %")
        self.cornerlock_threshold.setDecimals(0)
        self.cornerlock_threshold.setMinimum(1.0)
        self.cornerlock_threshold.setMaximum(99.0)
        self.cornerlock_threshold.setProperty("value", 1.0)
        self.cornerlock_threshold.setObjectName("cornerlock_threshold")
        self.gridLayout_18.addWidget(self.cornerlock_threshold, 7, 0, 1, 1)
        self.thc_auto_lbl = QtWidgets.QLabel(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thc_auto_lbl.sizePolicy().hasHeightForWidth())
        self.thc_auto_lbl.setSizePolicy(sizePolicy)
        self.thc_auto_lbl.setMinimumSize(QtCore.QSize(110, 0))
        self.thc_auto_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.thc_auto_lbl.setObjectName("thc_auto_lbl")
        self.gridLayout_18.addWidget(self.thc_auto_lbl, 1, 1, 1, 1)
        self.pid_p_gain_lbl = QtWidgets.QLabel(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pid_p_gain_lbl.sizePolicy().hasHeightForWidth())
        self.pid_p_gain_lbl.setSizePolicy(sizePolicy)
        self.pid_p_gain_lbl.setMinimumSize(QtCore.QSize(116, 0))
        self.pid_p_gain_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.pid_p_gain_lbl.setObjectName("pid_p_gain_lbl")
        self.gridLayout_18.addWidget(self.pid_p_gain_lbl, 6, 1, 1, 1)
        self.label_41 = QtWidgets.QLabel(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_41.sizePolicy().hasHeightForWidth())
        self.label_41.setSizePolicy(sizePolicy)
        self.label_41.setMinimumSize(QtCore.QSize(110, 0))
        self.label_41.setMaximumSize(QtCore.QSize(150, 16777215))
        self.label_41.setObjectName("label_41")
        self.gridLayout_18.addWidget(self.label_41, 7, 1, 1, 1)
        self.thc_threshold_lbl = QtWidgets.QLabel(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thc_threshold_lbl.sizePolicy().hasHeightForWidth())
        self.thc_threshold_lbl.setSizePolicy(sizePolicy)
        self.thc_threshold_lbl.setMinimumSize(QtCore.QSize(110, 0))
        self.thc_threshold_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.thc_threshold_lbl.setObjectName("thc_threshold_lbl")
        self.gridLayout_18.addWidget(self.thc_threshold_lbl, 5, 1, 1, 1)
        self.voidlock_slope_lbl = QtWidgets.QLabel(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.voidlock_slope_lbl.sizePolicy().hasHeightForWidth())
        self.voidlock_slope_lbl.setSizePolicy(sizePolicy)
        self.voidlock_slope_lbl.setMinimumSize(QtCore.QSize(110, 0))
        self.voidlock_slope_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.voidlock_slope_lbl.setObjectName("voidlock_slope_lbl")
        self.gridLayout_18.addWidget(self.voidlock_slope_lbl, 8, 1, 1, 1)
        self.pid_p_gain = DoubleScale(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pid_p_gain.sizePolicy().hasHeightForWidth())
        self.pid_p_gain.setSizePolicy(sizePolicy)
        self.pid_p_gain.setMinimumSize(QtCore.QSize(136, 0))
        self.pid_p_gain.setMaximumSize(QtCore.QSize(176, 16777215))
        self.pid_p_gain.setWrapping(True)
        self.pid_p_gain.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pid_p_gain.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.pid_p_gain.setAccelerated(True)
        self.pid_p_gain.setDecimals(0)
        self.pid_p_gain.setMaximum(1000.0)
        self.pid_p_gain.setProperty("value", 0.0)
        self.pid_p_gain.setObjectName("pid_p_gain")
        self.gridLayout_18.addWidget(self.pid_p_gain, 6, 0, 1, 1)
        self.pid_i_gain_lbl = QtWidgets.QLabel(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pid_i_gain_lbl.sizePolicy().hasHeightForWidth())
        self.pid_i_gain_lbl.setSizePolicy(sizePolicy)
        self.pid_i_gain_lbl.setMinimumSize(QtCore.QSize(110, 0))
        self.pid_i_gain_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.pid_i_gain_lbl.setObjectName("pid_i_gain_lbl")
        self.gridLayout_18.addWidget(self.pid_i_gain_lbl, 9, 1, 1, 1)
        self.thc_sample_counts_lbl = QtWidgets.QLabel(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thc_sample_counts_lbl.sizePolicy().hasHeightForWidth())
        self.thc_sample_counts_lbl.setSizePolicy(sizePolicy)
        self.thc_sample_counts_lbl.setMinimumSize(QtCore.QSize(110, 0))
        self.thc_sample_counts_lbl.setMaximumSize(QtCore.QSize(150, 16777215))
        self.thc_sample_counts_lbl.setObjectName("thc_sample_counts_lbl")
        self.gridLayout_18.addWidget(self.thc_sample_counts_lbl, 3, 1, 1, 1)
        self.pid_i_gain = DoubleScale(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pid_i_gain.sizePolicy().hasHeightForWidth())
        self.pid_i_gain.setSizePolicy(sizePolicy)
        self.pid_i_gain.setMinimumSize(QtCore.QSize(136, 0))
        self.pid_i_gain.setMaximumSize(QtCore.QSize(176, 16777215))
        self.pid_i_gain.setWrapping(True)
        self.pid_i_gain.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pid_i_gain.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.pid_i_gain.setAccelerated(True)
        self.pid_i_gain.setDecimals(0)
        self.pid_i_gain.setMaximum(1000.0)
        self.pid_i_gain.setProperty("value", 0.0)
        self.pid_i_gain.setObjectName("pid_i_gain")
        self.gridLayout_18.addWidget(self.pid_i_gain, 9, 0, 1, 1)
        self.thc_delay = DoubleScale(self.thc_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thc_delay.sizePolicy().hasHeightForWidth())
        self.thc_delay.setSizePolicy(sizePolicy)
        self.thc_delay.setMinimumSize(QtCore.QSize(136, 0))
        self.thc_delay.setMaximumSize(QtCore.QSize(176, 16777215))
        self.thc_delay.setWrapping(True)
        self.thc_delay.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.thc_delay.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.thc_delay.setAccelerated(True)
        self.thc_delay.setDecimals(2)
        self.thc_delay.setMaximum(9.0)
        self.thc_delay.setSingleStep(0.01)
        self.thc_delay.setProperty("value", 0.0)
        self.thc_delay.setObjectName("thc_delay")
        self.gridLayout_18.addWidget(self.thc_delay, 2, 0, 1, 1)
        self.thc_auto = CheckBox(self.thc_grid)
        self.thc_auto.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.thc_auto.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.thc_auto.setObjectName("thc_auto")
        self.gridLayout_18.addWidget(self.thc_auto, 1, 0, 1, 1)
        self.verticalLayout_29.addWidget(self.thc_grid)
        self.verticalLayout_46.addWidget(self.thc_config)
        spacerItem23 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_46.addItem(spacerItem23)
        self.horizontalLayout_17.addWidget(self.frame_12)
        self.frame_32 = QtWidgets.QFrame(self.frame_33)
        self.frame_32.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_32.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_32.setObjectName("frame_32")
        self.verticalLayout_45 = QtWidgets.QVBoxLayout(self.frame_32)
        self.verticalLayout_45.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_45.setSpacing(4)
        self.verticalLayout_45.setObjectName("verticalLayout_45")
        self.probe_config = QtWidgets.QFrame(self.frame_32)
        self.probe_config.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.probe_config.setFrameShadow(QtWidgets.QFrame.Raised)
        self.probe_config.setObjectName("probe_config")
        self.verticalLayout_39 = QtWidgets.QVBoxLayout(self.probe_config)
        self.verticalLayout_39.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_39.setSpacing(4)
        self.verticalLayout_39.setObjectName("verticalLayout_39")
        self.probe_conf_lbl = QtWidgets.QLabel(self.probe_config)
        self.probe_conf_lbl.setMinimumSize(QtCore.QSize(0, 16))
        self.probe_conf_lbl.setMaximumSize(QtCore.QSize(16777215, 16))
        self.probe_conf_lbl.setAlignment(QtCore.Qt.AlignCenter)
        self.probe_conf_lbl.setObjectName("probe_conf_lbl")
        self.verticalLayout_39.addWidget(self.probe_conf_lbl)
        self.probe_grid = QtWidgets.QFrame(self.probe_config)
        self.probe_grid.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.probe_grid.setFrameShadow(QtWidgets.QFrame.Raised)
        self.probe_grid.setObjectName("probe_grid")
        self.gridLayout_19 = QtWidgets.QGridLayout(self.probe_grid)
        self.gridLayout_19.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_19.setHorizontalSpacing(4)
        self.gridLayout_19.setVerticalSpacing(7)
        self.gridLayout_19.setObjectName("gridLayout_19")
        self.skip_ihs_distance = DoubleScale(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.skip_ihs_distance.sizePolicy().hasHeightForWidth())
        self.skip_ihs_distance.setSizePolicy(sizePolicy)
        self.skip_ihs_distance.setMinimumSize(QtCore.QSize(120, 0))
        self.skip_ihs_distance.setMaximumSize(QtCore.QSize(160, 16777215))
        self.skip_ihs_distance.setWrapping(True)
        self.skip_ihs_distance.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.skip_ihs_distance.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.skip_ihs_distance.setAccelerated(True)
        self.skip_ihs_distance.setDecimals(0)
        self.skip_ihs_distance.setMaximum(999.0)
        self.skip_ihs_distance.setProperty("value", 0.0)
        self.skip_ihs_distance.setObjectName("skip_ihs_distance")
        self.gridLayout_19.addWidget(self.skip_ihs_distance, 5, 0, 1, 1)
        self.probe_feed_rate = DoubleScale(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.probe_feed_rate.sizePolicy().hasHeightForWidth())
        self.probe_feed_rate.setSizePolicy(sizePolicy)
        self.probe_feed_rate.setMinimumSize(QtCore.QSize(120, 0))
        self.probe_feed_rate.setMaximumSize(QtCore.QSize(160, 16777215))
        self.probe_feed_rate.setWrapping(True)
        self.probe_feed_rate.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.probe_feed_rate.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.probe_feed_rate.setAccelerated(True)
        self.probe_feed_rate.setDecimals(0)
        self.probe_feed_rate.setMinimum(100.0)
        self.probe_feed_rate.setMaximum(100.0)
        self.probe_feed_rate.setObjectName("probe_feed_rate")
        self.gridLayout_19.addWidget(self.probe_feed_rate, 1, 0, 1, 1)
        self.ohmic_probe_offset = DoubleScale(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ohmic_probe_offset.sizePolicy().hasHeightForWidth())
        self.ohmic_probe_offset.setSizePolicy(sizePolicy)
        self.ohmic_probe_offset.setMinimumSize(QtCore.QSize(120, 0))
        self.ohmic_probe_offset.setMaximumSize(QtCore.QSize(160, 16777215))
        self.ohmic_probe_offset.setWrapping(True)
        self.ohmic_probe_offset.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ohmic_probe_offset.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.ohmic_probe_offset.setAccelerated(True)
        self.ohmic_probe_offset.setDecimals(2)
        self.ohmic_probe_offset.setMinimum(-25.0)
        self.ohmic_probe_offset.setMaximum(25.0)
        self.ohmic_probe_offset.setSingleStep(0.01)
        self.ohmic_probe_offset.setProperty("value", 0.0)
        self.ohmic_probe_offset.setObjectName("ohmic_probe_offset")
        self.gridLayout_19.addWidget(self.ohmic_probe_offset, 3, 0, 1, 1)
        self.label_16 = QtWidgets.QLabel(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_16.sizePolicy().hasHeightForWidth())
        self.label_16.setSizePolicy(sizePolicy)
        self.label_16.setMinimumSize(QtCore.QSize(90, 0))
        self.label_16.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_16.setObjectName("label_16")
        self.gridLayout_19.addWidget(self.label_16, 3, 1, 1, 1)
        self.label_17 = QtWidgets.QLabel(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_17.sizePolicy().hasHeightForWidth())
        self.label_17.setSizePolicy(sizePolicy)
        self.label_17.setMinimumSize(QtCore.QSize(90, 0))
        self.label_17.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_17.setObjectName("label_17")
        self.gridLayout_19.addWidget(self.label_17, 4, 1, 1, 1)
        self.float_switch_travel = DoubleScale(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.float_switch_travel.sizePolicy().hasHeightForWidth())
        self.float_switch_travel.setSizePolicy(sizePolicy)
        self.float_switch_travel.setMinimumSize(QtCore.QSize(120, 0))
        self.float_switch_travel.setMaximumSize(QtCore.QSize(160, 16777215))
        self.float_switch_travel.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.float_switch_travel.setWrapping(True)
        self.float_switch_travel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.float_switch_travel.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.float_switch_travel.setAccelerated(True)
        self.float_switch_travel.setDecimals(2)
        self.float_switch_travel.setMinimum(-25.0)
        self.float_switch_travel.setMaximum(25.0)
        self.float_switch_travel.setSingleStep(0.01)
        self.float_switch_travel.setProperty("value", 0.0)
        self.float_switch_travel.setObjectName("float_switch_travel")
        self.gridLayout_19.addWidget(self.float_switch_travel, 0, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setMinimumSize(QtCore.QSize(90, 0))
        self.label_2.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_2.setObjectName("label_2")
        self.gridLayout_19.addWidget(self.label_2, 0, 1, 1, 1)
        self.probe_start_height = DoubleScale(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.probe_start_height.sizePolicy().hasHeightForWidth())
        self.probe_start_height.setSizePolicy(sizePolicy)
        self.probe_start_height.setMinimumSize(QtCore.QSize(120, 0))
        self.probe_start_height.setMaximumSize(QtCore.QSize(160, 16777215))
        self.probe_start_height.setWrapping(True)
        self.probe_start_height.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.probe_start_height.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.probe_start_height.setAccelerated(True)
        self.probe_start_height.setDecimals(0)
        self.probe_start_height.setMinimum(1.0)
        self.probe_start_height.setMaximum(100.0)
        self.probe_start_height.setObjectName("probe_start_height")
        self.gridLayout_19.addWidget(self.probe_start_height, 2, 0, 1, 1)
        self.label_15 = QtWidgets.QLabel(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_15.sizePolicy().hasHeightForWidth())
        self.label_15.setSizePolicy(sizePolicy)
        self.label_15.setMinimumSize(QtCore.QSize(90, 0))
        self.label_15.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_15.setObjectName("label_15")
        self.gridLayout_19.addWidget(self.label_15, 2, 1, 1, 1)
        self.ohmic_max_attempts = DoubleScale(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ohmic_max_attempts.sizePolicy().hasHeightForWidth())
        self.ohmic_max_attempts.setSizePolicy(sizePolicy)
        self.ohmic_max_attempts.setMinimumSize(QtCore.QSize(120, 0))
        self.ohmic_max_attempts.setMaximumSize(QtCore.QSize(160, 16777215))
        self.ohmic_max_attempts.setWrapping(True)
        self.ohmic_max_attempts.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ohmic_max_attempts.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.ohmic_max_attempts.setAccelerated(True)
        self.ohmic_max_attempts.setDecimals(0)
        self.ohmic_max_attempts.setMaximum(10.0)
        self.ohmic_max_attempts.setProperty("value", 0.0)
        self.ohmic_max_attempts.setObjectName("ohmic_max_attempts")
        self.gridLayout_19.addWidget(self.ohmic_max_attempts, 4, 0, 1, 1)
        self.label_14 = QtWidgets.QLabel(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_14.sizePolicy().hasHeightForWidth())
        self.label_14.setSizePolicy(sizePolicy)
        self.label_14.setMinimumSize(QtCore.QSize(90, 0))
        self.label_14.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_14.setObjectName("label_14")
        self.gridLayout_19.addWidget(self.label_14, 1, 1, 1, 1)
        self.label_18 = QtWidgets.QLabel(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_18.sizePolicy().hasHeightForWidth())
        self.label_18.setSizePolicy(sizePolicy)
        self.label_18.setMinimumSize(QtCore.QSize(90, 0))
        self.label_18.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_18.setObjectName("label_18")
        self.gridLayout_19.addWidget(self.label_18, 5, 1, 1, 1)
        self.offset_feed_rate = DoubleScale(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.offset_feed_rate.sizePolicy().hasHeightForWidth())
        self.offset_feed_rate.setSizePolicy(sizePolicy)
        self.offset_feed_rate.setMinimumSize(QtCore.QSize(120, 0))
        self.offset_feed_rate.setMaximumSize(QtCore.QSize(160, 16777215))
        self.offset_feed_rate.setWrapping(True)
        self.offset_feed_rate.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.offset_feed_rate.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.offset_feed_rate.setAccelerated(True)
        self.offset_feed_rate.setDecimals(0)
        self.offset_feed_rate.setMinimum(100.0)
        self.offset_feed_rate.setObjectName("offset_feed_rate")
        self.gridLayout_19.addWidget(self.offset_feed_rate, 6, 0, 1, 1)
        self.offset_feed_rate_lbl = QtWidgets.QLabel(self.probe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.offset_feed_rate_lbl.sizePolicy().hasHeightForWidth())
        self.offset_feed_rate_lbl.setSizePolicy(sizePolicy)
        self.offset_feed_rate_lbl.setMinimumSize(QtCore.QSize(90, 0))
        self.offset_feed_rate_lbl.setMaximumSize(QtCore.QSize(130, 16777215))
        self.offset_feed_rate_lbl.setObjectName("offset_feed_rate_lbl")
        self.gridLayout_19.addWidget(self.offset_feed_rate_lbl, 6, 1, 1, 1)
        self.verticalLayout_39.addWidget(self.probe_grid)
        self.verticalLayout_45.addWidget(self.probe_config)
        self.safety_config = QtWidgets.QFrame(self.frame_32)
        self.safety_config.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.safety_config.setFrameShadow(QtWidgets.QFrame.Raised)
        self.safety_config.setObjectName("safety_config")
        self.verticalLayout_40 = QtWidgets.QVBoxLayout(self.safety_config)
        self.verticalLayout_40.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_40.setSpacing(4)
        self.verticalLayout_40.setObjectName("verticalLayout_40")
        self.safety_conf_lbl = QtWidgets.QLabel(self.safety_config)
        self.safety_conf_lbl.setMinimumSize(QtCore.QSize(0, 16))
        self.safety_conf_lbl.setMaximumSize(QtCore.QSize(16777215, 16))
        self.safety_conf_lbl.setAlignment(QtCore.Qt.AlignCenter)
        self.safety_conf_lbl.setObjectName("safety_conf_lbl")
        self.verticalLayout_40.addWidget(self.safety_conf_lbl)
        self.safety_grid = QtWidgets.QFrame(self.safety_config)
        self.safety_grid.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.safety_grid.setFrameShadow(QtWidgets.QFrame.Raised)
        self.safety_grid.setObjectName("safety_grid")
        self.gridLayout_23 = QtWidgets.QGridLayout(self.safety_grid)
        self.gridLayout_23.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_23.setHorizontalSpacing(4)
        self.gridLayout_23.setVerticalSpacing(7)
        self.gridLayout_23.setObjectName("gridLayout_23")
        self.safe_height = DoubleScale(self.safety_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.safe_height.sizePolicy().hasHeightForWidth())
        self.safe_height.setSizePolicy(sizePolicy)
        self.safe_height.setMinimumSize(QtCore.QSize(120, 0))
        self.safe_height.setMaximumSize(QtCore.QSize(160, 16777215))
        self.safe_height.setWrapping(True)
        self.safe_height.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.safe_height.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.safe_height.setAccelerated(True)
        self.safe_height.setDecimals(0)
        self.safe_height.setMinimum(1.0)
        self.safe_height.setMaximum(100.0)
        self.safe_height.setObjectName("safe_height")
        self.gridLayout_23.addWidget(self.safe_height, 0, 0, 1, 1)
        self.label_54 = QtWidgets.QLabel(self.safety_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_54.sizePolicy().hasHeightForWidth())
        self.label_54.setSizePolicy(sizePolicy)
        self.label_54.setMinimumSize(QtCore.QSize(90, 0))
        self.label_54.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_54.setObjectName("label_54")
        self.gridLayout_23.addWidget(self.label_54, 0, 1, 1, 1)
        self.verticalLayout_40.addWidget(self.safety_grid)
        self.verticalLayout_45.addWidget(self.safety_config)
        self.scribe_config = QtWidgets.QFrame(self.frame_32)
        self.scribe_config.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.scribe_config.setFrameShadow(QtWidgets.QFrame.Raised)
        self.scribe_config.setObjectName("scribe_config")
        self.verticalLayout_41 = QtWidgets.QVBoxLayout(self.scribe_config)
        self.verticalLayout_41.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_41.setSpacing(4)
        self.verticalLayout_41.setObjectName("verticalLayout_41")
        self.scribe_conf_lbl = QtWidgets.QLabel(self.scribe_config)
        self.scribe_conf_lbl.setMinimumSize(QtCore.QSize(0, 16))
        self.scribe_conf_lbl.setMaximumSize(QtCore.QSize(16777215, 16))
        self.scribe_conf_lbl.setAlignment(QtCore.Qt.AlignCenter)
        self.scribe_conf_lbl.setObjectName("scribe_conf_lbl")
        self.verticalLayout_41.addWidget(self.scribe_conf_lbl)
        self.scribe_grid = QtWidgets.QFrame(self.scribe_config)
        self.scribe_grid.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.scribe_grid.setFrameShadow(QtWidgets.QFrame.Raised)
        self.scribe_grid.setObjectName("scribe_grid")
        self.gridLayout_20 = QtWidgets.QGridLayout(self.scribe_grid)
        self.gridLayout_20.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_20.setHorizontalSpacing(4)
        self.gridLayout_20.setVerticalSpacing(7)
        self.gridLayout_20.setObjectName("gridLayout_20")
        self.scribe_arm_delay = DoubleScale(self.scribe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scribe_arm_delay.sizePolicy().hasHeightForWidth())
        self.scribe_arm_delay.setSizePolicy(sizePolicy)
        self.scribe_arm_delay.setMinimumSize(QtCore.QSize(120, 0))
        self.scribe_arm_delay.setMaximumSize(QtCore.QSize(160, 16777215))
        self.scribe_arm_delay.setWrapping(True)
        self.scribe_arm_delay.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.scribe_arm_delay.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.scribe_arm_delay.setAccelerated(True)
        self.scribe_arm_delay.setDecimals(1)
        self.scribe_arm_delay.setMaximum(10.0)
        self.scribe_arm_delay.setSingleStep(0.1)
        self.scribe_arm_delay.setProperty("value", 0.0)
        self.scribe_arm_delay.setObjectName("scribe_arm_delay")
        self.gridLayout_20.addWidget(self.scribe_arm_delay, 0, 0, 1, 1)
        self.label_55 = QtWidgets.QLabel(self.scribe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_55.sizePolicy().hasHeightForWidth())
        self.label_55.setSizePolicy(sizePolicy)
        self.label_55.setMinimumSize(QtCore.QSize(90, 0))
        self.label_55.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_55.setObjectName("label_55")
        self.gridLayout_20.addWidget(self.label_55, 0, 1, 1, 1)
        self.scribe_on_delay = DoubleScale(self.scribe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scribe_on_delay.sizePolicy().hasHeightForWidth())
        self.scribe_on_delay.setSizePolicy(sizePolicy)
        self.scribe_on_delay.setMinimumSize(QtCore.QSize(120, 0))
        self.scribe_on_delay.setMaximumSize(QtCore.QSize(160, 16777215))
        self.scribe_on_delay.setWrapping(True)
        self.scribe_on_delay.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.scribe_on_delay.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.scribe_on_delay.setAccelerated(True)
        self.scribe_on_delay.setDecimals(1)
        self.scribe_on_delay.setMaximum(10.0)
        self.scribe_on_delay.setSingleStep(0.1)
        self.scribe_on_delay.setProperty("value", 0.0)
        self.scribe_on_delay.setObjectName("scribe_on_delay")
        self.gridLayout_20.addWidget(self.scribe_on_delay, 1, 0, 1, 1)
        self.label_56 = QtWidgets.QLabel(self.scribe_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_56.sizePolicy().hasHeightForWidth())
        self.label_56.setSizePolicy(sizePolicy)
        self.label_56.setMinimumSize(QtCore.QSize(90, 0))
        self.label_56.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_56.setObjectName("label_56")
        self.gridLayout_20.addWidget(self.label_56, 1, 1, 1, 1)
        self.verticalLayout_41.addWidget(self.scribe_grid)
        self.verticalLayout_45.addWidget(self.scribe_config)
        self.spotting_config = QtWidgets.QFrame(self.frame_32)
        self.spotting_config.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.spotting_config.setFrameShadow(QtWidgets.QFrame.Raised)
        self.spotting_config.setObjectName("spotting_config")
        self.verticalLayout_42 = QtWidgets.QVBoxLayout(self.spotting_config)
        self.verticalLayout_42.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_42.setSpacing(4)
        self.verticalLayout_42.setObjectName("verticalLayout_42")
        self.spotting_conf_lbl = QtWidgets.QLabel(self.spotting_config)
        self.spotting_conf_lbl.setMinimumSize(QtCore.QSize(0, 16))
        self.spotting_conf_lbl.setMaximumSize(QtCore.QSize(16777215, 16))
        self.spotting_conf_lbl.setAlignment(QtCore.Qt.AlignCenter)
        self.spotting_conf_lbl.setObjectName("spotting_conf_lbl")
        self.verticalLayout_42.addWidget(self.spotting_conf_lbl)
        self.spotting_grid = QtWidgets.QFrame(self.spotting_config)
        self.spotting_grid.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.spotting_grid.setFrameShadow(QtWidgets.QFrame.Raised)
        self.spotting_grid.setObjectName("spotting_grid")
        self.gridLayout_21 = QtWidgets.QGridLayout(self.spotting_grid)
        self.gridLayout_21.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_21.setHorizontalSpacing(4)
        self.gridLayout_21.setVerticalSpacing(7)
        self.gridLayout_21.setObjectName("gridLayout_21")
        self.spotting_threshold = DoubleScale(self.spotting_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spotting_threshold.sizePolicy().hasHeightForWidth())
        self.spotting_threshold.setSizePolicy(sizePolicy)
        self.spotting_threshold.setMinimumSize(QtCore.QSize(120, 0))
        self.spotting_threshold.setMaximumSize(QtCore.QSize(160, 16777215))
        self.spotting_threshold.setWrapping(True)
        self.spotting_threshold.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.spotting_threshold.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.spotting_threshold.setAccelerated(True)
        self.spotting_threshold.setSuffix(" V")
        self.spotting_threshold.setDecimals(0)
        self.spotting_threshold.setMaximum(200.0)
        self.spotting_threshold.setProperty("value", 0.0)
        self.spotting_threshold.setObjectName("spotting_threshold")
        self.gridLayout_21.addWidget(self.spotting_threshold, 0, 0, 1, 1)
        self.label_58 = QtWidgets.QLabel(self.spotting_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_58.sizePolicy().hasHeightForWidth())
        self.label_58.setSizePolicy(sizePolicy)
        self.label_58.setMinimumSize(QtCore.QSize(90, 0))
        self.label_58.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_58.setObjectName("label_58")
        self.gridLayout_21.addWidget(self.label_58, 0, 1, 1, 1)
        self.spotting_time = DoubleScale(self.spotting_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spotting_time.sizePolicy().hasHeightForWidth())
        self.spotting_time.setSizePolicy(sizePolicy)
        self.spotting_time.setMinimumSize(QtCore.QSize(120, 0))
        self.spotting_time.setMaximumSize(QtCore.QSize(160, 16777215))
        self.spotting_time.setWrapping(True)
        self.spotting_time.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.spotting_time.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.spotting_time.setAccelerated(True)
        self.spotting_time.setSuffix(" mS")
        self.spotting_time.setDecimals(0)
        self.spotting_time.setMaximum(9999.0)
        self.spotting_time.setProperty("value", 0.0)
        self.spotting_time.setObjectName("spotting_time")
        self.gridLayout_21.addWidget(self.spotting_time, 1, 0, 1, 1)
        self.label_60 = QtWidgets.QLabel(self.spotting_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_60.sizePolicy().hasHeightForWidth())
        self.label_60.setSizePolicy(sizePolicy)
        self.label_60.setMinimumSize(QtCore.QSize(90, 0))
        self.label_60.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_60.setObjectName("label_60")
        self.gridLayout_21.addWidget(self.label_60, 1, 1, 1, 1)
        self.verticalLayout_42.addWidget(self.spotting_grid)
        self.verticalLayout_45.addWidget(self.spotting_config)
        self.pierce_config = QtWidgets.QFrame(self.frame_32)
        self.pierce_config.setMinimumSize(QtCore.QSize(0, 0))
        self.pierce_config.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.pierce_config.setFrameShadow(QtWidgets.QFrame.Raised)
        self.pierce_config.setObjectName("pierce_config")
        self.verticalLayout_62 = QtWidgets.QVBoxLayout(self.pierce_config)
        self.verticalLayout_62.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_62.setSpacing(4)
        self.verticalLayout_62.setObjectName("verticalLayout_62")
        self.pierce_conf_lbl = QtWidgets.QLabel(self.pierce_config)
        self.pierce_conf_lbl.setMinimumSize(QtCore.QSize(0, 16))
        self.pierce_conf_lbl.setMaximumSize(QtCore.QSize(16777215, 16))
        self.pierce_conf_lbl.setAlignment(QtCore.Qt.AlignCenter)
        self.pierce_conf_lbl.setObjectName("pierce_conf_lbl")
        self.verticalLayout_62.addWidget(self.pierce_conf_lbl)
        self.pierce_grid = QtWidgets.QFrame(self.pierce_config)
        self.pierce_grid.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.pierce_grid.setFrameShadow(QtWidgets.QFrame.Raised)
        self.pierce_grid.setObjectName("pierce_grid")
        self.gridLayout_16 = QtWidgets.QGridLayout(self.pierce_grid)
        self.gridLayout_16.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_16.setHorizontalSpacing(4)
        self.gridLayout_16.setVerticalSpacing(7)
        self.gridLayout_16.setObjectName("gridLayout_16")
        self.x_pierce_offset = DoubleScale(self.pierce_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.x_pierce_offset.sizePolicy().hasHeightForWidth())
        self.x_pierce_offset.setSizePolicy(sizePolicy)
        self.x_pierce_offset.setMinimumSize(QtCore.QSize(120, 0))
        self.x_pierce_offset.setMaximumSize(QtCore.QSize(160, 16777215))
        self.x_pierce_offset.setWrapping(True)
        self.x_pierce_offset.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.x_pierce_offset.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.x_pierce_offset.setAccelerated(True)
        self.x_pierce_offset.setDecimals(1)
        self.x_pierce_offset.setMinimum(-5.0)
        self.x_pierce_offset.setMaximum(5.0)
        self.x_pierce_offset.setSingleStep(0.1)
        self.x_pierce_offset.setProperty("value", 1.6)
        self.x_pierce_offset.setObjectName("x_pierce_offset")
        self.gridLayout_16.addWidget(self.x_pierce_offset, 0, 0, 1, 1)
        self.label_63 = QtWidgets.QLabel(self.pierce_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_63.sizePolicy().hasHeightForWidth())
        self.label_63.setSizePolicy(sizePolicy)
        self.label_63.setMinimumSize(QtCore.QSize(90, 0))
        self.label_63.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_63.setObjectName("label_63")
        self.gridLayout_16.addWidget(self.label_63, 0, 1, 1, 1)
        self.y_pierce_offset = DoubleScale(self.pierce_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.y_pierce_offset.sizePolicy().hasHeightForWidth())
        self.y_pierce_offset.setSizePolicy(sizePolicy)
        self.y_pierce_offset.setMinimumSize(QtCore.QSize(120, 0))
        self.y_pierce_offset.setMaximumSize(QtCore.QSize(160, 16777215))
        self.y_pierce_offset.setWrapping(True)
        self.y_pierce_offset.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.y_pierce_offset.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.y_pierce_offset.setDecimals(1)
        self.y_pierce_offset.setMinimum(-5.0)
        self.y_pierce_offset.setMaximum(5.0)
        self.y_pierce_offset.setSingleStep(0.1)
        self.y_pierce_offset.setProperty("value", 0.0)
        self.y_pierce_offset.setObjectName("y_pierce_offset")
        self.gridLayout_16.addWidget(self.y_pierce_offset, 1, 0, 1, 1)
        self.label_66 = QtWidgets.QLabel(self.pierce_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_66.sizePolicy().hasHeightForWidth())
        self.label_66.setSizePolicy(sizePolicy)
        self.label_66.setMinimumSize(QtCore.QSize(90, 0))
        self.label_66.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_66.setObjectName("label_66")
        self.gridLayout_16.addWidget(self.label_66, 1, 1, 1, 1)
        self.verticalLayout_62.addWidget(self.pierce_grid)
        self.verticalLayout_45.addWidget(self.pierce_config)
        self.motion_config = QtWidgets.QFrame(self.frame_32)
        self.motion_config.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.motion_config.setFrameShadow(QtWidgets.QFrame.Raised)
        self.motion_config.setObjectName("motion_config")
        self.verticalLayout_43 = QtWidgets.QVBoxLayout(self.motion_config)
        self.verticalLayout_43.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_43.setSpacing(4)
        self.verticalLayout_43.setObjectName("verticalLayout_43")
        self.motion_conf_lbl = QtWidgets.QLabel(self.motion_config)
        self.motion_conf_lbl.setMinimumSize(QtCore.QSize(0, 16))
        self.motion_conf_lbl.setMaximumSize(QtCore.QSize(16777215, 16))
        self.motion_conf_lbl.setAlignment(QtCore.Qt.AlignCenter)
        self.motion_conf_lbl.setObjectName("motion_conf_lbl")
        self.verticalLayout_43.addWidget(self.motion_conf_lbl)
        self.motion_grid = QtWidgets.QFrame(self.motion_config)
        self.motion_grid.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.motion_grid.setFrameShadow(QtWidgets.QFrame.Raised)
        self.motion_grid.setObjectName("motion_grid")
        self.gridLayout_22 = QtWidgets.QGridLayout(self.motion_grid)
        self.gridLayout_22.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_22.setHorizontalSpacing(4)
        self.gridLayout_22.setVerticalSpacing(7)
        self.gridLayout_22.setObjectName("gridLayout_22")
        self.setup_feed_rate = DoubleScale(self.motion_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.setup_feed_rate.sizePolicy().hasHeightForWidth())
        self.setup_feed_rate.setSizePolicy(sizePolicy)
        self.setup_feed_rate.setMinimumSize(QtCore.QSize(120, 0))
        self.setup_feed_rate.setMaximumSize(QtCore.QSize(160, 16777215))
        self.setup_feed_rate.setWrapping(True)
        self.setup_feed_rate.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.setup_feed_rate.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.setup_feed_rate.setAccelerated(True)
        self.setup_feed_rate.setDecimals(0)
        self.setup_feed_rate.setMinimum(100.0)
        self.setup_feed_rate.setMaximum(100.0)
        self.setup_feed_rate.setProperty("value", 100.0)
        self.setup_feed_rate.setObjectName("setup_feed_rate")
        self.gridLayout_22.addWidget(self.setup_feed_rate, 0, 0, 1, 1)
        self.label_61 = QtWidgets.QLabel(self.motion_grid)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_61.sizePolicy().hasHeightForWidth())
        self.label_61.setSizePolicy(sizePolicy)
        self.label_61.setMinimumSize(QtCore.QSize(90, 0))
        self.label_61.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_61.setObjectName("label_61")
        self.gridLayout_22.addWidget(self.label_61, 0, 2, 1, 1)
        self.verticalLayout_43.addWidget(self.motion_grid)
        self.verticalLayout_45.addWidget(self.motion_config)
        spacerItem24 = QtWidgets.QSpacerItem(20, 4, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_45.addItem(spacerItem24)
        self.horizontalLayout_17.addWidget(self.frame_32)
        self.horizontalLayout_17.setStretch(0, 1)
        self.horizontalLayout_17.setStretch(1, 1)
        self.verticalLayout_48.addWidget(self.frame_33)
        self.horizontalLayout_12.addWidget(self.config_frame)
        spacerItem25 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_12.addItem(spacerItem25)
        self.materials_frame = QtWidgets.QFrame(self.param_tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.materials_frame.sizePolicy().hasHeightForWidth())
        self.materials_frame.setSizePolicy(sizePolicy)
        self.materials_frame.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.materials_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.materials_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.materials_frame.setObjectName("materials_frame")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.materials_frame)
        self.verticalLayout_4.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_4.setSpacing(4)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.frame_45 = QtWidgets.QFrame(self.materials_frame)
        self.frame_45.setMinimumSize(QtCore.QSize(0, 0))
        self.frame_45.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_45.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_45.setObjectName("frame_45")
        self.horizontalLayout_45 = QtWidgets.QHBoxLayout(self.frame_45)
        self.horizontalLayout_45.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_45.setSpacing(1)
        self.horizontalLayout_45.setObjectName("horizontalLayout_45")
        self.save_material = PushButton(self.frame_45)
        self.save_material.setMinimumSize(QtCore.QSize(60, 16))
        self.save_material.setMaximumSize(QtCore.QSize(60, 16))
        self.save_material.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.save_material.setObjectName("save_material")
        self.horizontalLayout_45.addWidget(self.save_material)
        self.new_material = PushButton(self.frame_45)
        self.new_material.setMinimumSize(QtCore.QSize(60, 16))
        self.new_material.setMaximumSize(QtCore.QSize(60, 16))
        self.new_material.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.new_material.setObjectName("new_material")
        self.horizontalLayout_45.addWidget(self.new_material)
        self.materials_label = QtWidgets.QLabel(self.frame_45)
        self.materials_label.setMinimumSize(QtCore.QSize(0, 16))
        self.materials_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.materials_label.setAlignment(QtCore.Qt.AlignCenter)
        self.materials_label.setObjectName("materials_label")
        self.horizontalLayout_45.addWidget(self.materials_label)
        self.delete_material = PushButton(self.frame_45)
        self.delete_material.setMinimumSize(QtCore.QSize(60, 16))
        self.delete_material.setMaximumSize(QtCore.QSize(60, 16))
        self.delete_material.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.delete_material.setObjectName("delete_material")
        self.horizontalLayout_45.addWidget(self.delete_material)
        self.reload_material = PushButton(self.frame_45)
        self.reload_material.setMinimumSize(QtCore.QSize(60, 16))
        self.reload_material.setMaximumSize(QtCore.QSize(60, 16))
        self.reload_material.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.reload_material.setObjectName("reload_material")
        self.horizontalLayout_45.addWidget(self.reload_material)
        self.verticalLayout_4.addWidget(self.frame_45)
        self.frame_49 = QtWidgets.QFrame(self.materials_frame)
        self.frame_49.setMinimumSize(QtCore.QSize(0, 247))
        self.frame_49.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_49.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_49.setObjectName("frame_49")
        self.gridLayout_13 = QtWidgets.QGridLayout(self.frame_49)
        self.gridLayout_13.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_13.setHorizontalSpacing(4)
        self.gridLayout_13.setVerticalSpacing(8)
        self.gridLayout_13.setObjectName("gridLayout_13")
        self.label_9 = QtWidgets.QLabel(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_9.sizePolicy().hasHeightForWidth())
        self.label_9.setSizePolicy(sizePolicy)
        self.label_9.setMinimumSize(QtCore.QSize(90, 0))
        self.label_9.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_9.setObjectName("label_9")
        self.gridLayout_13.addWidget(self.label_9, 5, 1, 1, 1)
        self.label_65 = QtWidgets.QLabel(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_65.sizePolicy().hasHeightForWidth())
        self.label_65.setSizePolicy(sizePolicy)
        self.label_65.setMinimumSize(QtCore.QSize(90, 0))
        self.label_65.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_65.setObjectName("label_65")
        self.gridLayout_13.addWidget(self.label_65, 6, 1, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setMinimumSize(QtCore.QSize(90, 0))
        self.label_5.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_5.setObjectName("label_5")
        self.gridLayout_13.addWidget(self.label_5, 2, 1, 1, 1)
        self.label_76 = QtWidgets.QLabel(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_76.sizePolicy().hasHeightForWidth())
        self.label_76.setSizePolicy(sizePolicy)
        self.label_76.setMinimumSize(QtCore.QSize(90, 0))
        self.label_76.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_76.setObjectName("label_76")
        self.gridLayout_13.addWidget(self.label_76, 9, 1, 1, 1)
        self.cut_height = DoubleScale(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_height.sizePolicy().hasHeightForWidth())
        self.cut_height.setSizePolicy(sizePolicy)
        self.cut_height.setMinimumSize(QtCore.QSize(120, 0))
        self.cut_height.setMaximumSize(QtCore.QSize(160, 16777215))
        self.cut_height.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.cut_height.setWrapping(True)
        self.cut_height.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cut_height.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.cut_height.setAccelerated(True)
        self.cut_height.setDecimals(2)
        self.cut_height.setMaximum(25.0)
        self.cut_height.setSingleStep(0.01)
        self.cut_height.setProperty("value", 0.0)
        self.cut_height.setObjectName("cut_height")
        self.gridLayout_13.addWidget(self.cut_height, 4, 0, 1, 1)
        self.label_75 = QtWidgets.QLabel(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_75.sizePolicy().hasHeightForWidth())
        self.label_75.setSizePolicy(sizePolicy)
        self.label_75.setMinimumSize(QtCore.QSize(90, 0))
        self.label_75.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_75.setObjectName("label_75")
        self.gridLayout_13.addWidget(self.label_75, 8, 1, 1, 1)
        self.puddle_jump_delay = DoubleScale(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.puddle_jump_delay.sizePolicy().hasHeightForWidth())
        self.puddle_jump_delay.setSizePolicy(sizePolicy)
        self.puddle_jump_delay.setMinimumSize(QtCore.QSize(120, 0))
        self.puddle_jump_delay.setMaximumSize(QtCore.QSize(160, 16777215))
        self.puddle_jump_delay.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.puddle_jump_delay.setWrapping(True)
        self.puddle_jump_delay.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.puddle_jump_delay.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.puddle_jump_delay.setAccelerated(True)
        self.puddle_jump_delay.setDecimals(2)
        self.puddle_jump_delay.setMaximum(10.0)
        self.puddle_jump_delay.setSingleStep(0.01)
        self.puddle_jump_delay.setProperty("value", 0.0)
        self.puddle_jump_delay.setObjectName("puddle_jump_delay")
        self.gridLayout_13.addWidget(self.puddle_jump_delay, 9, 0, 1, 1)
        self.pause_at_end = DoubleScale(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pause_at_end.sizePolicy().hasHeightForWidth())
        self.pause_at_end.setSizePolicy(sizePolicy)
        self.pause_at_end.setMinimumSize(QtCore.QSize(120, 0))
        self.pause_at_end.setMaximumSize(QtCore.QSize(160, 16777215))
        self.pause_at_end.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.pause_at_end.setWrapping(True)
        self.pause_at_end.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pause_at_end.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.pause_at_end.setAccelerated(True)
        self.pause_at_end.setDecimals(1)
        self.pause_at_end.setMaximum(10.0)
        self.pause_at_end.setSingleStep(0.1)
        self.pause_at_end.setProperty("value", 0.0)
        self.pause_at_end.setObjectName("pause_at_end")
        self.gridLayout_13.addWidget(self.pause_at_end, 10, 0, 1, 1)
        self.label_77 = QtWidgets.QLabel(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_77.sizePolicy().hasHeightForWidth())
        self.label_77.setSizePolicy(sizePolicy)
        self.label_77.setMinimumSize(QtCore.QSize(90, 0))
        self.label_77.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_77.setObjectName("label_77")
        self.gridLayout_13.addWidget(self.label_77, 10, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setMinimumSize(QtCore.QSize(90, 0))
        self.label_4.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_4.setObjectName("label_4")
        self.gridLayout_13.addWidget(self.label_4, 1, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_7.sizePolicy().hasHeightForWidth())
        self.label_7.setSizePolicy(sizePolicy)
        self.label_7.setMinimumSize(QtCore.QSize(90, 0))
        self.label_7.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_7.setObjectName("label_7")
        self.gridLayout_13.addWidget(self.label_7, 4, 1, 1, 1)
        self.gas_pressure = DoubleScale(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gas_pressure.sizePolicy().hasHeightForWidth())
        self.gas_pressure.setSizePolicy(sizePolicy)
        self.gas_pressure.setMinimumSize(QtCore.QSize(120, 0))
        self.gas_pressure.setMaximumSize(QtCore.QSize(160, 16777215))
        self.gas_pressure.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.gas_pressure.setWrapping(True)
        self.gas_pressure.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.gas_pressure.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.gas_pressure.setAccelerated(True)
        self.gas_pressure.setSuffix(" psi")
        self.gas_pressure.setDecimals(1)
        self.gas_pressure.setMinimum(0.0)
        self.gas_pressure.setMaximum(10.0)
        self.gas_pressure.setSingleStep(0.1)
        self.gas_pressure.setProperty("value", 0.1)
        self.gas_pressure.setObjectName("gas_pressure")
        self.gridLayout_13.addWidget(self.gas_pressure, 11, 0, 1, 1)
        self.puddle_jump_height = DoubleScale(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.puddle_jump_height.sizePolicy().hasHeightForWidth())
        self.puddle_jump_height.setSizePolicy(sizePolicy)
        self.puddle_jump_height.setMinimumSize(QtCore.QSize(120, 0))
        self.puddle_jump_height.setMaximumSize(QtCore.QSize(160, 16777215))
        self.puddle_jump_height.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.puddle_jump_height.setWrapping(True)
        self.puddle_jump_height.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.puddle_jump_height.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.puddle_jump_height.setAccelerated(True)
        self.puddle_jump_height.setSuffix(" %")
        self.puddle_jump_height.setDecimals(0)
        self.puddle_jump_height.setMaximum(200.0)
        self.puddle_jump_height.setProperty("value", 0.0)
        self.puddle_jump_height.setObjectName("puddle_jump_height")
        self.gridLayout_13.addWidget(self.puddle_jump_height, 8, 0, 1, 1)
        self.pierce_delay = DoubleScale(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pierce_delay.sizePolicy().hasHeightForWidth())
        self.pierce_delay.setSizePolicy(sizePolicy)
        self.pierce_delay.setMinimumSize(QtCore.QSize(120, 0))
        self.pierce_delay.setMaximumSize(QtCore.QSize(160, 16777215))
        self.pierce_delay.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.pierce_delay.setWrapping(True)
        self.pierce_delay.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pierce_delay.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.pierce_delay.setAccelerated(True)
        self.pierce_delay.setDecimals(1)
        self.pierce_delay.setMaximum(10.0)
        self.pierce_delay.setSingleStep(0.1)
        self.pierce_delay.setProperty("value", 0.0)
        self.pierce_delay.setObjectName("pierce_delay")
        self.gridLayout_13.addWidget(self.pierce_delay, 3, 0, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
        self.label_6.setSizePolicy(sizePolicy)
        self.label_6.setMinimumSize(QtCore.QSize(90, 0))
        self.label_6.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_6.setObjectName("label_6")
        self.gridLayout_13.addWidget(self.label_6, 3, 1, 1, 1)
        self.cut_mode_label = QtWidgets.QLabel(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_mode_label.sizePolicy().hasHeightForWidth())
        self.cut_mode_label.setSizePolicy(sizePolicy)
        self.cut_mode_label.setMinimumSize(QtCore.QSize(90, 0))
        self.cut_mode_label.setMaximumSize(QtCore.QSize(130, 16777215))
        self.cut_mode_label.setObjectName("cut_mode_label")
        self.gridLayout_13.addWidget(self.cut_mode_label, 12, 1, 1, 1)
        self.cut_feed_rate = DoubleScale(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_feed_rate.sizePolicy().hasHeightForWidth())
        self.cut_feed_rate.setSizePolicy(sizePolicy)
        self.cut_feed_rate.setMinimumSize(QtCore.QSize(120, 0))
        self.cut_feed_rate.setMaximumSize(QtCore.QSize(160, 16777215))
        self.cut_feed_rate.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.cut_feed_rate.setWrapping(True)
        self.cut_feed_rate.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cut_feed_rate.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.cut_feed_rate.setAccelerated(True)
        self.cut_feed_rate.setDecimals(0)
        self.cut_feed_rate.setMaximum(20000.0)
        self.cut_feed_rate.setProperty("value", 0.0)
        self.cut_feed_rate.setObjectName("cut_feed_rate")
        self.gridLayout_13.addWidget(self.cut_feed_rate, 5, 0, 1, 1)
        self.cut_amps = DoubleScale(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_amps.sizePolicy().hasHeightForWidth())
        self.cut_amps.setSizePolicy(sizePolicy)
        self.cut_amps.setMinimumSize(QtCore.QSize(120, 0))
        self.cut_amps.setMaximumSize(QtCore.QSize(160, 16777215))
        self.cut_amps.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.cut_amps.setWrapping(True)
        self.cut_amps.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cut_amps.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.cut_amps.setAccelerated(True)
        self.cut_amps.setDecimals(0)
        self.cut_amps.setMinimum(10.0)
        self.cut_amps.setMaximum(999.0)
        self.cut_amps.setProperty("value", 10.0)
        self.cut_amps.setObjectName("cut_amps")
        self.gridLayout_13.addWidget(self.cut_amps, 6, 0, 1, 1)
        self.gas_pressure_label = QtWidgets.QLabel(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gas_pressure_label.sizePolicy().hasHeightForWidth())
        self.gas_pressure_label.setSizePolicy(sizePolicy)
        self.gas_pressure_label.setMinimumSize(QtCore.QSize(90, 0))
        self.gas_pressure_label.setMaximumSize(QtCore.QSize(130, 16777215))
        self.gas_pressure_label.setObjectName("gas_pressure_label")
        self.gridLayout_13.addWidget(self.gas_pressure_label, 11, 1, 1, 1)
        self.cut_mode = DoubleScale(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_mode.sizePolicy().hasHeightForWidth())
        self.cut_mode.setSizePolicy(sizePolicy)
        self.cut_mode.setMinimumSize(QtCore.QSize(120, 0))
        self.cut_mode.setMaximumSize(QtCore.QSize(160, 16777215))
        self.cut_mode.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.cut_mode.setWrapping(True)
        self.cut_mode.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cut_mode.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.cut_mode.setAccelerated(True)
        self.cut_mode.setDecimals(0)
        self.cut_mode.setMinimum(1.0)
        self.cut_mode.setMaximum(3.0)
        self.cut_mode.setProperty("value", 3.0)
        self.cut_mode.setObjectName("cut_mode")
        self.gridLayout_13.addWidget(self.cut_mode, 12, 0, 1, 1)
        self.cut_volts = DoubleScale(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_volts.sizePolicy().hasHeightForWidth())
        self.cut_volts.setSizePolicy(sizePolicy)
        self.cut_volts.setMinimumSize(QtCore.QSize(120, 0))
        self.cut_volts.setMaximumSize(QtCore.QSize(160, 16777215))
        self.cut_volts.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.cut_volts.setWrapping(True)
        self.cut_volts.setFrame(True)
        self.cut_volts.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cut_volts.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.cut_volts.setAccelerated(True)
        self.cut_volts.setDecimals(1)
        self.cut_volts.setMinimum(50.0)
        self.cut_volts.setMaximum(300.0)
        self.cut_volts.setSingleStep(0.1)
        self.cut_volts.setProperty("value", 50.0)
        self.cut_volts.setObjectName("cut_volts")
        self.gridLayout_13.addWidget(self.cut_volts, 7, 0, 1, 1)
        self.label_74 = QtWidgets.QLabel(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_74.sizePolicy().hasHeightForWidth())
        self.label_74.setSizePolicy(sizePolicy)
        self.label_74.setMinimumSize(QtCore.QSize(90, 0))
        self.label_74.setMaximumSize(QtCore.QSize(130, 16777215))
        self.label_74.setObjectName("label_74")
        self.gridLayout_13.addWidget(self.label_74, 7, 1, 1, 1)
        self.pierce_height = DoubleScale(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pierce_height.sizePolicy().hasHeightForWidth())
        self.pierce_height.setSizePolicy(sizePolicy)
        self.pierce_height.setMinimumSize(QtCore.QSize(120, 0))
        self.pierce_height.setMaximumSize(QtCore.QSize(160, 16777215))
        self.pierce_height.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.pierce_height.setWrapping(True)
        self.pierce_height.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pierce_height.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.pierce_height.setAccelerated(True)
        self.pierce_height.setDecimals(2)
        self.pierce_height.setMaximum(25.0)
        self.pierce_height.setSingleStep(0.01)
        self.pierce_height.setProperty("value", 0.0)
        self.pierce_height.setObjectName("pierce_height")
        self.gridLayout_13.addWidget(self.pierce_height, 2, 0, 1, 1)
        self.materials_box = QtWidgets.QComboBox(self.frame_49)
        self.materials_box.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.materials_box.setCurrentText("")
        self.materials_box.setObjectName("materials_box")
        self.gridLayout_13.addWidget(self.materials_box, 0, 0, 1, 2)
        self.kerf_width = DoubleScale(self.frame_49)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.kerf_width.sizePolicy().hasHeightForWidth())
        self.kerf_width.setSizePolicy(sizePolicy)
        self.kerf_width.setMinimumSize(QtCore.QSize(120, 0))
        self.kerf_width.setMaximumSize(QtCore.QSize(160, 16777215))
        self.kerf_width.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.kerf_width.setWrapping(True)
        self.kerf_width.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.kerf_width.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.kerf_width.setAccelerated(True)
        self.kerf_width.setDecimals(2)
        self.kerf_width.setMaximum(5.0)
        self.kerf_width.setSingleStep(0.01)
        self.kerf_width.setProperty("value", 0.0)
        self.kerf_width.setObjectName("kerf_width")
        self.gridLayout_13.addWidget(self.kerf_width, 1, 0, 1, 1)
        self.verticalLayout_4.addWidget(self.frame_49)
        spacerItem26 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem26)
        self.horizontalLayout_12.addWidget(self.materials_frame)
        self.horizontalLayout_12.setStretch(1, 1)
        self.main_tab_widget.addTab(self.param_tab, "")
        self.settings_tab = QtWidgets.QWidget()
        self.settings_tab.setObjectName("settings_tab")
        self.horizontalLayout_37 = QtWidgets.QHBoxLayout(self.settings_tab)
        self.horizontalLayout_37.setContentsMargins(4, 4, 4, 4)
        self.horizontalLayout_37.setSpacing(2)
        self.horizontalLayout_37.setObjectName("horizontalLayout_37")
        self.gui_frame = QtWidgets.QFrame(self.settings_tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gui_frame.sizePolicy().hasHeightForWidth())
        self.gui_frame.setSizePolicy(sizePolicy)
        self.gui_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.gui_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.gui_frame.setObjectName("gui_frame")
        self.verticalLayout_44 = QtWidgets.QVBoxLayout(self.gui_frame)
        self.verticalLayout_44.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_44.setSpacing(10)
        self.verticalLayout_44.setObjectName("verticalLayout_44")
        self.gui_label = QtWidgets.QLabel(self.gui_frame)
        self.gui_label.setMinimumSize(QtCore.QSize(0, 16))
        self.gui_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.gui_label.setAlignment(QtCore.Qt.AlignCenter)
        self.gui_label.setObjectName("gui_label")
        self.verticalLayout_44.addWidget(self.gui_label)
        self.frame_19 = QtWidgets.QFrame(self.gui_frame)
        self.frame_19.setMinimumSize(QtCore.QSize(0, 0))
        self.frame_19.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frame_19.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_19.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_19.setObjectName("frame_19")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.frame_19)
        self.gridLayout_3.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_3.setHorizontalSpacing(4)
        self.gridLayout_3.setVerticalSpacing(10)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.color_estop = PushButton(self.frame_19)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.color_estop.sizePolicy().hasHeightForWidth())
        self.color_estop.setSizePolicy(sizePolicy)
        self.color_estop.setMinimumSize(QtCore.QSize(0, 0))
        self.color_estop.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_estop.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.color_estop.setObjectName("color_estop")
        self.gridLayout_3.addWidget(self.color_estop, 1, 4, 1, 1)
        self.color_preview_lbl = QtWidgets.QLabel(self.frame_19)
        self.color_preview_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.color_preview_lbl.setObjectName("color_preview_lbl")
        self.gridLayout_3.addWidget(self.color_preview_lbl, 3, 3, 1, 1)
        self.color_led = PushButton(self.frame_19)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.color_led.sizePolicy().hasHeightForWidth())
        self.color_led.setSizePolicy(sizePolicy)
        self.color_led.setMinimumSize(QtCore.QSize(0, 0))
        self.color_led.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_led.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.color_led.setObjectName("color_led")
        self.gridLayout_3.addWidget(self.color_led, 2, 0, 1, 1)
        self.color_estop_lbl = QtWidgets.QLabel(self.frame_19)
        self.color_estop_lbl.setMinimumSize(QtCore.QSize(0, 24))
        self.color_estop_lbl.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_estop_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.color_estop_lbl.setObjectName("color_estop_lbl")
        self.gridLayout_3.addWidget(self.color_estop_lbl, 1, 3, 1, 1)
        self.color_frams_lbl = QtWidgets.QLabel(self.frame_19)
        self.color_frams_lbl.setMinimumSize(QtCore.QSize(0, 24))
        self.color_frams_lbl.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_frams_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.color_frams_lbl.setObjectName("color_frams_lbl")
        self.gridLayout_3.addWidget(self.color_frams_lbl, 0, 3, 1, 1)
        self.color_led_lbl = QtWidgets.QLabel(self.frame_19)
        self.color_led_lbl.setMinimumSize(QtCore.QSize(0, 24))
        self.color_led_lbl.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_led_lbl.setObjectName("color_led_lbl")
        self.gridLayout_3.addWidget(self.color_led_lbl, 2, 1, 1, 1)
        self.color_backgrnd_lbl = QtWidgets.QLabel(self.frame_19)
        self.color_backgrnd_lbl.setMinimumSize(QtCore.QSize(0, 24))
        self.color_backgrnd_lbl.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_backgrnd_lbl.setObjectName("color_backgrnd_lbl")
        self.gridLayout_3.addWidget(self.color_backgrnd_lbl, 3, 1, 1, 1)
        self.color_disabled = PushButton(self.frame_19)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.color_disabled.sizePolicy().hasHeightForWidth())
        self.color_disabled.setSizePolicy(sizePolicy)
        self.color_disabled.setMinimumSize(QtCore.QSize(0, 0))
        self.color_disabled.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_disabled.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.color_disabled.setObjectName("color_disabled")
        self.gridLayout_3.addWidget(self.color_disabled, 2, 4, 1, 1)
        self.color_backgrnd = PushButton(self.frame_19)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.color_backgrnd.sizePolicy().hasHeightForWidth())
        self.color_backgrnd.setSizePolicy(sizePolicy)
        self.color_backgrnd.setMinimumSize(QtCore.QSize(0, 0))
        self.color_backgrnd.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_backgrnd.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.color_backgrnd.setObjectName("color_backgrnd")
        self.gridLayout_3.addWidget(self.color_backgrnd, 3, 0, 1, 1)
        self.color_frams = PushButton(self.frame_19)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.color_frams.sizePolicy().hasHeightForWidth())
        self.color_frams.setSizePolicy(sizePolicy)
        self.color_frams.setMinimumSize(QtCore.QSize(0, 0))
        self.color_frams.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_frams.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.color_frams.setObjectName("color_frams")
        self.gridLayout_3.addWidget(self.color_frams, 0, 4, 1, 1)
        self.color_backgalt_lbl = QtWidgets.QLabel(self.frame_19)
        self.color_backgalt_lbl.setMinimumSize(QtCore.QSize(0, 24))
        self.color_backgalt_lbl.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_backgalt_lbl.setObjectName("color_backgalt_lbl")
        self.gridLayout_3.addWidget(self.color_backgalt_lbl, 4, 1, 1, 1)
        self.color_preview = PushButton(self.frame_19)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.color_preview.sizePolicy().hasHeightForWidth())
        self.color_preview.setSizePolicy(sizePolicy)
        self.color_preview.setMinimumSize(QtCore.QSize(0, 0))
        self.color_preview.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_preview.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.color_preview.setObjectName("color_preview")
        self.gridLayout_3.addWidget(self.color_preview, 3, 4, 1, 1)
        self.color_backgalt = PushButton(self.frame_19)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.color_backgalt.sizePolicy().hasHeightForWidth())
        self.color_backgalt.setSizePolicy(sizePolicy)
        self.color_backgalt.setMinimumSize(QtCore.QSize(0, 0))
        self.color_backgalt.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_backgalt.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.color_backgalt.setObjectName("color_backgalt")
        self.gridLayout_3.addWidget(self.color_backgalt, 4, 0, 1, 1)
        self.color_foregalt = PushButton(self.frame_19)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.color_foregalt.sizePolicy().hasHeightForWidth())
        self.color_foregalt.setSizePolicy(sizePolicy)
        self.color_foregalt.setMinimumSize(QtCore.QSize(0, 0))
        self.color_foregalt.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_foregalt.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.color_foregalt.setObjectName("color_foregalt")
        self.gridLayout_3.addWidget(self.color_foregalt, 1, 0, 1, 1)
        self.color_disabled_lbl = QtWidgets.QLabel(self.frame_19)
        self.color_disabled_lbl.setMinimumSize(QtCore.QSize(0, 24))
        self.color_disabled_lbl.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_disabled_lbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.color_disabled_lbl.setObjectName("color_disabled_lbl")
        self.gridLayout_3.addWidget(self.color_disabled_lbl, 2, 3, 1, 1)
        self.color_foregalt_lbl = QtWidgets.QLabel(self.frame_19)
        self.color_foregalt_lbl.setMinimumSize(QtCore.QSize(0, 24))
        self.color_foregalt_lbl.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_foregalt_lbl.setObjectName("color_foregalt_lbl")
        self.gridLayout_3.addWidget(self.color_foregalt_lbl, 1, 1, 1, 1)
        self.color_foregrnd_lbl = QtWidgets.QLabel(self.frame_19)
        self.color_foregrnd_lbl.setMinimumSize(QtCore.QSize(0, 24))
        self.color_foregrnd_lbl.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_foregrnd_lbl.setObjectName("color_foregrnd_lbl")
        self.gridLayout_3.addWidget(self.color_foregrnd_lbl, 0, 1, 1, 1)
        self.color_foregrnd = PushButton(self.frame_19)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.color_foregrnd.sizePolicy().hasHeightForWidth())
        self.color_foregrnd.setSizePolicy(sizePolicy)
        self.color_foregrnd.setMinimumSize(QtCore.QSize(0, 0))
        self.color_foregrnd.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.color_foregrnd.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.color_foregrnd.setObjectName("color_foregrnd")
        self.gridLayout_3.addWidget(self.color_foregrnd, 0, 0, 1, 1)
        spacerItem27 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem27, 0, 2, 1, 1)
        self.verticalLayout_44.addWidget(self.frame_19)
        spacerItem28 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_44.addItem(spacerItem28)
        self.frame_13 = QtWidgets.QFrame(self.gui_frame)
        self.frame_13.setMinimumSize(QtCore.QSize(0, 0))
        self.frame_13.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_13.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_13.setObjectName("frame_13")
        self.gridLayout_15 = QtWidgets.QGridLayout(self.frame_13)
        self.gridLayout_15.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_15.setHorizontalSpacing(4)
        self.gridLayout_15.setVerticalSpacing(10)
        self.gridLayout_15.setObjectName("gridLayout_15")
        self.label_33 = QtWidgets.QLabel(self.frame_13)
        self.label_33.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_33.setObjectName("label_33")
        self.gridLayout_15.addWidget(self.label_33, 1, 3, 1, 1)
        self.opt_stp = ActionButton(self.frame_13)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.opt_stp.sizePolicy().hasHeightForWidth())
        self.opt_stp.setSizePolicy(sizePolicy)
        self.opt_stp.setMinimumSize(QtCore.QSize(0, 0))
        self.opt_stp.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.opt_stp.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.opt_stp.setText("")
        self.opt_stp.setCheckable(True)
        self.opt_stp.setProperty("indicator_option", False)
        self.opt_stp.setProperty("indicator_HAL_pin_option", False)
        self.opt_stp.setProperty("indicator_status_option", False)
        self.opt_stp.setProperty("on_color", QtGui.QColor(255, 0, 0))
        self.opt_stp.setProperty("indicator_size", 0.2)
        self.opt_stp.setProperty("is_optional_stop_status", False)
        self.opt_stp.setProperty("optional_stop_action", True)
        self.opt_stp.setObjectName("opt_stp")
        self.gridLayout_15.addWidget(self.opt_stp, 7, 0, 1, 1)
        self.chk_keyboard_shortcuts = QtWidgets.QCheckBox(self.frame_13)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chk_keyboard_shortcuts.sizePolicy().hasHeightForWidth())
        self.chk_keyboard_shortcuts.setSizePolicy(sizePolicy)
        self.chk_keyboard_shortcuts.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.chk_keyboard_shortcuts.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.chk_keyboard_shortcuts.setText("")
        self.chk_keyboard_shortcuts.setObjectName("chk_keyboard_shortcuts")
        self.gridLayout_15.addWidget(self.chk_keyboard_shortcuts, 1, 4, 1, 1)
        spacerItem29 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_15.addItem(spacerItem29, 7, 2, 1, 1)
        self.label_20 = QtWidgets.QLabel(self.frame_13)
        self.label_20.setObjectName("label_20")
        self.gridLayout_15.addWidget(self.label_20, 2, 1, 1, 1)
        self.chk_overlay = QtWidgets.QCheckBox(self.frame_13)
        self.chk_overlay.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.chk_overlay.setText("")
        self.chk_overlay.setObjectName("chk_overlay")
        self.gridLayout_15.addWidget(self.chk_overlay, 2, 0, 1, 1)
        self.label_36 = QtWidgets.QLabel(self.frame_13)
        self.label_36.setObjectName("label_36")
        self.gridLayout_15.addWidget(self.label_36, 7, 1, 1, 1)
        self.chk_soft_keyboard = QtWidgets.QCheckBox(self.frame_13)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chk_soft_keyboard.sizePolicy().hasHeightForWidth())
        self.chk_soft_keyboard.setSizePolicy(sizePolicy)
        self.chk_soft_keyboard.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.chk_soft_keyboard.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.chk_soft_keyboard.setText("")
        self.chk_soft_keyboard.setObjectName("chk_soft_keyboard")
        self.gridLayout_15.addWidget(self.chk_soft_keyboard, 1, 0, 1, 1)
        self.opt_blk = ActionButton(self.frame_13)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.opt_blk.sizePolicy().hasHeightForWidth())
        self.opt_blk.setSizePolicy(sizePolicy)
        self.opt_blk.setMinimumSize(QtCore.QSize(0, 0))
        self.opt_blk.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.opt_blk.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.opt_blk.setText("")
        self.opt_blk.setCheckable(True)
        self.opt_blk.setProperty("indicator_option", False)
        self.opt_blk.setProperty("indicator_HAL_pin_option", False)
        self.opt_blk.setProperty("indicator_status_option", False)
        self.opt_blk.setProperty("on_color", QtGui.QColor(255, 0, 0))
        self.opt_blk.setProperty("indicator_size", 0.2)
        self.opt_blk.setProperty("is_block_delete_status", False)
        self.opt_blk.setProperty("block_delete_action", True)
        self.opt_blk.setObjectName("opt_blk")
        self.gridLayout_15.addWidget(self.opt_blk, 7, 4, 1, 1)
        self.label_46 = QtWidgets.QLabel(self.frame_13)
        self.label_46.setObjectName("label_46")
        self.gridLayout_15.addWidget(self.label_46, 3, 1, 1, 1)
        self.label_37 = QtWidgets.QLabel(self.frame_13)
        self.label_37.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_37.setObjectName("label_37")
        self.gridLayout_15.addWidget(self.label_37, 7, 3, 1, 1)
        self.chk_run_from_line = QtWidgets.QCheckBox(self.frame_13)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chk_run_from_line.sizePolicy().hasHeightForWidth())
        self.chk_run_from_line.setSizePolicy(sizePolicy)
        self.chk_run_from_line.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.chk_run_from_line.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.chk_run_from_line.setText("")
        self.chk_run_from_line.setObjectName("chk_run_from_line")
        self.gridLayout_15.addWidget(self.chk_run_from_line, 4, 0, 1, 1)
        self.label_26 = QtWidgets.QLabel(self.frame_13)
        self.label_26.setObjectName("label_26")
        self.gridLayout_15.addWidget(self.label_26, 1, 1, 1, 1)
        self.chk_exit_warning = QtWidgets.QCheckBox(self.frame_13)
        self.chk_exit_warning.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.chk_exit_warning.setText("")
        self.chk_exit_warning.setObjectName("chk_exit_warning")
        self.gridLayout_15.addWidget(self.chk_exit_warning, 3, 0, 1, 1)
        self.chk_tool_tips = QtWidgets.QCheckBox(self.frame_13)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chk_tool_tips.sizePolicy().hasHeightForWidth())
        self.chk_tool_tips.setSizePolicy(sizePolicy)
        self.chk_tool_tips.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.chk_tool_tips.setText("")
        self.chk_tool_tips.setObjectName("chk_tool_tips")
        self.gridLayout_15.addWidget(self.chk_tool_tips, 2, 4, 1, 1)
        self.label_38 = QtWidgets.QLabel(self.frame_13)
        self.label_38.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_38.setObjectName("label_38")
        self.gridLayout_15.addWidget(self.label_38, 2, 3, 1, 1)
        self.chk_override_limits = QtWidgets.QCheckBox(self.frame_13)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chk_override_limits.sizePolicy().hasHeightForWidth())
        self.chk_override_limits.setSizePolicy(sizePolicy)
        self.chk_override_limits.setMinimumSize(QtCore.QSize(0, 0))
        self.chk_override_limits.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.chk_override_limits.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.chk_override_limits.setText("")
        self.chk_override_limits.setObjectName("chk_override_limits")
        self.gridLayout_15.addWidget(self.chk_override_limits, 3, 4, 1, 1)
        self.label_42 = QtWidgets.QLabel(self.frame_13)
        self.label_42.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_42.setObjectName("label_42")
        self.gridLayout_15.addWidget(self.label_42, 3, 3, 1, 1)
        self.chk_override_jog = QtWidgets.QCheckBox(self.frame_13)
        self.chk_override_jog.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.chk_override_jog.setText("")
        self.chk_override_jog.setObjectName("chk_override_jog")
        self.gridLayout_15.addWidget(self.chk_override_jog, 4, 4, 1, 1)
        self.label_48 = QtWidgets.QLabel(self.frame_13)
        self.label_48.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_48.setObjectName("label_48")
        self.gridLayout_15.addWidget(self.label_48, 4, 3, 1, 1)
        self.label_39 = QtWidgets.QLabel(self.frame_13)
        self.label_39.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_39.setObjectName("label_39")
        self.gridLayout_15.addWidget(self.label_39, 4, 1, 1, 1)
        self.verticalLayout_44.addWidget(self.frame_13)
        spacerItem30 = QtWidgets.QSpacerItem(20, 82, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_44.addItem(spacerItem30)
        self.frame_11 = QtWidgets.QFrame(self.gui_frame)
        self.frame_11.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_11.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_11.setObjectName("frame_11")
        self.gridLayout_14 = QtWidgets.QGridLayout(self.frame_11)
        self.gridLayout_14.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_14.setHorizontalSpacing(4)
        self.gridLayout_14.setVerticalSpacing(10)
        self.gridLayout_14.setObjectName("gridLayout_14")
        self.label_13 = QtWidgets.QLabel(self.frame_11)
        self.label_13.setObjectName("label_13")
        self.gridLayout_14.addWidget(self.label_13, 0, 1, 1, 1)
        self.label_40 = QtWidgets.QLabel(self.frame_11)
        self.label_40.setObjectName("label_40")
        self.gridLayout_14.addWidget(self.label_40, 4, 1, 1, 1)
        self.grid_size = DoubleScale(self.frame_11)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grid_size.sizePolicy().hasHeightForWidth())
        self.grid_size.setSizePolicy(sizePolicy)
        self.grid_size.setMinimumSize(QtCore.QSize(120, 0))
        self.grid_size.setMaximumSize(QtCore.QSize(120, 16777215))
        self.grid_size.setWrapping(True)
        self.grid_size.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.grid_size.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.grid_size.setAccelerated(True)
        self.grid_size.setDecimals(2)
        self.grid_size.setMinimum(0.0)
        self.grid_size.setMaximum(1000.0)
        self.grid_size.setProperty("value", 0.0)
        self.grid_size.setObjectName("grid_size")
        self.gridLayout_14.addWidget(self.grid_size, 0, 0, 1, 1)
        self.table_zoom_scale = DoubleScale(self.frame_11)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.table_zoom_scale.sizePolicy().hasHeightForWidth())
        self.table_zoom_scale.setSizePolicy(sizePolicy)
        self.table_zoom_scale.setMinimumSize(QtCore.QSize(120, 0))
        self.table_zoom_scale.setMaximumSize(QtCore.QSize(120, 16777215))
        self.table_zoom_scale.setWrapping(True)
        self.table_zoom_scale.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.table_zoom_scale.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.table_zoom_scale.setAccelerated(True)
        self.table_zoom_scale.setSuffix("")
        self.table_zoom_scale.setDecimals(2)
        self.table_zoom_scale.setMinimum(0.1)
        self.table_zoom_scale.setMaximum(10.0)
        self.table_zoom_scale.setSingleStep(0.01)
        self.table_zoom_scale.setProperty("value", 0.5)
        self.table_zoom_scale.setObjectName("table_zoom_scale")
        self.gridLayout_14.addWidget(self.table_zoom_scale, 4, 0, 1, 1)
        self.cone_size = DoubleScale(self.frame_11)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cone_size.sizePolicy().hasHeightForWidth())
        self.cone_size.setSizePolicy(sizePolicy)
        self.cone_size.setMinimumSize(QtCore.QSize(120, 0))
        self.cone_size.setMaximumSize(QtCore.QSize(120, 16777215))
        self.cone_size.setWrapping(True)
        self.cone_size.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cone_size.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
        self.cone_size.setAccelerated(True)
        self.cone_size.setSuffix("")
        self.cone_size.setDecimals(2)
        self.cone_size.setMinimum(0.1)
        self.cone_size.setMaximum(1.0)
        self.cone_size.setSingleStep(0.01)
        self.cone_size.setProperty("value", 0.5)
        self.cone_size.setObjectName("cone_size")
        self.gridLayout_14.addWidget(self.cone_size, 1, 0, 1, 1)
        self.label_10 = QtWidgets.QLabel(self.frame_11)
        self.label_10.setObjectName("label_10")
        self.gridLayout_14.addWidget(self.label_10, 1, 1, 1, 1)
        self.default_material = QtWidgets.QComboBox(self.frame_11)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.default_material.sizePolicy().hasHeightForWidth())
        self.default_material.setSizePolicy(sizePolicy)
        self.default_material.setMinimumSize(QtCore.QSize(120, 0))
        self.default_material.setMaximumSize(QtCore.QSize(120, 16777215))
        self.default_material.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.default_material.setObjectName("default_material")
        self.gridLayout_14.addWidget(self.default_material, 5, 0, 1, 1)
        self.label_51 = QtWidgets.QLabel(self.frame_11)
        self.label_51.setObjectName("label_51")
        self.gridLayout_14.addWidget(self.label_51, 5, 1, 1, 1)
        self.verticalLayout_44.addWidget(self.frame_11)
        spacerItem31 = QtWidgets.QSpacerItem(20, 82, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_44.addItem(spacerItem31)
        self.horizontalLayout_37.addWidget(self.gui_frame)
        spacerItem32 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_37.addItem(spacerItem32)
        self.entries_frame = QtWidgets.QFrame(self.settings_tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.entries_frame.sizePolicy().hasHeightForWidth())
        self.entries_frame.setSizePolicy(sizePolicy)
        self.entries_frame.setMinimumSize(QtCore.QSize(0, 0))
        self.entries_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.entries_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.entries_frame.setObjectName("entries_frame")
        self.verticalLayout_56 = QtWidgets.QVBoxLayout(self.entries_frame)
        self.verticalLayout_56.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_56.setSpacing(4)
        self.verticalLayout_56.setObjectName("verticalLayout_56")
        self.ub_frame = QtWidgets.QFrame(self.entries_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_frame.sizePolicy().hasHeightForWidth())
        self.ub_frame.setSizePolicy(sizePolicy)
        self.ub_frame.setMinimumSize(QtCore.QSize(720, 0))
        self.ub_frame.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ub_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.ub_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.ub_frame.setObjectName("ub_frame")
        self.verticalLayout_57 = QtWidgets.QVBoxLayout(self.ub_frame)
        self.verticalLayout_57.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_57.setSpacing(4)
        self.verticalLayout_57.setObjectName("verticalLayout_57")
        self.frame_42 = QtWidgets.QFrame(self.ub_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_42.sizePolicy().hasHeightForWidth())
        self.frame_42.setSizePolicy(sizePolicy)
        self.frame_42.setMinimumSize(QtCore.QSize(0, 0))
        self.frame_42.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_42.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_42.setObjectName("frame_42")
        self.horizontalLayout_38 = QtWidgets.QHBoxLayout(self.frame_42)
        self.horizontalLayout_38.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_38.setSpacing(1)
        self.horizontalLayout_38.setObjectName("horizontalLayout_38")
        self.ub_save = QtWidgets.QPushButton(self.frame_42)
        self.ub_save.setMinimumSize(QtCore.QSize(60, 16))
        self.ub_save.setMaximumSize(QtCore.QSize(60, 16))
        self.ub_save.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.ub_save.setObjectName("ub_save")
        self.horizontalLayout_38.addWidget(self.ub_save)
        self.ub_label = QtWidgets.QLabel(self.frame_42)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_label.sizePolicy().hasHeightForWidth())
        self.ub_label.setSizePolicy(sizePolicy)
        self.ub_label.setMinimumSize(QtCore.QSize(60, 16))
        self.ub_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.ub_label.setAlignment(QtCore.Qt.AlignCenter)
        self.ub_label.setObjectName("ub_label")
        self.horizontalLayout_38.addWidget(self.ub_label)
        self.ub_reload = QtWidgets.QPushButton(self.frame_42)
        self.ub_reload.setMinimumSize(QtCore.QSize(60, 16))
        self.ub_reload.setMaximumSize(QtCore.QSize(60, 16))
        self.ub_reload.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.ub_reload.setObjectName("ub_reload")
        self.horizontalLayout_38.addWidget(self.ub_reload)
        self.verticalLayout_57.addWidget(self.frame_42)
        self.frame_40 = QtWidgets.QFrame(self.ub_frame)
        self.frame_40.setMinimumSize(QtCore.QSize(0, 30))
        self.frame_40.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_40.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_40.setObjectName("frame_40")
        self.horizontalLayout_41 = QtWidgets.QHBoxLayout(self.frame_40)
        self.horizontalLayout_41.setContentsMargins(4, 0, 4, 0)
        self.horizontalLayout_41.setSpacing(8)
        self.horizontalLayout_41.setObjectName("horizontalLayout_41")
        self.ub_num = QtWidgets.QLabel(self.frame_40)
        self.ub_num.setMinimumSize(QtCore.QSize(17, 20))
        self.ub_num.setMaximumSize(QtCore.QSize(17, 20))
        self.ub_num.setText("")
        self.ub_num.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num.setObjectName("ub_num")
        self.horizontalLayout_41.addWidget(self.ub_num)
        self.ub_name = QtWidgets.QLabel(self.frame_40)
        self.ub_name.setMinimumSize(QtCore.QSize(142, 16))
        self.ub_name.setMaximumSize(QtCore.QSize(142, 16))
        self.ub_name.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.ub_name.setObjectName("ub_name")
        self.horizontalLayout_41.addWidget(self.ub_name)
        self.ub_code = QtWidgets.QLabel(self.frame_40)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_code.sizePolicy().hasHeightForWidth())
        self.ub_code.setSizePolicy(sizePolicy)
        self.ub_code.setMinimumSize(QtCore.QSize(0, 16))
        self.ub_code.setMaximumSize(QtCore.QSize(16777215, 16))
        self.ub_code.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.ub_code.setObjectName("ub_code")
        self.horizontalLayout_41.addWidget(self.ub_code)
        self.horizontalLayout_41.setStretch(2, 1)
        self.verticalLayout_57.addWidget(self.frame_40)
        self.scrollArea = QtWidgets.QScrollArea(self.ub_frame)
        self.scrollArea.setMinimumSize(QtCore.QSize(0, 20))
        self.scrollArea.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.scrollArea.setFrameShadow(QtWidgets.QFrame.Plain)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 720, 695))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents.sizePolicy().hasHeightForWidth())
        self.scrollAreaWidgetContents.setSizePolicy(sizePolicy)
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.gridLayout_17 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents)
        self.gridLayout_17.setContentsMargins(4, 4, 4, 4)
        self.gridLayout_17.setHorizontalSpacing(8)
        self.gridLayout_17.setVerticalSpacing(12)
        self.gridLayout_17.setObjectName("gridLayout_17")
        self.ub_name_16 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_16.sizePolicy().hasHeightForWidth())
        self.ub_name_16.setSizePolicy(sizePolicy)
        self.ub_name_16.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_16.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_16.setObjectName("ub_name_16")
        self.gridLayout_17.addWidget(self.ub_name_16, 16, 1, 1, 1)
        self.ub_name_9 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_9.sizePolicy().hasHeightForWidth())
        self.ub_name_9.setSizePolicy(sizePolicy)
        self.ub_name_9.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_9.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_9.setObjectName("ub_name_9")
        self.gridLayout_17.addWidget(self.ub_name_9, 9, 1, 1, 1)
        self.ub_num_9 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_9.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_9.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_9.setObjectName("ub_num_9")
        self.gridLayout_17.addWidget(self.ub_num_9, 9, 0, 1, 1)
        self.ub_code_9 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_9.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_9.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_9.setObjectName("ub_code_9")
        self.gridLayout_17.addWidget(self.ub_code_9, 9, 2, 1, 1)
        self.ub_code_7 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_7.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_7.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_7.setObjectName("ub_code_7")
        self.gridLayout_17.addWidget(self.ub_code_7, 7, 2, 1, 1)
        self.ub_num_17 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_17.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_17.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_17.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_17.setObjectName("ub_num_17")
        self.gridLayout_17.addWidget(self.ub_num_17, 17, 0, 1, 1)
        self.ub_code_2 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_2.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_2.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_2.setObjectName("ub_code_2")
        self.gridLayout_17.addWidget(self.ub_code_2, 2, 2, 1, 1)
        self.ub_num_14 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_14.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_14.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_14.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_14.setObjectName("ub_num_14")
        self.gridLayout_17.addWidget(self.ub_num_14, 14, 0, 1, 1)
        self.ub_code_8 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_8.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_8.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_8.setObjectName("ub_code_8")
        self.gridLayout_17.addWidget(self.ub_code_8, 8, 2, 1, 1)
        self.ub_name_10 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_10.sizePolicy().hasHeightForWidth())
        self.ub_name_10.setSizePolicy(sizePolicy)
        self.ub_name_10.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_10.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_10.setObjectName("ub_name_10")
        self.gridLayout_17.addWidget(self.ub_name_10, 10, 1, 1, 1)
        self.ub_code_20 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_20.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_20.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_20.setObjectName("ub_code_20")
        self.gridLayout_17.addWidget(self.ub_code_20, 20, 2, 1, 1)
        self.ub_code_18 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_18.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_18.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_18.setObjectName("ub_code_18")
        self.gridLayout_17.addWidget(self.ub_code_18, 18, 2, 1, 1)
        self.ub_name_3 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_3.sizePolicy().hasHeightForWidth())
        self.ub_name_3.setSizePolicy(sizePolicy)
        self.ub_name_3.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_3.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_3.setObjectName("ub_name_3")
        self.gridLayout_17.addWidget(self.ub_name_3, 3, 1, 1, 1)
        self.ub_name_13 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_13.sizePolicy().hasHeightForWidth())
        self.ub_name_13.setSizePolicy(sizePolicy)
        self.ub_name_13.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_13.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_13.setObjectName("ub_name_13")
        self.gridLayout_17.addWidget(self.ub_name_13, 13, 1, 1, 1)
        self.ub_num_19 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_19.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_19.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_19.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_19.setObjectName("ub_num_19")
        self.gridLayout_17.addWidget(self.ub_num_19, 19, 0, 1, 1)
        self.ub_code_6 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_6.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_6.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_6.setObjectName("ub_code_6")
        self.gridLayout_17.addWidget(self.ub_code_6, 6, 2, 1, 1)
        self.ub_name_19 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_19.sizePolicy().hasHeightForWidth())
        self.ub_name_19.setSizePolicy(sizePolicy)
        self.ub_name_19.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_19.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_19.setObjectName("ub_name_19")
        self.gridLayout_17.addWidget(self.ub_name_19, 19, 1, 1, 1)
        self.ub_code_13 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_13.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_13.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_13.setObjectName("ub_code_13")
        self.gridLayout_17.addWidget(self.ub_code_13, 13, 2, 1, 1)
        self.ub_name_1 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_1.sizePolicy().hasHeightForWidth())
        self.ub_name_1.setSizePolicy(sizePolicy)
        self.ub_name_1.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_1.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_1.setObjectName("ub_name_1")
        self.gridLayout_17.addWidget(self.ub_name_1, 1, 1, 1, 1)
        self.ub_num_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_2.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_2.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_2.setObjectName("ub_num_2")
        self.gridLayout_17.addWidget(self.ub_num_2, 2, 0, 1, 1)
        self.ub_name_7 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_7.sizePolicy().hasHeightForWidth())
        self.ub_name_7.setSizePolicy(sizePolicy)
        self.ub_name_7.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_7.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_7.setObjectName("ub_name_7")
        self.gridLayout_17.addWidget(self.ub_name_7, 7, 1, 1, 1)
        self.ub_name_5 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_5.sizePolicy().hasHeightForWidth())
        self.ub_name_5.setSizePolicy(sizePolicy)
        self.ub_name_5.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_5.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_5.setObjectName("ub_name_5")
        self.gridLayout_17.addWidget(self.ub_name_5, 5, 1, 1, 1)
        self.ub_code_3 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_3.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_3.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_3.setObjectName("ub_code_3")
        self.gridLayout_17.addWidget(self.ub_code_3, 3, 2, 1, 1)
        self.ub_name_4 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_4.sizePolicy().hasHeightForWidth())
        self.ub_name_4.setSizePolicy(sizePolicy)
        self.ub_name_4.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_4.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_4.setObjectName("ub_name_4")
        self.gridLayout_17.addWidget(self.ub_name_4, 4, 1, 1, 1)
        self.ub_code_19 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_19.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_19.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_19.setObjectName("ub_code_19")
        self.gridLayout_17.addWidget(self.ub_code_19, 19, 2, 1, 1)
        self.ub_code_1 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_1.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_1.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_1.setObjectName("ub_code_1")
        self.gridLayout_17.addWidget(self.ub_code_1, 1, 2, 1, 1)
        self.ub_name_17 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_17.sizePolicy().hasHeightForWidth())
        self.ub_name_17.setSizePolicy(sizePolicy)
        self.ub_name_17.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_17.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_17.setObjectName("ub_name_17")
        self.gridLayout_17.addWidget(self.ub_name_17, 17, 1, 1, 1)
        self.ub_name_20 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_20.sizePolicy().hasHeightForWidth())
        self.ub_name_20.setSizePolicy(sizePolicy)
        self.ub_name_20.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_20.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_20.setObjectName("ub_name_20")
        self.gridLayout_17.addWidget(self.ub_name_20, 20, 1, 1, 1)
        self.ub_num_6 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_6.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_6.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_6.setObjectName("ub_num_6")
        self.gridLayout_17.addWidget(self.ub_num_6, 6, 0, 1, 1)
        self.ub_num_15 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_15.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_15.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_15.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_15.setObjectName("ub_num_15")
        self.gridLayout_17.addWidget(self.ub_num_15, 15, 0, 1, 1)
        self.ub_num_12 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_12.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_12.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_12.setObjectName("ub_num_12")
        self.gridLayout_17.addWidget(self.ub_num_12, 12, 0, 1, 1)
        self.ub_name_15 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_15.sizePolicy().hasHeightForWidth())
        self.ub_name_15.setSizePolicy(sizePolicy)
        self.ub_name_15.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_15.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_15.setObjectName("ub_name_15")
        self.gridLayout_17.addWidget(self.ub_name_15, 15, 1, 1, 1)
        self.ub_num_11 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_11.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_11.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_11.setObjectName("ub_num_11")
        self.gridLayout_17.addWidget(self.ub_num_11, 11, 0, 1, 1)
        self.ub_num_1 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_1.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_1.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_1.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_1.setObjectName("ub_num_1")
        self.gridLayout_17.addWidget(self.ub_num_1, 1, 0, 1, 1)
        self.ub_code_17 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_17.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_17.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_17.setObjectName("ub_code_17")
        self.gridLayout_17.addWidget(self.ub_code_17, 17, 2, 1, 1)
        self.ub_code_4 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_4.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_4.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_4.setObjectName("ub_code_4")
        self.gridLayout_17.addWidget(self.ub_code_4, 4, 2, 1, 1)
        self.ub_num_20 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_20.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_20.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_20.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_20.setObjectName("ub_num_20")
        self.gridLayout_17.addWidget(self.ub_num_20, 20, 0, 1, 1)
        self.ub_code_15 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_15.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_15.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_15.setObjectName("ub_code_15")
        self.gridLayout_17.addWidget(self.ub_code_15, 15, 2, 1, 1)
        self.ub_code_16 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_16.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_16.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_16.setObjectName("ub_code_16")
        self.gridLayout_17.addWidget(self.ub_code_16, 16, 2, 1, 1)
        self.ub_num_16 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_16.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_16.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_16.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_16.setObjectName("ub_num_16")
        self.gridLayout_17.addWidget(self.ub_num_16, 16, 0, 1, 1)
        self.ub_num_10 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_10.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_10.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_10.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_10.setObjectName("ub_num_10")
        self.gridLayout_17.addWidget(self.ub_num_10, 10, 0, 1, 1)
        self.ub_num_18 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_18.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_18.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_18.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_18.setObjectName("ub_num_18")
        self.gridLayout_17.addWidget(self.ub_num_18, 18, 0, 1, 1)
        self.ub_num_3 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_3.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_3.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_3.setObjectName("ub_num_3")
        self.gridLayout_17.addWidget(self.ub_num_3, 3, 0, 1, 1)
        self.ub_num_13 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_13.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_13.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_13.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_13.setObjectName("ub_num_13")
        self.gridLayout_17.addWidget(self.ub_num_13, 13, 0, 1, 1)
        self.ub_name_2 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_2.sizePolicy().hasHeightForWidth())
        self.ub_name_2.setSizePolicy(sizePolicy)
        self.ub_name_2.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_2.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_2.setObjectName("ub_name_2")
        self.gridLayout_17.addWidget(self.ub_name_2, 2, 1, 1, 1)
        self.ub_name_8 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_8.sizePolicy().hasHeightForWidth())
        self.ub_name_8.setSizePolicy(sizePolicy)
        self.ub_name_8.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_8.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_8.setObjectName("ub_name_8")
        self.gridLayout_17.addWidget(self.ub_name_8, 8, 1, 1, 1)
        self.ub_code_14 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_14.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_14.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_14.setObjectName("ub_code_14")
        self.gridLayout_17.addWidget(self.ub_code_14, 14, 2, 1, 1)
        self.ub_num_7 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_7.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_7.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_7.setObjectName("ub_num_7")
        self.gridLayout_17.addWidget(self.ub_num_7, 7, 0, 1, 1)
        self.ub_code_5 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_5.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_5.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_5.setObjectName("ub_code_5")
        self.gridLayout_17.addWidget(self.ub_code_5, 5, 2, 1, 1)
        self.ub_name_18 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_18.sizePolicy().hasHeightForWidth())
        self.ub_name_18.setSizePolicy(sizePolicy)
        self.ub_name_18.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_18.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_18.setObjectName("ub_name_18")
        self.gridLayout_17.addWidget(self.ub_name_18, 18, 1, 1, 1)
        self.ub_code_12 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_12.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_12.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_12.setObjectName("ub_code_12")
        self.gridLayout_17.addWidget(self.ub_code_12, 12, 2, 1, 1)
        self.ub_name_6 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_6.sizePolicy().hasHeightForWidth())
        self.ub_name_6.setSizePolicy(sizePolicy)
        self.ub_name_6.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_6.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_6.setObjectName("ub_name_6")
        self.gridLayout_17.addWidget(self.ub_name_6, 6, 1, 1, 1)
        self.ub_code_11 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_11.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_11.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_11.setObjectName("ub_code_11")
        self.gridLayout_17.addWidget(self.ub_code_11, 11, 2, 1, 1)
        self.ub_code_10 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ub_code_10.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_code_10.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_code_10.setObjectName("ub_code_10")
        self.gridLayout_17.addWidget(self.ub_code_10, 10, 2, 1, 1)
        self.ub_num_8 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_8.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_8.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_8.setObjectName("ub_num_8")
        self.gridLayout_17.addWidget(self.ub_num_8, 8, 0, 1, 1)
        self.ub_num_5 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_5.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_5.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_5.setObjectName("ub_num_5")
        self.gridLayout_17.addWidget(self.ub_num_5, 5, 0, 1, 1)
        self.ub_name_14 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_14.sizePolicy().hasHeightForWidth())
        self.ub_name_14.setSizePolicy(sizePolicy)
        self.ub_name_14.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_14.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_14.setObjectName("ub_name_14")
        self.gridLayout_17.addWidget(self.ub_name_14, 14, 1, 1, 1)
        self.ub_name_12 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_12.sizePolicy().hasHeightForWidth())
        self.ub_name_12.setSizePolicy(sizePolicy)
        self.ub_name_12.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_12.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_12.setObjectName("ub_name_12")
        self.gridLayout_17.addWidget(self.ub_name_12, 12, 1, 1, 1)
        self.ub_name_11 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ub_name_11.sizePolicy().hasHeightForWidth())
        self.ub_name_11.setSizePolicy(sizePolicy)
        self.ub_name_11.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_name_11.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_name_11.setObjectName("ub_name_11")
        self.gridLayout_17.addWidget(self.ub_name_11, 11, 1, 1, 1)
        self.ub_num_4 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ub_num_4.setMinimumSize(QtCore.QSize(0, 20))
        self.ub_num_4.setMaximumSize(QtCore.QSize(16777215, 20))
        self.ub_num_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ub_num_4.setObjectName("ub_num_4")
        self.gridLayout_17.addWidget(self.ub_num_4, 4, 0, 1, 1)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_57.addWidget(self.scrollArea)
        self.verticalLayout_56.addWidget(self.ub_frame)
        self.sd_frame = QtWidgets.QFrame(self.entries_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sd_frame.sizePolicy().hasHeightForWidth())
        self.sd_frame.setSizePolicy(sizePolicy)
        self.sd_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.sd_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.sd_frame.setObjectName("sd_frame")
        self.verticalLayout_58 = QtWidgets.QVBoxLayout(self.sd_frame)
        self.verticalLayout_58.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_58.setSpacing(4)
        self.verticalLayout_58.setObjectName("verticalLayout_58")
        self.frame_43 = QtWidgets.QFrame(self.sd_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_43.sizePolicy().hasHeightForWidth())
        self.frame_43.setSizePolicy(sizePolicy)
        self.frame_43.setMinimumSize(QtCore.QSize(0, 0))
        self.frame_43.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_43.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_43.setObjectName("frame_43")
        self.horizontalLayout_39 = QtWidgets.QHBoxLayout(self.frame_43)
        self.horizontalLayout_39.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_39.setSpacing(1)
        self.horizontalLayout_39.setObjectName("horizontalLayout_39")
        self.sd_save = QtWidgets.QPushButton(self.frame_43)
        self.sd_save.setMinimumSize(QtCore.QSize(60, 16))
        self.sd_save.setMaximumSize(QtCore.QSize(60, 16))
        self.sd_save.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.sd_save.setObjectName("sd_save")
        self.horizontalLayout_39.addWidget(self.sd_save)
        self.sd_label = QtWidgets.QLabel(self.frame_43)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sd_label.sizePolicy().hasHeightForWidth())
        self.sd_label.setSizePolicy(sizePolicy)
        self.sd_label.setMinimumSize(QtCore.QSize(60, 16))
        self.sd_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.sd_label.setAlignment(QtCore.Qt.AlignCenter)
        self.sd_label.setObjectName("sd_label")
        self.horizontalLayout_39.addWidget(self.sd_label)
        self.sd_reload = QtWidgets.QPushButton(self.frame_43)
        self.sd_reload.setMinimumSize(QtCore.QSize(60, 16))
        self.sd_reload.setMaximumSize(QtCore.QSize(60, 16))
        self.sd_reload.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.sd_reload.setObjectName("sd_reload")
        self.horizontalLayout_39.addWidget(self.sd_reload)
        self.verticalLayout_58.addWidget(self.frame_43)
        self.frame_41 = QtWidgets.QFrame(self.sd_frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_41.sizePolicy().hasHeightForWidth())
        self.frame_41.setSizePolicy(sizePolicy)
        self.frame_41.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_41.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_41.setObjectName("frame_41")
        self.verticalLayout_59 = QtWidgets.QVBoxLayout(self.frame_41)
        self.verticalLayout_59.setContentsMargins(4, 4, 4, 0)
        self.verticalLayout_59.setSpacing(4)
        self.verticalLayout_59.setObjectName("verticalLayout_59")
        self.sd_text = QtWidgets.QLineEdit(self.frame_41)
        self.sd_text.setMinimumSize(QtCore.QSize(0, 20))
        self.sd_text.setMaximumSize(QtCore.QSize(16777215, 20))
        self.sd_text.setObjectName("sd_text")
        self.verticalLayout_59.addWidget(self.sd_text)
        self.verticalLayout_58.addWidget(self.frame_41)
        self.verticalLayout_56.addWidget(self.sd_frame)
        self.horizontalLayout_37.addWidget(self.entries_frame)
        spacerItem33 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_37.addItem(spacerItem33)
        self.utility_frame = QtWidgets.QFrame(self.settings_tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.utility_frame.sizePolicy().hasHeightForWidth())
        self.utility_frame.setSizePolicy(sizePolicy)
        self.utility_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.utility_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.utility_frame.setObjectName("utility_frame")
        self.verticalLayout_37 = QtWidgets.QVBoxLayout(self.utility_frame)
        self.verticalLayout_37.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_37.setSpacing(4)
        self.verticalLayout_37.setObjectName("verticalLayout_37")
        self.utility_label = QtWidgets.QLabel(self.utility_frame)
        self.utility_label.setMinimumSize(QtCore.QSize(0, 16))
        self.utility_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.utility_label.setAlignment(QtCore.Qt.AlignCenter)
        self.utility_label.setObjectName("utility_label")
        self.verticalLayout_37.addWidget(self.utility_label)
        self.frame_48 = QtWidgets.QFrame(self.utility_frame)
        self.frame_48.setMinimumSize(QtCore.QSize(0, 0))
        self.frame_48.setObjectName("frame_48")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.frame_48)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.actionbutton_halshow = ActionButton(self.frame_48)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.actionbutton_halshow.sizePolicy().hasHeightForWidth())
        self.actionbutton_halshow.setSizePolicy(sizePolicy)
        self.actionbutton_halshow.setMinimumSize(QtCore.QSize(90, 50))
        self.actionbutton_halshow.setMaximumSize(QtCore.QSize(90, 50))
        self.actionbutton_halshow.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.actionbutton_halshow.setProperty("launch_halshow_action", True)
        self.actionbutton_halshow.setProperty("template_label_option", False)
        self.actionbutton_halshow.setProperty("joint_number", 0)
        self.actionbutton_halshow.setProperty("incr_imperial_number", 0.01)
        self.actionbutton_halshow.setProperty("incr_mm_number", 0.025)
        self.actionbutton_halshow.setProperty("incr_angular_number", -1.0)
        self.actionbutton_halshow.setProperty("toggle_float_option", False)
        self.actionbutton_halshow.setProperty("float_num", 100.0)
        self.actionbutton_halshow.setProperty("float_alt_num", 50.0)
        self.actionbutton_halshow.setProperty("view_type_string", "P")
        self.actionbutton_halshow.setProperty("command_text_string", "")
        self.actionbutton_halshow.setProperty("ini_mdi_number", 0)
        self.actionbutton_halshow.setProperty("textTemplate", "%1.3f in")
        self.actionbutton_halshow.setProperty("alt_textTemplate", "%1.2f mm")
        self.actionbutton_halshow.setProperty("actionName", "tool.halshow")
        self.actionbutton_halshow.setObjectName("actionbutton_halshow")
        self.verticalLayout_5.addWidget(self.actionbutton_halshow)
        self.actionbutton_halscope = ActionButton(self.frame_48)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.actionbutton_halscope.sizePolicy().hasHeightForWidth())
        self.actionbutton_halscope.setSizePolicy(sizePolicy)
        self.actionbutton_halscope.setMinimumSize(QtCore.QSize(90, 50))
        self.actionbutton_halscope.setMaximumSize(QtCore.QSize(90, 50))
        self.actionbutton_halscope.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.actionbutton_halscope.setProperty("launch_halscope_action", True)
        self.actionbutton_halscope.setProperty("template_label_option", False)
        self.actionbutton_halscope.setProperty("joint_number", 0)
        self.actionbutton_halscope.setProperty("incr_imperial_number", 0.01)
        self.actionbutton_halscope.setProperty("incr_mm_number", 0.025)
        self.actionbutton_halscope.setProperty("incr_angular_number", -1.0)
        self.actionbutton_halscope.setProperty("toggle_float_option", False)
        self.actionbutton_halscope.setProperty("float_num", 100.0)
        self.actionbutton_halscope.setProperty("float_alt_num", 50.0)
        self.actionbutton_halscope.setProperty("view_type_string", "P")
        self.actionbutton_halscope.setProperty("command_text_string", "")
        self.actionbutton_halscope.setProperty("ini_mdi_number", 0)
        self.actionbutton_halscope.setProperty("textTemplate", "%1.3f in")
        self.actionbutton_halscope.setProperty("alt_textTemplate", "%1.2f mm")
        self.actionbutton_halscope.setProperty("actionName", "tool.halscope")
        self.actionbutton_halscope.setObjectName("actionbutton_halscope")
        self.verticalLayout_5.addWidget(self.actionbutton_halscope)
        self.actionbutton_halmeter = ActionButton(self.frame_48)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.actionbutton_halmeter.sizePolicy().hasHeightForWidth())
        self.actionbutton_halmeter.setSizePolicy(sizePolicy)
        self.actionbutton_halmeter.setMinimumSize(QtCore.QSize(90, 50))
        self.actionbutton_halmeter.setMaximumSize(QtCore.QSize(90, 50))
        self.actionbutton_halmeter.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.actionbutton_halmeter.setProperty("launch_halmeter_action", True)
        self.actionbutton_halmeter.setProperty("template_label_option", False)
        self.actionbutton_halmeter.setProperty("joint_number", 0)
        self.actionbutton_halmeter.setProperty("incr_imperial_number", 0.01)
        self.actionbutton_halmeter.setProperty("incr_mm_number", 0.025)
        self.actionbutton_halmeter.setProperty("incr_angular_number", -1.0)
        self.actionbutton_halmeter.setProperty("toggle_float_option", False)
        self.actionbutton_halmeter.setProperty("float_num", 100.0)
        self.actionbutton_halmeter.setProperty("float_alt_num", 50.0)
        self.actionbutton_halmeter.setProperty("view_type_string", "P")
        self.actionbutton_halmeter.setProperty("command_text_string", "")
        self.actionbutton_halmeter.setProperty("ini_mdi_number", 0)
        self.actionbutton_halmeter.setProperty("textTemplate", "%1.3f in")
        self.actionbutton_halmeter.setProperty("alt_textTemplate", "%1.2f mm")
        self.actionbutton_halmeter.setProperty("actionName", "tool.halmeter")
        self.actionbutton_halmeter.setObjectName("actionbutton_halmeter")
        self.verticalLayout_5.addWidget(self.actionbutton_halmeter)
        self.actionbutton_calibration = ActionButton(self.frame_48)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.actionbutton_calibration.sizePolicy().hasHeightForWidth())
        self.actionbutton_calibration.setSizePolicy(sizePolicy)
        self.actionbutton_calibration.setMinimumSize(QtCore.QSize(90, 50))
        self.actionbutton_calibration.setMaximumSize(QtCore.QSize(90, 50))
        self.actionbutton_calibration.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.actionbutton_calibration.setProperty("launch_calibration_action", True)
        self.actionbutton_calibration.setProperty("view_type_string", "p")
        self.actionbutton_calibration.setProperty("textTemplate", "%1.3f in")
        self.actionbutton_calibration.setProperty("alt_textTemplate", "%1.2f mm")
        self.actionbutton_calibration.setObjectName("actionbutton_calibration")
        self.verticalLayout_5.addWidget(self.actionbutton_calibration)
        self.actionbutton_lcnc_status = ActionButton(self.frame_48)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.actionbutton_lcnc_status.sizePolicy().hasHeightForWidth())
        self.actionbutton_lcnc_status.setSizePolicy(sizePolicy)
        self.actionbutton_lcnc_status.setMinimumSize(QtCore.QSize(90, 50))
        self.actionbutton_lcnc_status.setMaximumSize(QtCore.QSize(90, 50))
        self.actionbutton_lcnc_status.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.actionbutton_lcnc_status.setProperty("launch_status_action", True)
        self.actionbutton_lcnc_status.setProperty("template_label_option", False)
        self.actionbutton_lcnc_status.setProperty("joint_number", 0)
        self.actionbutton_lcnc_status.setProperty("incr_imperial_number", 0.01)
        self.actionbutton_lcnc_status.setProperty("incr_mm_number", 0.025)
        self.actionbutton_lcnc_status.setProperty("incr_angular_number", -1.0)
        self.actionbutton_lcnc_status.setProperty("toggle_float_option", False)
        self.actionbutton_lcnc_status.setProperty("float_num", 100.0)
        self.actionbutton_lcnc_status.setProperty("float_alt_num", 50.0)
        self.actionbutton_lcnc_status.setProperty("view_type_string", "P")
        self.actionbutton_lcnc_status.setProperty("command_text_string", "")
        self.actionbutton_lcnc_status.setProperty("ini_mdi_number", 0)
        self.actionbutton_lcnc_status.setProperty("textTemplate", "%1.3f in")
        self.actionbutton_lcnc_status.setProperty("alt_textTemplate", "%1.2f mm")
        self.actionbutton_lcnc_status.setProperty("actionName", "tool.status")
        self.actionbutton_lcnc_status.setObjectName("actionbutton_lcnc_status")
        self.verticalLayout_5.addWidget(self.actionbutton_lcnc_status)
        spacerItem34 = QtWidgets.QSpacerItem(20, 286, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem34)
        self.set_offsets = QtWidgets.QPushButton(self.frame_48)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.set_offsets.sizePolicy().hasHeightForWidth())
        self.set_offsets.setSizePolicy(sizePolicy)
        self.set_offsets.setMinimumSize(QtCore.QSize(90, 50))
        self.set_offsets.setMaximumSize(QtCore.QSize(90, 50))
        self.set_offsets.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.set_offsets.setObjectName("set_offsets")
        self.verticalLayout_5.addWidget(self.set_offsets)
        self.backup = QtWidgets.QPushButton(self.frame_48)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.backup.sizePolicy().hasHeightForWidth())
        self.backup.setSizePolicy(sizePolicy)
        self.backup.setMinimumSize(QtCore.QSize(90, 50))
        self.backup.setMaximumSize(QtCore.QSize(90, 50))
        self.backup.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.backup.setObjectName("backup")
        self.verticalLayout_5.addWidget(self.backup)
        self.verticalLayout_37.addWidget(self.frame_48)
        self.horizontalLayout_37.addWidget(self.utility_frame)
        self.horizontalLayout_37.setStretch(1, 1)
        self.horizontalLayout_37.setStretch(3, 1)
        self.main_tab_widget.addTab(self.settings_tab, "")
        self.stats_tab = QtWidgets.QWidget()
        self.stats_tab.setObjectName("stats_tab")
        self.horizontalLayout_19 = QtWidgets.QHBoxLayout(self.stats_tab)
        self.horizontalLayout_19.setContentsMargins(4, 4, 4, 4)
        self.horizontalLayout_19.setSpacing(4)
        self.horizontalLayout_19.setObjectName("horizontalLayout_19")
        self.stats_frame = QtWidgets.QFrame(self.stats_tab)
        self.stats_frame.setMinimumSize(QtCore.QSize(480, 0))
        self.stats_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.stats_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.stats_frame.setObjectName("stats_frame")
        self.verticalLayout_26 = QtWidgets.QVBoxLayout(self.stats_frame)
        self.verticalLayout_26.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_26.setSpacing(8)
        self.verticalLayout_26.setObjectName("verticalLayout_26")
        self.stats_label = QtWidgets.QLabel(self.stats_frame)
        self.stats_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.stats_label.setAlignment(QtCore.Qt.AlignCenter)
        self.stats_label.setObjectName("stats_label")
        self.verticalLayout_26.addWidget(self.stats_label)
        self.frame_36 = QtWidgets.QFrame(self.stats_frame)
        self.frame_36.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_36.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_36.setObjectName("frame_36")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.frame_36)
        self.gridLayout_5.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_5.setHorizontalSpacing(10)
        self.gridLayout_5.setVerticalSpacing(16)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.cut_length_reset = QtWidgets.QPushButton(self.frame_36)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_length_reset.sizePolicy().hasHeightForWidth())
        self.cut_length_reset.setSizePolicy(sizePolicy)
        self.cut_length_reset.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.cut_length_reset.setObjectName("cut_length_reset")
        self.gridLayout_5.addWidget(self.cut_length_reset, 2, 0, 1, 1)
        self.torch_time_t = QtWidgets.QLabel(self.frame_36)
        self.torch_time_t.setText("0:00:00")
        self.torch_time_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.torch_time_t.setObjectName("torch_time_t")
        self.gridLayout_5.addWidget(self.torch_time_t, 6, 3, 1, 1)
        self.pierce_count_t = QtWidgets.QLabel(self.frame_36)
        self.pierce_count_t.setText("0")
        self.pierce_count_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pierce_count_t.setObjectName("pierce_count_t")
        self.gridLayout_5.addWidget(self.pierce_count_t, 3, 3, 1, 1)
        self.cut_length = QtWidgets.QLabel(self.frame_36)
        self.cut_length.setText("0.00")
        self.cut_length.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cut_length.setObjectName("cut_length")
        self.gridLayout_5.addWidget(self.cut_length, 2, 2, 1, 1)
        self.cut_time_reset = QtWidgets.QPushButton(self.frame_36)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cut_time_reset.sizePolicy().hasHeightForWidth())
        self.cut_time_reset.setSizePolicy(sizePolicy)
        self.cut_time_reset.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.cut_time_reset.setObjectName("cut_time_reset")
        self.gridLayout_5.addWidget(self.cut_time_reset, 7, 0, 1, 1)
        self.torch_time = QtWidgets.QLabel(self.frame_36)
        self.torch_time.setText("0:00:00")
        self.torch_time.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.torch_time.setObjectName("torch_time")
        self.gridLayout_5.addWidget(self.torch_time, 6, 2, 1, 1)
        self.label_30 = QtWidgets.QLabel(self.frame_36)
        self.label_30.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_30.setObjectName("label_30")
        self.gridLayout_5.addWidget(self.label_30, 7, 1, 1, 1)
        self.label_23 = QtWidgets.QLabel(self.frame_36)
        self.label_23.setMinimumSize(QtCore.QSize(80, 0))
        self.label_23.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_23.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_23.setObjectName("label_23")
        self.gridLayout_5.addWidget(self.label_23, 1, 2, 1, 1)
        self.run_time_reset = QtWidgets.QPushButton(self.frame_36)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.run_time_reset.sizePolicy().hasHeightForWidth())
        self.run_time_reset.setSizePolicy(sizePolicy)
        self.run_time_reset.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.run_time_reset.setObjectName("run_time_reset")
        self.gridLayout_5.addWidget(self.run_time_reset, 9, 0, 1, 1)
        self.rapid_time_reset = QtWidgets.QPushButton(self.frame_36)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.rapid_time_reset.sizePolicy().hasHeightForWidth())
        self.rapid_time_reset.setSizePolicy(sizePolicy)
        self.rapid_time_reset.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.rapid_time_reset.setObjectName("rapid_time_reset")
        self.gridLayout_5.addWidget(self.rapid_time_reset, 4, 0, 1, 1)
        self.label_34 = QtWidgets.QLabel(self.frame_36)
        self.label_34.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_34.setObjectName("label_34")
        self.gridLayout_5.addWidget(self.label_34, 4, 1, 1, 1)
        self.label_25 = QtWidgets.QLabel(self.frame_36)
        self.label_25.setMinimumSize(QtCore.QSize(80, 0))
        self.label_25.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_25.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_25.setObjectName("label_25")
        self.gridLayout_5.addWidget(self.label_25, 1, 3, 1, 1)
        self.run_time_t = QtWidgets.QLabel(self.frame_36)
        self.run_time_t.setText("0:00:00")
        self.run_time_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.run_time_t.setObjectName("run_time_t")
        self.gridLayout_5.addWidget(self.run_time_t, 9, 3, 1, 1)
        self.torch_time_reset = QtWidgets.QPushButton(self.frame_36)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.torch_time_reset.sizePolicy().hasHeightForWidth())
        self.torch_time_reset.setSizePolicy(sizePolicy)
        self.torch_time_reset.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.torch_time_reset.setObjectName("torch_time_reset")
        self.gridLayout_5.addWidget(self.torch_time_reset, 6, 0, 1, 1)
        self.cut_time_t = QtWidgets.QLabel(self.frame_36)
        self.cut_time_t.setText("0:00:00")
        self.cut_time_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cut_time_t.setObjectName("cut_time_t")
        self.gridLayout_5.addWidget(self.cut_time_t, 7, 3, 1, 1)
        self.cut_length_t = QtWidgets.QLabel(self.frame_36)
        self.cut_length_t.setText("0.00")
        self.cut_length_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cut_length_t.setObjectName("cut_length_t")
        self.gridLayout_5.addWidget(self.cut_length_t, 2, 3, 1, 1)
        self.pierce_count = QtWidgets.QLabel(self.frame_36)
        self.pierce_count.setText("0")
        self.pierce_count.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pierce_count.setObjectName("pierce_count")
        self.gridLayout_5.addWidget(self.pierce_count, 3, 2, 1, 1)
        self.label_32 = QtWidgets.QLabel(self.frame_36)
        self.label_32.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_32.setObjectName("label_32")
        self.gridLayout_5.addWidget(self.label_32, 9, 1, 1, 1)
        self.rapid_time = QtWidgets.QLabel(self.frame_36)
        self.rapid_time.setText("0:00:00")
        self.rapid_time.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.rapid_time.setObjectName("rapid_time")
        self.gridLayout_5.addWidget(self.rapid_time, 4, 2, 1, 1)
        self.cut_time = QtWidgets.QLabel(self.frame_36)
        self.cut_time.setText("0:00:00")
        self.cut_time.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cut_time.setObjectName("cut_time")
        self.gridLayout_5.addWidget(self.cut_time, 7, 2, 1, 1)
        self.cut_length_label = QtWidgets.QLabel(self.frame_36)
        self.cut_length_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cut_length_label.setObjectName("cut_length_label")
        self.gridLayout_5.addWidget(self.cut_length_label, 2, 1, 1, 1)
        self.rapid_time_t = QtWidgets.QLabel(self.frame_36)
        self.rapid_time_t.setText("0:00:00")
        self.rapid_time_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.rapid_time_t.setObjectName("rapid_time_t")
        self.gridLayout_5.addWidget(self.rapid_time_t, 4, 3, 1, 1)
        self.run_time = QtWidgets.QLabel(self.frame_36)
        self.run_time.setText("0:00:00")
        self.run_time.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.run_time.setObjectName("run_time")
        self.gridLayout_5.addWidget(self.run_time, 9, 2, 1, 1)
        self.all_reset = QtWidgets.QPushButton(self.frame_36)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.all_reset.sizePolicy().hasHeightForWidth())
        self.all_reset.setSizePolicy(sizePolicy)
        self.all_reset.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.all_reset.setObjectName("all_reset")
        self.gridLayout_5.addWidget(self.all_reset, 13, 0, 1, 1)
        self.label_28 = QtWidgets.QLabel(self.frame_36)
        self.label_28.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_28.setObjectName("label_28")
        self.gridLayout_5.addWidget(self.label_28, 3, 1, 1, 1)
        self.label_22 = QtWidgets.QLabel(self.frame_36)
        self.label_22.setMinimumSize(QtCore.QSize(180, 0))
        self.label_22.setMaximumSize(QtCore.QSize(180, 16777215))
        self.label_22.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_22.setObjectName("label_22")
        self.gridLayout_5.addWidget(self.label_22, 1, 1, 1, 1)
        self.label_27 = QtWidgets.QLabel(self.frame_36)
        self.label_27.setText("")
        self.label_27.setObjectName("label_27")
        self.gridLayout_5.addWidget(self.label_27, 12, 0, 1, 1)
        self.pierce_reset = QtWidgets.QPushButton(self.frame_36)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pierce_reset.sizePolicy().hasHeightForWidth())
        self.pierce_reset.setSizePolicy(sizePolicy)
        self.pierce_reset.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.pierce_reset.setObjectName("pierce_reset")
        self.gridLayout_5.addWidget(self.pierce_reset, 3, 0, 1, 1)
        self.label_31 = QtWidgets.QLabel(self.frame_36)
        self.label_31.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_31.setObjectName("label_31")
        self.gridLayout_5.addWidget(self.label_31, 6, 1, 1, 1)
        self.probe_time_reset = QtWidgets.QPushButton(self.frame_36)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.probe_time_reset.sizePolicy().hasHeightForWidth())
        self.probe_time_reset.setSizePolicy(sizePolicy)
        self.probe_time_reset.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.probe_time_reset.setObjectName("probe_time_reset")
        self.gridLayout_5.addWidget(self.probe_time_reset, 5, 0, 1, 1)
        self.label_35 = QtWidgets.QLabel(self.frame_36)
        self.label_35.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_35.setObjectName("label_35")
        self.gridLayout_5.addWidget(self.label_35, 5, 1, 1, 1)
        self.probe_time = QtWidgets.QLabel(self.frame_36)
        self.probe_time.setText("0:00:00")
        self.probe_time.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.probe_time.setObjectName("probe_time")
        self.gridLayout_5.addWidget(self.probe_time, 5, 2, 1, 1)
        self.probe_time_t = QtWidgets.QLabel(self.frame_36)
        self.probe_time_t.setText("0:00:00")
        self.probe_time_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.probe_time_t.setObjectName("probe_time_t")
        self.gridLayout_5.addWidget(self.probe_time_t, 5, 3, 1, 1)
        self.paused_time_reset = QtWidgets.QPushButton(self.frame_36)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.paused_time_reset.sizePolicy().hasHeightForWidth())
        self.paused_time_reset.setSizePolicy(sizePolicy)
        self.paused_time_reset.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.paused_time_reset.setObjectName("paused_time_reset")
        self.gridLayout_5.addWidget(self.paused_time_reset, 8, 0, 1, 1)
        self.label_50 = QtWidgets.QLabel(self.frame_36)
        self.label_50.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_50.setObjectName("label_50")
        self.gridLayout_5.addWidget(self.label_50, 8, 1, 1, 1)
        self.paused_time = QtWidgets.QLabel(self.frame_36)
        self.paused_time.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.paused_time.setObjectName("paused_time")
        self.gridLayout_5.addWidget(self.paused_time, 8, 2, 1, 1)
        self.paused_time_t = QtWidgets.QLabel(self.frame_36)
        self.paused_time_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.paused_time_t.setObjectName("paused_time_t")
        self.gridLayout_5.addWidget(self.paused_time_t, 8, 3, 1, 1)
        self.gridLayout_5.setColumnStretch(0, 1)
        self.gridLayout_5.setColumnStretch(1, 1)
        self.gridLayout_5.setColumnStretch(2, 1)
        self.gridLayout_5.setColumnStretch(3, 1)
        self.verticalLayout_26.addWidget(self.frame_36)
        spacerItem35 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_26.addItem(spacerItem35)
        self.horizontalLayout_19.addWidget(self.stats_frame)
        spacerItem36 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_19.addItem(spacerItem36)
        self.pmx_stats_frame = QtWidgets.QFrame(self.stats_tab)
        self.pmx_stats_frame.setMinimumSize(QtCore.QSize(100, 0))
        self.pmx_stats_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.pmx_stats_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.pmx_stats_frame.setObjectName("pmx_stats_frame")
        self.verticalLayout_27 = QtWidgets.QVBoxLayout(self.pmx_stats_frame)
        self.verticalLayout_27.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_27.setSpacing(8)
        self.verticalLayout_27.setObjectName("verticalLayout_27")
        self.pmx_stats_label = QtWidgets.QLabel(self.pmx_stats_frame)
        self.pmx_stats_label.setMinimumSize(QtCore.QSize(0, 0))
        self.pmx_stats_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.pmx_stats_label.setAlignment(QtCore.Qt.AlignCenter)
        self.pmx_stats_label.setObjectName("pmx_stats_label")
        self.verticalLayout_27.addWidget(self.pmx_stats_label)
        self.frame_35 = QtWidgets.QFrame(self.pmx_stats_frame)
        self.frame_35.setMinimumSize(QtCore.QSize(100, 0))
        self.frame_35.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_35.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_35.setObjectName("frame_35")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.frame_35)
        self.gridLayout_6.setContentsMargins(4, 0, 4, 0)
        self.gridLayout_6.setHorizontalSpacing(10)
        self.gridLayout_6.setVerticalSpacing(16)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.label_29 = QtWidgets.QLabel(self.frame_35)
        self.label_29.setMinimumSize(QtCore.QSize(80, 0))
        self.label_29.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_29.setObjectName("label_29")
        self.gridLayout_6.addWidget(self.label_29, 0, 1, 1, 1)
        self.pmx_arc_time_label = QtWidgets.QLabel(self.frame_35)
        self.pmx_arc_time_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pmx_arc_time_label.setObjectName("pmx_arc_time_label")
        self.gridLayout_6.addWidget(self.pmx_arc_time_label, 1, 0, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.frame_35)
        self.label_8.setMinimumSize(QtCore.QSize(100, 0))
        self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_8.setObjectName("label_8")
        self.gridLayout_6.addWidget(self.label_8, 0, 0, 1, 1)
        self.pmx_arc_time_t = QtWidgets.QLabel(self.frame_35)
        self.pmx_arc_time_t.setText("0.00")
        self.pmx_arc_time_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pmx_arc_time_t.setObjectName("pmx_arc_time_t")
        self.gridLayout_6.addWidget(self.pmx_arc_time_t, 1, 1, 1, 1)
        self.verticalLayout_27.addWidget(self.frame_35)
        spacerItem37 = QtWidgets.QSpacerItem(20, 701, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_27.addItem(spacerItem37)
        self.horizontalLayout_19.addWidget(self.pmx_stats_frame)
        spacerItem38 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_19.addItem(spacerItem38)
        self.machinelog_frame = QtWidgets.QFrame(self.stats_tab)
        self.machinelog_frame.setMinimumSize(QtCore.QSize(480, 0))
        self.machinelog_frame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.machinelog_frame.setFrameShadow(QtWidgets.QFrame.Plain)
        self.machinelog_frame.setObjectName("machinelog_frame")
        self.verticalLayout_23 = QtWidgets.QVBoxLayout(self.machinelog_frame)
        self.verticalLayout_23.setContentsMargins(0, 0, 0, 4)
        self.verticalLayout_23.setSpacing(4)
        self.verticalLayout_23.setObjectName("verticalLayout_23")
        self.machinelog_label = QtWidgets.QLabel(self.machinelog_frame)
        self.machinelog_label.setMinimumSize(QtCore.QSize(0, 0))
        self.machinelog_label.setMaximumSize(QtCore.QSize(16777215, 16))
        self.machinelog_label.setAlignment(QtCore.Qt.AlignCenter)
        self.machinelog_label.setObjectName("machinelog_label")
        self.verticalLayout_23.addWidget(self.machinelog_label)
        self.frame_39 = QtWidgets.QFrame(self.machinelog_frame)
        self.frame_39.setMinimumSize(QtCore.QSize(0, 200))
        self.frame_39.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_39.setFrameShadow(QtWidgets.QFrame.Plain)
        self.frame_39.setObjectName("frame_39")
        self.verticalLayout_55 = QtWidgets.QVBoxLayout(self.frame_39)
        self.verticalLayout_55.setContentsMargins(4, 0, 4, 4)
        self.verticalLayout_55.setSpacing(4)
        self.verticalLayout_55.setObjectName("verticalLayout_55")
        self.machinelog = MachineLog(self.frame_39)
        self.machinelog.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.machinelog.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.machinelog.setFrameShadow(QtWidgets.QFrame.Plain)
        self.machinelog.setObjectName("machinelog")
        self.verticalLayout_55.addWidget(self.machinelog)
        self.verticalLayout_23.addWidget(self.frame_39)
        self.horizontalLayout_19.addWidget(self.machinelog_frame)
        self.horizontalLayout_19.setStretch(1, 1)
        self.horizontalLayout_19.setStretch(3, 1)
        self.main_tab_widget.addTab(self.stats_tab, "")
        self.verticalLayout_16.addWidget(self.main_tab_widget)
        self.verticalLayout.addWidget(self.screen_options)
        MainWindow.setCentralWidget(self.central_widget)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setSizeGripEnabled(False)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        self.main_tab_widget.setCurrentIndex(0)
        self.preview_stack.setCurrentIndex(0)
        self.jog_stack.setCurrentIndex(0)
        self.gcode_stack.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
        MainWindow.setTabOrder(self.arc_fail_delay, self.arc_max_starts)
        MainWindow.setTabOrder(self.arc_max_starts, self.arc_restart_delay)
        MainWindow.setTabOrder(self.arc_restart_delay, self.arc_voltage_scale)
        MainWindow.setTabOrder(self.arc_voltage_scale, self.arc_voltage_offset)
        MainWindow.setTabOrder(self.arc_voltage_offset, self.height_per_volt)
        MainWindow.setTabOrder(self.height_per_volt, self.arc_ok_high)
        MainWindow.setTabOrder(self.arc_ok_high, self.arc_ok_low)
        MainWindow.setTabOrder(self.arc_ok_low, self.thc_delay)
        MainWindow.setTabOrder(self.thc_delay, self.thc_sample_counts)
        MainWindow.setTabOrder(self.thc_sample_counts, self.thc_sample_threshold)
        MainWindow.setTabOrder(self.thc_sample_threshold, self.thc_threshold)
        MainWindow.setTabOrder(self.thc_threshold, self.pid_p_gain)
        MainWindow.setTabOrder(self.pid_p_gain, self.cornerlock_threshold)
        MainWindow.setTabOrder(self.cornerlock_threshold, self.voidlock_slope)
        MainWindow.setTabOrder(self.voidlock_slope, self.pid_i_gain)
        MainWindow.setTabOrder(self.pid_i_gain, self.pid_d_gain)
        MainWindow.setTabOrder(self.pid_d_gain, self.float_switch_travel)
        MainWindow.setTabOrder(self.float_switch_travel, self.probe_feed_rate)
        MainWindow.setTabOrder(self.probe_feed_rate, self.probe_start_height)
        MainWindow.setTabOrder(self.probe_start_height, self.ohmic_probe_offset)
        MainWindow.setTabOrder(self.ohmic_probe_offset, self.ohmic_max_attempts)
        MainWindow.setTabOrder(self.ohmic_max_attempts, self.skip_ihs_distance)
        MainWindow.setTabOrder(self.skip_ihs_distance, self.offset_feed_rate)
        MainWindow.setTabOrder(self.offset_feed_rate, self.safe_height)
        MainWindow.setTabOrder(self.safe_height, self.scribe_arm_delay)
        MainWindow.setTabOrder(self.scribe_arm_delay, self.scribe_on_delay)
        MainWindow.setTabOrder(self.scribe_on_delay, self.spotting_threshold)
        MainWindow.setTabOrder(self.spotting_threshold, self.spotting_time)
        MainWindow.setTabOrder(self.spotting_time, self.x_pierce_offset)
        MainWindow.setTabOrder(self.x_pierce_offset, self.y_pierce_offset)
        MainWindow.setTabOrder(self.y_pierce_offset, self.setup_feed_rate)
        MainWindow.setTabOrder(self.setup_feed_rate, self.kerf_width)
        MainWindow.setTabOrder(self.kerf_width, self.pierce_height)
        MainWindow.setTabOrder(self.pierce_height, self.pierce_delay)
        MainWindow.setTabOrder(self.pierce_delay, self.cut_height)
        MainWindow.setTabOrder(self.cut_height, self.cut_feed_rate)
        MainWindow.setTabOrder(self.cut_feed_rate, self.cut_amps)
        MainWindow.setTabOrder(self.cut_amps, self.cut_volts)
        MainWindow.setTabOrder(self.cut_volts, self.puddle_jump_height)
        MainWindow.setTabOrder(self.puddle_jump_height, self.puddle_jump_delay)
        MainWindow.setTabOrder(self.puddle_jump_delay, self.pause_at_end)
        MainWindow.setTabOrder(self.pause_at_end, self.gas_pressure)
        MainWindow.setTabOrder(self.gas_pressure, self.cut_mode)
        MainWindow.setTabOrder(self.cut_mode, self.grid_size)
        MainWindow.setTabOrder(self.grid_size, self.cone_size)
        MainWindow.setTabOrder(self.cone_size, self.table_zoom_scale)
        MainWindow.setTabOrder(self.table_zoom_scale, self.ub_name_1)
        MainWindow.setTabOrder(self.ub_name_1, self.ub_code_1)
        MainWindow.setTabOrder(self.ub_code_1, self.ub_name_2)
        MainWindow.setTabOrder(self.ub_name_2, self.ub_code_2)
        MainWindow.setTabOrder(self.ub_code_2, self.ub_name_3)
        MainWindow.setTabOrder(self.ub_name_3, self.ub_code_3)
        MainWindow.setTabOrder(self.ub_code_3, self.ub_name_4)
        MainWindow.setTabOrder(self.ub_name_4, self.ub_code_4)
        MainWindow.setTabOrder(self.ub_code_4, self.ub_name_5)
        MainWindow.setTabOrder(self.ub_name_5, self.ub_code_5)
        MainWindow.setTabOrder(self.ub_code_5, self.ub_name_6)
        MainWindow.setTabOrder(self.ub_name_6, self.ub_code_6)
        MainWindow.setTabOrder(self.ub_code_6, self.ub_name_7)
        MainWindow.setTabOrder(self.ub_name_7, self.ub_code_7)
        MainWindow.setTabOrder(self.ub_code_7, self.ub_name_8)
        MainWindow.setTabOrder(self.ub_name_8, self.ub_code_8)
        MainWindow.setTabOrder(self.ub_code_8, self.ub_name_9)
        MainWindow.setTabOrder(self.ub_name_9, self.ub_code_9)
        MainWindow.setTabOrder(self.ub_code_9, self.ub_name_10)
        MainWindow.setTabOrder(self.ub_name_10, self.ub_code_10)
        MainWindow.setTabOrder(self.ub_code_10, self.ub_name_11)
        MainWindow.setTabOrder(self.ub_name_11, self.ub_code_11)
        MainWindow.setTabOrder(self.ub_code_11, self.ub_name_12)
        MainWindow.setTabOrder(self.ub_name_12, self.ub_code_12)
        MainWindow.setTabOrder(self.ub_code_12, self.ub_name_13)
        MainWindow.setTabOrder(self.ub_name_13, self.ub_code_13)
        MainWindow.setTabOrder(self.ub_code_13, self.ub_name_14)
        MainWindow.setTabOrder(self.ub_name_14, self.ub_code_14)
        MainWindow.setTabOrder(self.ub_code_14, self.ub_name_15)
        MainWindow.setTabOrder(self.ub_name_15, self.ub_code_15)
        MainWindow.setTabOrder(self.ub_code_15, self.ub_name_16)
        MainWindow.setTabOrder(self.ub_name_16, self.ub_code_16)
        MainWindow.setTabOrder(self.ub_code_16, self.ub_name_17)
        MainWindow.setTabOrder(self.ub_name_17, self.ub_code_17)
        MainWindow.setTabOrder(self.ub_code_17, self.ub_name_18)
        MainWindow.setTabOrder(self.ub_name_18, self.ub_code_18)
        MainWindow.setTabOrder(self.ub_code_18, self.ub_name_19)
        MainWindow.setTabOrder(self.ub_name_19, self.ub_code_19)
        MainWindow.setTabOrder(self.ub_code_19, self.ub_name_20)
        MainWindow.setTabOrder(self.ub_name_20, self.ub_code_20)
        MainWindow.setTabOrder(self.ub_code_20, self.sd_text)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        self.screen_options.setProperty("pref_filename_string", _translate("MainWindow", "CONFIGFOLDER/qtvcp.prefs"))
        self.material_label.setText(_translate("MainWindow", "MATERIAL ="))
        self.velocity_label.setText(_translate("MainWindow", "VEL:"))
        self.open_label.setText(_translate("MainWindow", "OPEN FILE"))
        self.file_select.setText(_translate("MainWindow", "SELECT"))
        self.file_select.setProperty("true_python_cmd_string", _translate("MainWindow", "INSTANCE.filemanager.load()"))
        self.file_next.setText(_translate("MainWindow", "NEXT"))
        self.file_next.setProperty("true_python_cmd_string", _translate("MainWindow", "INSTANCE.filemanager.down()"))
        self.file_prev.setText(_translate("MainWindow", "PREV"))
        self.file_prev.setProperty("true_python_cmd_string", _translate("MainWindow", "INSTANCE.filemanager.up()"))
        self.file_cancel.setText(_translate("MainWindow", "CANCEL"))
        self.edit_label.setText(_translate("MainWindow", "EDIT"))
        self.camview_label.setText(_translate("MainWindow", "CAMVIEW"))
        self.cam_dia_plus.setText(_translate("MainWindow", "DIA\n"
"+"))
        self.cam_dia_minus.setText(_translate("MainWindow", "DIA\n"
"-"))
        self.cam_zoom_plus.setText(_translate("MainWindow", "ZOOM\n"
"+"))
        self.cam_zoom_minus.setText(_translate("MainWindow", "ZOOM\n"
"-"))
        self.cam_goto.setText(_translate("MainWindow", "GOTO\n"
"ORIGIN"))
        self.cam_mark.setText(_translate("MainWindow", "MARK\n"
"EDGE"))
        self.webview_back.setText(_translate("MainWindow", "BACK"))
        self.webview_reload.setText(_translate("MainWindow", "RELOAD"))
        self.webview_forward.setText(_translate("MainWindow", "FORWARD"))
        self.machine_label.setText(_translate("MainWindow", "MACHINE"))
        self.estop.setText(_translate("MainWindow", "ESTOP"))
        self.power.setText(_translate("MainWindow", "POWER"))
        self.run.setText(_translate("MainWindow", "CYCLE START"))
        self.pause_resume.setText(_translate("MainWindow", "CYCLE PAUSE"))
        self.abort.setText(_translate("MainWindow", "CYCLE STOP"))
        self.feed_label.setText(_translate("MainWindow", "FEED"))
        self.rapid_label.setText(_translate("MainWindow", "RAPID"))
        self.jogs_label.setText(_translate("MainWindow", "JOG"))
        self.button_label.setText(_translate("MainWindow", "BUTTONS"))
        self.file_edit.setText(_translate("MainWindow", "EDIT"))
        self.mdi_show.setText(_translate("MainWindow", "MDI"))
        self.arc_label.setText(_translate("MainWindow", "ARC"))
        self.label_47.setText(_translate("MainWindow", "OK"))
        self.height_reset.setText(_translate("MainWindow", "OVERRIDE"))
        self.label_64.setText(_translate("MainWindow", "IGNORE OK"))
        self.label_67.setText(_translate("MainWindow", "OHMIC PROBE"))
        self.control_label.setText(_translate("MainWindow", "CONTROL"))
        self.label_68.setText(_translate("MainWindow", "TORCH ON"))
        self.label_69.setText(_translate("MainWindow", "ENABLE"))
        self.label_59.setText(_translate("MainWindow", "MESH MODE"))
        self.use_auto_volts_lbl.setText(_translate("MainWindow", "AUTO VOLTS"))
        self.label_72.setText(_translate("MainWindow", "VOID ANTI DIVE"))
        self.label_73.setText(_translate("MainWindow", "ENABLE"))
        self.label_70.setText(_translate("MainWindow", "VELOCITY ANTI DIVE"))
        self.label_71.setText(_translate("MainWindow", "ENABLE"))
        self.sensor_label.setText(_translate("MainWindow", "SENSOR"))
        self.label_49.setText(_translate("MainWindow", "FLOAT"))
        self.label_52.setText(_translate("MainWindow", "OHMIC"))
        self.label_53.setText(_translate("MainWindow", "BREAK"))
        self.thc_label.setText(_translate("MainWindow", "THC"))
        self.label_11.setText(_translate("MainWindow", "ENABLE"))
        self.label_44.setText(_translate("MainWindow", "UP"))
        self.label_43.setText(_translate("MainWindow", "ENABLED"))
        self.label_45.setText(_translate("MainWindow", "DOWN"))
        self.led_thc_active_lbl.setText(_translate("MainWindow", "ACTIVE"))
        self.jog_label.setText(_translate("MainWindow", "JOGGING"))
        self.jog_slow.setText(_translate("MainWindow", "FAST"))
        self.cut_rec_label.setText(_translate("MainWindow", "CUT RECOVERY"))
        self.cut_rec_cancel.setText(_translate("MainWindow", "CANCEL\n"
"MOVE"))
        self.cut_rec_rev.setText(_translate("MainWindow", "REV"))
        self.cut_rec_fwd.setText(_translate("MainWindow", "FWD"))
        self.cut_rec_move_label.setText(_translate("MainWindow", "MOVE"))
        self.file_clear.setText(_translate("MainWindow", "CLEAR"))
        self.file_open.setText(_translate("MainWindow", "OPEN"))
        self.file_reload.setText(_translate("MainWindow", "RELOAD"))
        self.mdi_label.setText(_translate("MainWindow", "MDI HISTORY"))
        self.dro_label.setText(_translate("MainWindow", "DRO"))
        self.camera.setText(_translate("MainWindow", "CAMERA"))
        self.laser.setText(_translate("MainWindow", "LASER"))
        self.home_b.setText(_translate("MainWindow", "HOME"))
        self.home_b.setProperty("true_state_string", _translate("MainWindow", "HOME"))
        self.home_b.setProperty("false_state_string", _translate("MainWindow", "HOME"))
        self.touch_x.setProperty("dialog_code_string", _translate("MainWindow", "ENTRY"))
        self.touch_y.setProperty("dialog_code_string", _translate("MainWindow", "ENTRY"))
        self.touch_z.setProperty("dialog_code_string", _translate("MainWindow", "ENTRY"))
        self.home_a.setText(_translate("MainWindow", "HOME"))
        self.home_a.setProperty("true_state_string", _translate("MainWindow", "HOME"))
        self.home_a.setProperty("false_state_string", _translate("MainWindow", "HOME"))
        self.home_y.setText(_translate("MainWindow", "HOME"))
        self.home_y.setProperty("true_state_string", _translate("MainWindow", "HOME"))
        self.home_y.setProperty("false_state_string", _translate("MainWindow", "HOME"))
        self.home_x.setText(_translate("MainWindow", "HOME"))
        self.home_x.setProperty("true_state_string", _translate("MainWindow", "HOME"))
        self.home_x.setProperty("false_state_string", _translate("MainWindow", "HOME"))
        self.home_z.setText(_translate("MainWindow", "HOME"))
        self.home_z.setProperty("true_state_string", _translate("MainWindow", "HOME"))
        self.home_z.setProperty("false_state_string", _translate("MainWindow", "HOME"))
        self.home_all.setText(_translate("MainWindow", "HOME ALL"))
        self.home_all.setProperty("true_state_string", _translate("MainWindow", "UN\n"
"HOME ALL"))
        self.home_all.setProperty("false_state_string", _translate("MainWindow", "HOME ALL"))
        self.home_c.setText(_translate("MainWindow", "HOME"))
        self.home_c.setProperty("true_state_string", _translate("MainWindow", "HOME"))
        self.home_c.setProperty("false_state_string", _translate("MainWindow", "HOME"))
        self.home_c.setProperty("view_type_string", _translate("MainWindow", "P"))
        self.dro_label_c.setText(_translate("MainWindow", "C"))
        self.touch_c.setText(_translate("MainWindow", "0"))
        self.touch_c.setProperty("axis_letter", _translate("MainWindow", "C"))
        self.main_tab_widget.setTabText(self.main_tab_widget.indexOf(self.main_tab), _translate("MainWindow", "MAIN"))
        self.conv_label.setText(_translate("MainWindow", "CONVERSATIONAL"))
        self.conv_new.setText(_translate("MainWindow", "NEW"))
        self.conv_save.setText(_translate("MainWindow", "SAVE"))
        self.conv_settings.setText(_translate("MainWindow", "SETTINGS"))
        self.conv_send.setText(_translate("MainWindow", "SEND"))
        self.main_tab_widget.setTabText(self.main_tab_widget.indexOf(self.conv_tab), _translate("MainWindow", "CONVERSATIONAL"))
        self.save_plasma.setText(_translate("MainWindow", "SAVE"))
        self.config_label.setText(_translate("MainWindow", "CONFIGURATION"))
        self.reload_plasma.setText(_translate("MainWindow", "RELOAD"))
        self.arc_conf_lbl.setText(_translate("MainWindow", "ARC"))
        self.label_19.setText(_translate("MainWindow", "Start Fail Timer"))
        self.label_21.setText(_translate("MainWindow", "Max Starts"))
        self.label_24.setText(_translate("MainWindow", "Retry Delay"))
        self.arc_voltage_scale_lbl.setText(_translate("MainWindow", "Voltage Scale"))
        self.arc_voltage_offset_lbl.setText(_translate("MainWindow", "Voltage Offset"))
        self.height_per_volt_lbl.setText(_translate("MainWindow", "Height Per Volt"))
        self.arc_ok_high_lbl.setText(_translate("MainWindow", "OK High Volts"))
        self.arc_ok_low_lbl.setText(_translate("MainWindow", "OK Low Volts"))
        self.thc_conf_lbl.setText(_translate("MainWindow", "THC"))
        self.thc_sample_threshold_lbl.setText(_translate("MainWindow", "Sample Threshold"))
        self.thc_delay_lbl.setText(_translate("MainWindow", "Delay"))
        self.pid_d_gain_lbl.setText(_translate("MainWindow", "PID-D"))
        self.thc_sample_threshold.setSuffix(_translate("MainWindow", " V"))
        self.thc_auto_lbl.setText(_translate("MainWindow", "Auto Activate"))
        self.pid_p_gain_lbl.setText(_translate("MainWindow", "Speed (PID-P)"))
        self.label_41.setText(_translate("MainWindow", "VAD Threshold"))
        self.thc_threshold_lbl.setText(_translate("MainWindow", "Threshold"))
        self.voidlock_slope_lbl.setText(_translate("MainWindow", "Void Slope"))
        self.pid_i_gain_lbl.setText(_translate("MainWindow", "PID-I"))
        self.thc_sample_counts_lbl.setText(_translate("MainWindow", "Sample Counts"))
        self.probe_conf_lbl.setText(_translate("MainWindow", "PROBING"))
        self.label_16.setText(_translate("MainWindow", "Ohmic Offset"))
        self.label_17.setText(_translate("MainWindow", "Ohmic Retries"))
        self.label_2.setText(_translate("MainWindow", "Float Travel"))
        self.label_15.setText(_translate("MainWindow", "Probe Height"))
        self.label_14.setText(_translate("MainWindow", "Probe Speed"))
        self.label_18.setText(_translate("MainWindow", "Skip IHS"))
        self.offset_feed_rate_lbl.setText(_translate("MainWindow", "Offset Speed"))
        self.safety_conf_lbl.setText(_translate("MainWindow", "SAFETY"))
        self.label_54.setText(_translate("MainWindow", "Safe Height"))
        self.scribe_conf_lbl.setText(_translate("MainWindow", "SCRIBING"))
        self.label_55.setText(_translate("MainWindow", "Arm Delay"))
        self.label_56.setText(_translate("MainWindow", "On Delay"))
        self.spotting_conf_lbl.setText(_translate("MainWindow", "SPOTTING"))
        self.label_58.setText(_translate("MainWindow", "Threshold"))
        self.label_60.setText(_translate("MainWindow", "Time On"))
        self.pierce_conf_lbl.setText(_translate("MainWindow", "PIERCE ONLY"))
        self.label_63.setText(_translate("MainWindow", "X Offset"))
        self.label_66.setText(_translate("MainWindow", "Y Offset"))
        self.motion_conf_lbl.setText(_translate("MainWindow", "MOTION"))
        self.label_61.setText(_translate("MainWindow", "Setup Speed"))
        self.save_material.setText(_translate("MainWindow", "SAVE"))
        self.new_material.setText(_translate("MainWindow", "NEW"))
        self.materials_label.setText(_translate("MainWindow", "MATERIAL"))
        self.delete_material.setText(_translate("MainWindow", "DELETE"))
        self.reload_material.setText(_translate("MainWindow", "RELOAD"))
        self.label_9.setText(_translate("MainWindow", "Cut Feed Rate"))
        self.label_65.setText(_translate("MainWindow", "Cut Amps"))
        self.label_5.setText(_translate("MainWindow", "Pierce Height"))
        self.label_76.setText(_translate("MainWindow", "Puddle Delay"))
        self.label_75.setText(_translate("MainWindow", "Puddle Height"))
        self.label_77.setText(_translate("MainWindow", "Pause At End"))
        self.label_4.setText(_translate("MainWindow", "Kerf Width"))
        self.label_7.setText(_translate("MainWindow", "Cut Height"))
        self.label_6.setText(_translate("MainWindow", "Pierce Delay"))
        self.cut_mode_label.setText(_translate("MainWindow", "Cut Mode"))
        self.gas_pressure_label.setText(_translate("MainWindow", "Gas Pressure"))
        self.label_74.setText(_translate("MainWindow", "Cut Volts"))
        self.main_tab_widget.setTabText(self.main_tab_widget.indexOf(self.param_tab), _translate("MainWindow", "PARAMETERS"))
        self.gui_label.setText(_translate("MainWindow", "GUI SETTINGS"))
        self.color_preview_lbl.setText(_translate("MainWindow", "Preview"))
        self.color_estop_lbl.setText(_translate("MainWindow", "Estop"))
        self.color_frams_lbl.setText(_translate("MainWindow", "Frames"))
        self.color_led_lbl.setText(_translate("MainWindow", "LED"))
        self.color_backgrnd_lbl.setText(_translate("MainWindow", "Background"))
        self.color_backgalt_lbl.setText(_translate("MainWindow", "Alt Background"))
        self.color_disabled_lbl.setText(_translate("MainWindow", "Disabled"))
        self.color_foregalt_lbl.setText(_translate("MainWindow", "Highlight"))
        self.color_foregrnd_lbl.setText(_translate("MainWindow", "Foreground"))
        self.label_33.setText(_translate("MainWindow", "KB Shortcuts"))
        self.label_20.setText(_translate("MainWindow", "View Material"))
        self.label_36.setText(_translate("MainWindow", "Optional Stop"))
        self.label_46.setText(_translate("MainWindow", "Exit Warning"))
        self.label_37.setText(_translate("MainWindow", "Optional Block"))
        self.label_26.setText(_translate("MainWindow", "Soft Keyboard"))
        self.label_38.setText(_translate("MainWindow", "Tool Tips"))
        self.label_42.setText(_translate("MainWindow", "Override Limits"))
        self.label_48.setText(_translate("MainWindow", "Override Jog"))
        self.label_39.setText(_translate("MainWindow", "Run From Line"))
        self.label_13.setText(_translate("MainWindow", "Grid Size"))
        self.label_40.setText(_translate("MainWindow", "Table Zoom"))
        self.label_10.setText(_translate("MainWindow", "Cone Size"))
        self.label_51.setText(_translate("MainWindow", "Default Material"))
        self.ub_save.setText(_translate("MainWindow", "SAVE"))
        self.ub_label.setText(_translate("MainWindow", "USER BUTTON ENTRIES"))
        self.ub_reload.setText(_translate("MainWindow", "RELOAD"))
        self.ub_name.setText(_translate("MainWindow", "Name"))
        self.ub_code.setText(_translate("MainWindow", "Code"))
        self.ub_num_9.setText(_translate("MainWindow", "9"))
        self.ub_num_17.setText(_translate("MainWindow", "17"))
        self.ub_num_14.setText(_translate("MainWindow", "14"))
        self.ub_num_19.setText(_translate("MainWindow", "19"))
        self.ub_num_2.setText(_translate("MainWindow", "2"))
        self.ub_num_6.setText(_translate("MainWindow", "6"))
        self.ub_num_15.setText(_translate("MainWindow", "15"))
        self.ub_num_12.setText(_translate("MainWindow", "12"))
        self.ub_num_11.setText(_translate("MainWindow", "11"))
        self.ub_num_1.setText(_translate("MainWindow", "1"))
        self.ub_num_20.setText(_translate("MainWindow", "20"))
        self.ub_num_16.setText(_translate("MainWindow", "16"))
        self.ub_num_10.setText(_translate("MainWindow", "10"))
        self.ub_num_18.setText(_translate("MainWindow", "18"))
        self.ub_num_3.setText(_translate("MainWindow", "3"))
        self.ub_num_13.setText(_translate("MainWindow", "13"))
        self.ub_num_7.setText(_translate("MainWindow", "7"))
        self.ub_num_8.setText(_translate("MainWindow", "8"))
        self.ub_num_5.setText(_translate("MainWindow", "5"))
        self.ub_num_4.setText(_translate("MainWindow", "4"))
        self.sd_save.setText(_translate("MainWindow", "SAVE"))
        self.sd_label.setText(_translate("MainWindow", "SHUTDOWN MESSAGE"))
        self.sd_reload.setText(_translate("MainWindow", "RELOAD"))
        self.utility_label.setText(_translate("MainWindow", "UTILITIES"))
        self.actionbutton_halshow.setText(_translate("MainWindow", "HAL SHOW"))
        self.actionbutton_halscope.setText(_translate("MainWindow", "HAL SCOPE"))
        self.actionbutton_halmeter.setText(_translate("MainWindow", "HAL METER"))
        self.actionbutton_calibration.setText(_translate("MainWindow", "CALIBRATION"))
        self.actionbutton_lcnc_status.setText(_translate("MainWindow", "STATUS"))
        self.set_offsets.setText(_translate("MainWindow", "SET\n"
"OFFSETS"))
        self.backup.setText(_translate("MainWindow", "BACKUP\n"
"CONFIG"))
        self.main_tab_widget.setTabText(self.main_tab_widget.indexOf(self.settings_tab), _translate("MainWindow", "SETTINGS"))
        self.stats_label.setText(_translate("MainWindow", "STATISTICS"))
        self.cut_length_reset.setText(_translate("MainWindow", "RESET"))
        self.cut_time_reset.setText(_translate("MainWindow", "RESET"))
        self.label_30.setText(_translate("MainWindow", "CUTTING TIME"))
        self.label_23.setText(_translate("MainWindow", "JOB"))
        self.run_time_reset.setText(_translate("MainWindow", "RESET"))
        self.rapid_time_reset.setText(_translate("MainWindow", "RESET"))
        self.label_34.setText(_translate("MainWindow", "RAPID TIME"))
        self.label_25.setText(_translate("MainWindow", "TOTAL"))
        self.torch_time_reset.setText(_translate("MainWindow", "RESET"))
        self.label_32.setText(_translate("MainWindow", "TOTAL RUN TIME"))
        self.cut_length_label.setText(_translate("MainWindow", "CUT LENGTH"))
        self.all_reset.setText(_translate("MainWindow", "RESET ALL"))
        self.label_28.setText(_translate("MainWindow", "TORCH STARTS"))
        self.label_22.setText(_translate("MainWindow", "ITEM"))
        self.pierce_reset.setText(_translate("MainWindow", "RESET"))
        self.label_31.setText(_translate("MainWindow", "TORCH ON TIME"))
        self.probe_time_reset.setText(_translate("MainWindow", "RESET"))
        self.label_35.setText(_translate("MainWindow", "PROBE TIME"))
        self.paused_time_reset.setText(_translate("MainWindow", "RESET"))
        self.label_50.setText(_translate("MainWindow", "PAUSED TIME"))
        self.paused_time.setText(_translate("MainWindow", "0:00:00"))
        self.paused_time_t.setText(_translate("MainWindow", "0:00:00"))
        self.pmx_stats_label.setText(_translate("MainWindow", "RS485 PMX STATISTICS"))
        self.label_29.setText(_translate("MainWindow", "TOTAL"))
        self.pmx_arc_time_label.setText(_translate("MainWindow", "ARC ON TIME"))
        self.label_8.setText(_translate("MainWindow", "ITEM"))
        self.machinelog_label.setText(_translate("MainWindow", "MACHINE LOG"))
        self.main_tab_widget.setTabText(self.main_tab_widget.indexOf(self.stats_tab), _translate("MainWindow", "STATISTICS"))
from qtvcp.widgets.action_button import ActionButton
from qtvcp.widgets.axis_tool_button import AxisToolButton
from qtvcp.widgets.camview_widget import CamView
from qtvcp.widgets.dro_widget import DROLabel
from qtvcp.widgets.file_manager import FileManager
from qtvcp.widgets.gcode_editor import GcodeDisplay, GcodeEditor
from qtvcp.widgets.gcode_graphics import GCodeGraphics
from qtvcp.widgets.hal_label import HALLabel
from qtvcp.widgets.jog_increments import JogIncrements
from qtvcp.widgets.led_widget import LED
from qtvcp.widgets.machine_log import MachineLog
from qtvcp.widgets.mdi_history import MDIHistory
from qtvcp.widgets.origin_offsetview import OriginOffsetView
from qtvcp.widgets.screen_options import ScreenOptions
from qtvcp.widgets.simple_widgets import CheckBox, DoubleScale, IndicatedPushButton, PushButton
from qtvcp.widgets.status_label import StatusLabel
from qtvcp.widgets.status_slider import StatusSlider
from qtvcp.widgets.system_tool_button import SystemToolButton
from qtvcp.widgets.web_widget import WebWidget
