Commit graph

796 commits

Author SHA1 Message Date
Pino Toscano
18af83bcfc cache few things, but it's still sloooooooooooow
svn path=/trunk/KDE/kdegraphics/okular/; revision=749261
2007-12-16 22:36:27 +00:00
Pino Toscano
034e8f9299 Map the index through the author proxy model as well.
This makes the context menu working again, thanks Elias P. for reporting that!

svn path=/trunk/KDE/kdegraphics/okular/; revision=748887
2007-12-15 20:39:01 +00:00
Pino Toscano
98ed679e0e Do not change the offset of the shadow, as it does not change in themes, says Diego.
svn path=/trunk/KDE/kdegraphics/okular/; revision=748590
2007-12-14 22:12:23 +00:00
Pino Toscano
704a53bb12 get correctly the layout direction of the widget, thanks Diego
svn path=/trunk/KDE/kdegraphics/okular/; revision=748587
2007-12-14 22:08:22 +00:00
Pino Toscano
1bf39cf98a In the message widget, draw the icon on the right when the layout is RightToLeft.
svn path=/trunk/KDE/kdegraphics/okular/; revision=748578
2007-12-14 21:37:00 +00:00
Pino Toscano
5a06b9d911 improve getInnetPoint() and getOuterPoint() so that
- they use a nice switch
- the real anchor widget position is taken into account (no more magic constant, and the position is correct even in RtL configurations)

svn path=/trunk/KDE/kdegraphics/okular/; revision=748015
2007-12-13 11:32:09 +00:00
Pino Toscano
f7b8b3f6f4 Use Oxygen icons for the text tools. Much better now.
svn path=/trunk/KDE/kdegraphics/okular/; revision=747814
2007-12-13 00:06:31 +00:00
Pino Toscano
82ac390fd0 copy three tool icons from krita to give at least an icon to some of the review tools
not optimal, but better than a plain question mark...

svn path=/trunk/KDE/kdegraphics/okular/; revision=747226
2007-12-11 12:09:55 +00:00
Pino Toscano
8f46b3cc74 reduce the default x-scale of minibar buttons, otherwise some widget styles will want to make them wide over any human limit
svn path=/trunk/KDE/kdegraphics/okular/; revision=746696
2007-12-09 21:32:02 +00:00
Pino Toscano
04fdc9e475 these icons are not used, do not install them for now
svn path=/trunk/KDE/kdegraphics/okular/; revision=746693
2007-12-09 21:29:53 +00:00
Eike Hein
e1ce407bb7 Manage the enabled state of the page thumbnail list's scrollbar.
svn path=/trunk/KDE/kdegraphics/okular/; revision=746598
2007-12-09 16:31:43 +00:00
Pino Toscano
76d061b443 draw correctly the border of the rectangular selection
svn path=/trunk/KDE/kdegraphics/okular/; revision=746592
2007-12-09 16:14:24 +00:00
Pino Toscano
cd5b0a9d7f fix icons
svn path=/trunk/KDE/kdegraphics/okular/; revision=746590
2007-12-09 16:12:08 +00:00
Pino Toscano
704f0ee3a1 remove the 'pink highlighter' and give the proper icon to the 'green highlighter'
svn path=/trunk/KDE/kdegraphics/okular/; revision=746556
2007-12-09 13:44:40 +00:00
Pino Toscano
4219c90f63 translate the tool name as soon as we read it
svn path=/trunk/KDE/kdegraphics/okular/; revision=746523
2007-12-09 12:15:57 +00:00
Pino Toscano
b30621c8ed put a better icon here
svn path=/trunk/KDE/kdegraphics/okular/; revision=746522
2007-12-09 12:15:03 +00:00
Pino Toscano
552b2fd115 activate a selection block when constructing an ellipse
svn path=/trunk/KDE/kdegraphics/okular/; revision=746502
2007-12-09 10:38:46 +00:00
Pino Toscano
8f55446c17 don't expand the selection rect one pixel too much in both directions
svn path=/trunk/KDE/kdegraphics/okular/; revision=746501
2007-12-09 10:38:14 +00:00
Pino Toscano
fb2b74ad70 proper icons
svn path=/trunk/KDE/kdegraphics/okular/; revision=746450
2007-12-09 01:37:51 +00:00
Pino Toscano
761276e938 correctly enable/disable tools and text tools when switching document
svn path=/trunk/KDE/kdegraphics/okular/; revision=746447
2007-12-09 01:35:42 +00:00
Eike Hein
611f2d01f1 Get rid of superfluous whitespace on the right side of thumbnails when
using a QStyle with SH_ScrollView_FrameOnlyAroundContents, by using the 
viewport's width.

svn path=/trunk/KDE/kdegraphics/okular/; revision=746443
2007-12-09 01:08:23 +00:00
Eike Hein
317c2ebc04 Revert my last commit, as the problem it tried to fix appears to be confined to the Oxygen engine.
svn path=/trunk/KDE/kdegraphics/okular/; revision=746440
2007-12-09 00:45:13 +00:00
Eike Hein
15d9622755 Get rid of the superfluous whitepace to the right of the thumbnail widgets.
svn path=/trunk/KDE/kdegraphics/okular/; revision=746435
2007-12-08 23:26:25 +00:00
Pino Toscano
6546e208d9 remove tool_eraser.png, there's an oxygen icon for it
svn path=/trunk/KDE/kdegraphics/okular/; revision=746432
2007-12-08 23:20:27 +00:00
Pino Toscano
3fe54b79e8 do not center the "dummy" image of the text annotation, otherwise there's a "jump" when the note is placed
svn path=/trunk/KDE/kdegraphics/okular/; revision=746431
2007-12-08 23:19:42 +00:00
Eike Hein
435a6390b8 Anti-alias the "No annotations" box in the Reviews tab.
svn path=/trunk/KDE/kdegraphics/okular/; revision=746416
2007-12-08 22:39:25 +00:00
Jeremy Paul Whiting
ba526769a1 dont try to install ghns images that are no longer here
svn path=/trunk/KDE/kdegraphics/okular/; revision=746352
2007-12-08 19:02:01 +00:00
Jeremy Paul Whiting
962448d374 move to where it's used
svn path=/trunk/KDE/kdegraphics/okular/; revision=746351
2007-12-08 19:00:33 +00:00
Jeremy Paul Whiting
e2c9de4d1b move to kns where it is used
svn path=/trunk/KDE/kdegraphics/okular/; revision=746349
2007-12-08 18:59:42 +00:00
Jeremy Paul Whiting
a8d13e8d7c move to where it is used
svn path=/trunk/KDE/kdegraphics/okular/; revision=746348
2007-12-08 18:58:47 +00:00
Pino Toscano
1022878a5a icon renaming:
- pencil -> draw-freehand

svn path=/trunk/KDE/kdegraphics/okular/; revision=746342
2007-12-08 18:49:02 +00:00
Pino Toscano
9b4e3bd80a icon renaming:
- eraser -> draw-eraser

svn path=/trunk/KDE/kdegraphics/okular/; revision=746312
2007-12-08 17:26:24 +00:00
Pino Toscano
995972052d Review toolbar:
- enable/disable (instead of hide/show) the tools that cannot be constructed (eg due to the document not extracting text)
- disable the tools when there is no document open

svn path=/trunk/KDE/kdegraphics/okular/; revision=746293
2007-12-08 15:59:04 +00:00
Pino Toscano
be088ab698 fix icons
svn path=/trunk/KDE/kdegraphics/okular/; revision=746279
2007-12-08 14:57:24 +00:00
Pino Toscano
cae8db59ba for now, disable the editing of extrnal annotations (ie, the ones in the document)
svn path=/trunk/KDE/kdegraphics/okular/; revision=746252
2007-12-08 12:45:44 +00:00
Pino Toscano
7c85a2a804 Add a simple GUI to configure the tickness for line annotations.
Two new messages OK'ed by translators.

svn path=/trunk/KDE/kdegraphics/okular/; revision=746224
2007-12-08 11:31:37 +00:00
Pino Toscano
aa9181b3a1 disable the option button for now
svn path=/trunk/KDE/kdegraphics/okular/; revision=746110
2007-12-07 21:55:41 +00:00
Jakob Petsovits
d9de20dfe7 Masses of icon fixes and adaptions, caused by the original
desire to rename "edit" to "object-edit". I changed my mind
in the middle of the process (but had lots of other changes
lying around already and really need to stop), so many
or all of the newly renamed "object-edit" icons might
vanish again.

But all in all, there are improvements in many places.

svn path=/trunk/KDE/kdegraphics/okular/; revision=744272
2007-12-03 06:27:42 +00:00
Pino Toscano
bd294e1de6 move the FilePrinterPreview to the kpart (no need for it to be in the core library)
svn path=/trunk/KDE/kdegraphics/okular/; revision=744225
2007-12-03 00:17:12 +00:00
Pino Toscano
c88cf049cc show/hide the antiwidget when we show/hide ourselves
svn path=/trunk/KDE/kdegraphics/okular/; revision=742819
2007-11-28 23:40:39 +00:00
Pino Toscano
2f39925acb set the help tooltip also when creating a toolbar button for the action
(no new string, the same string is already there)

svn path=/trunk/KDE/kdegraphics/okular/; revision=742801
2007-11-28 22:54:22 +00:00
Pino Toscano
1178a63b01 rename the selectionChanged() slot of LineEdit to slotSelectionChanged()
svn path=/trunk/KDE/kdegraphics/okular/; revision=741036
2007-11-24 16:41:57 +00:00
Pino Toscano
4cbfcb582b for now, paint the external annotations as well, as we have no way to know whether the general is able to paint them
svn path=/trunk/KDE/kdegraphics/okular/; revision=736321
2007-11-13 23:03:22 +00:00
Pino Toscano
cb50789290 slightly better wording
svn path=/trunk/KDE/kdegraphics/okular/; revision=736320
2007-11-13 22:46:44 +00:00
Pino Toscano
6ddb793ae6 correctly locale the icon (when stored as metadata) in the prixmap preview widget
few updates in the list of default stamps

svn path=/trunk/KDE/kdegraphics/okular/; revision=736317
2007-11-13 22:32:59 +00:00
Pino Toscano
537b828e50 for now, disable the animation of the review toolbar, as it seems to be slow sometimes
#define OKULAR_ANIMATE_REVIEW_TOOBAR to re-eanble it

svn path=/trunk/KDE/kdegraphics/okular/; revision=736304
2007-11-13 22:04:04 +00:00
Pino Toscano
0fc6641cca 'Copy link location' -> 'Copy link address', like konqueror
svn path=/trunk/KDE/kdegraphics/okular/; revision=735046
2007-11-10 18:45:48 +00:00
Pino Toscano
0b35107505 fix icons
svn path=/trunk/KDE/kdegraphics/okular/; revision=732755
2007-11-04 17:03:47 +00:00
Pino Toscano
9e5f8163f7 recalc correctly the width of the sidebar when changing the icon size or toggling the text
svn path=/trunk/KDE/kdegraphics/okular/; revision=732427
2007-11-03 20:48:10 +00:00
Albert Astals Cid
9033cfdec8 aZoomFitText is not created atm, so don't try to update it
svn path=/trunk/KDE/kdegraphics/okular/; revision=732304
2007-11-03 12:58:46 +00:00