diff options
Diffstat (limited to 'TicketDetails.qml')
| -rw-r--r-- | TicketDetails.qml | 35 | 
1 files changed, 35 insertions, 0 deletions
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 +		} +	} +}  |