mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-01-28 22:01:50 +00:00
40 lines
1.0 KiB
QML
40 lines
1.0 KiB
QML
import QtQuick 2.15
|
|
import QtQuick.Controls 2.15
|
|
|
|
ApplicationWindow {
|
|
visible: true
|
|
width: 400
|
|
height: 300
|
|
title: "AirPods Settings"
|
|
|
|
Column {
|
|
spacing: 20
|
|
padding: 20
|
|
|
|
Text {
|
|
id: batteryStatus
|
|
text: "Battery Status: " + airPodsTrayApp.batteryStatus
|
|
color: "#ffffff"
|
|
}
|
|
|
|
Text {
|
|
id: earDetectionStatus
|
|
text: "Ear Detection Status: " + airPodsTrayApp.earDetectionStatus
|
|
color: "#ffffff"
|
|
}
|
|
|
|
ComboBox {
|
|
id: noiseControlMode
|
|
model: ["Off", "Noise Cancellation", "Transparency", "Adaptive"]
|
|
currentIndex: airPodsTrayApp.noiseControlMode
|
|
onCurrentIndexChanged: airPodsTrayApp.noiseControlMode = currentIndex
|
|
}
|
|
|
|
Switch {
|
|
id: caToggle
|
|
text: "Conversational Awareness"
|
|
checked: airPodsTrayApp.conversationalAwareness
|
|
onCheckedChanged: airPodsTrayApp.conversationalAwareness = checked
|
|
}
|
|
}
|
|
} |