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

CreateProfileForm {
	width: stackView.width
	height: stackView.height
	backButton.onClicked: stackView.pop()
	skipButton.onClicked: {
		stackView.push("qrc:/pages/Home.qml")
	}
	emailAddressLabel.text: User.emailAddress
	startUsingKelakon.onClicked: {
		User.name = userNameLabel.text
		User.realName = enterFullName.text
		login.signUp(User.name, User.password, User.emailAddress
		, User.realName)
	}
}