2026年7月16日 缓存

This commit is contained in:
2026-07-16 08:28:55 +08:00
parent 31726535b0
commit 570f359339
35 changed files with 945 additions and 1275 deletions
+115 -28
View File
@@ -217,7 +217,7 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
<x>0</x>
<y>0</y>
<width>780</width>
<height>169</height>
<height>177</height>
</rect>
</property>
</widget>
@@ -289,7 +289,7 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
<height>130</height>
</size>
</property>
<property name="maximumSize">
@@ -473,7 +473,7 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
<property name="minimumSize">
<size>
<width>200</width>
<height>150</height>
<height>140</height>
</size>
</property>
<property name="maximumSize">
@@ -591,13 +591,13 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
<widget class="QFrame" name="fra_state">
<property name="minimumSize">
<size>
<width>200</width>
<width>214</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<width>214</width>
<height>140</height>
</size>
</property>
@@ -629,6 +629,18 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lb_nozzleState">
<property name="minimumSize">
<size>
<width>214</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>214</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string/>
</property>
@@ -642,6 +654,12 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
</item>
<item alignment="Qt::AlignRight">
<widget class="QWidget" name="rightPanel" native="true">
<property name="minimumSize">
<size>
<width>156</width>
<height>0</height>
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="0">
<property name="spacing">
<number>5</number>
@@ -649,6 +667,9 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
<property name="leftMargin">
<number>1</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
@@ -657,11 +678,14 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="m_RightBtn">
<widget class="QToolButton" name="m_RightBtn">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>150</width>
<height>95</height>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
@@ -671,10 +695,40 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
<string notr="true">QToolButton {
padding: 4px 16px;
border-radius: 6px;
font-size: 14px;
font-weight: 500;
color: #333333; /* 深灰文字,与蓝色图标协调 */
/* 中性色背景,略带渐变制造立体感 */
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #eefaff,
stop: 1 #ceefff);
border: 1px solid #a1a1a1;
}
QToolButton:hover {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #F5F7FA,
stop: 1 #E8EBF0);
border-color: #B0B6BE;
}
QToolButton:pressed {
background-color: #D5D8DD;
border-color: #A8AEB6;
}
QToolButton:disabled {
color: #A0A5AB;
background-color: #BCBFC4;
border: 1px solid #BCBFC4;
}</string>
</property>
<property name="text">
<string/>
<string>喷嘴开启</string>
</property>
<property name="icon">
<iconset resource="image.qrc">
@@ -686,11 +740,8 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
<height>70</height>
</size>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>70</width>
<height>70</height>
</size>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonIconOnly</enum>
</property>
</widget>
</item>
@@ -736,25 +787,64 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="m_LeftBtn">
<item alignment="Qt::AlignBottom">
<widget class="QToolButton" name="m_LeftBtn">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>150</width>
<height>95</height>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>100</height>
<height>95</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
<string notr="true">QToolButton {
padding: 4px 16px;
border-radius: 6px;
font-size: 14px;
font-weight: 500;
color: #333333; /* 深灰文字,与蓝色图标协调 */
/* 中性色背景,略带渐变制造立体感 */
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #eefaff,
stop: 1 #ceefff);
border: 1px solid #a1a1a1;
}
QToolButton:hover {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #F5F7FA,
stop: 1 #E8EBF0);
border-color: #B0B6BE;
}
QToolButton:pressed {
background-color: #D5D8DD;
border-color: #A8AEB6;
}
QToolButton:disabled {
color: #A0A5AB;
background-color: #BCBFC4;
border: 1px solid #BCBFC4;
}</string>
</property>
<property name="text">
<string/>
<string>喷嘴关闭</string>
</property>
<property name="icon">
<iconset resource="image.qrc">
@@ -766,15 +856,12 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
<height>70</height>
</size>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>70</width>
<height>70</height>
</size>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonIconOnly</enum>
</property>
</widget>
</item>
<item>
<item alignment="Qt::AlignBottom">
<widget class="QLabel" name="lb_LeftBtn">
<property name="minimumSize">
<size>