feat: add configurable image border radius

This commit is contained in:
2026-05-30 11:24:05 +00:00
parent 7045ecf8e6
commit 3d334b9896
4 changed files with 34 additions and 0 deletions
+9
View File
@@ -17,6 +17,7 @@ KCM.SimpleKCM {
property string cfg_labelPlacement
property alias cfg_labelText: labelTextArea.text
property alias cfg_useLabelArtwork: useLabelArtworkCheckBox.checked
property alias cfg_imageBorderRadius: imageBorderRadiusSpinBox.value
property string cfg_backgroundStyle
property alias cfg_backgroundColor: backgroundColorField.text
property alias cfg_backgroundRadius: backgroundRadiusSpinBox.value
@@ -228,6 +229,14 @@ KCM.SimpleKCM {
text: i18n("Show track image when available")
}
QQC2.SpinBox {
id: imageBorderRadiusSpinBox
Kirigami.FormData.label: i18n("Image border radius:")
from: 0
to: 100
}
QQC2.TextArea {
id: labelTextArea