diff options
-rw-r--r-- | components/icons/folder-24px.svg | 1 | ||||
-rw-r--r-- | features/TaskDetailForm.ui.qml | 30 | ||||
-rw-r--r-- | material-design-icons.qrc | 1 |
3 files changed, 32 insertions, 0 deletions
diff --git a/components/icons/folder-24px.svg b/components/icons/folder-24px.svg new file mode 100644 index 0000000..970e888 --- /dev/null +++ b/components/icons/folder-24px.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>
\ No newline at end of file diff --git a/features/TaskDetailForm.ui.qml b/features/TaskDetailForm.ui.qml index 20e11c9..3c81052 100644 --- a/features/TaskDetailForm.ui.qml +++ b/features/TaskDetailForm.ui.qml @@ -124,6 +124,36 @@ Page { Layout.fillWidth: true } } + RowLayout { + id: attachmentItemLayout + height: attachmentItem.height + 16 + anchors.leftMargin: 0 + anchors.top: attachmentLayout.bottom + anchors.topMargin: 0 + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + ItemDelegate { + id: attachmentItem + height: 56 + text: qsTr("Attached-file-name.file-format") + rightPadding: 16 + leftPadding: 161 + bottomPadding: 16 + topPadding: 16 + highlighted: false + font.weight: Font.Medium + font.pixelSize: 14 + font.family: "Work Sans" + Layout.rightMargin: 16 + Layout.leftMargin: 66 + Layout.fillWidth: true + background: Rectangle { + color: "#D6C3F8" + radius: 8 + } + } + } } /*##^## diff --git a/material-design-icons.qrc b/material-design-icons.qrc index eb90650..06ebc8c 100644 --- a/material-design-icons.qrc +++ b/material-design-icons.qrc @@ -14,5 +14,6 @@ <file>components/icons/user-24px.svg</file> <file>components/icons/notes-24px.svg</file> <file>components/icons/more-vert-24px.svg</file> + <file>components/icons/folder-24px.svg</file> </qresource> </RCC> |