update 原点配置添加

This commit is contained in:
FrankCV2048
2024-12-04 23:59:12 +08:00
parent db283fbe71
commit 5dd082384c
3 changed files with 461 additions and 109 deletions

View File

@ -592,6 +592,38 @@ border-image: url(:/main/Image/backgroud_leftMenu_btn_child.jpg);
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_leftmenu_produce_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">
QPushButton {
background-color: rgb(16, 31, 63);
color: rgb(255, 255, 255);
}
QPushButton:hover {
border-image: url(:/main/Image/backgroud_leftMenu_btn_child.jpg);
}
*:pressed
{
border-image: url(:/main/Image/backgroud_leftMenu_btn_child.jpg);
}
</string>
</property>
<property name="text">
<string>机械臂基础设置</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_leftmenu_IO">
<property name="sizePolicy">
@ -2432,12 +2464,12 @@ font: 700 9pt &quot;Microsoft YaHei UI&quot;;</string>
<property name="frameShadow">
<enum>QFrame::Shadow::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_16" stretch="1,7">
<layout class="QVBoxLayout" name="verticalLayout_16" stretch="1">
<item>
<widget class="QFrame" name="frame_27">
<property name="styleSheet">
<string notr="true">border:none;
</string>
<string notr="true">color:#ffffff;
border:None;</string>
</property>
<property name="frameShape">
<enum>QFrame::Shape::StyledPanel</enum>
@ -2447,7 +2479,233 @@ font: 700 9pt &quot;Microsoft YaHei UI&quot;;</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_15">
<item>
<widget class="QPushButton" name="pushButton_tableFeedSet_save">
<widget class="QLabel" name="label_90">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>X1:</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_origin_x">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid #FFFfff</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_93">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Y1:</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_origin_y">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid #FFFfff</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_88">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Z1:</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_origin_z">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid #FFFfff</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_89">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>U1:</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_origin_u">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid #FFFfff</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_92">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>V1:</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_origin_v">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid #FFFfff</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_91">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>W1:</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_origin_w">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">border:1px solid #FFFfff</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_get_origin">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">
*{
color: #ffffff;
background-color: rgb(16, 133, 255);
font: 12pt &quot;楷体&quot;;
border: 1px solid #dcdfe6;
border-radius: 6px;
}
*:pressed
{
background-color: #197971;
}
</string>
</property>
<property name="text">
<string>获取原点</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_set_origin">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">
*{
@ -2464,64 +2722,13 @@ background-color: #197971;
</string>
</property>
<property name="text">
<string>保存</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_tableFeedSet_addRow">
<property name="styleSheet">
<string notr="true">
*{
color: #ffffff;
background-color: rgb(16, 133, 255);
font: 12pt &quot;楷体&quot;;
border: 1px solid #dcdfe6;
border-radius: 6px;
}
*:pressed
{
background-color: #499c8a;
}
</string>
</property>
<property name="text">
<string>新增线</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_tableFeedSet_deleRow">
<property name="styleSheet">
<string notr="true">*{
color: #ffffff;
background-color: #FF5722;
font: 12pt &quot;楷体&quot;;
border: 1px solid #dcdfe6;
border-radius: 6px;
}
*:pressed
{
background-color: #499c8a;
}
</string>
</property>
<property name="text">
<string>删除线</string>
<string>保存原点</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QTableWidget" name="tableWidget_feedSeting">
<property name="styleSheet">
<string notr="true">
color: rgb(255, 255, 255);</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>