diff options
-rw-r--r-- | TaskDetails.qml | 10 | ||||
-rw-r--r-- | TaskList.qml | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/TaskDetails.qml b/TaskDetails.qml index 190dfae..94162f6 100644 --- a/TaskDetails.qml +++ b/TaskDetails.qml @@ -1,5 +1,15 @@ import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Layouts 1.12 import "larva/features" TaskDetailForm { + backButton.onClicked: pageView.pop() } + +/*##^## +Designer { + D{i:0;autoSize:true;height:480;width:640} +} +##^##*/ diff --git a/TaskList.qml b/TaskList.qml index ab92327..b79720d 100644 --- a/TaskList.qml +++ b/TaskList.qml @@ -9,7 +9,7 @@ TaskListForm { width: parent.width height: task.height taskTitle.text: subject - itemDelegate.onClicked: contentView.push("TaskDetails.qml") + itemDelegate.onClicked: pageView.push("TaskDetails.qml") } } } |