From 1c2e0bdae47d142111abe96eabf39dceb8ea3051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Sat, 21 Sep 2019 09:04:26 +0800 Subject: Separate logics from presentation on Home Note: Inner stack view pushes (instead of pops) day forms, and there needs to be some button that pops them back, like in Qt gallery example. --- forms/DayListForm.ui.qml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 forms/DayListForm.ui.qml (limited to 'forms/DayListForm.ui.qml') diff --git a/forms/DayListForm.ui.qml b/forms/DayListForm.ui.qml new file mode 100644 index 0000000..1b4c937 --- /dev/null +++ b/forms/DayListForm.ui.qml @@ -0,0 +1,18 @@ +import QtQuick 2.12 +import QtQuick.Controls 2.12 + +Column { + property alias todayItemDelegate: todayItemDelegate + property alias futureItemDelegate: futureItemDelegate + + anchors.fill: parent + ItemDelegate { + id: todayItemDelegate + width: parent.width + } + + ItemDelegate { + id: futureItemDelegate + width: parent.width + } +} -- cgit v1.2.3