Pino Toscano
9343b5e54c
temporarily disable the 'find next' shortcut from kactioncollection
...
svn path=/trunk/playground/graphics/okular/; revision=611143
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
Tobias Koenig
327334c194
Show newlines in annotation popup correctly
...
svn path=/trunk/playground/graphics/okular/; revision=609166
20 years ago
Tobias Koenig
c7aba89080
Bugfix: Show content of AnnotWindow in popup
...
svn path=/trunk/playground/graphics/okular/; revision=608233
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
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
Albert Astals Cid
ac1c0b75bc
const_iterator is your friend :-)
...
svn path=/trunk/playground/graphics/okular/; revision=606558
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
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
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
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
20 years ago
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
20 years ago
Pino Toscano
d50a458de4
fix regression: behave correctly when putting the mouse out of a link area
...
svn path=/trunk/playground/graphics/okular/; revision=604067
20 years ago
Albert Astals Cid
ea831f2214
following popular aclamation we use whole numbers as default zoom values
...
svn path=/trunk/playground/graphics/okular/; revision=603082
20 years ago
Pino Toscano
a23fab8291
display eg '66.7%' instead of '66.70%' in zoom combobox
...
svn path=/trunk/playground/graphics/okular/; revision=601624
20 years ago
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
20 years ago
Pino Toscano
49074ea305
improve these strings, as our usability master suggested
...
svn path=/trunk/playground/graphics/okular/; revision=601511
20 years ago
Pino Toscano
3336a73429
fix regression (related to kpdf's #99315 )
...
svn path=/trunk/playground/graphics/okular/; revision=601363
20 years ago
Albert Astals Cid
511e6f32a1
fix porting bug
...
Thanks Pino for noticing
svn path=/trunk/playground/graphics/okular/; revision=600483
20 years ago
Pino Toscano
e7f46c265e
i like icons
...
svn path=/trunk/playground/graphics/okular/; revision=600478
20 years ago
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
20 years ago
Pino Toscano
e5f7314c65
hand-written ROUND -> qRound
...
svn path=/trunk/playground/graphics/okular/; revision=600081
20 years ago
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
20 years ago
Pino Toscano
f387bb2b0a
Cancel selecting when Esc is pressed.
...
Implements KPDF wish #126359 .
svn path=/trunk/playground/graphics/okular/; revision=599881
20 years ago
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
20 years ago
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
20 years ago
Pino Toscano
4c0808fabf
a bit less of #include's
...
svn path=/trunk/playground/graphics/okular/; revision=598229
20 years ago
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
20 years ago
Pino Toscano
7d6f5be0e5
less verbose
...
svn path=/trunk/playground/graphics/okular/; revision=598093
20 years ago
Pino Toscano
ed84916c0d
spell checking
...
svn path=/trunk/playground/graphics/okular/; revision=597875
20 years ago
Albert Astals Cid
d3f03d2144
Change slotRequestVisiblePixmaps that is called due to a rotation change to a queued petition, this makes rotation changing from 0º to 180º work as previously pixmaps where not reasked because the page items relayouting was done after (in a queded petition) and so they did not intersect at this stage, now as we use a queued petition too for slotRequestVisiblePixmaps, the order is correct and works
...
Transform QTimer::singleShot to QMetaObject::invokeMethod as thiago said it is better
svn path=/trunk/playground/graphics/okular/; revision=597307
20 years ago
Pino Toscano
85bf380d7d
this seems a little bit faster...
...
svn path=/trunk/playground/graphics/okular/; revision=596608
20 years ago
Pino Toscano
a5d7d31d33
isolate the Xrender dependant code, so okular can be compile and work even without it
...
svn path=/trunk/playground/graphics/okular/; revision=596572
20 years ago
Pino Toscano
ef1fb7e8d5
const
...
svn path=/trunk/playground/graphics/okular/; revision=596146
20 years ago
Pino Toscano
87904adec4
change a bit how we look for objects in a page: first look for annotations, then links (acrobat reader does this way too, so it should be the "right" thing to do)
...
svn path=/trunk/playground/graphics/okular/; revision=596127
20 years ago
Pino Toscano
c8ba6d8c15
be sure to remove also the pointer to the old annotation window when deleting the window itself
...
svn path=/trunk/playground/graphics/okular/; revision=595393
20 years ago
Pino Toscano
c9346d8331
tooltip for annotation on the pageview
...
svn path=/trunk/playground/graphics/okular/; revision=595377
20 years ago
Albert Astals Cid
7ae910d0b8
fix rendering when at very high zoom levels
...
svn path=/trunk/playground/graphics/okular/; revision=594633
20 years ago
Pino Toscano
6bd498e8e3
draw the page outline rect correctly again
...
svn path=/trunk/playground/graphics/okular/; revision=594614
20 years ago
Albert Astals Cid
4458c20075
viewport() -> widget()
...
well spotted pino!
svn path=/trunk/playground/graphics/okular/; revision=593718
20 years ago
Albert Astals Cid
d767c84a30
Fix painting when at very few pages and zoom level alst pages where not beign painted
...
svn path=/trunk/playground/graphics/okular/; revision=593692
20 years ago
Albert Astals Cid
e6dae78ac3
Port Q3ScrollView to QScrollArea, probably still has some small issues but seems to work quite well
...
svn path=/trunk/playground/graphics/okular/; revision=593332
20 years ago
Pino Toscano
858a6bf783
factor out the text selections ruotines, so they can be used also from other places
...
svn path=/trunk/playground/graphics/okular/; revision=592041
20 years ago