update 完成UI可视化界面生成

This commit is contained in:
FrankCV2048
2024-12-01 22:58:09 +08:00
parent e856bb0f0a
commit 157e7edce5
8 changed files with 607 additions and 165 deletions

View File

@ -4771,6 +4771,9 @@ font: 10pt "楷体";
</property>
<item>
<widget class="QFrame" name="frame_16">
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
<property name="frameShape">
<enum>QFrame::Shape::StyledPanel</enum>
</property>
@ -4778,21 +4781,6 @@ font: 10pt &quot;楷体&quot;;
<enum>QFrame::Shadow::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_23">
<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="QPushButton" name="pushButton_savePosition">
<property name="styleSheet">
@ -4805,7 +4793,52 @@ background-color: rgb(0, 85, 0);</string>
</widget>
</item>
<item>
<widget class="QTableWidget" name="tableWidget_positions"/>
<widget class="QLabel" name="label_table_line_title">
<property name="text">
<string>生产线</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QTableWidget" name="tableWidget_lines">
<property name="styleSheet">
<string notr="true"> QHeaderView::section {
background-color: #2C2C2C; /* 表头背景色 */
color: white; /* 表头字体颜色 */
font-size: 14px; /* 字体大小 */
font-weight: bold; /* 字体加粗 */
border: 1px solid black; /* 边框颜色 */
padding: 4px; /* 内边距 */
}</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_table_line_position_title">
<property name="text">
<string>TextLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QTableWidget" name="tableWidget_line_positions">
<property name="styleSheet">
<string notr="true"> QHeaderView::section {
background-color: #2C2C2C; /* 表头背景色 */
color: white; /* 表头字体颜色 */
font-size: 14px; /* 字体大小 */
font-weight: bold; /* 字体加粗 */
border: 1px solid black; /* 边框颜色 */
padding: 4px; /* 内边距 */
}</string>
</property>
</widget>
</item>
</layout>
</widget>