From 47b72e1b1dd45b496f096262c919e8a730ab5a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Mon, 30 Sep 2019 22:32:18 +0800 Subject: Ticket history is ready with subject, description, content, and creator --- main.qml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'main.qml') diff --git a/main.qml b/main.qml index 83eb694..26010e2 100644 --- a/main.qml +++ b/main.qml @@ -4,8 +4,17 @@ import "larva/features" ApplicationWindow { signal logIn(string name, string password) - signal ticketHistory(int id) + signal ticketId(int id) + signal ticketSubject(string subject) signal ticketNew(string queue, string requestor) + function ticketHistory(subject, description, content, creator) { + pageView.push("TicketHistory.qml", { + "subject": subject + , "description": description + , "content": content + , "creator": creator + }) + } id: window visible: true -- cgit v1.2.3