2026年5月23日暂存

This commit is contained in:
2026-05-23 14:16:57 +08:00
parent c8a5a121c9
commit 1cb9d5ac42
59 changed files with 15774 additions and 8662 deletions
+316 -255
View File
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>800</width>
<height>550</height>
<height>558</height>
</rect>
</property>
<property name="sizePolicy">
@@ -211,7 +211,7 @@
<height>300</height>
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0">
<layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0">
<property name="leftMargin">
<number>9</number>
</property>
@@ -230,146 +230,22 @@
</size>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QFrame" name="fra_state">
<property name="maximumSize">
<size>
<width>180</width>
<height>140</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QLabel" name="lb_generalState">
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1">
<widget class="QFrame" name="sub3">
<property name="minimumSize">
<size>
<width>200</width>
<height>140</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>140</height>
</size>
</property>
<property name="styleSheet">
<string>background-color:#BBBBBD;border-radius:3px;</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QLabel" name="sub3_lb1">
<property name="styleSheet">
<string notr="true">color:#000000;font-size:18px;</string>
</property>
<property name="text">
<string>产品计数器</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="indent">
<number>-1</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelProductCnt">
<property name="font">
<font>
<pointsize>-1</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color:#000000;font-size:28px;font-weight:bold;</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lb_counter">
<property name="text">
<string>达到数量后停止:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelTotalProductCnt">
<property name="styleSheet">
<string>color:#000000;font-size:28px;font-weight:bold;</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignRight</set>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="m_StartBtn">
<property name="minimumSize">
<size>
<width>150</width>
<height>140</height>
<height>130</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>140</height>
<height>130</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">border:0px;</string>
<string notr="true"/>
</property>
<property name="text">
<string>开始打印</string>
@@ -388,36 +264,7 @@
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="m_CloseBtn">
<property name="minimumSize">
<size>
<width>0</width>
<height>130</height>
</size>
</property>
<property name="styleSheet">
<string>border:0px;</string>
</property>
<property name="icon">
<iconset resource="image.qrc">
<normaloff>:/image/power.png</normaloff>:/image/power.png</iconset>
</property>
<property name="iconSize">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
</widget>
</item>
<item row="1" column="1">
<item row="2" column="1">
<widget class="QFrame" name="sub2">
<property name="maximumSize">
<size>
@@ -561,16 +408,22 @@
</layout>
</widget>
</item>
<item row="1" column="2">
<item row="2" column="2">
<widget class="QPushButton" name="m_StopBtn">
<property name="minimumSize">
<size>
<width>0</width>
<height>140</height>
<height>130</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>130</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">border:0px;</string>
<string notr="true"/>
</property>
<property name="text">
<string>停止打印</string>
@@ -589,48 +442,148 @@
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item alignment="Qt::AlignRight">
<widget class="QWidget" name="rightPanel" native="true">
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="1,0,0">
<property name="spacing">
<number>5</number>
</property>
<property name="leftMargin">
<number>1</number>
</property>
<item>
<widget class="QFrame" name="frame_2">
<item row="0" column="1">
<widget class="QFrame" name="sub3">
<property name="minimumSize">
<size>
<width>200</width>
<height>150</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>150</height>
</size>
</property>
<property name="styleSheet">
<string>background-color:#BBBBBD;border-radius:3px;</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QLabel" name="sub3_lb1">
<property name="styleSheet">
<string notr="true">color:#000000;font-size:18px;</string>
</property>
<property name="text">
<string>产品计数器</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="indent">
<number>-1</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelProductCnt">
<property name="font">
<font>
<pointsize>-1</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color:#000000;font-size:28px;font-weight:bold;</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lb_counter">
<property name="text">
<string>达到数量后停止:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelTotalProductCnt">
<property name="styleSheet">
<string>color:#000000;font-size:28px;font-weight:bold;</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignRight</set>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="m_CloseBtn">
<property name="minimumSize">
<size>
<width>0</width>
<height>130</height>
</size>
</property>
<property name="styleSheet">
<string>border:0px;</string>
</property>
<property name="icon">
<iconset resource="image.qrc">
<normaloff>:/image/power.png</normaloff>:/image/power.png</iconset>
</property>
<property name="iconSize">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QFrame" name="fra_state">
<property name="maximumSize">
<size>
<width>180</width>
<height>140</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5" stretch="1,0">
<layout class="QVBoxLayout" name="verticalLayout_6" stretch="1">
<item>
<widget class="QLabel" name="lb_reclaimtanl">
<property name="maximumSize">
<widget class="QLabel" name="lb_generalState">
<property name="minimumSize">
<size>
<width>200</width>
<height>150</height>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="image.qrc">:/image/tool.png</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lb_nozzleState">
<property name="text">
<string/>
</property>
@@ -642,73 +595,181 @@
</layout>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_RightBtn">
<property name="minimumSize">
<size>
<width>200</width>
<height>70</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<item row="1" column="0">
<widget class="QLabel" name="lb_nozzleState">
<property name="text">
<string>喷嘴开启</string>
<string/>
</property>
<property name="iconSize">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>70</width>
<height>70</height>
</size>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item alignment="Qt::AlignRight">
<widget class="QWidget" name="rightPanel" native="true">
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="0">
<property name="spacing">
<number>5</number>
</property>
<property name="leftMargin">
<number>1</number>
</property>
<item>
<widget class="QPushButton" name="m_LeftBtn">
<property name="minimumSize">
<size>
<width>200</width>
<height>70</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>444</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>喷嘴关闭</string>
</property>
<property name="iconSize">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
</widget>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QVBoxLayout" name="verticalLayout_8">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="m_RightBtn">
<property name="minimumSize">
<size>
<width>150</width>
<height>95</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>100</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="image.qrc">
<normaloff>:/image/RePipeOpen.png</normaloff>:/image/RePipeOpen.png</iconset>
</property>
<property name="iconSize">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lb_RightBtn">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>喷嘴开启</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_7">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="m_LeftBtn">
<property name="minimumSize">
<size>
<width>150</width>
<height>95</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>100</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="image.qrc">
<normaloff>:/image/RePipeClose.png</normaloff>:/image/RePipeClose.png</iconset>
</property>
<property name="iconSize">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lb_LeftBtn">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>喷嘴关闭</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="margin">
<number>0</number>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>