summaryrefslogtreecommitdiff
path: root/contents/ui/configGeneral.qml
blob: dc73ca9fe52691df699ee78a49fec9dca472e436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
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
    }
}