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
19 years ago
Pino Toscano
62831ce6b9
SVN_SILENT reindent correctly
...
svn path=/trunk/playground/graphics/okular/; revision=616707
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
20 years ago
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
20 years ago
Pino Toscano
41cba45a4b
clarify a debug statement, and silence others
...
svn path=/trunk/playground/graphics/okular/; revision=616100
20 years ago
Pino Toscano
ab508c75a9
hopefully draw the toc item correcty, this time
...
svn path=/trunk/playground/graphics/okular/; revision=615872
20 years ago
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
20 years ago
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
20 years ago
Pino Toscano
536ebab639
SmallIconSet -> KIcon
...
DesktopIconSet -> KIcon
fix the #include's accordingly, where possible
svn path=/trunk/playground/graphics/okular/; revision=615251
20 years ago
Laurent Montel
06b79cdf27
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=614897
20 years ago
Laurent Montel
81a9d32fe8
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=612690
20 years ago
Tobias Koenig
6f9d0df5cd
Further annotation API cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=612395
20 years ago
Pino Toscano
9343b5e54c
temporarily disable the 'find next' shortcut from kactioncollection
...
svn path=/trunk/playground/graphics/okular/; revision=611143
20 years ago
Pino Toscano
5f7df5ba1a
adapt to the recent kdelibs (plus a FIXME for a regression)
...
svn path=/trunk/playground/graphics/okular/; revision=610857
20 years ago
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
20 years ago
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
20 years ago
Tobias Koenig
327334c194
Show newlines in annotation popup correctly
...
svn path=/trunk/playground/graphics/okular/; revision=609166
20 years ago
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
20 years ago
Tobias Koenig
57139e3192
API cleanup (utils.h), renamed getDpiX -> dpiX() and getDpiY -> dpiY()
...
svn path=/trunk/playground/graphics/okular/; revision=608236
20 years ago
Tobias Koenig
c7aba89080
Bugfix: Show content of AnnotWindow in popup
...
svn path=/trunk/playground/graphics/okular/; revision=608233
20 years ago
Pino Toscano
afa2e5a999
iterator -> const_iterator
...
svn path=/trunk/playground/graphics/okular/; revision=607842
20 years ago
Pino Toscano
3022f55916
iterator -> const_iterator
...
svn path=/trunk/playground/graphics/okular/; revision=607839
20 years ago
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
20 years ago
Pino Toscano
5ce4b0674e
Make okular able to copy the text selection to the clipboard (finally!).
...
svn path=/trunk/playground/graphics/okular/; revision=607496
20 years ago
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
20 years ago
Tobias Koenig
81fb3a383b
Further cleanup of Page API:
...
* getAnnotations() -> annotations()
* setBookmark()/hasBookmark() -> setBookmarked()/isBookmarked()
* moved as much private API of Page as possible to private class
svn path=/trunk/playground/graphics/okular/; revision=607233
20 years ago
Tobias Koenig
4848631daf
Renamed all the Page::getXyz() methods to Page::xyz() to be konsistent
...
with the rest of KDE and ... we are no Java developers ;)
svn path=/trunk/playground/graphics/okular/; revision=607204
20 years ago
Tobias Koenig
14d6515b16
Changed the enum SearchDir to SearchDirection and use less strange
...
abbreviations for its items.
Replaced the 'bool strictCase' parameter of Page::findText
with 'Qt::CaseSensitivity caseSensitivity' for better readable code.
svn path=/trunk/playground/graphics/okular/; revision=607203
20 years ago
Tobias Koenig
a7b04cb92b
Replaced
...
Page::setSearchPage( TextPage* );
Page::hasSearchPage();
with
Page::setTextPage( TextPage* );
Page::hasTextPage();
to make the API clearer. The TextPage is not only used for
searching but also for extracting selected text, so the term
'search' is confusing...
svn path=/trunk/playground/graphics/okular/; revision=607195
20 years ago
Albert Astals Cid
ee046a1ad6
fordward port Revision 606296
...
********
Fix "No scrolling when selection reaches border"
svn path=/trunk/playground/graphics/okular/; revision=607042
20 years ago
Pino Toscano
1c710fc2eb
better use itemActivated
...
svn path=/trunk/playground/graphics/okular/; revision=606823
20 years ago
Pino Toscano
2840bc7c3d
Smootly move the viewer area to the annotation when an annotation item in the review tab is double-clicked.
...
BUG: 137631
svn path=/trunk/playground/graphics/okular/; revision=606817
20 years ago
Albert Astals Cid
ac1c0b75bc
const_iterator is your friend :-)
...
svn path=/trunk/playground/graphics/okular/; revision=606558
20 years ago
Albert Astals Cid
ccbd55a036
don't look twice in the map
...
svn path=/trunk/playground/graphics/okular/; revision=606547
20 years ago
Tobias Koenig
893d6a4280
Missed this occurence of inkPaths which lead to a crash/assert...
...
svn path=/trunk/playground/graphics/okular/; revision=606525
20 years ago
Tobias Koenig
a490cc0cd7
Add the following functionality:
...
* Bring QPixmap* back to make Albert happy ;)
* Store only one QPixmap per page/size and rotate it directly
* Rotate ObjectRects (boundary)
* Rotate Annotations (point coordinates)
* Don't reload pixmaps, ObjectRects and annotations on rotation
svn path=/trunk/playground/graphics/okular/; revision=606371
20 years ago
Pino Toscano
45fe1103c4
SVN_SILENT const
...
svn path=/trunk/playground/graphics/okular/; revision=606150
20 years ago
Pino Toscano
69e9777ad2
delete the page items when destroying the page view
...
svn path=/trunk/playground/graphics/okular/; revision=606143
20 years ago
Pino Toscano
c0ab6c7b88
properly delete it
...
svn path=/trunk/playground/graphics/okular/; revision=606112
20 years ago
Pino Toscano
4a40c3fd9f
fix the drawing artifacts when the review toolbar is placed in eg right or bottom position
...
svn path=/trunk/playground/graphics/okular/; revision=606106
20 years ago
Pino Toscano
0f4884e7fc
make the agg drawing routine take into account the opacity value for both pena dn brush color, and paint the ink annotation using also the specified opacity level
...
svn path=/trunk/playground/graphics/okular/; revision=606104
20 years ago
Pino Toscano
e5e7393e22
the opacity value applies also to the brush color
...
svn path=/trunk/playground/graphics/okular/; revision=606027
20 years ago
Pino Toscano
6fe91bae4d
usability: as the annotation tools can be used only in normal mode, switch to normal mode when the user choose to use them
...
svn path=/trunk/playground/graphics/okular/; revision=606026
20 years ago
Pino Toscano
44a69612ef
Make okular able to construct and display Geometric (Rectangle/Ellipse) Annotations.
...
Extended the annotation properties dialog to choose the type (rect/ellipse) or the color for the inner part.
Added a button in the review toolbar to construct a cyan ellipse.
svn path=/trunk/playground/graphics/okular/; revision=606023
20 years ago
Albert Astals Cid
73f0a7269d
resize the pageview widget when no doc is opened so the "gray" area expands
...
svn path=/trunk/playground/graphics/okular/; revision=606019
20 years ago
Pino Toscano
d3e6ffe673
fix error did in the previous commit
...
svn path=/trunk/playground/graphics/okular/; revision=606016
20 years ago
Pino Toscano
8450a373a2
makeItCompile
...
svn path=/trunk/playground/graphics/okular/; revision=605993
20 years ago