Commit 2f84fd94 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Change it to a "Balance" button so also non-geeks can comprehend it

parent 12c07e35
...@@ -100,9 +100,9 @@ ColumnLayout { ...@@ -100,9 +100,9 @@ ColumnLayout {
} }
Button { Button {
id: unlockChannelsButton id: balanceButton
Accessible.name: i18n("Adjust channels individually") text: i18nc("Audio balance (e.g. control left/right volume individually", "Balance")
icon.name: "object-unlocked" icon.name: "view-media-equalizer"
checkable: true checkable: true
onClicked: { onClicked: {
...@@ -128,10 +128,6 @@ ColumnLayout { ...@@ -128,10 +128,6 @@ ColumnLayout {
return volume !== ChannelVolumes[0]; return volume !== ChannelVolumes[0];
}); });
} }
ToolTip {
text: unlockChannelsButton.Accessible.name
}
} }
} }
...@@ -156,7 +152,7 @@ ColumnLayout { ...@@ -156,7 +152,7 @@ ColumnLayout {
Layout.column: 0 Layout.column: 0
Layout.row: 1 Layout.row: 1
Layout.alignment: Qt.AlignTop Layout.alignment: Qt.AlignTop
visible: !unlockChannelsButton.checked visible: !balanceButton.checked
value: Volume value: Volume
onMoved: { onMoved: {
...@@ -166,7 +162,7 @@ ColumnLayout { ...@@ -166,7 +162,7 @@ ColumnLayout {
} }
Repeater { Repeater {
model: unlockChannelsButton.checked ? Channels : null model: balanceButton.checked ? Channels : null
Label { Label {
Layout.alignment: Qt.AlignTop | Qt.AlignRight Layout.alignment: Qt.AlignTop | Qt.AlignRight
...@@ -178,7 +174,7 @@ ColumnLayout { ...@@ -178,7 +174,7 @@ ColumnLayout {
Repeater { Repeater {
id: channelSliderRepeater id: channelSliderRepeater
model: unlockChannelsButton.checked ? RawChannels : null model: balanceButton.checked ? RawChannels : null
VolumeSlider { VolumeSlider {
Layout.column: 1 Layout.column: 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment