diff options
Diffstat (limited to 'Profile.qml')
-rw-r--r-- | Profile.qml | 44 |
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} +} +##^##*/ |