diff options
Diffstat (limited to 'main.qml')
-rw-r--r-- | main.qml | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -1,24 +1,26 @@ import QtQuick 2.12 import QtQuick.Controls 2.12 -import QtQuick.Controls.Material 2.12 - +import "larva/features" ApplicationWindow { + signal logIn(string name, string password) + signal ticketNew(string queue, string requestor) + function pushHome() { + pageView.push("Home.qml") + } + id: window visible: true width: 360 height: 640 - title: { - text: qsTr("kelakon") - } - StackView { - property alias onboarding: onboarding + OnboardingForm { id: pageView anchors.fill: parent - initialItem: Onboarding { - id: onboarding - onboardingText1.text: qsTr("Get things done today, chill tomorrow.") - } + logoImage.source: "kelakon-logo.png" + onboardingImage.source: "onboarding-1.png" + onboardingText1.text: qsTr("Get things done today, chill tomorrow.") + registerButton.onClicked: pageView.push("Email.qml") + loginButton.onClicked: pageView.push("Login.qml") } } |