summaryrefslogtreecommitdiff
path: root/Login.qml
blob: 6234d836ab42cc765b0005f18ce6fd85b8969f80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import QtQuick 2.12

LoginForm {
	signal logIn(string name, string password)
	signal signUp(string name, string password, string emailAddress
	, string realName)
	signal search(string name)
	function pushProfile() {
		stackView.push("qrc:/pages/Profile.qml")
	}

	objectName: "login"
	width: appWindow.width
	height: appWindow.height
	googleButton.onClicked: stackView.push("qrc:/pages/LoginName.qml")
	emailButton.onClicked: stackView.push("qrc:/pages/Email.qml")
}