summaryrefslogtreecommitdiff
path: root/pages/TaskForm.ui.qml
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-06 12:03:43 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-06 12:03:43 +0800
commit7dadd495657a8baa67d26dcd6f961e1c523d2a2e (patch)
tree4e530d4b80be89a8fe4c6bbdb96405cfc96ae86c /pages/TaskForm.ui.qml
parent015650a6fadd2592100950c57146fcc5c61764a2 (diff)
Task related views using the C++ model
Diffstat (limited to 'pages/TaskForm.ui.qml')
-rw-r--r--pages/TaskForm.ui.qml43
1 files changed, 43 insertions, 0 deletions
diff --git a/pages/TaskForm.ui.qml b/pages/TaskForm.ui.qml
new file mode 100644
index 0000000..0a08736
--- /dev/null
+++ b/pages/TaskForm.ui.qml
@@ -0,0 +1,43 @@
+import QtQuick 2.12
+import QtQuick.Controls 2.12
+import QtQuick.Layouts 1.12
+
+Item {
+ property alias task: task
+ property alias checkBox: checkBox
+ width: 360
+
+ RowLayout {
+ id: task
+ height: 72
+ anchors.topMargin: 8
+ anchors.right: parent.right
+ anchors.rightMargin: 0
+ anchors.left: parent.left
+ anchors.leftMargin: 0
+ spacing: 8
+
+ CheckBox {
+ id: checkBox
+ height: 54
+ text: qsTr("This is a task title")
+ padding: 8
+ rightPadding: 16
+ leftPadding: 16
+ bottomPadding: 16
+ topPadding: 16
+ Layout.fillWidth: true
+ font.family: "Google Sans"
+ font.pointSize: 16
+ font.weight: Font.Medium
+ spacing: 24
+ }
+ RoundButton {
+ id: chevronRight
+ flat: true
+ icon.name: "chevron-right-icon"
+ icon.source: "/assets/chevron-right-24px.svg"
+ icon.color: "#99000000"
+ }
+ }
+}