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
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
f66f7333ed
usability fix: mouse wheel up goes to the next page, not to the previous (and viceversa for mouse wheel down)
...
svn path=/trunk/playground/graphics/okular/; revision=602310
20 years ago
Pino Toscano
b6756ecfa4
usability fix: don't make clicks in the top bar of the presentation mode being propagated to the presentation widget
...
svn path=/trunk/playground/graphics/okular/; revision=602308
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
91611a9afc
better this way
...
svn path=/trunk/playground/graphics/okular/; revision=601332
20 years ago
Pino Toscano
1112ada99f
add an option to configure the color of the pencil of the presentation mode
...
svn path=/trunk/playground/graphics/okular/; revision=601067
20 years ago
Pino Toscano
4cb78d9ec6
stop the popping up of a "what's this?" context menu when pressing the right mouse button (to go to the previous page)
...
svn path=/trunk/playground/graphics/okular/; revision=600984
20 years ago
Pino Toscano
4130ba5e49
Just like any other presentation application, now you can draw red paths on a page during the presentation mode.
...
Like that kind of applications, the drawings are erased when switching page and when exiting the presentation, and there is a button to explicitely clear the page.
svn path=/trunk/playground/graphics/okular/; revision=600982
20 years ago
Pino Toscano
95046e8889
use the right arrows in RtL layout
...
svn path=/trunk/playground/graphics/okular/; revision=599954
20 years ago
Pino Toscano
8def2109ec
change the metaData() function of the Generator to use QVariant as type for the returned value and for the 'option' parameter, this gives more flexibility
...
svn path=/trunk/playground/graphics/okular/; revision=599847
20 years ago
Pino Toscano
d37a58ec71
show something as caption for the presentation mode; show always the file name instead of the full url when in both the part and presentation mode there is no document title available
...
svn path=/trunk/playground/graphics/okular/; revision=597895
20 years ago
Pino Toscano
853d6c70a7
Give a tooltip in the page view for every kind of lnk we support.
...
Also improve a bit the one in the presentation mode, and give a message when the link is a "go to the page x" link.
Implements KPDF wish #131361 .
svn path=/trunk/playground/graphics/okular/; revision=588899
20 years ago
Tobias Koenig
df7d144c10
Moved all classes in core/ into the 'Okular' namespace and removed
...
nearly all references to kpdf (knewstuff still missing).
svn path=/trunk/playground/graphics/okular/; revision=586993
20 years ago
Pino Toscano
45615e5289
Reworked a bit the ObjectRect API, by allowing subclassing for easiness wrt Annotation's. The brand new AnnotationObjectRect is responsible for providing the annotation bounding rect (that may vary for the various annotation types).
...
Adapted also to receive the X and Y scale, so the bounding rect for every kind of ObjectRect can depend on a specific page size.
As a consequence, we can add also the annotations among the rects of a Page, and use the standard getObjectRect to find them.
svn path=/trunk/playground/graphics/okular/; revision=586457
20 years ago
Albert Astals Cid
5d7dd80086
fordwardport r582532
...
svn path=/trunk/playground/graphics/okular/; revision=582534
20 years ago
Pino Toscano
1ba01ac6f1
Refactor a bit how ObjectRect works: now it's an independent class, that keeps the shape of the "kept" object using a QPainterPath [the qreal version to QRegion].
...
Modified the constructors to specify if a rect represents a rectangular region or an elliptic one; added a new one to create a region defined using a polygon.
Adapted to the new API the generators that support links (all but the DjVu one - will be adapted and improved soon).
svn path=/trunk/playground/graphics/okular/; revision=561890
20 years ago
Pino Toscano
378fa13c90
bitBlt -> QPainter::drawPixmap
...
svn path=/trunk/playground/graphics/okular/; revision=556580
20 years ago
Pino Toscano
15ab36aac4
Add a small line edit in the top bar o the presentation mode to manually jump to any page of the current presentation.
...
svn path=/trunk/playground/graphics/okular/; revision=556253
20 years ago
Pino Toscano
0b5aae86ab
remove old warnings, the colors seem to have been fixed correctly; less deprecated
...
svn path=/trunk/playground/graphics/okular/; revision=555714
20 years ago
Pino Toscano
840a526be7
Use the configured shortcuts for the PrevPage/NextPage/FirstPage/LastPage actions in the presentation mode, and for the FindNext in the find ahead of the main view.
...
svn path=/trunk/playground/graphics/okular/; revision=554883
20 years ago
Pino Toscano
7e412556db
give back the old cool look to the wheel progress overlay of the presentation mode
...
svn path=/trunk/playground/graphics/okular/; revision=554869
20 years ago
Pino Toscano
6edb8be453
use the qt4 way of showing tooltips basing on the cursor position
...
svn path=/trunk/playground/graphics/okular/; revision=552119
20 years ago
Albert Astals Cid
eabbaeaead
oKular is now okular
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550782
20 years ago
Pino Toscano
dceb1211ca
less qt3_support
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547800
20 years ago
Albert Astals Cid
cb7ca95e94
pages have orientation
...
document has a rotation to apply over the page's own orientation
text search really works now when rotating (at least all my tests here worked)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547644
20 years ago
Pino Toscano
44ba186717
less deprecated (QPalette, QTimer and QMouseEvent)
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=545516
20 years ago
Pino Toscano
4ea42ab691
isShown -> !isHidden
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=542471
20 years ago
Pino Toscano
ce8da14d97
put the info messagebox in a delayed slot, so it won't make the presentation mode crash
...
trying to fix the brush colors
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540502
20 years ago
Albert Astals Cid
3568d20ee7
disable the information messagebox as it making the fullscreen mode crash
...
remove the event function as lubos asked me to remove it from 3.5 branch time ago
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540494
20 years ago
Stephan Kulow
7e58d70943
replaced QColorGroup:: with QPalette::
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=535911
20 years ago
Pino Toscano
90db8a5868
less qt3_support
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=529479
20 years ago
Pino Toscano
e3994658b6
make it compile with the new snapshot
...
port to the new i18n api
svn path=/branches/work/kde4/playground/graphics/okular/; revision=528345
20 years ago
Chusslove Illich
87280f3da1
Conversion to new i18n API (see KDE4PORTING.html->I18N->i18n calls).
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=528186
20 years ago
Pino Toscano
3447213cbd
no need to manage an icon loader manually
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=526885
20 years ago
Pino Toscano
863da7ba3e
less qt3_support
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=526826
20 years ago
Pino Toscano
6b64c65489
A little bit of porting.
...
I don't understand yet why sometimes the presentation more works and sometimes it crashes... it needs a better investigation...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=526129
20 years ago
Pino Toscano
90d9ab5ba2
improve a bit
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=525403
20 years ago
Pino Toscano
11d5e77ff4
less qt3/kde3 support
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524525
20 years ago
Pino Toscano
4bd3b60d6c
less qt3_support
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524083
20 years ago
Pino Toscano
80f7e6b596
a bit of qt3/kde3 support less
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=523922
20 years ago
Pino Toscano
63c18ab06e
Make the oKular part and its shell compile and link.
...
Created a oKularcore lib, so the generators ca link to it, and made the oKularpart link to it too, of course.
Adapted the sources of the Okularpart to the new location for the generated settings.h.
svn path=/branches/work/kde4/playground/graphics/okular/; revision=523729
20 years ago
Albert Astals Cid
2ac0ac6300
some more files that compile
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522229
20 years ago
Laurent Montel
eadc305fd6
Fix with new kdelibs api
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=521415
20 years ago
Laurent Montel
eca207329e
Deprecated--
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=506839
20 years ago
Albert Astals Cid
6925c8a70b
fordwardport r484782
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=484783
21 years ago
Laurent Montel
b734531e6f
qt3support-- / warning--
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=479237
21 years ago
Piotr Szymanski
d09fd28b89
- MERGE KPDF 3.5 CHANGES
...
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=477586
21 years ago
Laurent Montel
c5d7103800
Qt3support--
...
svn path=/trunk/KDE/kdegraphics/kpdf/; revision=474742
21 years ago