feat:进度条

This commit is contained in:
徐超 2024-10-31 18:06:13 +08:00
parent 3a0d6a188e
commit 94793e3b62
1 changed files with 93 additions and 10 deletions

View File

@ -1205,10 +1205,33 @@ QToolButton:pressed{
</widget>
</item>
<item>
<widget class="QProgressBar" name="progressBar">
<widget class="QProgressBar" name="progressBar_belt1Speed">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>10</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QProgressBar {
border: none;
background: #2E3133;
border-radius: 50px;
}
QProgressBar::chunk {
background: #53F2A4;
border-radius: 15px;
}</string>
</property>
<property name="value">
<number>24</number>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="textVisible">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
@ -1259,9 +1282,29 @@ QToolButton:pressed{
</widget>
</item>
<item>
<widget class="QSlider" name="horizontalSlider_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<widget class="QProgressBar" name="progressBar_belt1electric">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>10</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QProgressBar {
border: none;
background: #2E3133;
border-radius: 50px;
}
QProgressBar::chunk {
background: #53F2A4;
border-radius: 15px;
}</string>
</property>
<property name="value">
<number>24</number>
</property>
<property name="textVisible">
<bool>false</bool>
</property>
</widget>
</item>
@ -1313,9 +1356,29 @@ QToolButton:pressed{
</widget>
</item>
<item>
<widget class="QSlider" name="horizontalSlider_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<widget class="QProgressBar" name="progressBar">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>10</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QProgressBar {
border: none;
background: #2E3133;
border-radius: 50px;
}
QProgressBar::chunk {
background: #53F2A4;
border-radius: 15px;
}</string>
</property>
<property name="value">
<number>24</number>
</property>
<property name="textVisible">
<bool>false</bool>
</property>
</widget>
</item>
@ -1367,9 +1430,29 @@ QToolButton:pressed{
</widget>
</item>
<item>
<widget class="QSlider" name="horizontalSlider_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<widget class="QProgressBar" name="progressBar_2">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>10</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QProgressBar {
border: none;
background: #2E3133;
border-radius: 50px;
}
QProgressBar::chunk {
background: #53F2A4;
border-radius: 15px;
}</string>
</property>
<property name="value">
<number>24</number>
</property>
<property name="textVisible">
<bool>false</bool>
</property>
</widget>
</item>