summaryrefslogtreecommitdiff
path: root/TicketList.qml
diff options
context:
space:
mode:
Diffstat (limited to 'TicketList.qml')
-rw-r--r--TicketList.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/TicketList.qml b/TicketList.qml
new file mode 100644
index 0000000..ba874b9
--- /dev/null
+++ b/TicketList.qml
@@ -0,0 +1,18 @@
+import QtQuick 2.12
+import "larva/features"
+
+TaskListForm {
+ listView {
+ model: ticketList
+ delegate: TaskForm {
+ width: parent.width
+ height: task.height
+ taskTitle.text: subject
+ itemDelegate.onClicked: {
+ window.ticketHistory(id)
+ pageView.push("TicketDetails.qml"
+ , {"subject": subject})
+ }
+ }
+ }
+}