summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-12 22:32:19 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-12 22:32:19 +0800
commitff81ff0d048f2f1fed503b5e1685d2b1e3fd9c12 (patch)
tree933d015fa15cb8234aab6bf02d4bbe1f38446d60 /pages
parent2be52462fd597a122f3564736acef1de894f6a02 (diff)
Once logged in, e-mail address and real name are set on view
Diffstat (limited to 'pages')
-rw-r--r--pages/CreateProfile.qml16
-rw-r--r--pages/CreateProfileForm.ui.qml3
2 files changed, 7 insertions, 12 deletions
diff --git a/pages/CreateProfile.qml b/pages/CreateProfile.qml
index 048c861..e03442d 100644
--- a/pages/CreateProfile.qml
+++ b/pages/CreateProfile.qml
@@ -1,17 +1,11 @@
import QtQuick 2.12
+import KelakonUser 0.1
CreateProfileForm {
width: stackView.width
height: stackView.height
-
- backButton {
- onClicked: {
- stackView.pop()
- }
- }
- skipButton {
- onClicked: {
- stackView.push("qrc:/pages/Home.qml")
- }
- }
+ backButton.onClicked: stackView.pop()
+ skipButton.onClicked: stackView.push("qrc:/pages/Home.qml")
+ emailAddressLabel.text: User.emailAddress
+ enterFullName.text: User.realName
}
diff --git a/pages/CreateProfileForm.ui.qml b/pages/CreateProfileForm.ui.qml
index 8c03251..2da2083 100644
--- a/pages/CreateProfileForm.ui.qml
+++ b/pages/CreateProfileForm.ui.qml
@@ -7,9 +7,10 @@ Rectangle {
id: rectangle
color: "#fff"
- property alias enterFullName: enterFullName
property alias backButton: backButton
property alias skipButton: skipButton
+ property alias emailAddressLabel: emailAddressLabel
+ property alias enterFullName: enterFullName
ToolBar {
id: toolbar