From 7625e24271ebb98848f92eb69d5706221a2efac3 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Thu, 19 Sep 2019 09:21:47 +0700 Subject: rearrange `Login` flow --- features/Login.qml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'features/Login.qml') diff --git a/features/Login.qml b/features/Login.qml index 44bf53c..863e908 100644 --- a/features/Login.qml +++ b/features/Login.qml @@ -3,8 +3,39 @@ import QtQuick.Controls 2.12 import QtQuick.Controls.Material 2.12 import QtQuick.Layouts 1.12 -LoginForm {} +Page { + header: + ToolBar { + background: Rectangle { + color: "#FAFFFFFF" + } + RowLayout { + ToolButton { + id: toolButton + icon.name: "back-button" + icon.source: "../components/icons/arrow-back-24px.svg" + highlighted: true + onClicked: { + if (pageView.depth > 1) { + pageView.pop() + } else { + drawer.open() + } + } + } + } + } + + +StackView { + id: contentView + anchors.topMargin: 432 + anchors.fill: parent + initialItem: LoginEmail{ + } +} +} /*##^## Designer { D{i:0;autoSize:true;height:480;width:640} -- cgit v1.2.3