Skip to content

Draft: Port DocumentView to ListView

Carl Schwan requested to merge work/qml-document-view-to-list-view into master

This has the advantage of simplify the code a lot by using ListView.snapMode: ListView.SnapOneItem for navigating the pages instead of implementing this behavior manually. For the zooming inside the page, we are now using the same ZoomArea component that is used inside Koko.

In the future, this will allows implementing different scroll behavior (e.g. continuous scrolling) similar to the QtWidget version easily.

okular-listview-2022-01-15_17.57.34

cc @ndavis @ahiemstra

Edited by Carl Schwan

Merge request reports