blob: c227a1c5432187e7d7ad45fa3c92cf81bc0c12a3 (
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Controls.Material 2.12
import QtQuick.Layouts 1.12
Page {
id: page
title: qsTr("Task detail page")
background: Rectangle {
color: "#FFFFFF"
}
property alias taskTitle: taskTitle
property alias taskDescription: taskDescription
Row {
id: row
anchors.fill: parent
RowLayout {
id: taskTitleLayout
width: parent.width
height: 56
TextField {
id: taskTitle
Layout.rightMargin: 16
Layout.leftMargin: 72
Layout.fillWidth: true
placeholderText: qsTr("Enter task title")
}
}
RowLayout {
id: taskDescriptionLayout
width: parent.width
height: 56
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: taskTitleLayout.bottom
anchors.topMargin: 16
TextField {
id: taskDescription
Layout.rightMargin: 16
Layout.leftMargin: 72
Layout.fillWidth: true
placeholderText: qsTr("Enter task description")
}
}
RowLayout {
id: attachmentLayout
height: 56
anchors.top: taskDescriptionLayout.bottom
anchors.topMargin: 16
width: parent.width
Image {
opacity: 0.54
sourceSize.height: 24
sourceSize.width: 24
Layout.leftMargin: 16
source: "../../assets/attachment-24px.svg"
}
ItemDelegate {
id: itemDelegate
highlighted: false
/*
background: Rectangle {
color: Material.primary
radius: 8
}
*/
anchors.verticalCenter: parent.verticalCenter
Layout.fillWidth: true
Layout.fillHeight: true
Label {
text: qsTr("Attachment")
anchors.left: parent.left
anchors.leftMargin: 24
anchors.verticalCenterOffset: 0
leftPadding: 0
anchors.verticalCenter: parent.verticalCenter
font.weight: Font.Medium
font.pixelSize: 20
font.family: "Work Sans"
}
}
}
}
}
/*##^##
Designer {
D{i:0;autoSize:true;height:480;width:640}
}
##^##*/
|