summaryrefslogtreecommitdiff
path: root/main.qml
blob: 9412cb484936ba648714bbab6b623a4d0bd3c2ee (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
import QtQuick 2.12
import QtQuick.Controls 2.12
import "larva/features"

ApplicationWindow {
	signal logIn(string name, string password)
	signal ticketId(int id)
	signal ticketSubject(string subject)
	signal ticketNew(string queue, string requestor)
	function ticketHistory(subject, content, creator, created) {
		pageView.push("TicketHistory.qml", {
			"subject": subject
			, "content": content
			, "creator": creator
			, "created": created
		})
	}

	id: window
	visible: true
	width: 360
	height: 640

	OnboardingForm {
		id: pageView
		anchors.fill: parent
		logoImage.source: "kelakon-logo.png"
		onboardingImage.source: "onboarding-1.png"
		onboardingText1.text: qsTr("Get things done today, chill tomorrow.")
		registerButton.onClicked: pageView.push("Email.qml")
		loginButton.onClicked: pageView.push("Login.qml")
	}
}