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 UserAtcButton(QWidget):
|
||||
def __init__(self, parent=None):
|
||||
super(UserAtcButton, 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)
|
||||
@@ -0,0 +1,868 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>USER_ATC_BUTTONS</class>
|
||||
<widget class="QWidget" name="USER_ATC_BUTTONS">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>299</width>
|
||||
<height>508</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>User Atc Buttons</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_64" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>300</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>300</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">.QWidget {
|
||||
background-color: rgb(51, 57, 59);
|
||||
border-style: solid;
|
||||
border-color: rgb(186, 189, 182);
|
||||
border-width: 2px;
|
||||
border-radius: 6px;
|
||||
}</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_66">
|
||||
<property name="spacing">
|
||||
<number>16</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>20</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>18</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>20</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>21</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_115" stretch="0,0">
|
||||
<property name="spacing">
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetFixedSize</enum>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="MDIButton" name="atc_rev_button">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="mouseTracking">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="tabletTracking">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>M11P1 User Defined Macro Call from Subroutine Folder</string>
|
||||
</property>
|
||||
<property name="toolTipDuration">
|
||||
<number>-1</number>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string> ATC REV</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../../../../src/probe_basic/probe_basic.qrc">
|
||||
<normaloff>:/images/ccw_arrow.png</normaloff>:/images/ccw_arrow.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="MDICommand" stdset="0">
|
||||
<string>M12P1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="MDIButton" name="atc_fwd_button">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>M12 P1 User Defined Macro Call from Subroutine Folder</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string> ATC FWD </string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../../../../src/probe_basic/probe_basic.qrc">
|
||||
<normaloff>:/images/cw_arrow.png</normaloff>:/images/cw_arrow.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="MDICommand" stdset="0">
|
||||
<string>M11P1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_116" stretch="0,0">
|
||||
<property name="spacing">
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetFixedSize</enum>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="SubCallButton" name="atc_retract_button">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
color: white;
|
||||
border-color: black;
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
SubCallButton:disabled {
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
SubCallButton:hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);
|
||||
}
|
||||
|
||||
SubCallButton:pressed {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string> ATC RETRACT</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../../../../src/probe_basic/probe_basic.qrc">
|
||||
<normaloff>:/images/left_arrow.png</normaloff>:/images/left_arrow.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="filename" stdset="0">
|
||||
<string>retractatc.ngc</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="SubCallButton" name="atc_extend_button">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
color: white;
|
||||
border-color: black;
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
SubCallButton:disabled {
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
SubCallButton:hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);
|
||||
}
|
||||
|
||||
SubCallButton:pressed {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ATC EXTEND </string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../../../../src/probe_basic/probe_basic.qrc">
|
||||
<normaloff>:/images/right_arrow.png</normaloff>:/images/right_arrow.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="filename" stdset="0">
|
||||
<string>extendatc.ngc</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_117" stretch="0,0">
|
||||
<property name="spacing">
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="SubCallButton" name="clamp_tool_button">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
color: white;
|
||||
border-color: black;
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
SubCallButton:disabled {
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
SubCallButton:hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);
|
||||
}
|
||||
|
||||
SubCallButton:pressed {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>CLAMP TOOL</string>
|
||||
</property>
|
||||
<property name="filename" stdset="0">
|
||||
<string>clamptool.ngc</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="SubCallButton" name="release_tool_button">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
color: white;
|
||||
border-color: black;
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
SubCallButton:disabled {
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
SubCallButton:hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);
|
||||
}
|
||||
|
||||
SubCallButton:pressed {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>RELEASE TOOL</string>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"name": "New Rule", "property": "Enable", "expression": "not ch[0]", "channels": [{"url": "status:spindle.0.enabled", "trigger": true}]}]</string>
|
||||
</property>
|
||||
<property name="filename" stdset="0">
|
||||
<string>unclamptool.ngc</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_152" stretch="0,0">
|
||||
<property name="spacing">
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="SubCallButton" name="spindle_orientation">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
color: white;
|
||||
border-color: black;
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
SubCallButton:disabled {
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
SubCallButton:hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);
|
||||
}
|
||||
|
||||
SubCallButton:pressed {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ORIENT SPINDLE</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="filename" stdset="0">
|
||||
<string>orientspindle.ngc</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="MDIButton" name="unlock_spindle">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>M112 User Defined Macro Call from Subroutine Folder</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>UNLOCK SPINDLE</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="MDICommand" stdset="0">
|
||||
<string>M5</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_174" stretch="0">
|
||||
<property name="spacing">
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="SubCallButton" name="move_head_above_carousel_button">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
color: white;
|
||||
border-color: black;
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
SubCallButton:disabled {
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
SubCallButton:hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);
|
||||
}
|
||||
|
||||
SubCallButton:pressed {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>MOVE HEAD ABOVE CAROUSEL</string>
|
||||
</property>
|
||||
<property name="filename" stdset="0">
|
||||
<string>move_head_above_carousel.ngc</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_118" stretch="0">
|
||||
<property name="spacing">
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="SubCallButton" name="move_tool_to_carousel_height_button">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
color: white;
|
||||
border-color: black;
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
SubCallButton:disabled {
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
SubCallButton:hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);
|
||||
}
|
||||
|
||||
SubCallButton:pressed {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>MOVE TOOL TO CAROUSEL HEIGHT</string>
|
||||
</property>
|
||||
<property name="filename" stdset="0">
|
||||
<string>move_tool_to_carousel_height.ngc</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_20">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_119">
|
||||
<property name="spacing">
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="MDIButton" name="reference_carousel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>125</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>M13 User Defined Macro Call from Subroutine Folder</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>REF CAROUSEL</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="MDICommand" stdset="0">
|
||||
<string>M13</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>SubCallButton</class>
|
||||
<extends>QPushButton</extends>
|
||||
<header>qtpyvcp.widgets.button_widgets.subcall_button</header>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>MDIButton</class>
|
||||
<extends>QPushButton</extends>
|
||||
<header>qtpyvcp.widgets.button_widgets.mdi_button</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="../../../../src/probe_basic/probe_basic.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
@@ -0,0 +1,445 @@
|
||||
# -*- 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/rack_atc_sim/user_atc_buttons/template_user_atc_buttons/template_user_atc_buttons.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_USER_ATC_BUTTONS(object):
|
||||
def setupUi(self, USER_ATC_BUTTONS):
|
||||
USER_ATC_BUTTONS.setObjectName("USER_ATC_BUTTONS")
|
||||
USER_ATC_BUTTONS.resize(299, 508)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(USER_ATC_BUTTONS.sizePolicy().hasHeightForWidth())
|
||||
USER_ATC_BUTTONS.setSizePolicy(sizePolicy)
|
||||
USER_ATC_BUTTONS.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(USER_ATC_BUTTONS)
|
||||
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
||||
self.verticalLayout.setSpacing(0)
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.widget_64 = QtWidgets.QWidget(USER_ATC_BUTTONS)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.widget_64.sizePolicy().hasHeightForWidth())
|
||||
self.widget_64.setSizePolicy(sizePolicy)
|
||||
self.widget_64.setMinimumSize(QtCore.QSize(300, 0))
|
||||
self.widget_64.setMaximumSize(QtCore.QSize(300, 16777215))
|
||||
self.widget_64.setStyleSheet(".QWidget {\n"
|
||||
" background-color: rgb(51, 57, 59);\n"
|
||||
" border-style: solid;\n"
|
||||
" border-color: rgb(186, 189, 182);\n"
|
||||
" border-width: 2px;\n"
|
||||
" border-radius: 6px;\n"
|
||||
"}")
|
||||
self.widget_64.setObjectName("widget_64")
|
||||
self.verticalLayout_66 = QtWidgets.QVBoxLayout(self.widget_64)
|
||||
self.verticalLayout_66.setContentsMargins(20, 18, 20, 21)
|
||||
self.verticalLayout_66.setSpacing(16)
|
||||
self.verticalLayout_66.setObjectName("verticalLayout_66")
|
||||
self.horizontalLayout_115 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_115.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
|
||||
self.horizontalLayout_115.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_115.setSpacing(15)
|
||||
self.horizontalLayout_115.setObjectName("horizontalLayout_115")
|
||||
self.atc_rev_button = MDIButton(self.widget_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.atc_rev_button.sizePolicy().hasHeightForWidth())
|
||||
self.atc_rev_button.setSizePolicy(sizePolicy)
|
||||
self.atc_rev_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.atc_rev_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.atc_rev_button.setMouseTracking(True)
|
||||
self.atc_rev_button.setTabletTracking(False)
|
||||
self.atc_rev_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.atc_rev_button.setToolTipDuration(-1)
|
||||
self.atc_rev_button.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
icon = QtGui.QIcon()
|
||||
icon.addPixmap(QtGui.QPixmap(":/images/ccw_arrow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.atc_rev_button.setIcon(icon)
|
||||
self.atc_rev_button.setIconSize(QtCore.QSize(20, 20))
|
||||
self.atc_rev_button.setObjectName("atc_rev_button")
|
||||
self.horizontalLayout_115.addWidget(self.atc_rev_button)
|
||||
self.atc_fwd_button = MDIButton(self.widget_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.atc_fwd_button.sizePolicy().hasHeightForWidth())
|
||||
self.atc_fwd_button.setSizePolicy(sizePolicy)
|
||||
self.atc_fwd_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.atc_fwd_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.atc_fwd_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.atc_fwd_button.setLayoutDirection(QtCore.Qt.RightToLeft)
|
||||
self.atc_fwd_button.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
icon1 = QtGui.QIcon()
|
||||
icon1.addPixmap(QtGui.QPixmap(":/images/cw_arrow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.atc_fwd_button.setIcon(icon1)
|
||||
self.atc_fwd_button.setIconSize(QtCore.QSize(20, 20))
|
||||
self.atc_fwd_button.setObjectName("atc_fwd_button")
|
||||
self.horizontalLayout_115.addWidget(self.atc_fwd_button)
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_115)
|
||||
self.horizontalLayout_116 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_116.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
|
||||
self.horizontalLayout_116.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_116.setSpacing(15)
|
||||
self.horizontalLayout_116.setObjectName("horizontalLayout_116")
|
||||
self.atc_retract_button = SubCallButton(self.widget_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.atc_retract_button.sizePolicy().hasHeightForWidth())
|
||||
self.atc_retract_button.setSizePolicy(sizePolicy)
|
||||
self.atc_retract_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.atc_retract_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.atc_retract_button.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
self.atc_retract_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:disabled {\n"
|
||||
" border-color: gray;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:hover {\n"
|
||||
" background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:pressed {\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
icon2 = QtGui.QIcon()
|
||||
icon2.addPixmap(QtGui.QPixmap(":/images/left_arrow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.atc_retract_button.setIcon(icon2)
|
||||
self.atc_retract_button.setIconSize(QtCore.QSize(20, 20))
|
||||
self.atc_retract_button.setObjectName("atc_retract_button")
|
||||
self.horizontalLayout_116.addWidget(self.atc_retract_button)
|
||||
self.atc_extend_button = SubCallButton(self.widget_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.atc_extend_button.sizePolicy().hasHeightForWidth())
|
||||
self.atc_extend_button.setSizePolicy(sizePolicy)
|
||||
self.atc_extend_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.atc_extend_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.atc_extend_button.setLayoutDirection(QtCore.Qt.RightToLeft)
|
||||
self.atc_extend_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:disabled {\n"
|
||||
" border-color: gray;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:hover {\n"
|
||||
" background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:pressed {\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
icon3 = QtGui.QIcon()
|
||||
icon3.addPixmap(QtGui.QPixmap(":/images/right_arrow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.atc_extend_button.setIcon(icon3)
|
||||
self.atc_extend_button.setIconSize(QtCore.QSize(20, 20))
|
||||
self.atc_extend_button.setObjectName("atc_extend_button")
|
||||
self.horizontalLayout_116.addWidget(self.atc_extend_button)
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_116)
|
||||
self.horizontalLayout_117 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_117.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_117.setSpacing(15)
|
||||
self.horizontalLayout_117.setObjectName("horizontalLayout_117")
|
||||
self.clamp_tool_button = SubCallButton(self.widget_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.clamp_tool_button.sizePolicy().hasHeightForWidth())
|
||||
self.clamp_tool_button.setSizePolicy(sizePolicy)
|
||||
self.clamp_tool_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.clamp_tool_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.clamp_tool_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:disabled {\n"
|
||||
" border-color: gray;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:hover {\n"
|
||||
" background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:pressed {\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
self.clamp_tool_button.setObjectName("clamp_tool_button")
|
||||
self.horizontalLayout_117.addWidget(self.clamp_tool_button)
|
||||
self.release_tool_button = SubCallButton(self.widget_64)
|
||||
self.release_tool_button.setEnabled(True)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.release_tool_button.sizePolicy().hasHeightForWidth())
|
||||
self.release_tool_button.setSizePolicy(sizePolicy)
|
||||
self.release_tool_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.release_tool_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.release_tool_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:disabled {\n"
|
||||
" border-color: gray;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:hover {\n"
|
||||
" background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:pressed {\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
self.release_tool_button.setObjectName("release_tool_button")
|
||||
self.horizontalLayout_117.addWidget(self.release_tool_button)
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_117)
|
||||
self.horizontalLayout_152 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_152.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_152.setSpacing(15)
|
||||
self.horizontalLayout_152.setObjectName("horizontalLayout_152")
|
||||
self.spindle_orientation = SubCallButton(self.widget_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.spindle_orientation.sizePolicy().hasHeightForWidth())
|
||||
self.spindle_orientation.setSizePolicy(sizePolicy)
|
||||
self.spindle_orientation.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.spindle_orientation.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.spindle_orientation.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:disabled {\n"
|
||||
" border-color: gray;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:hover {\n"
|
||||
" background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:pressed {\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
self.spindle_orientation.setCheckable(True)
|
||||
self.spindle_orientation.setObjectName("spindle_orientation")
|
||||
self.horizontalLayout_152.addWidget(self.spindle_orientation)
|
||||
self.unlock_spindle = MDIButton(self.widget_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.unlock_spindle.sizePolicy().hasHeightForWidth())
|
||||
self.unlock_spindle.setSizePolicy(sizePolicy)
|
||||
self.unlock_spindle.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.unlock_spindle.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.unlock_spindle.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.unlock_spindle.setLayoutDirection(QtCore.Qt.RightToLeft)
|
||||
self.unlock_spindle.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.unlock_spindle.setIconSize(QtCore.QSize(20, 20))
|
||||
self.unlock_spindle.setObjectName("unlock_spindle")
|
||||
self.horizontalLayout_152.addWidget(self.unlock_spindle)
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_152)
|
||||
self.horizontalLayout_174 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_174.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_174.setSpacing(15)
|
||||
self.horizontalLayout_174.setObjectName("horizontalLayout_174")
|
||||
self.move_head_above_carousel_button = SubCallButton(self.widget_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.move_head_above_carousel_button.sizePolicy().hasHeightForWidth())
|
||||
self.move_head_above_carousel_button.setSizePolicy(sizePolicy)
|
||||
self.move_head_above_carousel_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.move_head_above_carousel_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.move_head_above_carousel_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:disabled {\n"
|
||||
" border-color: gray;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:hover {\n"
|
||||
" background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:pressed {\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
self.move_head_above_carousel_button.setObjectName("move_head_above_carousel_button")
|
||||
self.horizontalLayout_174.addWidget(self.move_head_above_carousel_button)
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_174)
|
||||
self.horizontalLayout_118 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_118.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_118.setSpacing(15)
|
||||
self.horizontalLayout_118.setObjectName("horizontalLayout_118")
|
||||
self.move_tool_to_carousel_height_button = SubCallButton(self.widget_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.move_tool_to_carousel_height_button.sizePolicy().hasHeightForWidth())
|
||||
self.move_tool_to_carousel_height_button.setSizePolicy(sizePolicy)
|
||||
self.move_tool_to_carousel_height_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.move_tool_to_carousel_height_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.move_tool_to_carousel_height_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:disabled {\n"
|
||||
" border-color: gray;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:hover {\n"
|
||||
" background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:pressed {\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
self.move_tool_to_carousel_height_button.setObjectName("move_tool_to_carousel_height_button")
|
||||
self.horizontalLayout_118.addWidget(self.move_tool_to_carousel_height_button)
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_118)
|
||||
self.label_20 = QtWidgets.QLabel(self.widget_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_20.sizePolicy().hasHeightForWidth())
|
||||
self.label_20.setSizePolicy(sizePolicy)
|
||||
self.label_20.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.label_20.setObjectName("label_20")
|
||||
self.verticalLayout_66.addWidget(self.label_20)
|
||||
self.horizontalLayout_119 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_119.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_119.setSpacing(15)
|
||||
self.horizontalLayout_119.setObjectName("horizontalLayout_119")
|
||||
self.reference_carousel = MDIButton(self.widget_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.reference_carousel.sizePolicy().hasHeightForWidth())
|
||||
self.reference_carousel.setSizePolicy(sizePolicy)
|
||||
self.reference_carousel.setMinimumSize(QtCore.QSize(125, 45))
|
||||
self.reference_carousel.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.reference_carousel.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.reference_carousel.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.reference_carousel.setIconSize(QtCore.QSize(20, 20))
|
||||
self.reference_carousel.setObjectName("reference_carousel")
|
||||
self.horizontalLayout_119.addWidget(self.reference_carousel)
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_119)
|
||||
self.verticalLayout.addWidget(self.widget_64)
|
||||
|
||||
self.retranslateUi(USER_ATC_BUTTONS)
|
||||
QtCore.QMetaObject.connectSlotsByName(USER_ATC_BUTTONS)
|
||||
|
||||
def retranslateUi(self, USER_ATC_BUTTONS):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
USER_ATC_BUTTONS.setWindowTitle(_translate("USER_ATC_BUTTONS", "User Atc Buttons"))
|
||||
self.atc_rev_button.setToolTip(_translate("USER_ATC_BUTTONS", "M11P1 User Defined Macro Call from Subroutine Folder"))
|
||||
self.atc_rev_button.setText(_translate("USER_ATC_BUTTONS", " ATC REV"))
|
||||
self.atc_rev_button.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M12P1"))
|
||||
self.atc_fwd_button.setToolTip(_translate("USER_ATC_BUTTONS", "M12 P1 User Defined Macro Call from Subroutine Folder"))
|
||||
self.atc_fwd_button.setText(_translate("USER_ATC_BUTTONS", " ATC FWD "))
|
||||
self.atc_fwd_button.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M11P1"))
|
||||
self.atc_retract_button.setText(_translate("USER_ATC_BUTTONS", " ATC RETRACT"))
|
||||
self.atc_retract_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "retractatc.ngc"))
|
||||
self.atc_extend_button.setText(_translate("USER_ATC_BUTTONS", "ATC EXTEND "))
|
||||
self.atc_extend_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "extendatc.ngc"))
|
||||
self.clamp_tool_button.setText(_translate("USER_ATC_BUTTONS", "CLAMP TOOL"))
|
||||
self.clamp_tool_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "clamptool.ngc"))
|
||||
self.release_tool_button.setText(_translate("USER_ATC_BUTTONS", "RELEASE TOOL"))
|
||||
self.release_tool_button.setProperty("rules", _translate("USER_ATC_BUTTONS", "[{\"name\": \"New Rule\", \"property\": \"Enable\", \"expression\": \"not ch[0]\", \"channels\": [{\"url\": \"status:spindle.0.enabled\", \"trigger\": true}]}]"))
|
||||
self.release_tool_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "unclamptool.ngc"))
|
||||
self.spindle_orientation.setText(_translate("USER_ATC_BUTTONS", "ORIENT SPINDLE"))
|
||||
self.spindle_orientation.setProperty("filename", _translate("USER_ATC_BUTTONS", "orientspindle.ngc"))
|
||||
self.unlock_spindle.setToolTip(_translate("USER_ATC_BUTTONS", "M112 User Defined Macro Call from Subroutine Folder"))
|
||||
self.unlock_spindle.setText(_translate("USER_ATC_BUTTONS", "UNLOCK SPINDLE"))
|
||||
self.unlock_spindle.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M5"))
|
||||
self.move_head_above_carousel_button.setText(_translate("USER_ATC_BUTTONS", "MOVE HEAD ABOVE CAROUSEL"))
|
||||
self.move_head_above_carousel_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "move_head_above_carousel.ngc"))
|
||||
self.move_tool_to_carousel_height_button.setText(_translate("USER_ATC_BUTTONS", "MOVE TOOL TO CAROUSEL HEIGHT"))
|
||||
self.move_tool_to_carousel_height_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "move_tool_to_carousel_height.ngc"))
|
||||
self.reference_carousel.setToolTip(_translate("USER_ATC_BUTTONS", "M13 User Defined Macro Call from Subroutine Folder"))
|
||||
self.reference_carousel.setText(_translate("USER_ATC_BUTTONS", "REF CAROUSEL"))
|
||||
self.reference_carousel.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M13"))
|
||||
from qtpyvcp.widgets.button_widgets.mdi_button import MDIButton
|
||||
from qtpyvcp.widgets.button_widgets.subcall_button import SubCallButton
|
||||
import probe_basic_rc
|
||||
@@ -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 UserRackAtcButton(QWidget):
|
||||
def __init__(self, parent=None):
|
||||
super(UserRackAtcButton, 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)
|
||||
@@ -0,0 +1,699 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>USER_ATC_BUTTONS</class>
|
||||
<widget class="QWidget" name="USER_ATC_BUTTONS">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>300</width>
|
||||
<height>429</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>User Atc Buttons</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QFrame" name="frame_64">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>300</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_66">
|
||||
<property name="spacing">
|
||||
<number>16</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>20</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>18</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>20</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>18</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="work_column_header_8">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</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: solid;
|
||||
border-color: rgb(176, 179, 172);
|
||||
border-width: 2px;
|
||||
border-radius: 5px;
|
||||
color: white;
|
||||
background: rgb(90, 90, 90);
|
||||
font: 16pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ATC MANUAL CONTROL PANEL</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="indent">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_119" stretch="0,0">
|
||||
<property name="spacing">
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="MDIButton" name="reference_carousel_3">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>M13 User Defined Macro Call from Subroutine Folder</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>AIR BLAST</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="MDICommand" stdset="0">
|
||||
<string>M13</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="MDIButton" name="reference_carousel_4">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>M13 User Defined Macro Call from Subroutine Folder</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>RETR DUST BOOT</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="MDICommand" stdset="0">
|
||||
<string>M13</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_117" stretch="0,0">
|
||||
<property name="spacing">
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="SubCallButton" name="clamp_tool_button">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
color: white;
|
||||
border-color: black;
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
SubCallButton:disabled {
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
SubCallButton:hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);
|
||||
}
|
||||
|
||||
SubCallButton:pressed {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>CLAMP TOOL</string>
|
||||
</property>
|
||||
<property name="filename" stdset="0">
|
||||
<string>clamptool.ngc</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="SubCallButton" name="release_tool_button">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
color: white;
|
||||
border-color: black;
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
SubCallButton:disabled {
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
SubCallButton:hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);
|
||||
}
|
||||
|
||||
SubCallButton:pressed {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>RELEASE TOOL</string>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"name": "spindle safety", "property": "Enable", "expression": "not ch[0]", "channels": [{"url": "status:spindle.0.enabled", "trigger": true}]}]</string>
|
||||
</property>
|
||||
<property name="filename" stdset="0">
|
||||
<string>unclamptool.ngc</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_152" stretch="0,0">
|
||||
<property name="spacing">
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="SubCallButton" name="spindle_orientation">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
color: white;
|
||||
border-color: black;
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
SubCallButton:disabled {
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
SubCallButton:hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);
|
||||
}
|
||||
|
||||
SubCallButton:pressed {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ORIENT SPINDLE</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="filename" stdset="0">
|
||||
<string>orientspindle.ngc</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="MDIButton" name="unlock_spindle">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>M112 User Defined Macro Call from Subroutine Folder</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>UNLOCK SPINDLE</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="MDICommand" stdset="0">
|
||||
<string>M5</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_174" stretch="0,0">
|
||||
<property name="spacing">
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="SubCallButton" name="move_head_above_carousel_button">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
color: white;
|
||||
border-color: black;
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
SubCallButton:disabled {
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
SubCallButton:hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);
|
||||
}
|
||||
|
||||
SubCallButton:pressed {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>HEAD UP</string>
|
||||
</property>
|
||||
<property name="filename" stdset="0">
|
||||
<string>move_head_above_carousel.ngc</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="SubCallButton" name="move_tool_to_carousel_height_button">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
color: white;
|
||||
border-color: black;
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
SubCallButton:disabled {
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
SubCallButton:hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);
|
||||
}
|
||||
|
||||
SubCallButton:pressed {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>HEAD DOWN</string>
|
||||
</property>
|
||||
<property name="filename" stdset="0">
|
||||
<string>move_tool_to_carousel_height.ngc</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_10" native="true"/>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_159">
|
||||
<property name="spacing">
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="MDIButton" name="reference_carousel_2">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>125</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>45</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>M13 User Defined Macro Call from Subroutine Folder</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>REF RACK DATA</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="MDICommand" stdset="0">
|
||||
<string>M13</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>SubCallButton</class>
|
||||
<extends>QPushButton</extends>
|
||||
<header>qtpyvcp.widgets.button_widgets.subcall_button</header>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>MDIButton</class>
|
||||
<extends>QPushButton</extends>
|
||||
<header>qtpyvcp.widgets.button_widgets.mdi_button</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@@ -0,0 +1,354 @@
|
||||
# -*- 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/rack_atc_sim/user_atc_buttons/template_user_rack_atc_buttons/template_user_rack_atc_buttons.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_USER_ATC_BUTTONS(object):
|
||||
def setupUi(self, USER_ATC_BUTTONS):
|
||||
USER_ATC_BUTTONS.setObjectName("USER_ATC_BUTTONS")
|
||||
USER_ATC_BUTTONS.resize(300, 429)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(USER_ATC_BUTTONS.sizePolicy().hasHeightForWidth())
|
||||
USER_ATC_BUTTONS.setSizePolicy(sizePolicy)
|
||||
USER_ATC_BUTTONS.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(USER_ATC_BUTTONS)
|
||||
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
||||
self.verticalLayout.setSpacing(0)
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.frame_64 = QtWidgets.QFrame(USER_ATC_BUTTONS)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.frame_64.sizePolicy().hasHeightForWidth())
|
||||
self.frame_64.setSizePolicy(sizePolicy)
|
||||
self.frame_64.setMaximumSize(QtCore.QSize(300, 16777215))
|
||||
self.frame_64.setStyleSheet("")
|
||||
self.frame_64.setObjectName("frame_64")
|
||||
self.verticalLayout_66 = QtWidgets.QVBoxLayout(self.frame_64)
|
||||
self.verticalLayout_66.setContentsMargins(20, 18, 20, 18)
|
||||
self.verticalLayout_66.setSpacing(16)
|
||||
self.verticalLayout_66.setObjectName("verticalLayout_66")
|
||||
self.work_column_header_8 = QtWidgets.QLabel(self.frame_64)
|
||||
self.work_column_header_8.setEnabled(True)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.work_column_header_8.sizePolicy().hasHeightForWidth())
|
||||
self.work_column_header_8.setSizePolicy(sizePolicy)
|
||||
self.work_column_header_8.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.work_column_header_8.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.work_column_header_8.setStyleSheet("QLabel{\n"
|
||||
" border-style: solid;\n"
|
||||
" border-color: rgb(176, 179, 172);\n"
|
||||
" border-width: 2px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: white;\n"
|
||||
" background: rgb(90, 90, 90);\n"
|
||||
" font: 16pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.work_column_header_8.setFrameShape(QtWidgets.QFrame.NoFrame)
|
||||
self.work_column_header_8.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.work_column_header_8.setWordWrap(True)
|
||||
self.work_column_header_8.setIndent(0)
|
||||
self.work_column_header_8.setObjectName("work_column_header_8")
|
||||
self.verticalLayout_66.addWidget(self.work_column_header_8)
|
||||
self.horizontalLayout_119 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_119.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_119.setSpacing(15)
|
||||
self.horizontalLayout_119.setObjectName("horizontalLayout_119")
|
||||
self.reference_carousel_3 = MDIButton(self.frame_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.reference_carousel_3.sizePolicy().hasHeightForWidth())
|
||||
self.reference_carousel_3.setSizePolicy(sizePolicy)
|
||||
self.reference_carousel_3.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.reference_carousel_3.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.reference_carousel_3.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.reference_carousel_3.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.reference_carousel_3.setIconSize(QtCore.QSize(20, 20))
|
||||
self.reference_carousel_3.setObjectName("reference_carousel_3")
|
||||
self.horizontalLayout_119.addWidget(self.reference_carousel_3)
|
||||
self.reference_carousel_4 = MDIButton(self.frame_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.reference_carousel_4.sizePolicy().hasHeightForWidth())
|
||||
self.reference_carousel_4.setSizePolicy(sizePolicy)
|
||||
self.reference_carousel_4.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.reference_carousel_4.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.reference_carousel_4.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.reference_carousel_4.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.reference_carousel_4.setIconSize(QtCore.QSize(20, 20))
|
||||
self.reference_carousel_4.setObjectName("reference_carousel_4")
|
||||
self.horizontalLayout_119.addWidget(self.reference_carousel_4)
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_119)
|
||||
self.horizontalLayout_117 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_117.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_117.setSpacing(15)
|
||||
self.horizontalLayout_117.setObjectName("horizontalLayout_117")
|
||||
self.clamp_tool_button = SubCallButton(self.frame_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.clamp_tool_button.sizePolicy().hasHeightForWidth())
|
||||
self.clamp_tool_button.setSizePolicy(sizePolicy)
|
||||
self.clamp_tool_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.clamp_tool_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.clamp_tool_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:disabled {\n"
|
||||
" border-color: gray;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:hover {\n"
|
||||
" background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:pressed {\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
self.clamp_tool_button.setObjectName("clamp_tool_button")
|
||||
self.horizontalLayout_117.addWidget(self.clamp_tool_button)
|
||||
self.release_tool_button = SubCallButton(self.frame_64)
|
||||
self.release_tool_button.setEnabled(False)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.release_tool_button.sizePolicy().hasHeightForWidth())
|
||||
self.release_tool_button.setSizePolicy(sizePolicy)
|
||||
self.release_tool_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.release_tool_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.release_tool_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:disabled {\n"
|
||||
" border-color: gray;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:hover {\n"
|
||||
" background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:pressed {\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
self.release_tool_button.setObjectName("release_tool_button")
|
||||
self.horizontalLayout_117.addWidget(self.release_tool_button)
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_117)
|
||||
self.horizontalLayout_152 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_152.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_152.setSpacing(15)
|
||||
self.horizontalLayout_152.setObjectName("horizontalLayout_152")
|
||||
self.spindle_orientation = SubCallButton(self.frame_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.spindle_orientation.sizePolicy().hasHeightForWidth())
|
||||
self.spindle_orientation.setSizePolicy(sizePolicy)
|
||||
self.spindle_orientation.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.spindle_orientation.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.spindle_orientation.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:disabled {\n"
|
||||
" border-color: gray;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:hover {\n"
|
||||
" background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:pressed {\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
self.spindle_orientation.setCheckable(True)
|
||||
self.spindle_orientation.setObjectName("spindle_orientation")
|
||||
self.horizontalLayout_152.addWidget(self.spindle_orientation)
|
||||
self.unlock_spindle = MDIButton(self.frame_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.unlock_spindle.sizePolicy().hasHeightForWidth())
|
||||
self.unlock_spindle.setSizePolicy(sizePolicy)
|
||||
self.unlock_spindle.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.unlock_spindle.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.unlock_spindle.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.unlock_spindle.setLayoutDirection(QtCore.Qt.RightToLeft)
|
||||
self.unlock_spindle.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.unlock_spindle.setIconSize(QtCore.QSize(20, 20))
|
||||
self.unlock_spindle.setObjectName("unlock_spindle")
|
||||
self.horizontalLayout_152.addWidget(self.unlock_spindle)
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_152)
|
||||
self.horizontalLayout_174 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_174.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_174.setSpacing(15)
|
||||
self.horizontalLayout_174.setObjectName("horizontalLayout_174")
|
||||
self.move_head_above_carousel_button = SubCallButton(self.frame_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.move_head_above_carousel_button.sizePolicy().hasHeightForWidth())
|
||||
self.move_head_above_carousel_button.setSizePolicy(sizePolicy)
|
||||
self.move_head_above_carousel_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.move_head_above_carousel_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.move_head_above_carousel_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:disabled {\n"
|
||||
" border-color: gray;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:hover {\n"
|
||||
" background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:pressed {\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
self.move_head_above_carousel_button.setObjectName("move_head_above_carousel_button")
|
||||
self.horizontalLayout_174.addWidget(self.move_head_above_carousel_button)
|
||||
self.move_tool_to_carousel_height_button = SubCallButton(self.frame_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.move_tool_to_carousel_height_button.sizePolicy().hasHeightForWidth())
|
||||
self.move_tool_to_carousel_height_button.setSizePolicy(sizePolicy)
|
||||
self.move_tool_to_carousel_height_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.move_tool_to_carousel_height_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.move_tool_to_carousel_height_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:disabled {\n"
|
||||
" border-color: gray;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:hover {\n"
|
||||
" background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #A19E9E, stop: 1.0 #5C5959);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"SubCallButton:pressed {\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
self.move_tool_to_carousel_height_button.setObjectName("move_tool_to_carousel_height_button")
|
||||
self.horizontalLayout_174.addWidget(self.move_tool_to_carousel_height_button)
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_174)
|
||||
self.widget_10 = QtWidgets.QWidget(self.frame_64)
|
||||
self.widget_10.setObjectName("widget_10")
|
||||
self.verticalLayout_66.addWidget(self.widget_10)
|
||||
self.horizontalLayout_159 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_159.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_159.setSpacing(15)
|
||||
self.horizontalLayout_159.setObjectName("horizontalLayout_159")
|
||||
self.reference_carousel_2 = MDIButton(self.frame_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.reference_carousel_2.sizePolicy().hasHeightForWidth())
|
||||
self.reference_carousel_2.setSizePolicy(sizePolicy)
|
||||
self.reference_carousel_2.setMinimumSize(QtCore.QSize(125, 45))
|
||||
self.reference_carousel_2.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.reference_carousel_2.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.reference_carousel_2.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.reference_carousel_2.setIconSize(QtCore.QSize(20, 20))
|
||||
self.reference_carousel_2.setObjectName("reference_carousel_2")
|
||||
self.horizontalLayout_159.addWidget(self.reference_carousel_2)
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_159)
|
||||
self.verticalLayout.addWidget(self.frame_64)
|
||||
|
||||
self.retranslateUi(USER_ATC_BUTTONS)
|
||||
QtCore.QMetaObject.connectSlotsByName(USER_ATC_BUTTONS)
|
||||
|
||||
def retranslateUi(self, USER_ATC_BUTTONS):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
USER_ATC_BUTTONS.setWindowTitle(_translate("USER_ATC_BUTTONS", "User Atc Buttons"))
|
||||
self.work_column_header_8.setText(_translate("USER_ATC_BUTTONS", "ATC MANUAL CONTROL PANEL"))
|
||||
self.reference_carousel_3.setToolTip(_translate("USER_ATC_BUTTONS", "M13 User Defined Macro Call from Subroutine Folder"))
|
||||
self.reference_carousel_3.setText(_translate("USER_ATC_BUTTONS", "AIR BLAST"))
|
||||
self.reference_carousel_3.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M13"))
|
||||
self.reference_carousel_4.setToolTip(_translate("USER_ATC_BUTTONS", "M13 User Defined Macro Call from Subroutine Folder"))
|
||||
self.reference_carousel_4.setText(_translate("USER_ATC_BUTTONS", "RETR DUST BOOT"))
|
||||
self.reference_carousel_4.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M13"))
|
||||
self.clamp_tool_button.setText(_translate("USER_ATC_BUTTONS", "CLAMP TOOL"))
|
||||
self.clamp_tool_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "clamptool.ngc"))
|
||||
self.release_tool_button.setText(_translate("USER_ATC_BUTTONS", "RELEASE TOOL"))
|
||||
self.release_tool_button.setProperty("rules", _translate("USER_ATC_BUTTONS", "[{\"name\": \"spindle safety\", \"property\": \"Enable\", \"expression\": \"not ch[0]\", \"channels\": [{\"url\": \"status:spindle.0.enabled\", \"trigger\": true}]}]"))
|
||||
self.release_tool_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "unclamptool.ngc"))
|
||||
self.spindle_orientation.setText(_translate("USER_ATC_BUTTONS", "ORIENT SPINDLE"))
|
||||
self.spindle_orientation.setProperty("filename", _translate("USER_ATC_BUTTONS", "orientspindle.ngc"))
|
||||
self.unlock_spindle.setToolTip(_translate("USER_ATC_BUTTONS", "M112 User Defined Macro Call from Subroutine Folder"))
|
||||
self.unlock_spindle.setText(_translate("USER_ATC_BUTTONS", "UNLOCK SPINDLE"))
|
||||
self.unlock_spindle.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M5"))
|
||||
self.move_head_above_carousel_button.setText(_translate("USER_ATC_BUTTONS", "HEAD UP"))
|
||||
self.move_head_above_carousel_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "move_head_above_carousel.ngc"))
|
||||
self.move_tool_to_carousel_height_button.setText(_translate("USER_ATC_BUTTONS", "HEAD DOWN"))
|
||||
self.move_tool_to_carousel_height_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "move_tool_to_carousel_height.ngc"))
|
||||
self.reference_carousel_2.setToolTip(_translate("USER_ATC_BUTTONS", "M13 User Defined Macro Call from Subroutine Folder"))
|
||||
self.reference_carousel_2.setText(_translate("USER_ATC_BUTTONS", "REF RACK DATA"))
|
||||
self.reference_carousel_2.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M13"))
|
||||
from qtpyvcp.widgets.button_widgets.mdi_button import MDIButton
|
||||
from qtpyvcp.widgets.button_widgets.subcall_button import SubCallButton
|
||||
Reference in New Issue
Block a user