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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2006-11-23 17:11:04 +00:00
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
2006-11-23 16:54:28 +00:00
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
2006-11-23 16:09:26 +00:00
Albert Astals Cid
ee046a1ad6
fordward port Revision 606296
...
********
Fix "No scrolling when selection reaches border"
svn path=/trunk/playground/graphics/okular/; revision=607042
2006-11-22 21:32:21 +00:00
Albert Astals Cid
ac1c0b75bc
const_iterator is your friend :-)
...
svn path=/trunk/playground/graphics/okular/; revision=606558
2006-11-20 20:10:42 +00:00
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
2006-11-20 07:53:32 +00:00
Pino Toscano
45fe1103c4
SVN_SILENT const
...
svn path=/trunk/playground/graphics/okular/; revision=606150
2006-11-19 13:50:41 +00:00
Pino Toscano
69e9777ad2
delete the page items when destroying the page view
...
svn path=/trunk/playground/graphics/okular/; revision=606143
2006-11-19 13:20:22 +00:00
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
2006-11-19 01:23:06 +00:00
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
2006-11-19 00:04:16 +00:00
Pino Toscano
274469dae8
Almost complete support for inverse search within okular.
...
THe system generally works; what is missing is a good activating strategy (added in TODO - our usability expert is working on that), and a GUI to configure the editor.
The DVI backend was adapted to use this new feature.
(The PDF backend will use it soon.)
svn path=/trunk/playground/graphics/okular/; revision=605708
2006-11-17 22:15:15 +00:00
Aaron J. Seigo
77932c92dd
two small changes, passed by pintoree on irc:
...
- render the viewed rect area in the thumbnail a bit more elegantly
- Render Mode -> View Mode ... "render" is geekanese, "view" is proper luserian
svn path=/trunk/playground/graphics/okular/; revision=604731
2006-11-14 00:27:30 +00:00
Pino Toscano
d50a458de4
fix regression: behave correctly when putting the mouse out of a link area
...
svn path=/trunk/playground/graphics/okular/; revision=604067
2006-11-11 13:45:44 +00:00
Albert Astals Cid
ea831f2214
following popular aclamation we use whole numbers as default zoom values
...
svn path=/trunk/playground/graphics/okular/; revision=603082
2006-11-07 19:29:48 +00:00
Pino Toscano
a23fab8291
display eg '66.7%' instead of '66.70%' in zoom combobox
...
svn path=/trunk/playground/graphics/okular/; revision=601624
2006-11-03 22:09:16 +00:00
Tobias Koenig
bea71df6e0
* Made image rotation asynchronous
...
* Changed Page API and PagePainter to work only with QImage
svn path=/trunk/playground/graphics/okular/; revision=601581
2006-11-03 17:57:32 +00:00
Pino Toscano
49074ea305
improve these strings, as our usability master suggested
...
svn path=/trunk/playground/graphics/okular/; revision=601511
2006-11-03 13:59:44 +00:00
Pino Toscano
3336a73429
fix regression (related to kpdf's #99315 )
...
svn path=/trunk/playground/graphics/okular/; revision=601363
2006-11-03 00:12:23 +00:00
Albert Astals Cid
511e6f32a1
fix porting bug
...
Thanks Pino for noticing
svn path=/trunk/playground/graphics/okular/; revision=600483
2006-10-30 18:17:11 +00:00
Pino Toscano
e7f46c265e
i like icons
...
svn path=/trunk/playground/graphics/okular/; revision=600478
2006-10-30 18:03:56 +00:00
Pino Toscano
2bd05e79d5
a generator can not block the gui events of the main page view, otherwise bad things will happen - it's also not really logic to allow such a thing, better think about something else if a generator wants to interact with the gui somehow
...
svn path=/trunk/playground/graphics/okular/; revision=600225
2006-10-29 22:33:24 +00:00
Pino Toscano
e5f7314c65
hand-written ROUND -> qRound
...
svn path=/trunk/playground/graphics/okular/; revision=600081
2006-10-29 13:42:07 +00:00
Holger Freyther
d8e92f5ff8
okular/ui/pageview.cpp: Make it compile with QtMac
...
I have XRender available on my system but I use QtMac
so only check for XRender if we use Qt/X11.
svn path=/trunk/playground/graphics/okular/; revision=600075
2006-10-29 13:17:19 +00:00
Pino Toscano
f387bb2b0a
Cancel selecting when Esc is pressed.
...
Implements KPDF wish #126359 .
svn path=/trunk/playground/graphics/okular/; revision=599881
2006-10-28 23:27:44 +00:00
Pino Toscano
6ac2174811
move the configuration update procedures of the page view into the page view itself
...
make the pageview update when changing the number of columns in overview mode
svn path=/trunk/playground/graphics/okular/; revision=599878
2006-10-28 22:58:05 +00:00
Pino Toscano
0be674f981
Forwardport SVN commit 599376 by pino:
...
Don't try querying the document if it's closed.
svn path=/trunk/playground/graphics/okular/; revision=599385
2006-10-26 20:59:07 +00:00
Pino Toscano
4c0808fabf
a bit less of #include's
...
svn path=/trunk/playground/graphics/okular/; revision=598229
2006-10-22 23:00:39 +00:00
Pino Toscano
5f28d1163f
make a pair of actions name and label more close to the others
...
remove unused (duplicated) action
svn path=/trunk/playground/graphics/okular/; revision=598165
2006-10-22 18:19:17 +00:00