From 47b72e1b1dd45b496f096262c919e8a730ab5a00 Mon Sep 17 00:00:00 2001 From: ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ 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.3