界面的一些修改
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user