diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-17 15:42:41 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-17 15:42:41 +0700 |
commit | 7d906895561be8f6bb25511becf2a53a80229945 (patch) | |
tree | 8071f8034246727f0619bbf685ed01f62afb8360 | |
parent | f3a84461e384b1699516e9adc1a73b24667f7ede (diff) |
use `Onboarding` feature as initialItem
-rw-r--r-- | features/Onboarding.qml | 5 | ||||
-rw-r--r-- | features/OnboardingForm.ui.qml | 15 | ||||
-rw-r--r-- | main.qml | 7 |
3 files changed, 26 insertions, 1 deletions
diff --git a/features/Onboarding.qml b/features/Onboarding.qml new file mode 100644 index 0000000..eaa0052 --- /dev/null +++ b/features/Onboarding.qml @@ -0,0 +1,5 @@ +import QtQuick 2.4 + +OnboardingForm { + objectName: "onboarding" +} diff --git a/features/OnboardingForm.ui.qml b/features/OnboardingForm.ui.qml new file mode 100644 index 0000000..09d8014 --- /dev/null +++ b/features/OnboardingForm.ui.qml @@ -0,0 +1,15 @@ +import QtQuick 2.12 +import QtQuick.Layouts 1.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.Material 2.12 + +Page { + title: qsTr("Onboarding") +} + +/*##^## +Designer { + D{i:0;autoSize:true;height:480;width:640} +} +##^##*/ + @@ -2,6 +2,7 @@ import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Controls.Material 2.12 import QtQuick.Layouts 1.12 +import "features" ApplicationWindow { id: window @@ -49,6 +50,7 @@ ApplicationWindow { id: drawer width: window.width * 0.8 height: window.height + visible: false Column { anchors.fill: parent @@ -74,7 +76,10 @@ ApplicationWindow { StackView { id: stackView - initialItem: "HomeForm.ui.qml" + initialItem: Onboarding { + + } + anchors.fill: parent } } |