Linus Groh
d2149c153c
PDFViewer: Reset current page number to 1 when opening a file
...
Also use set_current_number() instead of set_text(), so we don't have to
create a string from the number ourselves.
2021-05-27 18:49:49 +01:00
Linus Groh
a8d47d648c
PDFViewer: Enable previous/next buttons conditionally
...
Instead of having both always enabled once a document is loaded, update
them on each page change and disable if appropriate.
2021-05-27 18:47:44 +01:00
Linus Groh
dbb0ee0704
PDFViewer: Fix previous/next page toolbar button icons
...
go-up.png and go-down.png don't exist (and would look silly here, with
the buttons being next to each other horizontally). Use go-back.png and
go-forward.png instead.
2021-05-27 18:43:23 +01:00
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
Matthew Olsson
f7ea1eb610
Applications: Add a very simple PDFViewer
2021-05-18 16:35:23 +02:00