summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>