Commit graph

600 commits

Author SHA1 Message Date
Pino Toscano b4b3ebdded Okular::Settings::writeConfig() -> Okular::Settings::self()->writeConfig()
svn path=/trunk/KDE/kdegraphics/okular/; revision=667772
2007-05-23 21:59:12 +00:00
Pino Toscano 905ca02fb2 center the "no items" text of the annotation pane, until a better solution comes
svn path=/trunk/KDE/kdegraphics/okular/; revision=667142
2007-05-21 23:12:01 +00:00
Pino Toscano e83f58d78d instead of emitting a signal, just use a simple action
svn path=/trunk/KDE/kdegraphics/okular/; revision=667074
2007-05-21 19:53:13 +00:00
Pino Toscano 3019616824 Bookmark list: add a tooltip for the top-level items with the number of bookmarks of the file.
svn path=/trunk/KDE/kdegraphics/okular/; revision=666669
2007-05-20 14:35:37 +00:00
Pino Toscano 4e2e675914 No need to show entries with no children.
svn path=/trunk/KDE/kdegraphics/okular/; revision=666450
2007-05-19 22:19:24 +00:00
Pino Toscano 0e9b82be96 get rid of the Xrender-related stuff
svn path=/trunk/KDE/kdegraphics/okular/; revision=666266
2007-05-19 10:51:16 +00:00
Pino Toscano 223d0fc421 remove the special code for painting the blended selection with XRender, Qt can do that nicely (and for free, heh)
svn path=/trunk/KDE/kdegraphics/okular/; revision=666265
2007-05-19 10:42:10 +00:00
Pino Toscano 6735089e77 SVN_SILENT follow the render -> view renaming for the columns as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=666260
2007-05-19 10:19:25 +00:00
Pino Toscano 28580b8625 Bookmarks list: make double click always open the bookmark, while its editing is possible using the edit key (usually F2) or the context menu.
svn path=/trunk/KDE/kdegraphics/okular/; revision=666149
2007-05-18 22:26:03 +00:00
Pino Toscano e0274514ff When paiting an empty page (because there are no pixmaps for it), then fill with a color conforming with all the accessibility settings (not just the paper color).
svn path=/trunk/KDE/kdegraphics/okular/; revision=665774
2007-05-17 20:48:41 +00:00
Pino Toscano faeaa3ec01 Sharing the same option for the accessibility render mode and for the view mode is not a good idea, really.
So, create a new ViewMode setting for the single/facing/columns view mode (leaving the RenderMode for compatibility with KPDF).
Rename [Rr]enderMode into [Vv]iewMode in the page view, following the new name of the setting.
Remove the "padding" enums from the settings, as it seems they have no real use beside giving issues.

svn path=/trunk/KDE/kdegraphics/okular/; revision=665773
2007-05-17 20:46:16 +00:00
Pino Toscano 8ccb38b9fe very small cleanup among the #include part
svn path=/trunk/KDE/kdegraphics/okular/; revision=661773
2007-05-06 15:10:16 +00:00
Pino Toscano 1eb435cddb remove the kdebug.h inclusion in area.h
svn path=/trunk/KDE/kdegraphics/okular/; revision=661410
2007-05-05 13:50:44 +00:00
Dirk Mueller 43a23a2de6 the usual "daily unbreak compilation"
svn path=/trunk/KDE/kdegraphics/okular/; revision=661101
2007-05-04 15:41:04 +00:00
Pino Toscano 6aaefb7f68 "pdf"/"pdf file" -> "document"
svn path=/trunk/KDE/kdegraphics/okular/; revision=660526
2007-05-02 23:06:38 +00:00
Pino Toscano 106e96240c rename (almost) every ActionFoo class to FooAction
exception to this is the ActionDocumentAction, renamed to DocumentAction and whose id is DocAction

svn path=/trunk/KDE/kdegraphics/okular/; revision=660523
2007-05-02 22:50:27 +00:00
Pino Toscano a9532ee414 and a static QBitmap here leaks as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=660422
2007-05-02 17:25:49 +00:00
Pino Toscano 912706a856 revert my r659797, a QButtonGroup can't help here
svn path=/trunk/KDE/kdegraphics/okular/; revision=660408
2007-05-02 16:37:59 +00:00
Pino Toscano 7cfa67ecf4 improve a bit the Document::setPageSize API -- better pass the size, and not an index
svn path=/trunk/KDE/kdegraphics/okular/; revision=660208
2007-05-01 23:21:29 +00:00
Pino Toscano 0f4cd40e26 slotRotation -> setRotation
svn path=/trunk/KDE/kdegraphics/okular/; revision=660207
2007-05-01 23:09:45 +00:00
Pino Toscano 0260a8f2d6 properly isolate rebuildTree() from the itemChanged() signals
svn path=/trunk/KDE/kdegraphics/okular/; revision=660102
2007-05-01 14:51:55 +00:00
Pino Toscano f8662cfa90 disconnect() the itemChanged() before rebuilding the tree and reconnect after that, otherwise we'll end up saving the bookmarks many times
svn path=/trunk/KDE/kdegraphics/okular/; revision=660050
2007-05-01 12:01:37 +00:00
Pino Toscano 859c246013 drop the idea of the static QBitmap, so it's not leaked anymore
svn path=/trunk/KDE/kdegraphics/okular/; revision=660048
2007-05-01 11:46:47 +00:00
Pino Toscano bb01aa18da this action button has to stay hidden until really needed
svn path=/trunk/KDE/kdegraphics/okular/; revision=660043
2007-05-01 11:36:25 +00:00
Pino Toscano ea163815a8 hopefully make really use in presentation mode of the global shortcuts for first/last/next/prev page
svn path=/trunk/KDE/kdegraphics/okular/; revision=659849
2007-04-30 22:04:11 +00:00
Pino Toscano f9d3246141 use a button group and simplify a bit
svn path=/trunk/KDE/kdegraphics/okular/; revision=659797
2007-04-30 20:26:26 +00:00
Pino Toscano 2c1d5aa44e Refactor a bit the annotating toolbar, so it can handle better its items and cha
nges to its status. This brings us:
- less item reloading (previously done every time the toolbar is shown, now only when needed)
- the toolbar is redrawn correctly if it's shown and a new document is open
- as Albert pointed me yesterday, no need to show the annotating tools that act on text if the document does not support the extraction of text

svn path=/trunk/KDE/kdegraphics/okular/; revision=659722
2007-04-30 17:40:53 +00:00
Pino Toscano dde7280d55 respect the DRM permissions for form filling
svn path=/trunk/KDE/kdegraphics/okular/; revision=658944
2007-04-28 23:22:20 +00:00
Albert Astals Cid c4f3580d28 commit the code that will replace the AGG based code once QPainter works
http://www.trolltech.com/developer/task-tracker/index_html?id=158815&method=entry
for more information

svn path=/trunk/KDE/kdegraphics/okular/; revision=656841
2007-04-22 14:01:03 +00:00
Pino Toscano 56a44d8e25 fix off-by-one error in the rect of a thumbnail
svn path=/trunk/KDE/kdegraphics/okular/; revision=656829
2007-04-22 13:04:31 +00:00
Pino Toscano 2577cf1773 convert the busyPixmap from KStaticDeleter to K_GLOBAL_STATIC
svn path=/trunk/KDE/kdegraphics/okular/; revision=656418
2007-04-21 10:44:18 +00:00
Pino Toscano 1b042d4c9f make the auto-advance timer singleshot, otherwise we can't stop it if a non-timed page follows one or more timed-one(s)
accept also 0 as page duration, meaning that we have to skip immediately to the next page
the implementation is still not perfect, we need to paint each slide even if the time set is 0, but we're improving

svn path=/trunk/KDE/kdegraphics/okular/; revision=656317
2007-04-21 00:02:12 +00:00
Pino Toscano 6cf46e9160 make the D-Bus call for the search have effect also when in presentation mode;
give focus to the presentation search toolbar when showing it

svn path=/trunk/KDE/kdegraphics/okular/; revision=656256
2007-04-20 19:45:33 +00:00
Pino Toscano fd6ed8e1c5 SVN_SILENT i18n fix
svn path=/trunk/KDE/kdegraphics/okular/; revision=656175
2007-04-20 13:53:01 +00:00
Pino Toscano 0e12746a92 Link -> Action renaming.
TextDocumentConverter::addLink -> addAction
Document::processLink -> processAction

svn path=/trunk/KDE/kdegraphics/okular/; revision=656145
2007-04-20 12:49:17 +00:00
Pino Toscano 5f21b15d99 Link -> Action renaming.
Step #2: Link -> Action for the action hierarchy, and for the ObjectRect type.

svn path=/trunk/KDE/kdegraphics/okular/; revision=656140
2007-04-20 12:37:12 +00:00
Pino Toscano f3e484082d Link -> Action renaming.
Step #1: link.(cpp|h) -> action.(cpp|h)

svn path=/trunk/KDE/kdegraphics/okular/; revision=656123
2007-04-20 11:26:05 +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
Urs Wolfer 989ed1ac23 fix icon names
svn path=/trunk/KDE/kdegraphics/okular/; revision=654591
2007-04-16 15:47:46 +00:00
Albert Astals Cid b0339a4e40 fix some easy krazy issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=654317
2007-04-15 19:11:10 +00:00
Pino Toscano 29e8bbc50f make it possible for generators to decide the initial open/close state for the items of a TOC
svn path=/trunk/KDE/kdegraphics/okular/; revision=654247
2007-04-15 15:48:39 +00:00
Pino Toscano 92b8e8bf1a in the top bar, add a label with the number of pages
svn path=/trunk/KDE/kdegraphics/okular/; revision=654187
2007-04-15 11:10:21 +00:00
David Jarvie 6ccde0505c Add fancy date option to KLocale::formatDate(), KLocale::formatDateTime()
svn path=/trunk/KDE/kdegraphics/okular/; revision=652038
2007-04-09 23:36:26 +00:00
Pino Toscano 88feb05854 use QCursor instead of KCursor for cursor shapes
svn path=/trunk/playground/graphics/okular/; revision=649588
2007-04-02 21:12:19 +00:00
Pino Toscano 95bb597a85 hide the text selection inside the private class of Page
svn path=/trunk/playground/graphics/okular/; revision=648095
2007-03-30 14:08:20 +00:00
Pino Toscano 5e1c70b8cb Use an opaque background for the presentation top bar, as it looks better with Oxygen icons.
Original patch by Wilfried Huss, thanks!

CCMAIL: okular-devel@kde.org

svn path=/trunk/playground/graphics/okular/; revision=647275
2007-03-27 20:36:24 +00:00
Albert Astals Cid e5e91b7dad Thanks for helping Wilfried, but i am reverting this change as the transparency is the intended look.
If you feel it is wrong to have the topbar transparent please write to okular mailing list https://mail.kde.org/mailman/listinfo/okular-devel and we will be happy to discuss with you and others if having the topbar transparent is a good solution or not.
Albert.
CCMAIL: Wilfried.Huss@gmx.at

svn path=/trunk/playground/graphics/okular/; revision=646819
2007-03-26 18:41:16 +00:00
Pino Toscano 82389f9efa after constructing the text annotation, delete the selection as it's no more useful (and it isn't leaked)
svn path=/trunk/playground/graphics/okular/; revision=646514
2007-03-26 00:01:22 +00:00
Pino Toscano 229f3cf1de add a private function for the nearest Page pixmap, for the PagePainter usage;
this way, the pixmap structure can be finally hidden in the private class

svn path=/trunk/playground/graphics/okular/; revision=646502
2007-03-25 22:36:41 +00:00
Wilfried Huss 37235743bf Fix drawing of the toolbar.
svn path=/trunk/playground/graphics/okular/; revision=646481
2007-03-25 20:43:42 +00:00