summaryrefslogtreecommitdiffstats
path: root/views/calendar/qml/View.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-20 09:36:04 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-20 09:36:04 +0200
commit8b55e49f6e08312b9da0f228124f24068a073ee2 (patch)
tree01fb1043e9f5c65609befb6adf01e7eb9a19599f /views/calendar/qml/View.qml
parent6c947d2cb928c6e5d4aae006ef908d67f2a2462f (diff)
downloadkube-8b55e49f6e08312b9da0f228124f24068a073ee2.tar.gz
kube-8b55e49f6e08312b9da0f228124f24068a073ee2.zip
Print the selected date
Diffstat (limited to 'views/calendar/qml/View.qml')
-rw-r--r--views/calendar/qml/View.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml
index 829d04cc..e25baa15 100644
--- a/views/calendar/qml/View.qml
+++ b/views/calendar/qml/View.qml
@@ -30,6 +30,10 @@ RowLayout {
30 property date selectedDate: getFirstDayOfWeek(currentDate) 30 property date selectedDate: getFirstDayOfWeek(currentDate)
31 property bool autoUpdateDate: true 31 property bool autoUpdateDate: true
32 32
33 onSelectedDateChanged: {
34 console.log("Selected date changed", selectedDate)
35 }
36
33 Timer { 37 Timer {
34 running: autoUpdateDate 38 running: autoUpdateDate
35 interval: 2000; repeat: true 39 interval: 2000; repeat: true