diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-21 09:04:26 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-21 09:04:26 +0800 |
commit | 1c2e0bdae47d142111abe96eabf39dceb8ea3051 (patch) | |
tree | c1a929b333f07be111ea31d3d7cc89ebef84fd06 /forms/DayListForm.ui.qml | |
parent | 90bff8fb6e3e3b1715c76a28ad27686243e3b307 (diff) |
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.
Diffstat (limited to 'forms/DayListForm.ui.qml')
-rw-r--r-- | forms/DayListForm.ui.qml | 18 |
1 files changed, 18 insertions, 0 deletions
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 + } +} |