summaryrefslogtreecommitdiff
path: root/features/TaskBriefForm.ui.qml
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-29 21:49:49 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-29 21:49:49 +0700
commita874ba32e2faed5e7b720b6cdba7e98d3d8f41a3 (patch)
treeaae8bba9d4db3c9b780d37990507d0e964c50e1b /features/TaskBriefForm.ui.qml
parent27b2be77d5d7c53a23bfbec57807b2669dc1c163 (diff)
declare `property alias`
Diffstat (limited to 'features/TaskBriefForm.ui.qml')
-rw-r--r--features/TaskBriefForm.ui.qml10
1 files changed, 8 insertions, 2 deletions
diff --git a/features/TaskBriefForm.ui.qml b/features/TaskBriefForm.ui.qml
index b845f5d..24de122 100644
--- a/features/TaskBriefForm.ui.qml
+++ b/features/TaskBriefForm.ui.qml
@@ -6,6 +6,12 @@ import QtQuick.Layouts 1.12
Page {
id: taskBriefComponents
height: ticketSubjectLayout.height + ticketMetaLayout.height
+ property alias ticketSubject: ticketSubject
+ property alias userAvatar: userAvatar
+ property alias ticketCreator: ticketCreator
+ property alias ticketCreatedText: ticketCreatedText
+ property alias ticketCreatedTimestamp: ticketCreatedTimestamp
+
RowLayout {
id: ticketSubjectLayout
height: ticketSubject.height + 32
@@ -64,10 +70,10 @@ Page {
width: ticketCreatedText.width
}
Text {
- id: ticketCreated
+ id: ticketCreatedTimestamp
text: qsTr("2017-07-25 14:05:30")
Layout.rightMargin: 16
- width: ticketCreated.width
+ width: ticketCreatedTimestamp.width
}
}
}