diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-30 16:27:46 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-30 16:27:46 +0700 |
commit | 34e55acfe28b67c8afc84e1b7c8c96c14b2a708d (patch) | |
tree | e78336a0075a2f3f8a41b728ac2f75f4a7ec15a1 | |
parent | 652fb429c990d27b54e0e8d54d46f44d3bf6cbb0 (diff) |
`TaskDetails` loads `TicketAttachmentForm`
-rw-r--r-- | TicketDetails.qml | 35 | ||||
-rw-r--r-- | larva.qrc | 1 |
2 files changed, 30 insertions, 6 deletions
diff --git a/TicketDetails.qml b/TicketDetails.qml index d5a2dc9..b7cb477 100644 --- a/TicketDetails.qml +++ b/TicketDetails.qml @@ -24,9 +24,31 @@ TaskDetailForm { anchors.left: parent.left anchors.leftMargin: 0 ticketSubject.text: subject - } + } + Label { + id: attachmentSeparator + color: "#000000" + text: qsTr("Attachments") + anchors.left: parent.left + anchors.leftMargin: 16 + anchors.top: ticketBriefForm.bottom + anchors.topMargin: 8 + font.weight: Font.Medium + font.pixelSize: 16 + font.family: "Work Sans" + } + + TicketAttachmentForm { + id: ticketAttachmentForm + anchors.top: attachmentSeparator.bottom + anchors.topMargin: 16 + anchors.right: parent.right + anchors.rightMargin: 16 + anchors.left: parent.left + anchors.leftMargin: 16 + } Label { - id: separator + id: activitiesSeparator color: "#000000" text: qsTr("Activities") font.weight: Font.Medium @@ -34,17 +56,18 @@ TaskDetailForm { font.family: "Work Sans" anchors.left: parent.left anchors.leftMargin: 16 - anchors.top: ticketBriefForm.bottom - anchors.topMargin: 8 + anchors.top: ticketAttachmentForm.bottom + anchors.topMargin: 24 } TaskHistoryForm { + id: taskHistoryForm anchors.right: parent.right anchors.rightMargin: 0 anchors.left: parent.left anchors.leftMargin: 0 - anchors.top: separator.bottom - anchors.topMargin: 8 + anchors.top: activitiesSeparator.bottom + anchors.topMargin: 16 } } } @@ -16,5 +16,6 @@ <file>larva/features/CreateProfileForm.ui.qml</file> <file>larva/features/TaskBriefForm.ui.qml</file> <file>larva/features/TaskHistoryForm.ui.qml</file> + <file>larva/features/TicketAttachmentForm.ui.qml</file> </qresource> </RCC> |