feat: add configurable now playing label text

This commit is contained in:
2026-05-23 12:35:58 +00:00
parent a0a675bc99
commit 023b869e9c
5 changed files with 38 additions and 22 deletions
+11
View File
@@ -12,6 +12,7 @@ KCM.SimpleKCM {
property string cfg_fontFamily
property string cfg_labelVisibilityMode
property string cfg_labelPlacement
property alias cfg_labelText: labelTextArea.text
property string cfg_backgroundStyle
property alias cfg_backgroundColor: backgroundColorField.text
property alias cfg_backgroundRadius: backgroundRadiusSpinBox.value
@@ -125,6 +126,16 @@ KCM.SimpleKCM {
onActivated: configRoot.cfg_labelPlacement = currentValue
}
QQC2.TextArea {
id: labelTextArea
Kirigami.FormData.label: i18n("Label text:")
Layout.fillWidth: true
Layout.preferredHeight: Kirigami.Units.gridUnit * 3
placeholderText: i18n("Use a line break for multiple lines")
wrapMode: TextEdit.NoWrap
}
QQC2.ComboBox {
id: backgroundStyleComboBox