summaryrefslogtreecommitdiff
path: root/CreateProfile.qml
blob: 91ce39cbcfeca4aaf71c444f9b36e849d80cfd26 (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: "../assets/arrow-back-24px.svg"
		onClicked: pageView.pop()
	}

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