summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-01-25 10:59:27 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-01-25 10:59:27 +0800
commitd0b810356fa9defa3daecd6f1acce6b5f948e0e2 (patch)
tree1d58fbe9609cd8dcb9646cad4dc204d25c523255
parent52047040d242d012db12608168ecb61efe24633b (diff)
ListItemSingleTextForm replaces TaskForm
-rw-r--r--TicketList.qml9
m---------larva0
-rw-r--r--larva.qrc2
3 files changed, 7 insertions, 4 deletions
diff --git a/TicketList.qml b/TicketList.qml
index 58dd774..4d69998 100644
--- a/TicketList.qml
+++ b/TicketList.qml
@@ -1,18 +1,19 @@
import QtQuick 2.12
+import "larva/components"
import "larva/features"
TaskListForm {
listView {
model: ticketList
- delegate: TaskForm {
- width: parent.width
- height: task.height
- taskTitle.text: subject
+ delegate: ListItemSingleTextForm {
+ title.text: subject
+ /*
itemDelegate.onClicked: {
window.ticketHistory(id, true)
pageView.push("TicketHistory.qml"
, {"subject": subject})
}
+ */
}
}
}
diff --git a/larva b/larva
-Subproject 4f7f7f1a79ea43aeb2266fca27d27346a78125a
+Subproject 868a42a8ce2e2aa783c4fa7fbb50e7838ddb6e0
diff --git a/larva.qrc b/larva.qrc
index 0a7e71e..297b195 100644
--- a/larva.qrc
+++ b/larva.qrc
@@ -1,5 +1,7 @@
<RCC>
<qresource prefix="/">
+ <file>larva/components/ListItemSingleTextForm.ui.qml</file>
+ <file>larva/fonts/RobotoMono-Bold.ttf</file>
<file>larva/features/OnboardingForm.ui.qml</file>
<file>larva/features/LoginForm.ui.qml</file>
<file>larva/features/LoginEmailForm.ui.qml</file>