summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--features/TaskBriefForm.ui.qml10
-rw-r--r--features/TaskHistoryForm.ui.qml5
2 files changed, 13 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
}
}
}
diff --git a/features/TaskHistoryForm.ui.qml b/features/TaskHistoryForm.ui.qml
index 00b0d82..768f3f0 100644
--- a/features/TaskHistoryForm.ui.qml
+++ b/features/TaskHistoryForm.ui.qml
@@ -9,6 +9,11 @@ Page {
background: Rectangle {
color: "#eeeeee"
}
+
+ property alias historyCreator: historyCreator
+ property alias ticketHistoryText: ticketHistoryText
+ property alias historyTimeStamp: historyTimeStamp
+
RowLayout {
anchors.fill: parent
spacing: 8