feat(ui): add hide separator setting

This commit is contained in:
2026-05-30 11:59:43 +00:00
parent de22c05c33
commit c26793dfe2
4 changed files with 18 additions and 1 deletions
+8
View File
@@ -29,6 +29,7 @@ KCM.SimpleKCM {
property alias cfg_separatorGapLabel: separatorGapLabelSpinBox.value
property alias cfg_separatorGapTrack: separatorGapTrackSpinBox.value
property alias cfg_separatorHeight: separatorHeightSpinBox.value
property alias cfg_hideSeparator: hideSeparatorCheckBox.checked
readonly property var availableFonts: Qt.fontFamilies()
readonly property var labelVisibilityOptions: [{
"text": i18n("Auto hide when idle"),
@@ -198,6 +199,13 @@ KCM.SimpleKCM {
to: 100
}
QQC2.CheckBox {
id: hideSeparatorCheckBox
Kirigami.FormData.label: i18n("Separator:")
text: i18n("Hide separator")
}
SectionHeader {
title: i18n("Label")
}