summaryrefslogtreecommitdiff
path: root/features/TaskHistoryForm.ui.qml
blob: 4b207deb401f32678fe4858ab210373db0d411c8 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Controls.Material 2.12
import QtQuick.Layouts 1.12

Page {
    id: page
    background: Rectangle {
        color: "#eeeeee"
    }
    height: ticketDescriptionLayout.height + ticketDateLayout.height
    property alias creator: creator
    property alias ticketDescription: ticketDescription
    property alias ticketDate: ticketDate

    RowLayout {
        id: ticketDescriptionLayout
        anchors.top: parent.top
        anchors.topMargin: 0
        anchors.right: parent.right
        anchors.rightMargin: 0
        anchors.left: parent.left
        anchors.leftMargin: 0
        spacing: 8
        Text {
            id: creator
            text: qsTr("Username")
            Layout.bottomMargin: 8
            Layout.topMargin: 8
            font.weight: Font.Medium
            font.pixelSize: 14
            font.family: "Work Sans"
            Layout.leftMargin: 16
        }
        Text {
            id: ticketDescription
            text: qsTr("Edit or Commented")
            Layout.bottomMargin: 8
            Layout.topMargin: 8
            Layout.fillWidth: true
            font.pixelSize: 14
            font.family: "Work Sans"
            width: ticketDescription.width
            color: "#000000"
        }
    }
    RowLayout {
        id: ticketDateLayout
        anchors.right: parent.right
        anchors.rightMargin: 0
        anchors.left: parent.left
        anchors.leftMargin: 0
        anchors.top: ticketDescriptionLayout.bottom
        anchors.topMargin: 0
        spacing: 8
        Text {
            id: ticketDate
            text: qsTr("2017-07-25 15:05:30")
            Layout.bottomMargin: 8
            Layout.topMargin: 8
            Layout.fillWidth: true
            Layout.leftMargin: 16
            Layout.rightMargin: 16
            font.pixelSize: 12
            font.family: "Work Sans"
            color: "#8a000000"
        }
    }
}