From ed24552f650521b2a299c8340d97ae4df6a9948b Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Mon, 30 Sep 2019 16:27:11 +0700 Subject: add `TicketAttachmentForm` --- features/TicketAttachmentForm.ui.qml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 features/TicketAttachmentForm.ui.qml diff --git a/features/TicketAttachmentForm.ui.qml b/features/TicketAttachmentForm.ui.qml new file mode 100644 index 0000000..a99a970 --- /dev/null +++ b/features/TicketAttachmentForm.ui.qml @@ -0,0 +1,36 @@ +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: "#FFFFFF" + } + height: attachedItem.height + RowLayout { + id: attachedItem + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + anchors.leftMargin: 0 + spacing: 8 + + ItemDelegate { + text: qsTr("filename.fileformat") + Layout.rightMargin: 0 + Layout.leftMargin: 0 + Layout.bottomMargin: 0 + Layout.topMargin: 0 + font.pixelSize: 14 + font.family: "Work Sans" + Layout.fillWidth: true + icon.source: "../components/icons/folder-24px.svg" + background: Rectangle { + color: "#1A673AB7" + radius: 8 + } + } + } +} -- cgit v1.2.3