QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
VideoDisplaySettingsGroup.qml
Go to the documentation of this file.
1import QtQuick
2import QtQuick.Layouts
3
4import QGroundControl
5import QGroundControl.Controls
6import QGroundControl.FactControls
7
8// How the video is drawn: the grid lines and telemetry over it, and how it fits the view.
9QGCGroupBox {
10 id: root
11
12 readonly property VideoSettings _videoSettings: QGroundControl.settingsManager.videoSettings
13
14 heading: qsTr("Video Display")
15
16 FactCheckBoxSlider {
17 text: qsTr("Grid Lines")
18 fact: root._videoSettings.gridLines
19 visible: fact.userVisible
20 Layout.fillWidth: true
21 }
22
23 FactCheckBoxSlider {
24 text: qsTr("Telemetry Overlay")
25 fact: root._videoSettings.showTelemetryOverlay
26 visible: fact.userVisible
27 Layout.fillWidth: true
28 }
29
30 LabelledFactComboBox {
31 label: qsTr("Display Fit")
32 fact: root._videoSettings.videoFit
33 indexModel: false
34 visible: fact.userVisible
35 Layout.fillWidth: true
36 }
37}