summaryrefslogtreecommitdiff
path: root/Login.qml
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-24 22:05:32 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-24 22:05:32 +0800
commitf1251b08ee37f44998d5a20e7bfcce5e9c9e1cb5 (patch)
treede458de864a3c1f025c4c9dbde927d249ebf4294 /Login.qml
parent7ed328595cb95c94d70c426953cb5d77ecb512fa (diff)
All forms and icons are moved to Larva
Diffstat (limited to 'Login.qml')
-rw-r--r--Login.qml36
1 files changed, 8 insertions, 28 deletions
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{}
}