mixer: add audio device selector

This commit is contained in:
end-4
2025-04-21 00:47:34 +02:00
parent 9164ad2471
commit eca98598cf
6 changed files with 389 additions and 98 deletions
@@ -201,9 +201,9 @@ Item {
Item {
anchors.fill: parent
visible: false
z: 1000
z: 9999
visible: opacity > 0
opacity: root.showAddDialog ? 1 : 0
Behavior on opacity {
NumberAnimation {
@@ -211,9 +211,6 @@ Item {
easing.type: Appearance.animation.elementDecelFast.type
}
}
onOpacityChanged: {
visible = opacity > 0
}
onVisibleChanged: {
if (!visible) {
@@ -236,9 +233,12 @@ Item {
Rectangle { // The dialog
id: dialog
implicitWidth: parent.width - dialogMargins * 2
anchors.left: parent.left
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
anchors.margins: root.dialogMargins
implicitHeight: dialogColumnLayout.implicitHeight
anchors.centerIn: parent
color: Appearance.m3colors.m3surfaceContainerHigh
radius: Appearance.rounding.normal
@@ -252,8 +252,8 @@ Item {
}
ColumnLayout {
anchors.fill: parent
id: dialogColumnLayout
anchors.fill: parent
spacing: 16
StyledText {