Pino Toscano
b8a458dcdc
old stuff no more used, and no need to waste i18n strings
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=690057
19 years ago
Pino Toscano
301ab93196
Riactivate the very very very, and I underline very, experimental newstuff support we had before the KNS1 -> KNS2 switch:
...
- install a newstuff rc config, pointing to the NS1 stuff on okular.kde.org
- show the download dialog for newstuff, properly (hopefully) initialized
- proper linking for the okularpart
svn path=/trunk/KDE/kdegraphics/okular/; revision=690047
19 years ago
Pino Toscano
536b632536
Correctly translate the ink annotations now.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=689204
19 years ago
Pino Toscano
668dcad8da
Now the annotations can be dragged and moved after being placed on a page, even if the page is rotated.
...
Ctrl+right mouse button is what is needed to do that.
At the moment, only line, stamp and geometric annotations can be moved with mouse dragging.
svn path=/trunk/KDE/kdegraphics/okular/; revision=689185
19 years ago
Pino Toscano
9f17173619
always as temporary widget, show a text area for the annotation contents
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688354
19 years ago
Pino Toscano
54f586f18a
remove the editing of unique name and flags, they are internal
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688247
19 years ago
Pino Toscano
4754b6713e
no need for a parent widget, as its parent will be another layout
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688246
19 years ago
Pino Toscano
8114ea7200
fix or add the include guards
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688231
19 years ago
Pino Toscano
f2ef436a56
when in embedded mode, create only the base actions for the view (zoom combo/in/out)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=687811
19 years ago
Pino Toscano
808aa2a621
duplicate header
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686269
19 years ago
Pino Toscano
f1d5e478ba
init fix
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685658
19 years ago
Pino Toscano
964424d62f
stop gracefully the font extraction thread when closing a document or the properties dialog; make the thread deleting itself when finished
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685437
19 years ago
Pino Toscano
ff308d7f83
hopefully fix the sorting of the fonts
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685398
19 years ago
Pino Toscano
d746b667a4
minor renamings in the EmbedType enum:
...
- EmbeddedSubSet -> EmbbededSubset
- Embedded -> FullyEmbedded
svn path=/trunk/KDE/kdegraphics/okular/; revision=685329
19 years ago
Pino Toscano
3fd552ef21
Extend the FontInfo class to distinguish the different types of font embedding.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685317
19 years ago
Pino Toscano
8a31e6f3f0
Allow the user to change the visible part(s) of the document by dragging the visible areas in the thumbnails, and to change the zoom of the document by Ctrl+wheel on them.
...
Patch by Diego R. Brogna, thanks a lot!
BUG: 135521
svn path=/trunk/KDE/kdegraphics/okular/; revision=685273
19 years ago
Pino Toscano
e5037f45b1
Refator a bit the way Document and the generators use to read the font information from a document.
...
Instead of having a synchronous function that extracts all the information at once, use a function to read the fonts of a single page.
This way, we can get all the result step by step (aka page by page), and possibly in an asynchronous way.
The resuls of the font "scanning" are sent via signals, as well the end of the work.
So, instead of block waiting for the results of all the document at once, the Fonts tab in the properties dialog can have a progress bar with the progress, and the results (the fonts) that are added incrementally to the list.
Only two minor things are left:
- the process is always asynchronous at the moment, as the only generator that can provide this kind of information is the Poppler one (safe)
- there is no check for duplicate fonts
But they should be easy to solve.
svn path=/trunk/KDE/kdegraphics/okular/; revision=685002
19 years ago
Pino Toscano
80d7b04b0f
lround() -> qRound()
...
BUG: 147540
svn path=/trunk/KDE/kdegraphics/okular/; revision=683290
19 years ago
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
19 years ago
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
19 years ago
Albert Astals Cid
5348802a9b
MultiSelection sucks, go go go ExtendedSelection
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682740
19 years ago
Albert Astals Cid
d511adfd84
fordwardport r678167
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678169
19 years ago
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
19 years ago
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
19 years ago
Laurent Montel
e31f9ada54
Remove not necessary "class classname;"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671220
19 years ago
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
19 years ago
Robert Knight
99d4342ae8
Remove frame around the page view.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=669129
19 years ago
Pino Toscano
753f06e8e3
use the bookmark icon for the bookmark overlay in the thumbnail list
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668781
19 years ago
Pino Toscano
b4b3ebdded
Okular::Settings::writeConfig() -> Okular::Settings::self()->writeConfig()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=667772
19 years ago
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
19 years ago
Pino Toscano
e83f58d78d
instead of emitting a signal, just use a simple action
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=667074
19 years ago
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
19 years ago
Pino Toscano
4e2e675914
No need to show entries with no children.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=666450
19 years ago
Pino Toscano
0e9b82be96
get rid of the Xrender-related stuff
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=666266
19 years ago
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
19 years ago
Pino Toscano
6735089e77
SVN_SILENT follow the render -> view renaming for the columns as well
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=666260
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Pino Toscano
8ccb38b9fe
very small cleanup among the #include part
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=661773
19 years ago
Pino Toscano
1eb435cddb
remove the kdebug.h inclusion in area.h
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=661410
19 years ago
Dirk Mueller
43a23a2de6
the usual "daily unbreak compilation"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=661101
19 years ago
Pino Toscano
6aaefb7f68
"pdf"/"pdf file" -> "document"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660526
19 years ago
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
19 years ago
Pino Toscano
a9532ee414
and a static QBitmap here leaks as well
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660422
19 years ago
Pino Toscano
912706a856
revert my r659797, a QButtonGroup can't help here
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660408
19 years ago
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
19 years ago
Pino Toscano
0f4cd40e26
slotRotation -> setRotation
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660207
19 years ago
Pino Toscano
0260a8f2d6
properly isolate rebuildTree() from the itemChanged() signals
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660102
19 years ago
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
19 years ago