From adb71170b308d7d9d3ef895b6cc7bbd9871381ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sat, 5 Feb 2022 21:43:56 +0800 Subject: Stop using larva's home & task list forms --- Home.qml | 23 +++++++++-------------- larva.qrc | 2 -- 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 @@ larva/features/LoginForm.ui.qml larva/features/LoginEmailForm.ui.qml larva/features/LoginPasswordForm.ui.qml - larva/features/HomeForm.ui.qml larva/features/DayListForm.ui.qml - larva/features/TaskListForm.ui.qml larva/features/TaskForm.ui.qml larva/features/EnterPasswordForm.ui.qml larva/features/ProfileForm.ui.qml -- cgit v1.2.3