diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-19 19:23:55 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-19 19:23:55 +0700 |
commit | 7362b70f98e88f6a4118f79744c6f358abd730de (patch) | |
tree | 61484b56d1e120d83eb3814f2fc9a3ee00106fa4 /main.qml | |
parent | 38a159e697f89dca4cc8c2445e7a1e88f9bced7e (diff) |
`main.qml` mimic `larva/main.qml`
Diffstat (limited to 'main.qml')
-rw-r--r-- | main.qml | 33 |
1 files changed, 14 insertions, 19 deletions
@@ -1,28 +1,23 @@ import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Controls.Material 2.12 +import QtQuick.Layouts 1.12 +import "larva/features" ApplicationWindow { - id: appWindow - width: 360 - height: 640 - visible: true - Material.accent: Material.DeepPurple + id: window + visible: true + width: 360 + height: 640 + title: { + text: qsTr("kelakon") + } - Drawer { - id: drawer - width: 0.8 * appWindow.width - height: appWindow.height - } - StackView { - property alias login: login + StackView { + id: pageView + anchors.fill: parent - id: stackView - anchors.fill : parent - - initialItem: Login { - id: login - } - } + initialItem: Onboarding {} + } } |