summaryrefslogtreecommitdiff
path: root/Profile.qml
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-20 16:14:55 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-20 16:14:55 +0700
commite8af71c340af5429ec57fe07d986a38914986b3e (patch)
tree618978c2b4a2f8c1bc02eab87aa2305a473087f6 /Profile.qml
parent5a2631d79d3939bf1ca378acd8429b768873e59b (diff)
add `Profile`
Diffstat (limited to 'Profile.qml')
-rw-r--r--Profile.qml44
1 files changed, 29 insertions, 15 deletions
diff --git a/Profile.qml b/Profile.qml
index 8e416bd..381f486 100644
--- a/Profile.qml
+++ b/Profile.qml
@@ -1,18 +1,32 @@
import QtQuick 2.12
-import KelakonUser 0.1
-import "pages"
+import QtQuick.Controls 2.12
+import QtQuick.Controls.Material 2.12
+import QtQuick.Layouts 1.12
+import "larva/features"
-CreateProfileForm {
- backButton {
- icon.source: "larva/components/icons/arrow-back-24px.svg"
- onClicked: pageView.pop()
- }
- titleLabel.text: qsTr("Edit Profile")
- skipButton.onClicked: {
- pageView.push("Home.qml")
- }
- emailImage.source: "larva/components/icons/email-24px.svg"
- enterFullName.text: User.realName
- userNameLabel.text: User.name
- emailAddressLabel.text: User.emailAddress
+Page {
+ header: ToolBar{
+ background: Rectangle {
+ color: "#FAFFFFFF"
+ }
+ RowLayout {
+ anchors.fill: parent
+ spacing: 0
+ ToolButton {
+ id: backButton
+ icon.name: "back-button"
+ icon.source: "assets/arrow-back-24px.svg"
+ highlighted: true
+ onClicked: {
+ pageView.pop()
+ }
+ }
+ }
+ }
}
+
+/*##^##
+Designer {
+ D{i:0;autoSize:true;height:480;width:640}
+}
+##^##*/