|
|
|
@ -89,6 +89,7 @@ QGCFlickable {
@@ -89,6 +89,7 @@ QGCFlickable {
|
|
|
|
|
width: parent.width |
|
|
|
|
horizontalAlignment: Text.AlignHCenter |
|
|
|
|
color: textColor |
|
|
|
|
fontSizeMode: Text.HorizontalFit |
|
|
|
|
text: fact.shortDescription + (fact.units ? " (" + fact.units + ")" : "") |
|
|
|
|
} |
|
|
|
|
QGCLabel { |
|
|
|
@ -96,6 +97,7 @@ QGCFlickable {
@@ -96,6 +97,7 @@ QGCFlickable {
|
|
|
|
|
horizontalAlignment: Text.AlignHCenter |
|
|
|
|
font.pixelSize: ScreenTools.largeFontPixelSize * (largeValue ? 1.3 : 1.0) |
|
|
|
|
font.weight: largeValue ? Font.ExtraBold : Font.Normal |
|
|
|
|
fontSizeMode: Text.HorizontalFit |
|
|
|
|
color: textColor |
|
|
|
|
text: fact.valueString |
|
|
|
|
} |
|
|
|
@ -125,6 +127,7 @@ QGCFlickable {
@@ -125,6 +127,7 @@ QGCFlickable {
|
|
|
|
|
width: parent.width |
|
|
|
|
horizontalAlignment: Text.AlignHCenter |
|
|
|
|
font.pixelSize: ScreenTools.smallFontPixelSize |
|
|
|
|
fontSizeMode: Text.HorizontalFit |
|
|
|
|
color: textColor |
|
|
|
|
text: fact.shortDescription |
|
|
|
|
} |
|
|
|
@ -132,12 +135,14 @@ QGCFlickable {
@@ -132,12 +135,14 @@ QGCFlickable {
|
|
|
|
|
width: parent.width |
|
|
|
|
horizontalAlignment: Text.AlignHCenter |
|
|
|
|
color: textColor |
|
|
|
|
fontSizeMode: Text.HorizontalFit |
|
|
|
|
text: fact.enumOrValueString |
|
|
|
|
} |
|
|
|
|
QGCLabel { |
|
|
|
|
width: parent.width |
|
|
|
|
horizontalAlignment: Text.AlignHCenter |
|
|
|
|
font.pixelSize: ScreenTools.smallFontPixelSize |
|
|
|
|
fontSizeMode: Text.HorizontalFit |
|
|
|
|
color: textColor |
|
|
|
|
text: fact.units |
|
|
|
|
} |
|
|
|
@ -151,21 +156,27 @@ QGCFlickable {
@@ -151,21 +156,27 @@ QGCFlickable {
|
|
|
|
|
QGCViewDialog { |
|
|
|
|
id: _propertyPickerDialog |
|
|
|
|
|
|
|
|
|
QGCLabel { |
|
|
|
|
id: _label |
|
|
|
|
text: "Select the values you want to display:" |
|
|
|
|
} |
|
|
|
|
QGCFlickable { |
|
|
|
|
anchors.fill: parent |
|
|
|
|
contentHeight: _loader.y + _loader.height |
|
|
|
|
flickableDirection: Flickable.VerticalFlick |
|
|
|
|
|
|
|
|
|
Loader { |
|
|
|
|
anchors.left: parent.left |
|
|
|
|
anchors.right: parent.right |
|
|
|
|
anchors.topMargin: _margins |
|
|
|
|
anchors.top: _label.bottom |
|
|
|
|
anchors.bottom: parent.bottom |
|
|
|
|
sourceComponent: factGroupList |
|
|
|
|
QGCLabel { |
|
|
|
|
id: _label |
|
|
|
|
text: "Select the values you want to display:" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
property var factGroup: _activeVehicle |
|
|
|
|
property var factGroupName: "Vehicle" |
|
|
|
|
Loader { |
|
|
|
|
id: _loader |
|
|
|
|
anchors.left: parent.left |
|
|
|
|
anchors.right: parent.right |
|
|
|
|
anchors.topMargin: _margins |
|
|
|
|
anchors.top: _label.bottom |
|
|
|
|
sourceComponent: factGroupList |
|
|
|
|
|
|
|
|
|
property var factGroup: _activeVehicle |
|
|
|
|
property var factGroupName: "Vehicle" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|