summaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-19 19:23:55 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-19 19:23:55 +0700
commit7362b70f98e88f6a4118f79744c6f358abd730de (patch)
tree61484b56d1e120d83eb3814f2fc9a3ee00106fa4 /main.qml
parent38a159e697f89dca4cc8c2445e7a1e88f9bced7e (diff)
`main.qml` mimic `larva/main.qml`
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml33
1 files 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 {}
+ }
}