summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-02-05 21:43:56 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-02-05 21:43:56 +0800
commitadb71170b308d7d9d3ef895b6cc7bbd9871381ac (patch)
tree08e327f119ea235a7b37c2ad0d333fe7f03368cd
parentfb221a9073bf4baa1048011bc6fb11aea7d24df6 (diff)
Stop using larva's home & task list formsHEADmaster
-rw-r--r--Home.qml23
-rw-r--r--larva.qrc2
2 files changed, 9 insertions, 16 deletions
diff --git a/Home.qml b/Home.qml
index 5d08e3d..f441318 100644
--- a/Home.qml
+++ b/Home.qml
@@ -1,29 +1,24 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
-import "larva/features"
-
-HomeForm {
- //menuButton.onClicked: drawer.open()
- //profileButton.onClicked: pageView.push("Profile.qml")
+Page {
StackLayout {
id: layout
anchors.fill: parent
Page {}
- TaskListForm {
- listView {
- model: ticketList
- delegate: TicketForm {
- title.text: subject
- delegate.onClicked: {
- window.ticketHistoryList(id,
- true)
- }
+ ListView {
+ model: ticketList
+ delegate: TicketForm {
+ width: layout.width
+ title.text: subject
+ delegate.onClicked: {
+ window.ticketHistoryList(id, true)
}
}
+ ScrollBar.vertical: ScrollBar {}
}
Page {}
diff --git a/larva.qrc b/larva.qrc
index 0a7e71e..52dc647 100644
--- a/larva.qrc
+++ b/larva.qrc
@@ -4,9 +4,7 @@
<file>larva/features/LoginForm.ui.qml</file>
<file>larva/features/LoginEmailForm.ui.qml</file>
<file>larva/features/LoginPasswordForm.ui.qml</file>
- <file>larva/features/HomeForm.ui.qml</file>
<file>larva/features/DayListForm.ui.qml</file>
- <file>larva/features/TaskListForm.ui.qml</file>
<file>larva/features/TaskForm.ui.qml</file>
<file>larva/features/EnterPasswordForm.ui.qml</file>
<file>larva/features/ProfileForm.ui.qml</file>