From fbadabe38b4611ecd373c88023fa3701bea827c9 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sat, 9 Apr 2022 15:33:54 +0800 Subject: Add config for refresh interval --- contents/ui/configGeneral.qml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'contents/ui/configGeneral.qml') diff --git a/contents/ui/configGeneral.qml b/contents/ui/configGeneral.qml index 479b9e6..dc73ca9 100644 --- a/contents/ui/configGeneral.qml +++ b/contents/ui/configGeneral.qml @@ -5,10 +5,19 @@ import org.kde.kirigami 2.5 as Kirigami Kirigami.FormLayout { property alias cfg_showSubmittedAssignments: showSubmittedAssignments.checked + property alias cfg_refreshInterval: refreshInterval.value CheckBox { id: showSubmittedAssignments text: i18n("Show submitted assignments") } + + SpinBox { + id: refreshInterval + Kirigami.FormData.label: i18n("Refresh interval (minutes):") + editable: true + from: 1 + to: 1440 + } } -- cgit v1.2.3