From 019e19f51c85ca6c2e787740b93487dcde7d4def 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: Wed, 2 Oct 2019 22:24:15 +0800 Subject: Move StackView and TaskBrief back here with ListView taking TaskHistory's place --- features/TaskDetailForm.ui.qml | 59 ++++++++++++++++++++++++++++++++---------- 1 file changed, 46 insertions(+), 13 deletions(-) (limited to 'features/TaskDetailForm.ui.qml') diff --git a/features/TaskDetailForm.ui.qml b/features/TaskDetailForm.ui.qml index dc01776..dc8b346 100644 --- a/features/TaskDetailForm.ui.qml +++ b/features/TaskDetailForm.ui.qml @@ -8,6 +8,8 @@ Page { title: qsTr("Task detail page") property alias backButton: backButton + property alias listView: listView + property alias ticketBriefForm: ticketBriefForm header: ToolBar { background: Rectangle { @@ -32,19 +34,50 @@ Page { } } } - ListView { - id: listView - width: parent.width - height: parent.height - anchors.topMargin: 8 - anchors.right: parent.right - anchors.rightMargin: 0 - anchors.left: parent.left - anchors.leftMargin: 0 - spacing: 8 - - ScrollBar.vertical: ScrollBar {} - } + StackView { + id: contentView + anchors.fill: parent + background: Rectangle { + color: "#FFFFFF" + } + + TaskBriefForm { + id: ticketBriefForm + anchors.top: parent.top + anchors.topMargin: 0 + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + anchors.leftMargin: 0 + } + + Label { + id: separator + color: "#000000" + text: qsTr("Activities") + font.weight: Font.Medium + font.pixelSize: 16 + font.family: "Work Sans" + anchors.left: parent.left + anchors.leftMargin: 16 + anchors.top: ticketBriefForm.bottom + anchors.topMargin: 8 + } + + ListView { + id: listView + width: parent.width + height: parent.height + anchors.topMargin: 8 + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + anchors.leftMargin: 0 + spacing: 8 + + ScrollBar.vertical: ScrollBar {} + } + } } /*##^## -- cgit v1.2.3