summaryrefslogtreecommitdiff
path: root/Home.qml
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-20 12:28:55 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-20 12:28:55 +0700
commit2bcf1b40ef11bbcfde6069ecf610d3ad6e63c0f7 (patch)
tree76feac8c4eee643003e66e2b74eb92bb699e0b83 /Home.qml
parentbcb1e44f4a4f9b7927e5ab0e29b90654d0cd0379 (diff)
add `FutureForm` for `drawer.ItemDelegate` sample
Diffstat (limited to 'Home.qml')
-rw-r--r--Home.qml22
1 files changed, 22 insertions, 0 deletions
diff --git a/Home.qml b/Home.qml
index f125141..af00c24 100644
--- a/Home.qml
+++ b/Home.qml
@@ -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 {