summaryrefslogtreecommitdiffstats
path: root/views/calendar
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-01 17:33:03 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-01 17:33:03 +0200
commit3a4adb790b4d3bef746f5ad88ef073ef821053fa (patch)
tree93e43200989c3f2a44073851139e3d144c0ea4c3 /views/calendar
parent8d5f8e5fd00d092941c55ffcc5b50c84dbd635f2 (diff)
downloadkube-3a4adb790b4d3bef746f5ad88ef073ef821053fa.tar.gz
kube-3a4adb790b4d3bef746f5ad88ef073ef821053fa.zip
Query for the list of calendars
Diffstat (limited to 'views/calendar')
-rw-r--r--views/calendar/qml/View.qml7
1 files changed, 5 insertions, 2 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml
index 8a166c47..505c6754 100644
--- a/views/calendar/qml/View.qml
+++ b/views/calendar/qml/View.qml
@@ -95,14 +95,17 @@ RowLayout {
95 spacing: Kube.Units.smallSpacing 95 spacing: Kube.Units.smallSpacing
96 96
97 Repeater { 97 Repeater {
98 model: ["calendar_1","calendar_2","calendar_3"] 98 model: Kube.EntityModel {
99 type: "calendar"
100 roles: ["name"]
101 }
99 delegate: Row { 102 delegate: Row {
100 spacing: Kube.Units.smallSpacing 103 spacing: Kube.Units.smallSpacing
101 Kube.CheckBox { 104 Kube.CheckBox {
102 opacity: 0.9 105 opacity: 0.9
103 } 106 }
104 Kube.Label { 107 Kube.Label {
105 text: modelData 108 text: model.name
106 color: Kube.Colors.highlightedTextColor 109 color: Kube.Colors.highlightedTextColor
107 } 110 }
108 } 111 }