summaryrefslogtreecommitdiff
path: root/pages/CreateProfile.qml
blob: 93cdb0c43309d4b75ca04a99fa3f7ec0bf2861eb (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.userNew(User.name, User.password, User.emailAddress
		, User.realName)
	}
}