From 583323be56520c697bbc9d08e6abf8ec4b5c42c3 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: Mon, 30 Sep 2019 10:36:16 +0800 Subject: Rename task to ticket --- TicketDetails.qml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 TicketDetails.qml (limited to 'TicketDetails.qml') diff --git a/TicketDetails.qml b/TicketDetails.qml new file mode 100644 index 0000000..add934f --- /dev/null +++ b/TicketDetails.qml @@ -0,0 +1,35 @@ +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Layouts 1.12 +import "larva/features" + +TaskDetailForm { + property string subject + backButton.onClicked: pageView.pop() + + StackView { + id: contentView + anchors.fill: parent + + TaskBriefForm { + id: ticketBriefForm + anchors.top: parent.top + anchors.topMargin: 0 + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + anchors.leftMargin: 0 + ticketSubject.text: subject + } + + TaskHistoryForm { + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + anchors.leftMargin: 0 + anchors.top: ticketBriefForm.bottom + anchors.topMargin: 0 + } + } +} -- cgit v1.2.3