Linus Groh
6b0c2d5de6
PDFViewer: Add a Help menu
2021-05-27 18:10:34 +01:00
Linus Groh
cde5107f3d
PDFViewer: Add separator before quit menu action
2021-05-27 18:09:37 +01:00
Linus Groh
209bfbaaa4
PDFViewer: Show app name as "PDF Viewer" when a file is loaded
2021-05-27 18:08:49 +01:00
Matthew Olsson
cf3eb27108
PDFViewer: Add a toolbar
...
The toolbar has an option to toggle the sidebar, a number input to
set the current page, and two buttons to go up and down by one page
2021-05-25 00:24:09 +04:30
Matthew Olsson
cea7dbce42
PDFViewer: Add a tab bar with outlines and thumbnails
...
Outlines are in theory implemented (though I'm having trouble finding
a simple PDF with outlines to test it on), and thumbnails are not.
2021-05-25 00:24:09 +04:30
Andreas Kling
076018b74b
PDFViewer: Ignore wheel events when there is no document loaded
2021-05-18 21:25:35 +02:00
Andreas Kling
df29d58e19
PDFViewer+Base: Display application title as "PDF Viewer"
...
This matches other applications in the system. :^)
2021-05-18 21:00:32 +02:00
Matthew Olsson
fe2d4d85c4
PDFViewer: Add some padding to the outside of the page
2021-05-18 16:35:23 +02:00
Matthew Olsson
c3c2121b57
PDFViewer: Allow zooming in and out + scrolling
...
When holding ctrl and scrolling, the page will be zoomed in an out.
When zoomed in on a page, scrolling with move vertically up and down
the page (or horizontally if shift is being held).
In order to speed up zooming, zoomed bitmaps are cached per-page at
each distinct zoom level. This cache is cleared every 30 seconds to
prevent OOM problems.
2021-05-18 16:35:23 +02:00
Matthew Olsson
d5f94aaa7b
LibPDF/PDFViewer: Support rotated pages
2021-05-18 16:35:23 +02:00
Matthew Olsson
f7ea1eb610
Applications: Add a very simple PDFViewer
2021-05-18 16:35:23 +02:00