Pino Toscano
8c42d8cf02
add a simple popup menu for the items, just with 'save as' at the moment
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682870
2007-07-03 15:30:44 +00:00
Pino Toscano
2602037fb9
display (if available) the file size for attachments, courtesy of Albert for his work in poppler
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682847
2007-07-03 14:47:16 +00:00
Albert Astals Cid
5348802a9b
MultiSelection sucks, go go go ExtendedSelection
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682740
2007-07-03 10:33:11 +00:00
Albert Astals Cid
d511adfd84
fordwardport r678167
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678169
2007-06-20 20:31:07 +00:00
Albert Astals Cid
b883cbcfa6
The part starts in dummy mode (very few ui) by default
...
Can be deactivated using unsetDummyMode(), that is the first thing the okular shell does
that's useful because for example for print preview you don't want to embed all the okular ui to do the preview, you just want to see the ps
svn path=/trunk/KDE/kdegraphics/okular/; revision=671928
2007-06-05 20:49:00 +00:00
Dirk Mueller
12b7b0d5d1
if you don't check the result, then don't waste time
...
on dynamic_cast (CID 3514)
svn path=/trunk/KDE/kdegraphics/okular/; revision=671475
2007-06-04 20:49:48 +00:00
Laurent Montel
e31f9ada54
Remove not necessary "class classname;"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671220
2007-06-04 07:44:15 +00:00
Robert Knight
bb6936f60c
Make the mini-bar look a bit better: Make the previous/next page buttons larger so they are easier to click. Fix the layouting so that the button height is not bound by the font height. Use 'of' instead of '/' to separate the current page and page count.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=669147
2007-05-28 16:34:26 +00:00
Robert Knight
99d4342ae8
Remove frame around the page view.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=669129
2007-05-28 15:29:29 +00:00
Pino Toscano
753f06e8e3
use the bookmark icon for the bookmark overlay in the thumbnail list
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668781
2007-05-27 16:08:45 +00:00
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
Pino Toscano
a02c0785fe
use the right icons for the rotation
...
svn path=/trunk/playground/graphics/okular/; revision=646383
2007-03-25 15:15:50 +00:00
Pino Toscano
213b25284f
make the annotation tool tooltip text translatable
...
svn path=/trunk/playground/graphics/okular/; revision=646205
2007-03-24 22:56:32 +00:00
Pino Toscano
abd42c14cd
the PickPoint annotator engine can draw a dashed frame around the selected zone if a tool wants it; applied to the free text annotation for now [and improved its description while I was there]
...
svn path=/trunk/playground/graphics/okular/; revision=646200
2007-03-24 22:45:14 +00:00
Pino Toscano
5d5eb0f2ad
don't leak the menu
...
svn path=/trunk/playground/graphics/okular/; revision=645966
2007-03-24 01:13:47 +00:00
Pino Toscano
363023331d
add a 'find next' button in the search bar of presentation mode
...
svn path=/trunk/playground/graphics/okular/; revision=645960
2007-03-23 23:28:39 +00:00
Pino Toscano
38c0e26674
keep the right position when we resize
...
svn path=/trunk/playground/graphics/okular/; revision=645759
2007-03-23 15:02:22 +00:00
Christian Ehrlicher
c5c2da7c89
fix win32 compilation
...
warnings--
svn path=/trunk/playground/graphics/okular/; revision=643874
2007-03-18 17:14:36 +00:00
Pino Toscano
6452da8291
PageSizeLabel misses its moc
...
svn path=/trunk/playground/graphics/okular/; revision=643859
2007-03-18 16:22:09 +00:00
Urs Wolfer
6a7101b632
take use of antialiased painter
...
svn path=/trunk/playground/graphics/okular/; revision=643728
2007-03-18 10:21:21 +00:00
Pino Toscano
8704da3d13
react to highlights and draw them
...
svn path=/trunk/playground/graphics/okular/; revision=643612
2007-03-17 23:28:05 +00:00
Pino Toscano
f55c401b20
Refactor the document search interfaces, as discussed on the mailing list.
...
Merge the search in normal mode and the type-ahead in a search bar that appears on the bottom of the page view. This should work nicely.
In presentation mode, add a small floating search toolbar that takes care of searching during the presentation mode, on document request. This is not working yet, but basically most of the work is done.
Please test and report any problems you find.
CCMAIL: okular-devel@kde.org
svn path=/trunk/playground/graphics/okular/; revision=643607
2007-03-17 22:58:41 +00:00
Pino Toscano
af1fd0c1f3
new icon name
...
svn path=/trunk/playground/graphics/okular/; revision=643535
2007-03-17 18:12:23 +00:00
Pino Toscano
d6dd0aa28c
support for configuring the viewport moving; fix small issue with minimum search text length
...
svn path=/trunk/playground/graphics/okular/; revision=643530
2007-03-17 18:02:23 +00:00
Pino Toscano
05b00c2200
support (not so much tested) for the Next search type
...
svn path=/trunk/playground/graphics/okular/; revision=643515
2007-03-17 17:28:16 +00:00
Pino Toscano
0ac881f1f3
isolate the search search bar in an own class (child of KLineEdit), so it can be used with no copy-paste job
...
svn path=/trunk/playground/graphics/okular/; revision=643508
2007-03-17 16:58:01 +00:00
Pino Toscano
9581cc9594
the toolbar is not moveable
...
svn path=/trunk/playground/graphics/okular/; revision=643472
2007-03-17 14:58:19 +00:00
Pino Toscano
4da2254d24
move the private stuff of PageViewToolBar into the already existing private class
...
svn path=/trunk/playground/graphics/okular/; revision=643300
2007-03-16 20:36:48 +00:00
Pino Toscano
426e21ba6f
just read the annotation tools _once_
...
svn path=/trunk/playground/graphics/okular/; revision=643295
2007-03-16 20:19:22 +00:00
Pino Toscano
55f8590f48
make it compile with Qt4.3 (snapshot)
...
svn path=/trunk/playground/graphics/okular/; revision=643279
2007-03-16 19:18:47 +00:00
Pino Toscano
9ccf6d520d
adapt the icon names to the icon naming spec
...
svn path=/trunk/playground/graphics/okular/; revision=640710
2007-03-08 21:41:46 +00:00
Tobias Koenig
da204fd4b8
Match the forms exactly into the surrounding frame
...
svn path=/trunk/playground/graphics/okular/; revision=638384
2007-03-01 19:34:06 +00:00
Pino Toscano
a5f6538d43
avoid the jumping of the pageview to the next (hidden) focus form widget when hiding them
...
svn path=/trunk/playground/graphics/okular/; revision=637148
2007-02-25 14:59:26 +00:00
Pino Toscano
db8a10dc2c
Preliminary supports for text and choice form fields.
...
This includes:
- the interfaces for the generators
- the basic widgets for editing their value
- a top bar for show/hide the forms of a document
- the implementation of the forms for the PDF backend
still nothing that can be done with them, nor the value of the forms can be saved...
... but it's a start! :-)
svn path=/trunk/playground/graphics/okular/; revision=637001
2007-02-25 00:07:59 +00:00
Pino Toscano
252de94b21
improve a bit the PageViewTopMessage api, in preparation of new future usage
...
svn path=/trunk/playground/graphics/okular/; revision=636493
2007-02-23 10:54:30 +00:00
Pino Toscano
1161debb9c
i18n change: the plural forms are with %1, %2, etc now, %n is no more
...
svn path=/trunk/playground/graphics/okular/; revision=633277
2007-02-13 17:45:54 +00:00
Pino Toscano
3b062a8b6f
In presentation mode, stop all the sound playbacks when switching page and when closing the presentation.
...
svn path=/trunk/playground/graphics/okular/; revision=630501
2007-02-05 15:27:11 +00:00
Pino Toscano
1e7cb0b2eb
First version of an audio player for okular, able to play the sounds in the documents.
...
At the moment is quite simple and works only for external sounds.
Activate the sound playing when processing links and when switching pages in presentation mode only.
svn path=/trunk/playground/graphics/okular/; revision=630315
2007-02-05 00:49:40 +00:00
Albert Astals Cid
1587b9605a
unnecessary but fun small optimizations, basically avoid unnecessary detach() calls by ensuring the const method is called
...
also remove a double search on a qmap
svn path=/trunk/playground/graphics/okular/; revision=629869
2007-02-03 23:09:40 +00:00
Pino Toscano
0a40c2ad0f
double the width of the prev/next page buttons
...
svn path=/trunk/playground/graphics/okular/; revision=629217
2007-02-01 23:54:41 +00:00
Pino Toscano
f329a3e6dc
SVN_SILENT unused
...
svn path=/trunk/playground/graphics/okular/; revision=628066
2007-01-28 23:16:17 +00:00
Pino Toscano
b4821c5f07
Disable the Zoom In/Zoom Out actions when resp. the maximum/minimum zoom is reached.
...
svn path=/trunk/playground/graphics/okular/; revision=627927
2007-01-28 16:29:48 +00:00
Pino Toscano
573f989b47
don't keep the domelement for every toc item, just extract the needed information
...
svn path=/trunk/playground/graphics/okular/; revision=627174
2007-01-25 21:35:20 +00:00
Pino Toscano
5b3606eb50
Copy -> Copy Text
...
svn path=/trunk/playground/graphics/okular/; revision=625577
2007-01-20 13:49:59 +00:00
Pino Toscano
b163e04115
Support for labelling the pages, and for displaying the page label (if any) in the table of contents side pane.
...
svn path=/trunk/playground/graphics/okular/; revision=625312
2007-01-19 23:30:32 +00:00
Pino Toscano
1041866493
Improve the Orientation menu, as suggested by our usability export Florian:
...
instead of choosing the orientation degrees (eg 0, 90, etc), use two Rotate Left/Right actions to rotate the whole document 90 degrees resp. on the left or on the right.
Also add an 'Original orientation' action to restore to the orientation of the document.
svn path=/trunk/playground/graphics/okular/; revision=625297
2007-01-19 21:43:53 +00:00
Pino Toscano
b9514f2310
finish drawing on the mask before setting it to the widget
...
svn path=/trunk/playground/graphics/okular/; revision=621865
2007-01-09 23:38:15 +00:00
Laurent Montel
34edbef72d
Port to new api
...
svn path=/trunk/playground/graphics/okular/; revision=621624
2007-01-09 11:02:04 +00:00
Pino Toscano
dcd943cef7
SVN_SILENT fix #ifdef
...
svn path=/trunk/playground/graphics/okular/; revision=620441
2007-01-06 01:08:05 +00:00
Pino Toscano
18fab3d130
Improve the way we deal with generators that give the possibility to change the size of the pages: instead of let them destroy and recreate the pages (bad), ask them the sizes they support, then do the work ourselves and notify the generator when the work is done.
...
While I was at it, I changed from "paper size" to "page size", it should be better.
svn path=/trunk/playground/graphics/okular/; revision=620411
2007-01-05 23:12:06 +00:00
Pino Toscano
46632f1f6f
As now the requests are done in the right order, request first the next and then the previous page.
...
svn path=/trunk/playground/graphics/okular/; revision=619959
2007-01-04 21:47:54 +00:00
Tobias Koenig
ac792e5c9c
Fixed krazy issues
...
svn path=/trunk/playground/graphics/okular/; revision=619843
2007-01-04 15:22:28 +00:00
Pino Toscano
4aa85cdb49
One single char remove to create correctly the queue of pixmap requests: new asynchronous requests goes as last one in the group of other with the same priority.
...
Thus, if an observer requests eg pixmap for pages 2 and 3, now they are generated in the correct order the observer specified, and not in the reversed one.
Then, revert part of r619673, as the order is fixed now.
svn path=/trunk/playground/graphics/okular/; revision=619810
2007-01-04 14:28:54 +00:00
Pino Toscano
fa3f297b06
Fix a nasty bug that could happened in presentation mode:
...
when requestng -synchronously- a pixmap for the current page, it could be scheduled in the queue. Then, requesting the previous and next page in presentation mode -in a second request- caused the deletion of the original page request
The fix consists in requesting all the requests -at once-, so no request is lost.
Furthermore, swap the order of previous and next page request so the next page pixmap is requested before (worth touching Document directly?)
svn path=/trunk/playground/graphics/okular/; revision=619673
2007-01-04 00:02:48 +00:00
Tobias Koenig
ea51ee18f5
Do a lot of include cleanups... we install all important
...
header files now
svn path=/trunk/playground/graphics/okular/; revision=619492
2007-01-03 14:30:48 +00:00
Pino Toscano
652787611d
make it build with the new kdelibs
...
svn path=/trunk/playground/graphics/okular/; revision=619217
2007-01-03 00:17:31 +00:00
Tobias Koenig
86a1fd3b69
Big cleanup of Document API and documentation:
...
* add full API docs
* renamed getMetaData -> metaData
* removed supportsRotation in Document and Generator
* moved Permission and SearchDirection enums into separated header core/global.h
svn path=/trunk/playground/graphics/okular/; revision=619183
2007-01-02 22:37:55 +00:00
Tobias Koenig
14ea3ab2ef
Further documentation and API cleanups
...
svn path=/trunk/playground/graphics/okular/; revision=619054
2007-01-02 17:05:49 +00:00
Pino Toscano
6d3cd62a11
it's no more needed to have the annotation boundary in the gui
...
svn path=/trunk/playground/graphics/okular/; revision=618240
2006-12-31 18:01:15 +00:00
Pino Toscano
c51c412057
ok, let's sdo it seriously now: use the right precision for the page duration that a PDF can give us
...
svn path=/trunk/playground/graphics/okular/; revision=618194
2006-12-31 14:41:34 +00:00
Pino Toscano
88779aa7d2
SVN_SILENT give the items IDs
...
svn path=/trunk/playground/graphics/okular/; revision=618144
2006-12-31 11:20:33 +00:00
Pino Toscano
5083655c11
Implement the page duration in presentation mode, and read the info from PDF documents.
...
svn path=/trunk/playground/graphics/okular/; revision=618136
2006-12-31 10:48:49 +00:00
Tobias Koenig
777877f2d2
Refactor the RMB menu for annotations, so we can use the menu for
...
the PageView and the SideReview.
BUGS: 137722
svn path=/trunk/playground/graphics/okular/; revision=617807
2006-12-30 12:40:54 +00:00
Pino Toscano
ff029376ce
simplify
...
svn path=/trunk/playground/graphics/okular/; revision=617271
2006-12-28 15:48:13 +00:00
Pino Toscano
936ee20de5
old and unused files from the SoC
...
svn path=/trunk/playground/graphics/okular/; revision=617259
2006-12-28 15:09:22 +00:00
Pino Toscano
ea071caf9d
Improve the way we get the contents of an annotation; dynamically change the tooltip of the annotation item in the side review pane.
...
svn path=/trunk/playground/graphics/okular/; revision=617106
2006-12-28 00:40:09 +00:00
Pino Toscano
48a772be4b
move the ui-related utils functions for annotations in an own utils class
...
svn path=/trunk/playground/graphics/okular/; revision=617097
2006-12-27 23:56:38 +00:00
Pino Toscano
8add3d7863
really disable the active tool when hiding the annotating toolbar, thanks Bart for pointing that out
...
svn path=/trunk/playground/graphics/okular/; revision=617023
2006-12-27 19:22:22 +00:00
Pino Toscano
846dbf7cb9
don't shadow a class member
...
svn path=/trunk/playground/graphics/okular/; revision=616996
2006-12-27 17:25:26 +00:00
Pino Toscano
bbb55280d5
Simplify the auxiliary functions used within RegularArea<>, patch by André Wöbbeking.
...
Make the return value of RegularArea::geometry a simple list instead of a pointer, as suggested by André.
CCMAIL: Woebbeking@kde.org
svn path=/trunk/playground/graphics/okular/; revision=616994
2006-12-27 17:10:06 +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
André Wöbbeking
6e7d98b829
adapt to Aaron's kdelibs changes
...
svn path=/trunk/playground/graphics/okular/; revision=616901
2006-12-27 10:03:34 +00:00
Pino Toscano
112e1237b7
Add support for showing icons in the page view top message.
...
With simplier words: add an 'attach' icon in the message pane that informs about attachments in the current document.
svn path=/trunk/playground/graphics/okular/; revision=616780
2006-12-26 19:25:11 +00:00
Pino Toscano
62831ce6b9
SVN_SILENT reindent correctly
...
svn path=/trunk/playground/graphics/okular/; revision=616707
2006-12-26 14:36:26 +00:00
Pino Toscano
b9a2413619
remove the evil hack of the separator by using a custom role for the page number
...
svn path=/trunk/playground/graphics/okular/; revision=616706
2006-12-26 14:35:27 +00:00
Pino Toscano
b7328d7234
add an handy DocumentViewport::isValid() and use it where possible instead of doing checks manually
...
svn path=/trunk/playground/graphics/okular/; revision=616667
2006-12-26 12:26:49 +00:00
Pino Toscano
349dfb7eb1
move the delegate used to draw the side page numbers in an own file
...
svn path=/trunk/playground/graphics/okular/; revision=616662
2006-12-26 12:01:30 +00:00
Pino Toscano
dff36b98f8
simplify RegularAreaRect by avoiding the usage of pointers, as they don't give benefits anyway.
...
Fixing also the text extraction when using the rectangular selection across two or more pages.
svn path=/trunk/playground/graphics/okular/; revision=616264
2006-12-24 18:19:18 +00:00
Pino Toscano
25cec88b81
Add a way to change the font of text annotations.
...
At the moment, used only in in-place text annotations.
svn path=/trunk/playground/graphics/okular/; revision=616121
2006-12-23 18:37:04 +00:00
Pino Toscano
41cba45a4b
clarify a debug statement, and silence others
...
svn path=/trunk/playground/graphics/okular/; revision=616100
2006-12-23 16:36:08 +00:00
Pino Toscano
ab508c75a9
hopefully draw the toc item correcty, this time
...
svn path=/trunk/playground/graphics/okular/; revision=615872
2006-12-23 00:34:40 +00:00
Pino Toscano
fd6166e74c
update correctly when the option for toggling the page numbers in the toc is changed
...
svn path=/trunk/playground/graphics/okular/; revision=615815
2006-12-22 20:42:36 +00:00
Pino Toscano
3c0069f811
Display - if available - the page number on the right of every item in the table of contents.
...
Implements the KPDF wish #122863 .
svn path=/trunk/playground/graphics/okular/; revision=615801
2006-12-22 19:26:28 +00:00
Pino Toscano
536ebab639
SmallIconSet -> KIcon
...
DesktopIconSet -> KIcon
fix the #include's accordingly, where possible
svn path=/trunk/playground/graphics/okular/; revision=615251
2006-12-20 20:37:50 +00:00
Laurent Montel
06b79cdf27
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=614897
2006-12-19 12:23:43 +00:00
Laurent Montel
81a9d32fe8
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=612690
2006-12-12 10:15:18 +00:00
Tobias Koenig
6f9d0df5cd
Further annotation API cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=612395
2006-12-11 07:59:02 +00:00
Pino Toscano
9343b5e54c
temporarily disable the 'find next' shortcut from kactioncollection
...
svn path=/trunk/playground/graphics/okular/; revision=611143
2006-12-06 21:59:37 +00:00
Pino Toscano
5f7df5ba1a
adapt to the recent kdelibs (plus a FIXME for a regression)
...
svn path=/trunk/playground/graphics/okular/; revision=610857
2006-12-05 20:29:20 +00:00
Tobias Koenig
a9f58440df
First large commit for the Annotation API cleanup
...
* Moved all public member variables of Annotation to private
and add accessors
* Renamed RevScope and RevType to RevisionScope and RevisionType
* Add API documentation (@pino, please review)
svn path=/trunk/playground/graphics/okular/; revision=610749
2006-12-05 11:05:50 +00:00
Albert Astals Cid
579644c631
forwardport r609253 and while at it fix broke pixmaprequest call
...
**** r609253 ****
Preload next and previous page if threading is enabled and not on low memory setting
svn path=/trunk/playground/graphics/okular/; revision=609258
2006-11-29 22:00:13 +00:00
Tobias Koenig
327334c194
Show newlines in annotation popup correctly
...
svn path=/trunk/playground/graphics/okular/; revision=609166
2006-11-29 16:41:12 +00:00
Albert Astals Cid
1987645027
fordwardport r608521
...
Using a singleshot timer to start the auto page change is bad because if the user changes the page manually you get more than one timer active at once and then next pages change in what seems a random time.
svn path=/trunk/playground/graphics/okular/; revision=608531
2006-11-27 20:17:11 +00:00
Tobias Koenig
57139e3192
API cleanup (utils.h), renamed getDpiX -> dpiX() and getDpiY -> dpiY()
...
svn path=/trunk/playground/graphics/okular/; revision=608236
2006-11-27 08:13:47 +00:00
Tobias Koenig
c7aba89080
Bugfix: Show content of AnnotWindow in popup
...
svn path=/trunk/playground/graphics/okular/; revision=608233
2006-11-27 08:09:27 +00:00
Pino Toscano
afa2e5a999
iterator -> const_iterator
...
svn path=/trunk/playground/graphics/okular/; revision=607842
2006-11-25 22:32:13 +00:00
Pino Toscano
3022f55916
iterator -> const_iterator
...
svn path=/trunk/playground/graphics/okular/; revision=607839
2006-11-25 22:21:00 +00:00
Albert Astals Cid
da3cd5c2fd
put this inside the ifdef, makes too much noise if you don't want to see that much debug
...
svn path=/trunk/playground/graphics/okular/; revision=607508
2006-11-24 21:44:25 +00:00
Pino Toscano
5ce4b0674e
Make okular able to copy the text selection to the clipboard (finally!).
...
svn path=/trunk/playground/graphics/okular/; revision=607496
2006-11-24 21:02:38 +00:00
Pino Toscano
f070c5cd32
When in aggressive mode, for the viewer area keep also the page previous and the one next to the pages currently visible.
...
svn path=/trunk/playground/graphics/okular/; revision=607468
2006-11-24 19:29:52 +00:00