blob: 768f3f0644d184d629dbe0303f0c18d6e64951d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Controls.Material 2.12
import QtQuick.Layouts 1.12
Page {
id: page
height: ticketHistoryText.height + 16
background: Rectangle {
color: "#eeeeee"
}
property alias historyCreator: historyCreator
property alias ticketHistoryText: ticketHistoryText
property alias historyTimeStamp: historyTimeStamp
RowLayout {
anchors.fill: parent
spacing: 8
Text {
id: historyCreator
text: qsTr("Username")
font.weight: Font.Medium
font.pixelSize: 14
font.family: "Work Sans"
Layout.leftMargin: 16
width: historyCreator.width
}
Text {
id: ticketHistoryText
text: qsTr("Edit or Commented")
font.pixelSize: 14
font.family: "Work Sans"
width: ticketHistoryText.width
}
Text {
id: historyTimestamp
text: qsTr("2017-07-25 15:05:30")
Layout.rightMargin: 16
font.pixelSize: 14
font.family: "Work Sans"
width: historyTimestamp.width
}
}
}
|