summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-30 16:27:11 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-30 16:27:11 +0700
commited24552f650521b2a299c8340d97ae4df6a9948b (patch)
tree29e4a57c90a8c91de2320f56053ee1eb24393d0f
parent6c41f3de65255fd0286a6356a05fb8ed3edab6f1 (diff)
add `TicketAttachmentForm`
-rw-r--r--features/TicketAttachmentForm.ui.qml36
1 files changed, 36 insertions, 0 deletions
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
+ }
+ }
+ }
+}