dodalem probe basic
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import os
|
||||
import linuxcnc
|
||||
|
||||
from qtpy import uic
|
||||
from qtpy.QtCore import Qt
|
||||
from qtpy.QtWidgets import QWidget
|
||||
|
||||
from qtpyvcp.plugins import getPlugin
|
||||
from qtpyvcp.utilities import logger
|
||||
|
||||
LOG = logger.getLogger(__name__)
|
||||
|
||||
STATUS = getPlugin('status')
|
||||
TOOL_TABLE = getPlugin('tooltable')
|
||||
|
||||
INI_FILE = linuxcnc.ini(os.getenv('INI_FILE_NAME'))
|
||||
|
||||
|
||||
class UserDRO(QWidget):
|
||||
def __init__(self, parent=None):
|
||||
super(UserDRO, self).__init__(parent)
|
||||
ui_file = os.path.splitext(os.path.basename(__file__))[0] + ".ui"
|
||||
uic.loadUi(os.path.join(os.path.dirname(__file__), ui_file), self)
|
||||
1096
configs/probe_basic_lathe/user_dro_display/xz_dros/dros_xz.ui
Normal file
1096
configs/probe_basic_lathe/user_dro_display/xz_dros/dros_xz.ui
Normal file
File diff suppressed because it is too large
Load Diff
543
configs/probe_basic_lathe/user_dro_display/xz_dros/dros_xz_ui.py
Normal file
543
configs/probe_basic_lathe/user_dro_display/xz_dros/dros_xz_ui.py
Normal file
@@ -0,0 +1,543 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file '/home/buildbot/buildbot/worker/probe_basic-dev/sources/debian/python3-probe-basic/usr/share/configs/probe_basic_lathe/user_dro_display/xz_dros/dros_xz.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 PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_dros_xz(object):
|
||||
def setupUi(self, dros_xz):
|
||||
dros_xz.setObjectName("dros_xz")
|
||||
dros_xz.resize(491, 308)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(dros_xz.sizePolicy().hasHeightForWidth())
|
||||
dros_xz.setSizePolicy(sizePolicy)
|
||||
dros_xz.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(dros_xz)
|
||||
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
||||
self.verticalLayout.setSpacing(0)
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.widget_xz = QtWidgets.QWidget(dros_xz)
|
||||
self.widget_xz.setObjectName("widget_xz")
|
||||
self.verticalLayout_55 = QtWidgets.QVBoxLayout(self.widget_xz)
|
||||
self.verticalLayout_55.setContentsMargins(0, 2, 0, 0)
|
||||
self.verticalLayout_55.setSpacing(15)
|
||||
self.verticalLayout_55.setObjectName("verticalLayout_55")
|
||||
self.widget_87 = QtWidgets.QWidget(self.widget_xz)
|
||||
self.widget_87.setMinimumSize(QtCore.QSize(0, 42))
|
||||
self.widget_87.setObjectName("widget_87")
|
||||
self.horizontalLayout_79 = QtWidgets.QHBoxLayout(self.widget_87)
|
||||
self.horizontalLayout_79.setContentsMargins(0, 0, 0, 0)
|
||||
self.horizontalLayout_79.setObjectName("horizontalLayout_79")
|
||||
self.frame_53 = QtWidgets.QFrame(self.widget_87)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.frame_53.sizePolicy().hasHeightForWidth())
|
||||
self.frame_53.setSizePolicy(sizePolicy)
|
||||
self.frame_53.setMinimumSize(QtCore.QSize(0, 40))
|
||||
self.frame_53.setMaximumSize(QtCore.QSize(16777215, 40))
|
||||
self.frame_53.setStyleSheet(".QFrame{\n"
|
||||
" border-style: solid;\n"
|
||||
" border-color: rgb(176, 179,172);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 4px;\n"
|
||||
" background-color: rgb(90, 90, 90);\n"
|
||||
" padding: -5px;\n"
|
||||
"}")
|
||||
self.frame_53.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
||||
self.frame_53.setFrameShadow(QtWidgets.QFrame.Raised)
|
||||
self.frame_53.setObjectName("frame_53")
|
||||
self.horizontalLayout_168 = QtWidgets.QHBoxLayout(self.frame_53)
|
||||
self.horizontalLayout_168.setContentsMargins(9, -1, 0, -1)
|
||||
self.horizontalLayout_168.setSpacing(18)
|
||||
self.horizontalLayout_168.setObjectName("horizontalLayout_168")
|
||||
self.machine_column_header_2 = QtWidgets.QLabel(self.frame_53)
|
||||
self.machine_column_header_2.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.machine_column_header_2.sizePolicy().hasHeightForWidth())
|
||||
self.machine_column_header_2.setSizePolicy(sizePolicy)
|
||||
self.machine_column_header_2.setMinimumSize(QtCore.QSize(48, 17))
|
||||
self.machine_column_header_2.setMaximumSize(QtCore.QSize(48, 17))
|
||||
self.machine_column_header_2.setStyleSheet("QLabel{\n"
|
||||
" color: rgb(238, 238, 236);\n"
|
||||
" font: 16pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.machine_column_header_2.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.machine_column_header_2.setObjectName("machine_column_header_2")
|
||||
self.horizontalLayout_168.addWidget(self.machine_column_header_2)
|
||||
self.work_column_header = StatusLabel(self.frame_53)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.work_column_header.sizePolicy().hasHeightForWidth())
|
||||
self.work_column_header.setSizePolicy(sizePolicy)
|
||||
self.work_column_header.setMinimumSize(QtCore.QSize(100, 17))
|
||||
self.work_column_header.setMaximumSize(QtCore.QSize(100, 17))
|
||||
self.work_column_header.setStyleSheet("QLabel{\n"
|
||||
" color: rgb(238, 238, 236);\n"
|
||||
" font: 16pt \"Bebas Kai\";\n"
|
||||
" padding-left: 6px;\n"
|
||||
"}")
|
||||
self.work_column_header.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.work_column_header.setObjectName("work_column_header")
|
||||
self.horizontalLayout_168.addWidget(self.work_column_header)
|
||||
self.machine_column_header = QtWidgets.QLabel(self.frame_53)
|
||||
self.machine_column_header.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.machine_column_header.sizePolicy().hasHeightForWidth())
|
||||
self.machine_column_header.setSizePolicy(sizePolicy)
|
||||
self.machine_column_header.setMinimumSize(QtCore.QSize(100, 17))
|
||||
self.machine_column_header.setMaximumSize(QtCore.QSize(100, 17))
|
||||
self.machine_column_header.setStyleSheet("QLabel{\n"
|
||||
" color: rgb(238, 238, 236);\n"
|
||||
" font: 16pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.machine_column_header.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.machine_column_header.setObjectName("machine_column_header")
|
||||
self.horizontalLayout_168.addWidget(self.machine_column_header)
|
||||
self.dtg_column_header = QtWidgets.QLabel(self.frame_53)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.dtg_column_header.sizePolicy().hasHeightForWidth())
|
||||
self.dtg_column_header.setSizePolicy(sizePolicy)
|
||||
self.dtg_column_header.setMinimumSize(QtCore.QSize(100, 17))
|
||||
self.dtg_column_header.setMaximumSize(QtCore.QSize(100, 17))
|
||||
self.dtg_column_header.setStyleSheet("QLabel{\n"
|
||||
" color: rgb(238, 238, 236);\n"
|
||||
" font: 16pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.dtg_column_header.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.dtg_column_header.setObjectName("dtg_column_header")
|
||||
self.horizontalLayout_168.addWidget(self.dtg_column_header)
|
||||
self.machine_column_header_3 = QtWidgets.QLabel(self.frame_53)
|
||||
self.machine_column_header_3.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.machine_column_header_3.sizePolicy().hasHeightForWidth())
|
||||
self.machine_column_header_3.setSizePolicy(sizePolicy)
|
||||
self.machine_column_header_3.setMinimumSize(QtCore.QSize(60, 17))
|
||||
self.machine_column_header_3.setMaximumSize(QtCore.QSize(60, 17))
|
||||
self.machine_column_header_3.setStyleSheet("QLabel{\n"
|
||||
" color: rgb(238, 238, 236);\n"
|
||||
" font: 16pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.machine_column_header_3.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.machine_column_header_3.setObjectName("machine_column_header_3")
|
||||
self.horizontalLayout_168.addWidget(self.machine_column_header_3)
|
||||
self.horizontalLayout_79.addWidget(self.frame_53)
|
||||
self.verticalLayout_55.addWidget(self.widget_87)
|
||||
self.widget_88 = QtWidgets.QWidget(self.widget_xz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(1)
|
||||
sizePolicy.setHeightForWidth(self.widget_88.sizePolicy().hasHeightForWidth())
|
||||
self.widget_88.setSizePolicy(sizePolicy)
|
||||
self.widget_88.setMinimumSize(QtCore.QSize(0, 42))
|
||||
self.widget_88.setObjectName("widget_88")
|
||||
self.x_axis_dro_layout_3 = QtWidgets.QHBoxLayout(self.widget_88)
|
||||
self.x_axis_dro_layout_3.setContentsMargins(0, 2, 0, 2)
|
||||
self.x_axis_dro_layout_3.setSpacing(8)
|
||||
self.x_axis_dro_layout_3.setObjectName("x_axis_dro_layout_3")
|
||||
self.zero_x_button = MDIButton(self.widget_88)
|
||||
self.zero_x_button.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.zero_x_button.sizePolicy().hasHeightForWidth())
|
||||
self.zero_x_button.setSizePolicy(sizePolicy)
|
||||
self.zero_x_button.setMinimumSize(QtCore.QSize(60, 40))
|
||||
self.zero_x_button.setMaximumSize(QtCore.QSize(60, 40))
|
||||
self.zero_x_button.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
self.zero_x_button.setStyleSheet("MDIButton {\n"
|
||||
" font: 16pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.zero_x_button.setIconSize(QtCore.QSize(20, 20))
|
||||
self.zero_x_button.setObjectName("zero_x_button")
|
||||
self.x_axis_dro_layout_3.addWidget(self.zero_x_button)
|
||||
self.dro_entry_x_main = DROLineEdit(self.widget_88)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.dro_entry_x_main.sizePolicy().hasHeightForWidth())
|
||||
self.dro_entry_x_main.setSizePolicy(sizePolicy)
|
||||
self.dro_entry_x_main.setMinimumSize(QtCore.QSize(100, 35))
|
||||
self.dro_entry_x_main.setFocusPolicy(QtCore.Qt.ClickFocus)
|
||||
self.dro_entry_x_main.setStyleSheet("DROLineEdit{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" padding-right: 2px;\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.dro_entry_x_main.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.dro_entry_x_main.setProperty("referenceType", 1)
|
||||
self.dro_entry_x_main.setProperty("axisNumber", 0)
|
||||
self.dro_entry_x_main.setProperty("latheMode", 0)
|
||||
self.dro_entry_x_main.setObjectName("dro_entry_x_main")
|
||||
self.x_axis_dro_layout_3.addWidget(self.dro_entry_x_main)
|
||||
self.drolabel_machine_x = DROLabel(self.widget_88)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.drolabel_machine_x.sizePolicy().hasHeightForWidth())
|
||||
self.drolabel_machine_x.setSizePolicy(sizePolicy)
|
||||
self.drolabel_machine_x.setMinimumSize(QtCore.QSize(100, 35))
|
||||
self.drolabel_machine_x.setStyleSheet("QLabel{\n"
|
||||
" border-style: transparent;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt;\n"
|
||||
" padding-right: 2px;\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"unhomed\"]{\n"
|
||||
" color: red;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"homing\"]{\n"
|
||||
" color: rgb(196, 160, 0);\n"
|
||||
"}")
|
||||
self.drolabel_machine_x.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.drolabel_machine_x.setProperty("referenceType", 0)
|
||||
self.drolabel_machine_x.setProperty("axisNumber", 0)
|
||||
self.drolabel_machine_x.setProperty("latheMode", 0)
|
||||
self.drolabel_machine_x.setObjectName("drolabel_machine_x")
|
||||
self.x_axis_dro_layout_3.addWidget(self.drolabel_machine_x)
|
||||
self.dro_dtg_x = DROLabel(self.widget_88)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.dro_dtg_x.sizePolicy().hasHeightForWidth())
|
||||
self.dro_dtg_x.setSizePolicy(sizePolicy)
|
||||
self.dro_dtg_x.setMinimumSize(QtCore.QSize(100, 35))
|
||||
self.dro_dtg_x.setStyleSheet("DROLabel{\n"
|
||||
" border-style: transparent;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt;\n"
|
||||
" padding-right: 2px;\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"DROLabel[style=\"unhomed\"]{\n"
|
||||
" color: red;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"DROLabel[style=\"homing\"]{\n"
|
||||
" color: rgb(196, 160, 0);\n"
|
||||
"}")
|
||||
self.dro_dtg_x.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.dro_dtg_x.setProperty("referenceType", 2)
|
||||
self.dro_dtg_x.setProperty("axisNumber", 0)
|
||||
self.dro_dtg_x.setProperty("latheMode", 0)
|
||||
self.dro_dtg_x.setObjectName("dro_dtg_x")
|
||||
self.x_axis_dro_layout_3.addWidget(self.dro_dtg_x)
|
||||
self.ref_x_button = ActionButton(self.widget_88)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.ref_x_button.sizePolicy().hasHeightForWidth())
|
||||
self.ref_x_button.setSizePolicy(sizePolicy)
|
||||
self.ref_x_button.setMinimumSize(QtCore.QSize(60, 40))
|
||||
self.ref_x_button.setMaximumSize(QtCore.QSize(60, 40))
|
||||
self.ref_x_button.setStyleSheet("QPushButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.ref_x_button.setObjectName("ref_x_button")
|
||||
self.x_axis_dro_layout_3.addWidget(self.ref_x_button)
|
||||
self.verticalLayout_55.addWidget(self.widget_88)
|
||||
self.widget_89 = QtWidgets.QWidget(self.widget_xz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(1)
|
||||
sizePolicy.setHeightForWidth(self.widget_89.sizePolicy().hasHeightForWidth())
|
||||
self.widget_89.setSizePolicy(sizePolicy)
|
||||
self.widget_89.setMinimumSize(QtCore.QSize(0, 42))
|
||||
self.widget_89.setObjectName("widget_89")
|
||||
self.z_axis_dro_layout_6 = QtWidgets.QHBoxLayout(self.widget_89)
|
||||
self.z_axis_dro_layout_6.setContentsMargins(0, 2, 0, 2)
|
||||
self.z_axis_dro_layout_6.setSpacing(8)
|
||||
self.z_axis_dro_layout_6.setObjectName("z_axis_dro_layout_6")
|
||||
self.zero_z_button = MDIButton(self.widget_89)
|
||||
self.zero_z_button.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.zero_z_button.sizePolicy().hasHeightForWidth())
|
||||
self.zero_z_button.setSizePolicy(sizePolicy)
|
||||
self.zero_z_button.setMinimumSize(QtCore.QSize(60, 40))
|
||||
self.zero_z_button.setMaximumSize(QtCore.QSize(60, 40))
|
||||
self.zero_z_button.setStyleSheet("MDIButton {\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
icon = QtGui.QIcon()
|
||||
icon.addPixmap(QtGui.QPixmap(":/images/zero.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.zero_z_button.setIcon(icon)
|
||||
self.zero_z_button.setIconSize(QtCore.QSize(20, 20))
|
||||
self.zero_z_button.setObjectName("zero_z_button")
|
||||
self.z_axis_dro_layout_6.addWidget(self.zero_z_button)
|
||||
self.dro_entry_z_main = DROLineEdit(self.widget_89)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.dro_entry_z_main.sizePolicy().hasHeightForWidth())
|
||||
self.dro_entry_z_main.setSizePolicy(sizePolicy)
|
||||
self.dro_entry_z_main.setMinimumSize(QtCore.QSize(100, 35))
|
||||
self.dro_entry_z_main.setFocusPolicy(QtCore.Qt.ClickFocus)
|
||||
self.dro_entry_z_main.setStyleSheet("DROLineEdit{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" padding-right: 2px;\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.dro_entry_z_main.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.dro_entry_z_main.setProperty("referenceType", 1)
|
||||
self.dro_entry_z_main.setProperty("axisNumber", 2)
|
||||
self.dro_entry_z_main.setProperty("latheMode", 0)
|
||||
self.dro_entry_z_main.setObjectName("dro_entry_z_main")
|
||||
self.z_axis_dro_layout_6.addWidget(self.dro_entry_z_main)
|
||||
self.drolabel_machine_z = DROLabel(self.widget_89)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.drolabel_machine_z.sizePolicy().hasHeightForWidth())
|
||||
self.drolabel_machine_z.setSizePolicy(sizePolicy)
|
||||
self.drolabel_machine_z.setMinimumSize(QtCore.QSize(100, 35))
|
||||
self.drolabel_machine_z.setStyleSheet("QLabel{\n"
|
||||
" border-style: transparent;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt;\n"
|
||||
" padding-right: 2px;\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"unhomed\"]{\n"
|
||||
" color: red;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"homing\"]{\n"
|
||||
" color: rgb(196, 160, 0);\n"
|
||||
"}")
|
||||
self.drolabel_machine_z.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.drolabel_machine_z.setProperty("referenceType", 0)
|
||||
self.drolabel_machine_z.setProperty("axisNumber", 2)
|
||||
self.drolabel_machine_z.setProperty("latheMode", 0)
|
||||
self.drolabel_machine_z.setObjectName("drolabel_machine_z")
|
||||
self.z_axis_dro_layout_6.addWidget(self.drolabel_machine_z)
|
||||
self.dro_dtg_z = DROLabel(self.widget_89)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.dro_dtg_z.sizePolicy().hasHeightForWidth())
|
||||
self.dro_dtg_z.setSizePolicy(sizePolicy)
|
||||
self.dro_dtg_z.setMinimumSize(QtCore.QSize(100, 35))
|
||||
self.dro_dtg_z.setStyleSheet("DROLabel{\n"
|
||||
" border-style: transparent;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt;\n"
|
||||
" padding-right: 2px;\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"DROLabel[style=\"unhomed\"]{\n"
|
||||
" color: red;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"DROLabel[style=\"homing\"]{\n"
|
||||
" color: rgb(196, 160, 0);\n"
|
||||
"}")
|
||||
self.dro_dtg_z.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.dro_dtg_z.setProperty("referenceType", 2)
|
||||
self.dro_dtg_z.setProperty("axisNumber", 2)
|
||||
self.dro_dtg_z.setProperty("latheMode", 0)
|
||||
self.dro_dtg_z.setObjectName("dro_dtg_z")
|
||||
self.z_axis_dro_layout_6.addWidget(self.dro_dtg_z)
|
||||
self.ref_z_button = ActionButton(self.widget_89)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.ref_z_button.sizePolicy().hasHeightForWidth())
|
||||
self.ref_z_button.setSizePolicy(sizePolicy)
|
||||
self.ref_z_button.setMinimumSize(QtCore.QSize(60, 40))
|
||||
self.ref_z_button.setMaximumSize(QtCore.QSize(60, 40))
|
||||
self.ref_z_button.setStyleSheet("QPushButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.ref_z_button.setObjectName("ref_z_button")
|
||||
self.z_axis_dro_layout_6.addWidget(self.ref_z_button)
|
||||
self.verticalLayout_55.addWidget(self.widget_89)
|
||||
self.widget_2 = QtWidgets.QWidget(self.widget_xz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(1)
|
||||
sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth())
|
||||
self.widget_2.setSizePolicy(sizePolicy)
|
||||
self.widget_2.setObjectName("widget_2")
|
||||
self.verticalLayout_55.addWidget(self.widget_2)
|
||||
self.line_5 = QtWidgets.QFrame(self.widget_xz)
|
||||
self.line_5.setMaximumSize(QtCore.QSize(16777215, 2))
|
||||
self.line_5.setLineWidth(0)
|
||||
self.line_5.setMidLineWidth(1)
|
||||
self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
|
||||
self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
|
||||
self.line_5.setObjectName("line_5")
|
||||
self.verticalLayout_55.addWidget(self.line_5)
|
||||
self.widget = QtWidgets.QWidget(self.widget_xz)
|
||||
self.widget.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.widget.setObjectName("widget")
|
||||
self.horizontalLayout = QtWidgets.QHBoxLayout(self.widget)
|
||||
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
|
||||
self.horizontalLayout.setSpacing(30)
|
||||
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||
self.zero_all_button = MDIButton(self.widget)
|
||||
self.zero_all_button.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.zero_all_button.sizePolicy().hasHeightForWidth())
|
||||
self.zero_all_button.setSizePolicy(sizePolicy)
|
||||
self.zero_all_button.setMinimumSize(QtCore.QSize(60, 40))
|
||||
self.zero_all_button.setMaximumSize(QtCore.QSize(16777215, 40))
|
||||
self.zero_all_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.zero_all_button.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
self.zero_all_button.setStyleSheet("MDIButton {\n"
|
||||
" font: 14pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.zero_all_button.setIcon(icon)
|
||||
self.zero_all_button.setIconSize(QtCore.QSize(20, 20))
|
||||
self.zero_all_button.setObjectName("zero_all_button")
|
||||
self.horizontalLayout.addWidget(self.zero_all_button)
|
||||
self.ref_all_button = ActionButton(self.widget)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.ref_all_button.sizePolicy().hasHeightForWidth())
|
||||
self.ref_all_button.setSizePolicy(sizePolicy)
|
||||
self.ref_all_button.setMinimumSize(QtCore.QSize(62, 40))
|
||||
self.ref_all_button.setMaximumSize(QtCore.QSize(16777215, 40))
|
||||
self.ref_all_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.ref_all_button.setStyleSheet("QPushButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.ref_all_button.setObjectName("ref_all_button")
|
||||
self.horizontalLayout.addWidget(self.ref_all_button)
|
||||
self.verticalLayout_55.addWidget(self.widget)
|
||||
self.verticalLayout.addWidget(self.widget_xz)
|
||||
|
||||
self.retranslateUi(dros_xz)
|
||||
QtCore.QMetaObject.connectSlotsByName(dros_xz)
|
||||
|
||||
def retranslateUi(self, dros_xz):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
dros_xz.setWindowTitle(_translate("dros_xz", "dros_xz"))
|
||||
self.machine_column_header_2.setText(_translate("dros_xz", "AXIS"))
|
||||
self.work_column_header.setProperty("rules", _translate("dros_xz", "[{\"channels\": [{\"url\": \"status:g5x_index?text\", \"trigger\": true}], \"property\": \"Text\", \"expression\": \"ch[0] + \' WORK\'\\n\", \"name\": \"WCS Header\"}]"))
|
||||
self.machine_column_header.setText(_translate("dros_xz", "MACHINE"))
|
||||
self.dtg_column_header.setText(_translate("dros_xz", "DTG"))
|
||||
self.machine_column_header_3.setText(_translate("dros_xz", "REF"))
|
||||
self.zero_x_button.setText(_translate("dros_xz", "X RAD"))
|
||||
self.zero_x_button.setProperty("rules", _translate("dros_xz", "[{\"channels\": [{\"url\": \"status:g5x_index\", \"trigger\": true, \"type\": \"int\"}], \"property\": \"None\", \"expression\": \"\", \"name\": \"G5x Index\"}, {\"channels\": [{\"url\": \"status:gcodes\", \"trigger\": true}], \"property\": \"Text\", \"expression\": \"\'X DIA\' if \'G7\' in ch[0] else \'X RAD\'\", \"name\": \"diam_rad_mode_display\"}]"))
|
||||
self.zero_x_button.setProperty("MDICommand", _translate("dros_xz", "G10 L20 P{ch[0]} X0.0"))
|
||||
self.dro_entry_x_main.setProperty("inchFormat", _translate("dros_xz", "%9.4f"))
|
||||
self.dro_entry_x_main.setProperty("millimeterFormat", _translate("dros_xz", "%10.3f"))
|
||||
self.dro_entry_x_main.setProperty("degreeFormat", _translate("dros_xz", "%10.2f"))
|
||||
self.drolabel_machine_x.setProperty("inchFormat", _translate("dros_xz", "%9.4f"))
|
||||
self.drolabel_machine_x.setProperty("millimeterFormat", _translate("dros_xz", "%10.3f"))
|
||||
self.drolabel_machine_x.setProperty("degreeFormat", _translate("dros_xz", "%10.2f"))
|
||||
self.dro_dtg_x.setProperty("inchFormat", _translate("dros_xz", "%9.4f"))
|
||||
self.dro_dtg_x.setProperty("millimeterFormat", _translate("dros_xz", "%10.3f"))
|
||||
self.dro_dtg_x.setProperty("degreeFormat", _translate("dros_xz", "%10.2f"))
|
||||
self.ref_x_button.setText(_translate("dros_xz", "REF X"))
|
||||
self.ref_x_button.setProperty("rules", _translate("dros_xz", "[{\"name\": \"home_inhibit\", \"property\": \"Enable\", \"expression\": \"not (ch[0] or ch[1])\", \"channels\": [{\"url\": \"status:joint.0.homing\", \"trigger\": true}, {\"url\": \"status:joint.1.homing\", \"trigger\": true}]}]"))
|
||||
self.ref_x_button.setProperty("actionName", _translate("dros_xz", "machine.home.axis:x"))
|
||||
self.zero_z_button.setText(_translate("dros_xz", "Z"))
|
||||
self.zero_z_button.setProperty("rules", _translate("dros_xz", "[\n"
|
||||
" {\n"
|
||||
" \"channels\": [\n"
|
||||
" {\n"
|
||||
" \"url\": \"status:g5x_index\",\n"
|
||||
" \"trigger\": true,\n"
|
||||
" \"type\": \"int\"\n"
|
||||
" }\n"
|
||||
" ],\n"
|
||||
" \"expression\": \"\",\n"
|
||||
" \"name\": \"G5x Index\",\n"
|
||||
" \"property\": \"None\"\n"
|
||||
" }\n"
|
||||
"]"))
|
||||
self.zero_z_button.setProperty("MDICommand", _translate("dros_xz", "G10 L20 P{ch[0]} Z0.0"))
|
||||
self.dro_entry_z_main.setProperty("inchFormat", _translate("dros_xz", "%9.4f"))
|
||||
self.dro_entry_z_main.setProperty("millimeterFormat", _translate("dros_xz", "%10.3f"))
|
||||
self.dro_entry_z_main.setProperty("degreeFormat", _translate("dros_xz", "%10.2f"))
|
||||
self.drolabel_machine_z.setProperty("inchFormat", _translate("dros_xz", "%9.4f"))
|
||||
self.drolabel_machine_z.setProperty("millimeterFormat", _translate("dros_xz", "%10.3f"))
|
||||
self.drolabel_machine_z.setProperty("degreeFormat", _translate("dros_xz", "%10.2f"))
|
||||
self.dro_dtg_z.setProperty("inchFormat", _translate("dros_xz", "%9.4f"))
|
||||
self.dro_dtg_z.setProperty("millimeterFormat", _translate("dros_xz", "%10.3f"))
|
||||
self.dro_dtg_z.setProperty("degreeFormat", _translate("dros_xz", "%10.2f"))
|
||||
self.ref_z_button.setText(_translate("dros_xz", "REF Z"))
|
||||
self.ref_z_button.setProperty("rules", _translate("dros_xz", "[{\"name\": \"home_inhibit\", \"property\": \"Enable\", \"expression\": \"not (ch[0] or ch[1])\", \"channels\": [{\"url\": \"status:joint.0.homing\", \"trigger\": true}, {\"url\": \"status:joint.1.homing\", \"trigger\": true}]}]"))
|
||||
self.ref_z_button.setProperty("actionName", _translate("dros_xz", "machine.home.axis:z"))
|
||||
self.zero_all_button.setText(_translate("dros_xz", "ALL"))
|
||||
self.zero_all_button.setProperty("rules", _translate("dros_xz", "[\n"
|
||||
" {\n"
|
||||
" \"channels\": [\n"
|
||||
" {\n"
|
||||
" \"url\": \"status:g5x_index\",\n"
|
||||
" \"trigger\": true,\n"
|
||||
" \"type\": \"int\"\n"
|
||||
" }\n"
|
||||
" ],\n"
|
||||
" \"expression\": \"\",\n"
|
||||
" \"name\": \"G5x Index\",\n"
|
||||
" \"property\": \"None\"\n"
|
||||
" }\n"
|
||||
"]"))
|
||||
self.zero_all_button.setProperty("MDICommand", _translate("dros_xz", "G10 L20 P{ch[0]} X0.0 Z0.0"))
|
||||
self.ref_all_button.setText(_translate("dros_xz", "REF ALL"))
|
||||
self.ref_all_button.setProperty("rules", _translate("dros_xz", "[{\"channels\": [{\"url\": \"status:all_axes_homed\", \"trigger\": true}], \"property\": \"Text\", \"expression\": \"\'HOMED\' if ch[0] else \'REF ALL\'\", \"name\": \"reference_all\"}, {\"name\": \"home_inhibit\", \"property\": \"Enable\", \"expression\": \"not (ch[0] or ch[1])\", \"channels\": [{\"url\": \"status:joint.0.homing\", \"trigger\": true}, {\"url\": \"status:joint.1.homing\", \"trigger\": true}]}]"))
|
||||
self.ref_all_button.setProperty("actionName", _translate("dros_xz", "machine.home.all"))
|
||||
from qtpyvcp.widgets.button_widgets.action_button import ActionButton
|
||||
from qtpyvcp.widgets.button_widgets.mdi_button import MDIButton
|
||||
from qtpyvcp.widgets.display_widgets.dro_label import DROLabel
|
||||
from qtpyvcp.widgets.display_widgets.status_label import StatusLabel
|
||||
from qtpyvcp.widgets.input_widgets.dro_line_edit import DROLineEdit
|
||||
import probe_basic_lathe_rc
|
||||
import probe_basic_rc
|
||||
@@ -0,0 +1,706 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>offset_dros_xyz</class>
|
||||
<widget class="QWidget" name="offset_dros_xyz">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>493</width>
|
||||
<height>138</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>offset_dros_xyz</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
<number>15</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="x_axis_dro_layout">
|
||||
<property name="spacing">
|
||||
<number>12</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="MDIButton" name="zero_x_button_offset">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>55</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>55</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ZERO</string>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[
|
||||
{
|
||||
"channels": [
|
||||
{
|
||||
"url": "status:g5x_index",
|
||||
"trigger": true,
|
||||
"type": "int"
|
||||
}
|
||||
],
|
||||
"expression": "",
|
||||
"name": "G5x Index",
|
||||
"property": "None"
|
||||
}
|
||||
]</string>
|
||||
</property>
|
||||
<property name="MDICommand" stdset="0">
|
||||
<string>G10 L20 P{ch[0]} X0.0</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="axis_label_x">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>45</width>
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>45</width>
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: solid;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>X</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="DROLineEdit" name="dro_entry_offset_x">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="DROLabel" name="drolabel_work_x">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="inchFormat" stdset="0">
|
||||
<string>%9.4f</string>
|
||||
</property>
|
||||
<property name="millimeterFormat" stdset="0">
|
||||
<string>%10.3f</string>
|
||||
</property>
|
||||
<property name="degreeFormat" stdset="0">
|
||||
<string>%10.2f</string>
|
||||
</property>
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="StatusLabel" name="work_offset_x">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="StatusLabel" name="g52_g92_x">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="StatusLabel" name="tool_offset_x">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="z_axis_dro_layout">
|
||||
<property name="spacing">
|
||||
<number>12</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="MDIButton" name="zero_z_button_offset">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>55</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>55</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ZERO</string>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[
|
||||
{
|
||||
"channels": [
|
||||
{
|
||||
"url": "status:g5x_index",
|
||||
"trigger": true,
|
||||
"type": "int"
|
||||
}
|
||||
],
|
||||
"expression": "",
|
||||
"name": "G5x Index",
|
||||
"property": "None"
|
||||
}
|
||||
]</string>
|
||||
</property>
|
||||
<property name="MDICommand" stdset="0">
|
||||
<string>G10 L20 P{ch[0]} Z0.0</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="axis_label_z">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>45</width>
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>45</width>
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: solid;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Z</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="DROLineEdit" name="dro_entry_offset_z">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>2</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="DROLabel" name="drolabel_work_z">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="inchFormat" stdset="0">
|
||||
<string>%9.4f</string>
|
||||
</property>
|
||||
<property name="millimeterFormat" stdset="0">
|
||||
<string>%10.3f</string>
|
||||
</property>
|
||||
<property name="degreeFormat" stdset="0">
|
||||
<string>%10.2f</string>
|
||||
</property>
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="StatusLabel" name="work_offset_z">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="StatusLabel" name="g52_g92_z">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="StatusLabel" name="tool_offset_z">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"url": "status:tool_offset", "trigger": true}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "tool offset"}]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>MDIButton</class>
|
||||
<extends>QPushButton</extends>
|
||||
<header>qtpyvcp.widgets.button_widgets.mdi_button</header>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>StatusLabel</class>
|
||||
<extends>QLabel</extends>
|
||||
<header>qtpyvcp.widgets.display_widgets.status_label</header>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>DROLabel</class>
|
||||
<extends>QLabel</extends>
|
||||
<header>qtpyvcp.widgets.display_widgets.dro_label</header>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>DROLineEdit</class>
|
||||
<extends>QLineEdit</extends>
|
||||
<header>qtpyvcp.widgets.input_widgets.dro_line_edit</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="../../../../src/probe_basic/probe_basic.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
@@ -0,0 +1,388 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file '/home/buildbot/buildbot/worker/probe_basic-dev/sources/debian/python3-probe-basic/usr/share/configs/probe_basic_lathe/user_dro_display/xz_dros/offset_dros_xz.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 PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_offset_dros_xyz(object):
|
||||
def setupUi(self, offset_dros_xyz):
|
||||
offset_dros_xyz.setObjectName("offset_dros_xyz")
|
||||
offset_dros_xyz.resize(493, 138)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(offset_dros_xyz.sizePolicy().hasHeightForWidth())
|
||||
offset_dros_xyz.setSizePolicy(sizePolicy)
|
||||
offset_dros_xyz.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(offset_dros_xyz)
|
||||
self.verticalLayout.setSpacing(15)
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.x_axis_dro_layout = QtWidgets.QHBoxLayout()
|
||||
self.x_axis_dro_layout.setContentsMargins(-1, 6, -1, 6)
|
||||
self.x_axis_dro_layout.setSpacing(12)
|
||||
self.x_axis_dro_layout.setObjectName("x_axis_dro_layout")
|
||||
self.zero_x_button_offset = MDIButton(offset_dros_xyz)
|
||||
self.zero_x_button_offset.setEnabled(False)
|
||||
self.zero_x_button_offset.setMinimumSize(QtCore.QSize(55, 38))
|
||||
self.zero_x_button_offset.setMaximumSize(QtCore.QSize(55, 38))
|
||||
self.zero_x_button_offset.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.zero_x_button_offset.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.zero_x_button_offset.setObjectName("zero_x_button_offset")
|
||||
self.x_axis_dro_layout.addWidget(self.zero_x_button_offset)
|
||||
self.axis_label_x = QtWidgets.QLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.axis_label_x.sizePolicy().hasHeightForWidth())
|
||||
self.axis_label_x.setSizePolicy(sizePolicy)
|
||||
self.axis_label_x.setMinimumSize(QtCore.QSize(45, 35))
|
||||
self.axis_label_x.setMaximumSize(QtCore.QSize(45, 35))
|
||||
self.axis_label_x.setStyleSheet("QLabel{\n"
|
||||
" border-style: solid;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: rgb(238, 238, 236);\n"
|
||||
" font: 18pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.axis_label_x.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.axis_label_x.setObjectName("axis_label_x")
|
||||
self.x_axis_dro_layout.addWidget(self.axis_label_x)
|
||||
self.dro_entry_offset_x = DROLineEdit(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.dro_entry_offset_x.sizePolicy().hasHeightForWidth())
|
||||
self.dro_entry_offset_x.setSizePolicy(sizePolicy)
|
||||
self.dro_entry_offset_x.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.dro_entry_offset_x.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
font = QtGui.QFont()
|
||||
font.setFamily("Bebas Kai")
|
||||
font.setPointSize(17)
|
||||
font.setBold(False)
|
||||
font.setItalic(False)
|
||||
font.setWeight(50)
|
||||
self.dro_entry_offset_x.setFont(font)
|
||||
self.dro_entry_offset_x.setStyleSheet("QLineEdit{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" padding-right: 2px;\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.dro_entry_offset_x.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.dro_entry_offset_x.setObjectName("dro_entry_offset_x")
|
||||
self.x_axis_dro_layout.addWidget(self.dro_entry_offset_x)
|
||||
self.drolabel_work_x = DROLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.drolabel_work_x.sizePolicy().hasHeightForWidth())
|
||||
self.drolabel_work_x.setSizePolicy(sizePolicy)
|
||||
self.drolabel_work_x.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.drolabel_work_x.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.drolabel_work_x.setStyleSheet("QLabel{\n"
|
||||
" border-style: transparent;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
" padding-right: 2px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"unhomed\"]{\n"
|
||||
" color: red;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"homing\"]{\n"
|
||||
" color: rgb(196, 160, 0);\n"
|
||||
"}")
|
||||
self.drolabel_work_x.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.drolabel_work_x.setProperty("referenceType", 0)
|
||||
self.drolabel_work_x.setProperty("axisNumber", 0)
|
||||
self.drolabel_work_x.setProperty("latheMode", 0)
|
||||
self.drolabel_work_x.setObjectName("drolabel_work_x")
|
||||
self.x_axis_dro_layout.addWidget(self.drolabel_work_x)
|
||||
self.work_offset_x = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.work_offset_x.sizePolicy().hasHeightForWidth())
|
||||
self.work_offset_x.setSizePolicy(sizePolicy)
|
||||
self.work_offset_x.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.work_offset_x.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.work_offset_x.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.work_offset_x.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.work_offset_x.setObjectName("work_offset_x")
|
||||
self.x_axis_dro_layout.addWidget(self.work_offset_x)
|
||||
self.g52_g92_x = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.g52_g92_x.sizePolicy().hasHeightForWidth())
|
||||
self.g52_g92_x.setSizePolicy(sizePolicy)
|
||||
self.g52_g92_x.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.g52_g92_x.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.g52_g92_x.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.g52_g92_x.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.g52_g92_x.setObjectName("g52_g92_x")
|
||||
self.x_axis_dro_layout.addWidget(self.g52_g92_x)
|
||||
self.tool_offset_x = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.tool_offset_x.sizePolicy().hasHeightForWidth())
|
||||
self.tool_offset_x.setSizePolicy(sizePolicy)
|
||||
self.tool_offset_x.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.tool_offset_x.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.tool_offset_x.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.tool_offset_x.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.tool_offset_x.setObjectName("tool_offset_x")
|
||||
self.x_axis_dro_layout.addWidget(self.tool_offset_x)
|
||||
self.verticalLayout.addLayout(self.x_axis_dro_layout)
|
||||
self.z_axis_dro_layout = QtWidgets.QHBoxLayout()
|
||||
self.z_axis_dro_layout.setContentsMargins(-1, 6, -1, 6)
|
||||
self.z_axis_dro_layout.setSpacing(12)
|
||||
self.z_axis_dro_layout.setObjectName("z_axis_dro_layout")
|
||||
self.zero_z_button_offset = MDIButton(offset_dros_xyz)
|
||||
self.zero_z_button_offset.setEnabled(False)
|
||||
self.zero_z_button_offset.setMinimumSize(QtCore.QSize(55, 38))
|
||||
self.zero_z_button_offset.setMaximumSize(QtCore.QSize(55, 38))
|
||||
self.zero_z_button_offset.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.zero_z_button_offset.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.zero_z_button_offset.setObjectName("zero_z_button_offset")
|
||||
self.z_axis_dro_layout.addWidget(self.zero_z_button_offset)
|
||||
self.axis_label_z = QtWidgets.QLabel(offset_dros_xyz)
|
||||
self.axis_label_z.setMinimumSize(QtCore.QSize(45, 35))
|
||||
self.axis_label_z.setMaximumSize(QtCore.QSize(45, 35))
|
||||
self.axis_label_z.setStyleSheet("QLabel{\n"
|
||||
" border-style: solid;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: rgb(238, 238, 236);\n"
|
||||
" font: 18pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.axis_label_z.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.axis_label_z.setObjectName("axis_label_z")
|
||||
self.z_axis_dro_layout.addWidget(self.axis_label_z)
|
||||
self.dro_entry_offset_z = DROLineEdit(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.dro_entry_offset_z.sizePolicy().hasHeightForWidth())
|
||||
self.dro_entry_offset_z.setSizePolicy(sizePolicy)
|
||||
self.dro_entry_offset_z.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.dro_entry_offset_z.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
font = QtGui.QFont()
|
||||
font.setFamily("Bebas Kai")
|
||||
font.setPointSize(17)
|
||||
font.setBold(False)
|
||||
font.setItalic(False)
|
||||
font.setWeight(50)
|
||||
self.dro_entry_offset_z.setFont(font)
|
||||
self.dro_entry_offset_z.setStyleSheet("QLineEdit{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" padding-right: 2px;\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.dro_entry_offset_z.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.dro_entry_offset_z.setProperty("axisNumber", 2)
|
||||
self.dro_entry_offset_z.setObjectName("dro_entry_offset_z")
|
||||
self.z_axis_dro_layout.addWidget(self.dro_entry_offset_z)
|
||||
self.drolabel_work_z = DROLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.drolabel_work_z.sizePolicy().hasHeightForWidth())
|
||||
self.drolabel_work_z.setSizePolicy(sizePolicy)
|
||||
self.drolabel_work_z.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.drolabel_work_z.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.drolabel_work_z.setStyleSheet("QLabel{\n"
|
||||
" border-style: transparent;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
" padding-right: 2px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"unhomed\"]{\n"
|
||||
" color: red;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"homing\"]{\n"
|
||||
" color: rgb(196, 160, 0);\n"
|
||||
"}")
|
||||
self.drolabel_work_z.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.drolabel_work_z.setProperty("referenceType", 0)
|
||||
self.drolabel_work_z.setProperty("axisNumber", 2)
|
||||
self.drolabel_work_z.setProperty("latheMode", 0)
|
||||
self.drolabel_work_z.setObjectName("drolabel_work_z")
|
||||
self.z_axis_dro_layout.addWidget(self.drolabel_work_z)
|
||||
self.work_offset_z = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.work_offset_z.sizePolicy().hasHeightForWidth())
|
||||
self.work_offset_z.setSizePolicy(sizePolicy)
|
||||
self.work_offset_z.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.work_offset_z.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.work_offset_z.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.work_offset_z.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.work_offset_z.setObjectName("work_offset_z")
|
||||
self.z_axis_dro_layout.addWidget(self.work_offset_z)
|
||||
self.g52_g92_z = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.g52_g92_z.sizePolicy().hasHeightForWidth())
|
||||
self.g52_g92_z.setSizePolicy(sizePolicy)
|
||||
self.g52_g92_z.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.g52_g92_z.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.g52_g92_z.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.g52_g92_z.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.g52_g92_z.setObjectName("g52_g92_z")
|
||||
self.z_axis_dro_layout.addWidget(self.g52_g92_z)
|
||||
self.tool_offset_z = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.tool_offset_z.sizePolicy().hasHeightForWidth())
|
||||
self.tool_offset_z.setSizePolicy(sizePolicy)
|
||||
self.tool_offset_z.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.tool_offset_z.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.tool_offset_z.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.tool_offset_z.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.tool_offset_z.setObjectName("tool_offset_z")
|
||||
self.z_axis_dro_layout.addWidget(self.tool_offset_z)
|
||||
self.verticalLayout.addLayout(self.z_axis_dro_layout)
|
||||
|
||||
self.retranslateUi(offset_dros_xyz)
|
||||
QtCore.QMetaObject.connectSlotsByName(offset_dros_xyz)
|
||||
|
||||
def retranslateUi(self, offset_dros_xyz):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
offset_dros_xyz.setWindowTitle(_translate("offset_dros_xyz", "offset_dros_xyz"))
|
||||
self.zero_x_button_offset.setText(_translate("offset_dros_xyz", "ZERO"))
|
||||
self.zero_x_button_offset.setProperty("rules", _translate("offset_dros_xyz", "[\n"
|
||||
" {\n"
|
||||
" \"channels\": [\n"
|
||||
" {\n"
|
||||
" \"url\": \"status:g5x_index\",\n"
|
||||
" \"trigger\": true,\n"
|
||||
" \"type\": \"int\"\n"
|
||||
" }\n"
|
||||
" ],\n"
|
||||
" \"expression\": \"\",\n"
|
||||
" \"name\": \"G5x Index\",\n"
|
||||
" \"property\": \"None\"\n"
|
||||
" }\n"
|
||||
"]"))
|
||||
self.zero_x_button_offset.setProperty("MDICommand", _translate("offset_dros_xyz", "G10 L20 P{ch[0]} X0.0"))
|
||||
self.axis_label_x.setText(_translate("offset_dros_xyz", "X"))
|
||||
self.drolabel_work_x.setProperty("inchFormat", _translate("offset_dros_xyz", "%9.4f"))
|
||||
self.drolabel_work_x.setProperty("millimeterFormat", _translate("offset_dros_xyz", "%10.3f"))
|
||||
self.drolabel_work_x.setProperty("degreeFormat", _translate("offset_dros_xyz", "%10.2f"))
|
||||
self.work_offset_x.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g5x_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][0])\", \"name\": \"New Rule\"}]"))
|
||||
self.g52_g92_x.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g92_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][0])\", \"name\": \"New Rule\"}]"))
|
||||
self.tool_offset_x.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:tool_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][0])\", \"name\": \"New Rule\"}]"))
|
||||
self.zero_z_button_offset.setText(_translate("offset_dros_xyz", "ZERO"))
|
||||
self.zero_z_button_offset.setProperty("rules", _translate("offset_dros_xyz", "[\n"
|
||||
" {\n"
|
||||
" \"channels\": [\n"
|
||||
" {\n"
|
||||
" \"url\": \"status:g5x_index\",\n"
|
||||
" \"trigger\": true,\n"
|
||||
" \"type\": \"int\"\n"
|
||||
" }\n"
|
||||
" ],\n"
|
||||
" \"expression\": \"\",\n"
|
||||
" \"name\": \"G5x Index\",\n"
|
||||
" \"property\": \"None\"\n"
|
||||
" }\n"
|
||||
"]"))
|
||||
self.zero_z_button_offset.setProperty("MDICommand", _translate("offset_dros_xyz", "G10 L20 P{ch[0]} Z0.0"))
|
||||
self.axis_label_z.setText(_translate("offset_dros_xyz", "Z"))
|
||||
self.drolabel_work_z.setProperty("inchFormat", _translate("offset_dros_xyz", "%9.4f"))
|
||||
self.drolabel_work_z.setProperty("millimeterFormat", _translate("offset_dros_xyz", "%10.3f"))
|
||||
self.drolabel_work_z.setProperty("degreeFormat", _translate("offset_dros_xyz", "%10.2f"))
|
||||
self.work_offset_z.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g5x_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][2])\", \"name\": \"New Rule\"}]"))
|
||||
self.g52_g92_z.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g92_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][2])\", \"name\": \"New Rule\"}]"))
|
||||
self.tool_offset_z.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"url\": \"status:tool_offset\", \"trigger\": true}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][2])\", \"name\": \"tool offset\"}]"))
|
||||
from qtpyvcp.widgets.button_widgets.mdi_button import MDIButton
|
||||
from qtpyvcp.widgets.display_widgets.dro_label import DROLabel
|
||||
from qtpyvcp.widgets.display_widgets.status_label import StatusLabel
|
||||
from qtpyvcp.widgets.input_widgets.dro_line_edit import DROLineEdit
|
||||
import probe_basic_rc
|
||||
Reference in New Issue
Block a user