From f1251b08ee37f44998d5a20e7bfcce5e9c9e1cb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Tue, 24 Sep 2019 22:05:32 +0800 Subject: All forms and icons are moved to Larva --- Login.qml | 36 ++++++++---------------------------- 1 file changed, 8 insertions(+), 28 deletions(-) (limited to 'Login.qml') diff --git a/Login.qml b/Login.qml index 2f0f1c8..bcbbf50 100644 --- a/Login.qml +++ b/Login.qml @@ -1,32 +1,12 @@ import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Layouts 1.12 +import "larva/features" -Page { - header: ToolBar { - background: Rectangle { - color: "#FAFFFFFF" - } - RowLayout { - ToolButton { - id: toolButton - icon.name: "back-button" - icon.source: "assets/arrow-back-24px.svg" - highlighted: true - onClicked: - if (pageView.depth > 1) - pageView.pop() - else - drawer.open() - } - } - } +LoginForm { + toolButton.onClicked: + if (pageView.depth > 1) + pageView.pop() + else + drawer.open() - StackView { - id: contentView - anchors.topMargin: 432 - anchors.fill: parent - initialItem: LoginEmail{} - } + contentView.initialItem: LoginEmail{} } -- cgit v1.2.3