feat: add configurable now playing label text
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user