|
|
@ -38,12 +38,24 @@ Item { |
|
|
|
|
|
|
|
|
|
|
|
property double _thermalHeightFactor: 0.85 //-- TODO |
|
|
|
property double _thermalHeightFactor: 0.85 //-- TODO |
|
|
|
|
|
|
|
|
|
|
|
Rectangle { |
|
|
|
Image { |
|
|
|
id: noVideo |
|
|
|
id: noVideo |
|
|
|
anchors.fill: parent |
|
|
|
anchors.fill: parent |
|
|
|
color: Qt.rgba(0,0,0,0.75) |
|
|
|
source: "/res/NoVideoBackground.jpg" |
|
|
|
|
|
|
|
fillMode: Image.PreserveAspectCrop |
|
|
|
visible: !(QGroundControl.videoManager.decoding) |
|
|
|
visible: !(QGroundControl.videoManager.decoding) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rectangle { |
|
|
|
|
|
|
|
anchors.centerIn: parent |
|
|
|
|
|
|
|
width: noVideoLabel.contentWidth + ScreenTools.defaultFontPixelHeight |
|
|
|
|
|
|
|
height: noVideoLabel.contentHeight + ScreenTools.defaultFontPixelHeight |
|
|
|
|
|
|
|
radius: ScreenTools.defaultFontPixelWidth / 2 |
|
|
|
|
|
|
|
color: "black" |
|
|
|
|
|
|
|
opacity: 0.5 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
QGCLabel { |
|
|
|
QGCLabel { |
|
|
|
|
|
|
|
id: noVideoLabel |
|
|
|
text: QGroundControl.settingsManager.videoSettings.streamEnabled.rawValue ? qsTr("WAITING FOR VIDEO") : qsTr("VIDEO DISABLED") |
|
|
|
text: QGroundControl.settingsManager.videoSettings.streamEnabled.rawValue ? qsTr("WAITING FOR VIDEO") : qsTr("VIDEO DISABLED") |
|
|
|
font.family: ScreenTools.demiboldFontFamily |
|
|
|
font.family: ScreenTools.demiboldFontFamily |
|
|
|
color: "white" |
|
|
|
color: "white" |
|
|
@ -51,6 +63,7 @@ Item { |
|
|
|
anchors.centerIn: parent |
|
|
|
anchors.centerIn: parent |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Rectangle { |
|
|
|
Rectangle { |
|
|
|
anchors.fill: parent |
|
|
|
anchors.fill: parent |
|
|
|
color: "black" |
|
|
|
color: "black" |
|
|
|