From 7362b70f98e88f6a4118f79744c6f358abd730de Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Thu, 19 Sep 2019 19:23:55 +0700 Subject: `main.qml` mimic `larva/main.qml` --- main.qml | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/main.qml b/main.qml index bb60154..3a550b9 100644 --- a/main.qml +++ b/main.qml @@ -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 {} + } } -- cgit v1.2.3