Implementation of most of T8139.
More or less replaces the comic_project_page_viewer, with one that lets you flip through the pages of your comic, and view them as spreads, as in a printed book.
It's functional, but I still want to add a few things to it. I'm uploading this patch now, as I'm a bit stuck on some basic layout stuff, mostly due to very little experience with PyQt/Qt. I really want the pages to expand to the size of the window, but also have the two pages of the double spread be next to each other in the center of the window...and I just can't seem to figure it out. Any tips much appreciated.
Other things that I want to add includes:
- Add support for reading from right to left
- Add translation support, or alternately...
- ...replace the text buttons, with arrows and icons that are overlaid on top of the image, and only show when you move the mouse. This would work well with full screen mode too, but might be problematic for touch screens that don't have a hover cursor.
- Doesn't gracefully handle being called if the comic project you have open has no pages in it.