Add mililiter per minute unit to Companion (#7529)

This commit is contained in:
3djc
2020-04-21 12:22:29 +02:00
committed by GitHub
parent ef8640a773
commit e7f599237e
3 changed files with 8 additions and 0 deletions
+2
View File
@@ -82,6 +82,8 @@ QString SensorData::unitString() const
return tr("seconds"); return tr("seconds");
case UNIT_CELLS: case UNIT_CELLS:
return tr("V"); return tr("V");
case UNIT_MILLILITERS_PER_MINUTE:
return tr("ml/minute");
default: default:
return ""; return "";
} }
+1
View File
@@ -90,6 +90,7 @@ class SensorData {
UNIT_RADIANS, UNIT_RADIANS,
UNIT_MILLILITERS, UNIT_MILLILITERS,
UNIT_FLOZ, UNIT_FLOZ,
UNIT_MILLILITERS_PER_MINUTE,
UNIT_HOURS, UNIT_HOURS,
UNIT_MINUTES, UNIT_MINUTES,
UNIT_SECONDS, UNIT_SECONDS,
@@ -539,6 +539,11 @@
<string>US fl.Oz.</string> <string>US fl.Oz.</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>ml/min</string>
</property>
</item>
</widget> </widget>
</item> </item>
<item> <item>