Commit graph

16 commits

Author SHA1 Message Date
Pino Toscano 6d375af868 Move all the bookmarking stuff into the BookmarkManager, that now updates the Document observers automatically.
svn path=/trunk/KDE/kdegraphics/okular/; revision=730404
2007-10-28 18:31:33 +00:00
Pino Toscano 797c8d94d4 SVN_SILENT unused parameter
svn path=/trunk/KDE/kdegraphics/okular/; revision=699958
2007-08-14 12:26:08 +00:00
Daniel Teske c93025abc2 Port to new API.
svn path=/trunk/KDE/kdegraphics/okular/; revision=699520
2007-08-13 10:51:17 +00:00
Daniel Teske ab380eefc8 Port to KBookmark::addBookmark and KBookmark::createNewFolder
changes.


svn path=/trunk/KDE/kdegraphics/okular/; revision=699502
2007-08-13 09:28:00 +00:00
Pino Toscano 9b92fa1d41 no need to set the complete viewport of new page bookmarks, the page number is enough
svn path=/trunk/KDE/kdegraphics/okular/; revision=694538
2007-07-31 00:05:44 +00:00
Pino Toscano 66518d52a7 Do not delete the kde bookmark manager here, it's automatically deleted.
This fixes a crash on close after being embedded, making okular finally usable as print preview component :)

svn path=/trunk/KDE/kdegraphics/okular/; revision=687815
2007-07-14 12:44:08 +00:00
David Faure 073b756bea boolean argument (for importing kde1 bookmarks!) is gone
svn path=/trunk/KDE/kdegraphics/okular/; revision=680312
2007-06-25 21:43:25 +00:00
Pino Toscano fba7c1874d give the #<page> title for a new bookmark instead of #<bookmark count>
svn path=/trunk/KDE/kdegraphics/okular/; revision=666142
2007-05-18 22:07:33 +00:00
Albert Astals Cid 0d47b62715 krazy include order issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Albert Astals Cid 4586139282 Adapt to kdelibs changes
svn path=/trunk/playground/graphics/okular/; revision=628342
2007-01-29 20:18:39 +00:00
Pino Toscano e71a608054 Use the form "<page> - <name>" for the items in the Bookmarks menu.
svn path=/trunk/playground/graphics/okular/; revision=625075
2007-01-18 21:20:08 +00:00
Pino Toscano 8a7c2ad654 As requested by our usability expert Florian, add a Bookmarks menu with the bookmarks in the current document, if any.
svn path=/trunk/playground/graphics/okular/; revision=622995
2007-01-13 17:28:54 +00:00
Pino Toscano e3992fb642 move the KBookmarkOwner implementation into the d-ptr
svn path=/trunk/playground/graphics/okular/; revision=622959
2007-01-13 15:26:05 +00:00
Pino Toscano afc18f9d97 Re-add the possibility to toggle a page bookmark quickly (ie with the popup menu).
svn path=/trunk/playground/graphics/okular/; revision=622945
2007-01-13 14:45:51 +00:00
Pino Toscano c248956942 better use HTML ref instead of ref, otherwise we'll have "encoding" problems
svn path=/trunk/playground/graphics/okular/; revision=616993
2006-12-27 17:02:45 +00:00
Pino Toscano 539921bdf6 Improving the bookmark capabilities of okular.
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
2006-12-27 16:04:49 +00:00