Files
DankMaterialShell/quickshell/Modules/Settings/Widgets/SettingsSplitRow.qml
T
bbedward 014c69b09a settings: tile color restyle and re-org, use materials own shift for
them towards theme
controlCenter: make a real grid, add numerous more tile varieties, add
icon size option
surfaces: fix elevation levels in general, and shift them down
settings: restyles and re-org
sliders: scale down universally
2026-09-18 14:32:55 -04:00

43 lines
862 B
QML

import QtQuick
import qs.Common
import qs.Widgets
SettingsRow {
id: root
property bool checked: false
signal navigated
signal toggled(bool checked)
clickable: true
onClicked: navigated()
DankIcon {
name: "chevron_right"
size: Theme.iconSize
color: Theme.surfaceVariantText
rotation: I18n.isRtl ? 180 : 0
anchors.verticalCenter: parent.verticalCenter
}
Rectangle {
width: Theme.dividerWidth
height: SettingsMetrics.splitDividerHeight
color: Theme.outlineVariant
anchors.verticalCenter: parent.verticalCenter
}
Item {
width: Theme.spacingS
height: parent.height
}
DankToggle {
hideText: true
checked: root.checked
enabled: root.enabled
onToggled: value => root.toggled(value)
}
}