diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-20 12:28:55 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-20 12:28:55 +0700 |
commit | 2bcf1b40ef11bbcfde6069ecf610d3ad6e63c0f7 (patch) | |
tree | 76feac8c4eee643003e66e2b74eb92bb699e0b83 /Home.qml | |
parent | bcb1e44f4a4f9b7927e5ab0e29b90654d0cd0379 (diff) |
add `FutureForm` for `drawer.ItemDelegate` sample
Diffstat (limited to 'Home.qml')
-rw-r--r-- | Home.qml | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -68,6 +68,28 @@ Page { width: window.width * 0.8 height: window.height visible: false + + Column { + anchors.fill: parent + ItemDelegate { + text: qsTr("Today") + width: parent.width + onClicked: { + contentView.pop("HomeForm.ui.qml") + drawer.close() + } + } + + ItemDelegate { + text:qsTr("Future") + width: parent.width + onClicked: { + contentView.push("FutureForm.ui.qml") + drawer.close() + } + + } + } } StackView { |