summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-31 11:43:57 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-31 11:43:57 +0700
commitca698a94c93278d80bef3a93196f8289546b47da (patch)
tree3671e140f41d248c4c47b4b33a6e6b67870daed6 /pages
parentad60582e10a261507a410f6ead189856d7b8cc2f (diff)
add pages/CreateProfile
Diffstat (limited to 'pages')
-rw-r--r--pages/CreateProfile.qml14
-rw-r--r--pages/CreateProfileForm.ui.qml52
2 files changed, 66 insertions, 0 deletions
diff --git a/pages/CreateProfile.qml b/pages/CreateProfile.qml
new file mode 100644
index 0000000..77c1742
--- /dev/null
+++ b/pages/CreateProfile.qml
@@ -0,0 +1,14 @@
+import QtQuick 2.12
+import id.co.darapsa.kelakon.user 0.1
+import id.co.darapsa.kelakon.rtclient 0.1
+
+CreateProfileForm {
+ width: stackView.width
+ height: stackView.height
+ }
+}
+
+/*##^## Designer {
+ D{i:0;autoSize:true;height:480;width:640}
+}
+ ##^##*/
diff --git a/pages/CreateProfileForm.ui.qml b/pages/CreateProfileForm.ui.qml
new file mode 100644
index 0000000..3a34d36
--- /dev/null
+++ b/pages/CreateProfileForm.ui.qml
@@ -0,0 +1,52 @@
+import QtQuick 2.12
+import QtQuick.Layouts 1.3
+import QtQuick.Controls 2.12
+import QtQuick.Controls.Material 2.12
+
+Rectangle {
+ id: rectangle
+ color: "#fff"
+
+ ToolBar {
+ height: 48
+ anchors.top: parent.top
+ anchors.topMargin: 0
+ anchors.right: parent.right
+ anchors.rightMargin: 0
+ anchors.left: parent.left
+ anchors.leftMargin: 0
+ background: rectangle
+
+ Rectangle {
+ color: "#fff"
+ }
+
+ RowLayout {
+ anchors.fill: parent
+
+ ToolButton {
+ icon.name: "back-icon"
+ icon.source: "/assets/arrow-back-24px.svg"
+ icon.color: "transparent"
+ }
+ Label {
+ id: title
+ text: qsTr("Create Profile")
+ font.family: "Google Sans"
+ font.pointSize: 20
+ elide: Label.ElideRight
+ horizontalAlignment: Qt.AlignHCenter
+ verticalAlignment: Qt.AlignVCenter
+ Layout.fillWidth: true
+ }
+ }
+ }
+}
+
+
+
+
+/*##^## Designer {
+ D{i:0;autoSize:true;height:480;width:640}D{i:1;anchors_width:640}
+}
+ ##^##*/