add library with reading history, progress tracking, and view persistence

This commit is contained in:
Agel committed 2026-03-20 11:20:16 +01:00
1 parent c62733bc26
commit c4046d8533
15 files changed
+685 -40

No files matched your search

+14
View File
@@ -13,6 +13,7 @@ Rectangle {
signal closeDrawer()
signal navigateTo(string page)
signal openFile()
signal closeBook()
Behavior on width {
NumberAnimation {
@@ -59,12 +60,25 @@ Rectangle {
onClicked: sidebar.navigateTo("reader")
}
SideBarButton {
iconText: "\ue02f"
title: "Library"
onClicked: sidebar.navigateTo("library")
}
SideBarButton {
iconText: "\ue30a"
title: "Files"
onClicked: sidebar.openFile()
}
SideBarButton {
visible: bookController.hasBook
iconText: "\ue5cd"
title: "Close Book"
onClicked: sidebar.closeBook()
}
// Divider
Rectangle {
width: parent.width