update 增加停止,暂停,重连,报警消除等

This commit is contained in:
FrankCV2048
2024-09-11 23:41:56 +08:00
parent f46f71b176
commit d24a79c21c
7 changed files with 305 additions and 98 deletions

View File

@ -1520,7 +1520,7 @@ background-color: #499c8a;
</widget>
</widget>
</widget>
<widget class="QPushButton" name="pushButton_20">
<widget class="QPushButton" name="pushButton_clearAlarm">
<property name="geometry">
<rect>
<x>750</x>
@ -1544,41 +1544,12 @@ background-color:#1cb052;
</string>
</property>
<property name="text">
<string>故障诊断</string>
<string>清楚报警</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::HelpFaq"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_startFeed">
<property name="geometry">
<rect>
<x>350</x>
<y>480</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">*{
background-color: #499C54;
font: 9pt &quot;楷体&quot;;
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #499c8a;
}
</string>
</property>
<property name="text">
<string>启动</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::SystemShutdown"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_reset">
<property name="geometry">
<rect>
@ -1688,8 +1659,8 @@ background-color: #ff6e00;
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>20</x>
<y>493</y>
<x>10</x>
<y>490</y>
<width>81</width>
<height>16</height>
</rect>
@ -1802,6 +1773,93 @@ li.checked::marker { content: &quot;\2612&quot;; }
</widget>
</widget>
</widget>
<widget class="QPushButton" name="pushButton_stopFeed">
<property name="geometry">
<rect>
<x>250</x>
<y>480</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">*{
background-color: #F44336;
font: 9pt &quot;楷体&quot;;
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #499c8a;
}
</string>
</property>
<property name="text">
<string>停止</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::SystemShutdown"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_startFeed">
<property name="geometry">
<rect>
<x>350</x>
<y>480</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">*{
background-color: #499C54;
font: 9pt &quot;楷体&quot;;
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #499c8a;
}
</string>
</property>
<property name="text">
<string>启动</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::SystemShutdown"/>
</property>
</widget>
<widget class="QPushButton" name="pushButton_pauseFeed">
<property name="geometry">
<rect>
<x>350</x>
<y>480</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">*{
background-color: #2196F3;
font: 9pt &quot;楷体&quot;;
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #499c8a;
}
</string>
</property>
<property name="text">
<string>暂停</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::MediaPlaybackPause"/>
</property>
</widget>
</widget>
</widget>
</widget>