|
|
@ -289,12 +289,14 @@ QGCView { |
|
|
|
id: nameLabel |
|
|
|
id: nameLabel |
|
|
|
width: ScreenTools.defaultFontPixelWidth * 20 |
|
|
|
width: ScreenTools.defaultFontPixelWidth * 20 |
|
|
|
text: factRow.modelFact.name |
|
|
|
text: factRow.modelFact.name |
|
|
|
|
|
|
|
clip: true |
|
|
|
} |
|
|
|
} |
|
|
|
QGCLabel { |
|
|
|
QGCLabel { |
|
|
|
id: valueLabel |
|
|
|
id: valueLabel |
|
|
|
width: ScreenTools.defaultFontPixelWidth * 20 |
|
|
|
width: ScreenTools.defaultFontPixelWidth * 20 |
|
|
|
color: factRow.modelFact.defaultValueAvailable ? (factRow.modelFact.valueEqualsDefault ? __qgcPal.text : __qgcPal.warningText) : __qgcPal.text |
|
|
|
color: factRow.modelFact.defaultValueAvailable ? (factRow.modelFact.valueEqualsDefault ? __qgcPal.text : __qgcPal.warningText) : __qgcPal.text |
|
|
|
text: factRow.modelFact.enumStrings.length == 0 ? factRow.modelFact.valueString + " " + factRow.modelFact.units : factRow.modelFact.enumStringValue |
|
|
|
text: factRow.modelFact.enumStrings.length == 0 ? factRow.modelFact.valueString + " " + factRow.modelFact.units : factRow.modelFact.enumStringValue |
|
|
|
|
|
|
|
clip: true |
|
|
|
} |
|
|
|
} |
|
|
|
QGCLabel { |
|
|
|
QGCLabel { |
|
|
|
text: factRow.modelFact.shortDescription |
|
|
|
text: factRow.modelFact.shortDescription |
|
|
|