QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
PreFlightSoundCheck.qml
Go to the documentation of this file.
1import QtQuick
2
3import QGroundControl
4import QGroundControl.Controls
5
6PreFlightCheckButton {
7 name: qsTr("Sound output")
8 manualText: qsTr("QGC audio output enabled. System audio output enabled, too?")
9 telemetryTextFailure: qsTr("QGC audio output is disabled. Please enable it under application settings->general to hear audio warnings!")
10 telemetryFailure: _audioMuted || _audioVolume <= 0.0
11
12 property real _audioVolume: QGroundControl.settingsManager.appSettings.audioVolume.rawValue
13 property bool _audioMuted: QGroundControl.settingsManager.appSettings.audioMuted.rawValue
14}