feat: add option to disable media controls

This commit is contained in:
2026-05-30 11:14:45 +00:00
parent b88c2ba3c5
commit 7045ecf8e6
4 changed files with 37 additions and 5 deletions
+8
View File
@@ -22,6 +22,7 @@ KCM.SimpleKCM {
property alias cfg_backgroundRadius: backgroundRadiusSpinBox.value
property alias cfg_foregroundColor: foregroundColorField.text
property alias cfg_textShadowEnabled: textShadowCheckBox.checked
property alias cfg_showMediaControls: showMediaControlsCheckBox.checked
property alias cfg_trackTextVerticalSpacing: trackTextVerticalSpacingSpinBox.value
property alias cfg_labelVerticalSpacing: labelVerticalSpacingSpinBox.value
property alias cfg_separatorGapLabel: separatorGapLabelSpinBox.value
@@ -181,6 +182,13 @@ KCM.SimpleKCM {
text: i18n("Enable")
}
QQC2.CheckBox {
id: showMediaControlsCheckBox
Kirigami.FormData.label: i18n("Media controls:")
text: i18n("Show media controls")
}
QQC2.SpinBox {
id: separatorHeightSpinBox