summaryrefslogtreecommitdiff
path: root/Login.qml
blob: 1c461573b1fca6d4446157ecaacafd37b327131c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import QtQuick 2.12

LoginForm {
	signal logIn(string name, string password)
	signal signUp(
		string name
		, string emailAddress
		, string realName
		, string nickName
		, string gecos
		, int lang
		, int timeZone
		, string contactInfo
		, bool enabled
		, bool privileged
		, string password
		, string comments
		, string signature
		, string organization
		, string address1
		, string address2
		, string city
		, string state
		, string zip
		, string country
		, string homePhone
		, string workPhone
		, string mobilePhone
		, string pagerPhone)
	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")
}