Pino Toscano
bdcfe1ee03
proper graphics-viewer-document icon
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=720714
19 years ago
Pino Toscano
5df1895ec0
don't use deprecated api of KUser
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=720663
19 years ago
Pino Toscano
02d6dab204
adapt to the new icon names
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=720180
19 years ago
Pino Toscano
e461f0c113
don't include kpixmapeffect.h
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=720047
19 years ago
Rafael Fernández López
396bcc107b
Code adaptation because of changes on libraries related to revision 719630
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=719644
19 years ago
Pascal Létourneau
d0fd4b6f26
Take the margin into account in mouse{Press,Release}Event
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=718756
19 years ago
Pino Toscano
24c55e3caa
reduce the visible rect by -1,-1, so it looks symmetric (and perfect :) )
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=716582
19 years ago
Pino Toscano
746074cfcb
Make use of the Esc key in the content area:
...
- when the document is auto-scrolling, stop the scrolling
- when building an annotation, stop its construction
svn path=/trunk/KDE/kdegraphics/okular/; revision=716000
19 years ago
Pino Toscano
3c6b0b9181
add a method to toggle any of the tool buttons
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=715999
19 years ago
Pino Toscano
aa4ca4d9b3
always fill the page with the paper color, so page pixmaps with alpha does not cause garbage to be left on the page
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=715954
19 years ago
Pino Toscano
b455fb1221
we need to register QModelIndex as metatype to be able to pass it as parameter for queued slot calls
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=713205
19 years ago
Pino Toscano
4b3b1a910c
open just the TOC branch the document wants to be open; properly open them
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=713165
19 years ago
Pino Toscano
057d26681a
+i18n comment
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712883
19 years ago
Pino Toscano
30081b4654
Make the findbar look almost like kate's search bar (line edit buddy, tooltips).
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712882
19 years ago
Pino Toscano
1b02168dce
force an update of the cursor when changing mode
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712509
19 years ago
Pino Toscano
a0b2ad4a4c
activate by default the clear button on every document search lineedit
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=712501
19 years ago
Pino Toscano
7eb8659d4f
Add a tool button in the toolbar with the "select" actions.
...
Preparing a bit for separating rectangular text selection and rectangular image selection.
svn path=/trunk/KDE/kdegraphics/okular/; revision=712381
19 years ago
Pino Toscano
83454a5ff3
fix some memory leaks
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=711280
19 years ago
David Faure
4f98f7b436
Build - BLITZ_INCLUDES includes the qimageblitz/ subdir already.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=711023
19 years ago
Pino Toscano
f2b06de9fc
don't draw external annotations (the backend told us it draws them)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710783
19 years ago
Pino Toscano
18afc2df79
SVN_SILENT dead code
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710640
19 years ago
Pino Toscano
de70e1355f
when drawing an inline text annotation, instead of manually scaling the 1:1 image to the page (resulting a bit ugly), scale the font drawing when drawing on the image at the zoomed size
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710631
19 years ago
Pino Toscano
5da8a9861e
invalidate the page filter proxy model less times
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710549
19 years ago
Tobias Koenig
c70cb99bdc
Add proxy model for grouping by author
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710548
19 years ago
Pino Toscano
df27f63497
Highlight annotations: do not draw a solid border around them, and take into account the alpha value.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710543
19 years ago
Pino Toscano
bc509794eb
remove two empty DocumentObserver notifications
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710426
19 years ago
Tobias Koenig
075eabe799
Fixed the notifications
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710389
19 years ago
Tobias Koenig
709e0eed1d
Print fancy information when no annotations are available
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710354
19 years ago
Pino Toscano
08727a7cea
a bit prettier
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710340
19 years ago
Tobias Koenig
9642e7ae5e
Add proxy models for the AnnotationModel and port SideReviews
...
to it
svn path=/trunk/KDE/kdegraphics/okular/; revision=710330
19 years ago
Pino Toscano
a917f080e6
Create a model for the TOC, and use that for displaying the TOC of the document.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710317
19 years ago
Tobias Koenig
e40be7a9c3
Some GUI improvements
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710312
19 years ago
Pino Toscano
f770c6b542
Add a port of the kdelibs classes KTreeWidgetSearchLine* that use QTreeView/QModelIndex instead of TreeWidget/QTreeWidgetItem.
...
This way, we can really filter a tree view and avoid the limitations of QSortFilterProxyModel.
svn path=/trunk/KDE/kdegraphics/okular/; revision=710310
19 years ago
Pino Toscano
b12610e46a
when an annotation was updated, update all the annotation for its page (we can't do else, at the moment...)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710252
19 years ago
Pino Toscano
b56ad8c3ae
Change the DocumentObserver::notifySetup() to allow a better tuning of the different setup options (different layout for the pages, or different document).
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710227
19 years ago
Pino Toscano
928a7be1e9
properly unregister upon destruction from the document (checking if it's still alive)
...
don't attempt to rebuild the annotation tree if the document has no pages
svn path=/trunk/KDE/kdegraphics/okular/; revision=710044
19 years ago
Pino Toscano
f2f15e0918
rename AnnotationItem to AnnItem, it gave me enough troubles to be left so long...
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710036
19 years ago
Pino Toscano
e6cc6a58c4
properly update when an annotation is added or removed (TODO: when is just changed)
...
also, return the PageRole for the page tree items
svn path=/trunk/KDE/kdegraphics/okular/; revision=710034
19 years ago
Pino Toscano
4415a36e3e
rename the AnnotationItem to AnnotationToolItem, otherwise there's a plain conflict with the private class of the AnnotationModel
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710030
19 years ago
Pino Toscano
239434362e
Basic version of a tree model for the document annotations.
...
It provides the items this way:
root
+ page 1
| + annotations for page 1
+ page 2
| + annotations for page 2
.. and so on
It does not return subtrees for pages without annotations.
svn path=/trunk/KDE/kdegraphics/okular/; revision=709946
19 years ago
Pino Toscano
1765025575
class with static methods -> namespace
...
add constness to the parameters where missing
svn path=/trunk/KDE/kdegraphics/okular/; revision=709912
19 years ago
Pino Toscano
815ac3867e
move the annotation tooltip creation procedure in a single place
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=709910
19 years ago
Pino Toscano
0bfbda8810
btter handle "empty" authors in the review tree
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=709906
19 years ago
Albert Astals Cid
8d0b9b2832
KImageEffect::flatten -> Blitz::flatten
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=709615
19 years ago
Pino Toscano
2498bea799
update the cursor correctly in text selection mode
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=709558
19 years ago
Albert Astals Cid
3f80eceaae
Now (Qt 4.3.1) that QPainter::CompositionMode_Multiply works remove agg2 based code
...
Actually i think it's even a bit faster now
svn path=/trunk/KDE/kdegraphics/okular/; revision=708877
19 years ago
Pino Toscano
cbcd969e6a
filter only the page changes interesting for the thumbnails
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708701
19 years ago
Pino Toscano
45960f6b71
Allow the use to choose any icon as stamp symbol.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708387
19 years ago
Pino Toscano
fd0d892373
make the spacer expand a bit less, and fix a crash when the current annotation type has no info
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708367
19 years ago
Pino Toscano
4c80e8a8e1
properly ignore a mouse press if it's going to be context menu event
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=708268
19 years ago