Make sure there's no ambiguity that the page number refers to
the preceding thumbnail. This is a bigger deal because the fix
in b0f64d2 took away a visual divider.
This seems to be what the original code wanted to achieve, but failed
due to a convoluted approach of setting the color of the current back-
ground role to a default palette's Base color ... instead we just leave
the palette untouched and set the correct background role now. Visual
noise be gone, yay.
CCMAIL:wstephenson@kde.org
Now that the pdf generator does not incorrectly delete the pixmaps
on a config change we need to repaint the viewports in case
there has been a inverted color change or something similar
Patch by Mathieu Lornac
Will *not* be in KDE 4.5.0
Might backport it to stable branch for some KDE 4.5.x if noone finds any problem
BUGS: 201669
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156320
keyword (instead of going to the top). This way the Tl is closer and more
'in sync' with the current page.
Applied a patch by Luca Burelli.
CCBUG: 175046
svn path=/trunk/KDE/kdegraphics/okular/; revision=883890
Instead of putting in the scrollarea as many widgets as the number of pages, just paint the thumbnails on the scroll widget itself;
this should reduce a bit the memory usage due to the child widgets (especially in documents w/ many pages).
All should work as before, even the few annoyances with the visible areas drag were left (now they can be solved).
svn path=/trunk/KDE/kdegraphics/okular/; revision=765585
Adding a BookmarkManager class that takes care of handling them in a proper way.
Adding a new tab in the sidebar to manage them:
- shows all the bookmarks in all the documents, or just in the current document
- cliking on a bookmark will bring to that bookmark, loading the document if necessary
- editing a bookmark title is possible either using F2 or right click -> Rename
- right click -> Remove to remove a bookmark
The only way to add new bookmark for the moment is the "old" way, ie right click -> Add bookmark, and it's not possible add more than one bookmark per page (but the system does not limit that).
The whole system should not be too difficult to understand, I will check with our usability master Florian next days.
svn path=/trunk/playground/graphics/okular/; revision=616979
* getAnnotations() -> annotations()
* setBookmark()/hasBookmark() -> setBookmarked()/isBookmarked()
* moved as much private API of Page as possible to private class
svn path=/trunk/playground/graphics/okular/; revision=607233
* Bring QPixmap* back to make Albert happy ;)
* Store only one QPixmap per page/size and rotate it directly
* Rotate ObjectRects (boundary)
* Rotate Annotations (point coordinates)
* Don't reload pixmaps, ObjectRects and annotations on rotation
svn path=/trunk/playground/graphics/okular/; revision=606371
- render the viewed rect area in the thumbnail a bit more elegantly
- Render Mode -> View Mode ... "render" is geekanese, "view" is proper luserian
svn path=/trunk/playground/graphics/okular/; revision=604731
of 0 for the ThumbnailWidget => ThumbnailWidget::region() is empty => QWidget::repaint
won't paint the content of the widget.
Now the thumbnails are showed on startup again and when the orientation is
changed the layout of the thumbnails is adapted as well...
svn path=/trunk/playground/graphics/okular/; revision=578852