Files
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

13 lines
457 B
QML

import QtQuick
import qs.Common
CcTileActions {
signal selected(int minutes)
actions: [15, 30, 60, 120, 0].map(minutes => ({
text: minutes === 0 ? I18n.tr("Until I turn it off") : minutes < 60 ? I18n.tr("%1 min", "short duration chip, %1 is a number of minutes").arg(minutes) : I18n.duration(minutes * 60),
icon: minutes === 0 ? "block" : "timer",
trigger: () => selected(minutes)
}))
}