Commit graph

12 commits

Author SHA1 Message Date
Enrico Ros 5b60da8d57 tiny update
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=354546
2004-10-14 20:21:59 +00:00
Enrico Ros 424eb8944c Misc cleanups pending on my hd.
slotSetCurrentPagePosition -> slotSetCurrentPageViewport. Not completely
implemented but working. After implementation clicking on links will do the
right job on the viewport.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=353365
2004-10-10 13:21:30 +00:00
Albert Astals Cid eaf63d6e19 QCursor::pos() -> e->globalPos()
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=353353
2004-10-10 12:42:42 +00:00
Enrico Ros cc7d8b676d Reworked the KPDFLink class. Links are functional now. TOC is working.
Only Movies and (XPDF's) LinkDestKind (that defines 'anchor place' for
link destination) aren't implemented as of now.
Fixed a bug in text selection. This commit will probably generate a fake
unsafe warning. Note: I'm committing from work :-P
CCMAIL: tsdgeos@terra.es

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=353078
2004-10-09 08:10:56 +00:00
Enrico Ros 5bcd5ea4a7 Quick implementation of text selection (note: text is printed to stderr):
- KPDFPage: added a method to retrieve the text that is inside a rect from
    the embedded TextPage.
- PageWidget: (GFX) added methods to set the 1st (placed on click) and 2nd
    (placed on drag) corners of the selection area.
- PageView: A) set first corner on click, B) second on moves, C) retrieve
    text inside the rectangle on release.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=352751
2004-10-07 20:34:27 +00:00
Enrico Ros e058e60858 Small pending things. ++Link handling (~70% done now). New: Hands-free
reading (well, this could also be called view-auto-scrolling :-). The
behavior is *exactly* the same we have in konqueror but we use actions, so
shortcuts are configurable. Shift+Up/Down sets scroll speed. Ctrl/Shift
suspend (toggle) scrolling, etc.. This is useful when used in "continous
single page mode".

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=352244
2004-10-06 00:05:49 +00:00
Enrico Ros 2695164b6e half link stuff foreported from head. Links are intercepted by our oDev and
stored as KPDFLink inside KPDFPage(s) :-). What we have now: links are
detected when hovering them on a page eve in multiple-pages-per-view mode.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=351190
2004-10-02 14:30:30 +00:00
Enrico Ros d905b1fd0b Single page mode back to work laying out in the qscrollview only current
page, hiding others and redefining contents area. Bookmark action moved to
document, that updates observers state after each operation. Many fixes in
pageview. Pixmapwidget returns a const KPDFPage*. No scroll-on-drag and
go-to-page only with left click onThumbnailList. Starting to reorganize
PageView events (link test with cursor changing on page sample impl.).

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=350583
2004-09-30 18:16:12 +00:00
Enrico Ros 5304e774b1 Zoom actions keep synced (text/checked state/etc.) each other and with
current page. Also displays the real zoom percentage for current page on
ZoomFit{Width,Page,Text}.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=350578
2004-09-30 18:04:09 +00:00
Enrico Ros 9ae96a86bf mainly fixes. (starting rmb on page and bookmarking)
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=349991
2004-09-28 13:53:47 +00:00
Enrico Ros 4175f13552 Continous/2-up modes done! :-) Need cleanups/smarter reLayouts but it's
fully functional now. Better and faster graphics in PageView and
ThumbnailList. I need the memory manager now.. mmm..

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=349849
2004-09-27 21:36:25 +00:00
Enrico Ros 40cb0b1c93 NEW: Continous mode + multiple pages per view + break up what was working.
Code in thumbnail.* is ported into pixmapwidget and shared with a new class
that renders the page inside the (also new) pageview that borns over the
old kpdf_pagewidget class.
This commit features a 'state of the art' working-by-chance, buggy,
segfault prone view-layout algo.. :-) maybe that's stuff to fix soon!!

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=349598
2004-09-26 23:39:39 +00:00