1. 30 Oct, 2004 2 commits
    • Enrico Ros's avatar
      Removed shared PixmapWidget class (obsoleted with new PageView design). · da9dd025
      Enrico Ros authored
      A small and fast ThumbnailWidget imported into ThumbnailList.
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359114
    • Enrico Ros's avatar
      PageView rewrite: new paint logic. Supports internal composting and direct · a9ab3867
      Enrico Ros authored
      drawing (to support transparency without overlay hacks and blend in notes
      and other stuff). I'm sure this can be simplified a lot, but I can't see
      how to cut code now. ThumbnailList still has the old code.
      Now we have no wasted repaints. Also per-page allocated memory is less. Now
      we need more repaints, since the viewport gfx looks broken. I hope not to
      revert this, but find a unique short way to describe composted gfx ops.
      Note: there is a swith in config to switch between plain and composted
      rendering engines.
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359096
  2. 28 Oct, 2004 1 commit
  3. 24 Oct, 2004 1 commit
    • Enrico Ros's avatar
      1) Dealing with the QScrollView (introduced for continous navigation) is a · f8dfcf32
      Enrico Ros authored
      real PITA. Tons of unneeded repaints are casted everywhere, even when
      hiding or covering widgets.
      Here we fix a big-bad-bug that repainted all the already viewed pages on
      a zoom operation. That means that if zooming on a page after viewing 150
      pages, then *at least* 150 pages got repainted :-(.
      Tried to disable clipper(), but got weird results.
      2) Adding devel only debug code to check for a possible bug Aaron told me,
      but I actually wasn't unable to reproduce.
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=357273
  4. 07 Oct, 2004 1 commit
    • Enrico Ros's avatar
      Quick implementation of text selection (note: text is printed to stderr): · 5bcd5ea4
      Enrico Ros authored
      - 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
  5. 30 Sep, 2004 2 commits
    • Enrico Ros's avatar
      Single page mode back to work laying out in the qscrollview only current · d905b1fd
      Enrico Ros authored
      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
    • Enrico Ros's avatar
      Zoom actions keep synced (text/checked state/etc.) each other and with · 5304e774
      Enrico Ros authored
      current page. Also displays the real zoom percentage for current page on
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=350578
  6. 28 Sep, 2004 1 commit
  7. 27 Sep, 2004 1 commit
  8. 26 Sep, 2004 1 commit
    • Enrico Ros's avatar
      NEW: Continous mode + multiple pages per view + break up what was working. · 40cb0b1c
      Enrico Ros authored
      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