update 更新一键投料,优化设置文字,添加平滑,假装解决闪退

This commit is contained in:
FrankCV2048
2024-12-19 23:29:35 +08:00
parent da31ce91b6
commit cd7e354cbd
10 changed files with 15194 additions and 2121 deletions

View File

@ -4143,7 +4143,7 @@ background-color: #197971;
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string>放取延时:</string>
<string>抛袋延时:</string>
</property>
</widget>
</item>
@ -4243,7 +4243,7 @@ background-color: #499c8a;
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string>收放点位:</string>
<string>抓取点位:</string>
</property>
</widget>
</item>
@ -4272,7 +4272,7 @@ background-color: #499c8a;
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string>按压点位:</string>
<string>抛袋点位:</string>
</property>
</widget>
</item>
@ -4306,7 +4306,7 @@ background-color: #499c8a;
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="lineEdit_timedelay_shake">
<widget class="QLineEdit" name="lineEdit_timedelay_take">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
@ -4330,12 +4330,12 @@ background-color: #499c8a;
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string>震动延时:</string>
<string>抓取延时:</string>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QLineEdit" name="lineEdit_timedelay_take">
<widget class="QLineEdit" name="lineEdit_timedelay_shake">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
@ -4359,7 +4359,36 @@ background-color: #499c8a;
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string>吸取延时:</string>
<string>摇晃延时:</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QLabel" name="label_89">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string>平滑系数:</string>
</property>
</widget>
</item>
<item row="4" column="3">
<widget class="QLineEdit" name="lineEdit_setting_smooth">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
</widget>
</item>
@ -5597,9 +5626,9 @@ background-color: #499c8a;
<property name="frameShadow">
<enum>QFrame::Shadow::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_2" rowstretch="1,1,1" columnstretch="1,1,0" rowminimumheight="2,2,2">
<item row="0" column="0">
<widget class="QPushButton" name="pushButton_startFeed">
<layout class="QGridLayout" name="gridLayout_2" rowstretch="1,1,1,1" columnstretch="1,1,0" rowminimumheight="2,2,2,0">
<item row="2" column="1" colspan="2">
<widget class="QPushButton" name="pushButton_reset">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
@ -5608,54 +5637,25 @@ background-color: #499c8a;
</property>
<property name="styleSheet">
<string notr="true">*{
background-color: #499C54;
font: 9pt &quot;楷体&quot;;
border-radius: 10px;
}
*:pressed
{
background-color: #499c8a;
}
</string>
</property>
<property name="text">
<string>启动</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::MediaPlaybackStart"/>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QPushButton" name="pushButton_pauseFeed">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">*{
background-color: #2196F3;
background-color: #FFFFBF;
font: 9pt &quot;楷体&quot;;
border-radius: 10px;
}
*:pressed
{
background-color: #499c8a;
background-color: #FFF000;
}
</string>
</property>
<property name="text">
<string>暂停</string>
<string>复位</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::MediaPlaybackPause"/>
<iconset theme="media-optical"/>
</property>
</widget>
</item>
<item row="2" column="0">
<item row="3" column="0">
<widget class="QPushButton" name="pushButton_emergency">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
@ -5684,36 +5684,7 @@ background-color: #ff6e00;
</property>
</widget>
</item>
<item row="2" column="1" colspan="2">
<widget class="QPushButton" name="pushButton_clearAlarm">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">*{
background-color: #1CB2B1;
font: 9pt &quot;楷体&quot;;
border-radius: 10px;
}
*:pressed
{
background-color:#1cb052;
}
</string>
</property>
<property name="text">
<string>清除报警</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::SystemReboot"/>
</property>
</widget>
</item>
<item row="1" column="0">
<item row="2" column="0">
<widget class="QPushButton" name="pushButton_stopFeed">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
@ -5742,7 +5713,7 @@ background-color: #499c8a;
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QPushButton" name="pushButton_reset">
<widget class="QPushButton" name="pushButton_pauseFeed">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
@ -5751,21 +5722,115 @@ background-color: #499c8a;
</property>
<property name="styleSheet">
<string notr="true">*{
background-color: #FFFFBF;
background-color: #2196F3;
font: 9pt &quot;楷体&quot;;
border-radius: 10px;
}
*:pressed
{
background-color: #FFF000;
background-color: #499c8a;
}
</string>
</property>
<property name="text">
<string>复位</string>
<string>暂停</string>
</property>
<property name="icon">
<iconset theme="media-optical"/>
<iconset theme="QIcon::ThemeIcon::MediaPlaybackPause"/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="pushButton_startFeed">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">*{
background-color: #499C54;
font: 9pt &quot;楷体&quot;;
border-radius: 10px;
}
*:pressed
{
background-color: #499c8a;
}
</string>
</property>
<property name="text">
<string>启动</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::MediaPlaybackStart"/>
</property>
</widget>
</item>
<item row="3" column="1" colspan="2">
<widget class="QPushButton" name="pushButton_clearAlarm">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">*{
background-color: #1CB2B1;
font: 9pt &quot;楷体&quot;;
border-radius: 10px;
}
*:pressed
{
background-color:#1cb052;
}
</string>
</property>
<property name="text">
<string>清除报警</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::SystemReboot"/>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QPushButton" name="pushButton_onekeyfeed">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">*{
background-color: rgb(0, 170, 0);
font: 9pt &quot;楷体&quot;;
border-radius: 10px;
}
*:pressed
{
background-color:#1cb052;
}
</string>
</property>
<property name="text">
<string>一键投料</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::DocumentSend"/>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</widget>
</item>