界面的一些修改

This commit is contained in:
hm
2020-12-08 22:21:52 +08:00
parent 4bb6156d4c
commit 815b077b5b
25 changed files with 821 additions and 346 deletions
+7 -1
View File
@@ -166,6 +166,9 @@ void HealthUI::setState(uint32_t pos,state sta)
case 28:
//setColor(ui->label_28,sta);
break;
case 29:
setColor(ui->label_29,sta);
break;
case 30:
setColor(ui->label_30,sta);
@@ -201,7 +204,7 @@ void HealthUI::setValueState(uint32_t pos,QVariant sta)
setValue(ui->label_7,sta.toString());
break;
case 8:
//setValue(ui->label_8,sta.toString());
setValue(ui->label_8,sta.toString());
break;
case 9:
//setValue(ui->label_9,sta.toString());
@@ -266,6 +269,9 @@ void HealthUI::setValueState(uint32_t pos,QVariant sta)
case 28:
//setValue(ui->label_28,sta.toString());
break;
case 29:
setValue(ui->label_29,sta.toString());
break;
case 30:
setValue(ui->label_30,sta.toString());
break;
+13
View File
@@ -183,6 +183,19 @@
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLabel" name="label_29">
<property name="styleSheet">
<string notr="true">background-color: rgb(205, 205, 205);</string>
</property>
<property name="text">
<string>记录打开</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>