summaryrefslogtreecommitdiff
path: root/CreateProfile.qml
blob: 16176bab78431fec0cf764da3064453f5c60e1e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import QtQuick 2.12
import KelakonUser 0.1
import "pages"

CreateProfileForm {
	backButton {
		icon.source: "larva/components/icons/arrow-back-24px.svg"
		onClicked: pageView.pop()
	}

	skipButton.onClicked: pageView.push("Home.qml")
	emailImage.source: "larva/components/icons/email-24px.svg"
	emailAddressLabel.text: User.emailAddress
	startUsingKelakon.onClicked: {
		User.name = userNameLabel.text
		User.realName = enterFullName.text
		onboarding.ticketNew("Kelakon", User.realName + " <" + User.emailAddress
		+ ">")
	}
}