1. 13 Jun, 2005 5 commits
  2. 01 Apr, 2005 1 commit
  3. 24 Mar, 2005 1 commit
  4. 05 Mar, 2005 1 commit
  5. 20 Feb, 2005 1 commit
  6. 16 Feb, 2005 1 commit
    • Albert Astals Cid's avatar
      Delay the calculation of m_width and m_height (and all its associated things)... · fa67d667
      Albert Astals Cid authored
      Delay the calculation of m_width and m_height (and all its associated things) until first time the widget is shown (paintEvent), doing KGlobalSettings::desktopGeometry(this); in PresentationWidget::PresentationWidget always returns the geometry of the first screen, so it must be done in paintEvent (for example), where the widget has already been shown and KGlobalSettings::desktopGeometry(this); returns the geometry of the correct screen.
      Thanks to Olaf Bonorden for the patch testing
      BUGS: 97347
      
      svn path=/trunk/kdegraphics/kpdf/; revision=389970
      fa67d667
  7. 12 Feb, 2005 2 commits
    • Enrico Ros's avatar
      Opening kdpf_annotations branch. Code changes: · 451a3091
      Enrico Ros authored
       User Interface: added a toolbox for selecting an annotation tool without
         polluting the toolbar (pageviewtoolbox animated widget). Icons of that
         toolbar are gimped version of ones in nuvola icontheme.
       Core: added annotation class. this will support all features (except for
         silly ones (really there are some!)) from pdf 1.6 specs but abstracted
         in the kdpf way. (api changes in progress...)
      
      About annotations: only some incomplete interfaces are in plasefor now.
      Every type of pdf annotations has tens of parameters. I think we'll render
      correctly everything but provide only simple and useful tools for making
      annotations over the pages, otherwise a 'Qt designer like' property view
      will be required to do fine adjustment over the crappy thousands of
      settings. (and we're aiming at a quick and simple viewer with lots of
      coolness, not chaos).
      
      Note: the code has been wrongly committed to HEAD before,but soon reverted.
      Have fun!
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=388768
      451a3091
    • Enrico Ros's avatar
      Added missing 'viewportchanged' notify for runtime added observers. · bea47b52
      Enrico Ros authored
      Fixes bad sync between viewports. (thanks to Tobias K. for the suggestion)
      
      svn path=/trunk/kdegraphics/kpdf/; revision=388758
      bea47b52
  8. 01 Feb, 2005 1 commit
  9. 28 Jan, 2005 1 commit
  10. 27 Jan, 2005 1 commit
    • Enrico Ros's avatar
      Implemented history (implementation is inside Document. actions (2) are in · 93c1d384
      Enrico Ros authored
       Part). Implemented 'history (xpdf's LinkAction) links'. History depth is
       100 steps by default (this is enough for sure, clicking 100 times on a
       button is not an easy task :-).
      
      Minor issues (removed half TODOs in code, all FIXMEs are already removed):
      Invoke mailer on 'mailto:' links inst instead of konqueror.
      Actions cleanup: disable actions like 'print', 'preview', 'save to..', etc
       when there isn't an active document. Added history actions to the toolbar
       in place of the 'prev_page' and 'next_page' ones. Fixed open+open_recent
       action tooltip and behavior.
      Move definition and implementation of PagePainter class to ui/pagepainter
       from core/page.
      Valgrinded and leakchecked (2 memory leaks spotted and fixed (missing
       contents deletion in KPDFGeneratorThread and missing deletion of
       PixmapRequests on cancel in Document::requestPixmaps())).
      
      svn path=/trunk/kdegraphics/kpdf/; revision=382960
      93c1d384
  11. 24 Jan, 2005 1 commit
  12. 18 Jan, 2005 1 commit
    • Enrico Ros's avatar
      For Users: · 962f891b
      Enrico Ros authored
      Display contents faster, waste less memory. Added preloading to forward-
      generate pages (if threading enabled and memory profile >= normal). Main
      pages are always generated first, then thumbnails come, then preload ones,
      etc.. Btw memory and cpu will be happier now.
      (1 bug in memory and 1 in preloading still remains.. will be spotted soon)
      
      For Developers:
      Generator: dropped moc, api changes, better functions naming.
      PDFGenerator and Document: moved requests queue to the Document.
         The generator performs only a single request a time. A flag can be
         queried to know if the generator is ready for starting another pixmap
         generation or not (in case it's generating a pixmap in background).
      PixmapRequest: added priority and backgound (async) attributes.
      Document: queuing requests by priority in requestPixmaps.
      Observer: added defines for priorities used in doc->requestpixmaps.
      PageView: delayed find-ahead timer creation (not created if not needed).
         Added preload PixmapRequests to the pixmap requests list.
      ThumbnailsList: adapted to pixmapRequest changes and changed naming for
         delayed thumbanils request.
      
      svn path=/trunk/kdegraphics/kpdf/; revision=379820
      962f891b
  13. 11 Jan, 2005 1 commit
  14. 10 Jan, 2005 2 commits
  15. 09 Jan, 2005 2 commits
    • Enrico Ros's avatar
      Viewport MOD 1. Implemented the DocumentViewport class, owned by Document. · 6dd95c9e
      Enrico Ros authored
      A const reference may be asked. When set all DocumentObservers will be
      notified so they can update their gfx if needed. Converted TOC, Links
      to the new usage. DocumentViewport can be saved/restored to/from QString
      so it can be asked as metadata and saved on document's XML. When loading
      a document the viewport is restored exactly where it was when the document
      was closed. More fixes with Viewport class. Swapped groupboxes in Perform
      dialog. Changed members naming in DocumentObservers and inherited classes.
      PageView and ThumbnailsList now linked.
      
      Still regressions / TODOs about the Viewport thing.
      
      svn path=/trunk/kdegraphics/kpdf/; revision=377066
      6dd95c9e
    • Tobias Koenig's avatar
      Add some variants of the basic transitions to the default transition menu. · 3e317aab
      Tobias Koenig authored
      svn path=/trunk/kdegraphics/kpdf/; revision=377061
      3e317aab
  16. 08 Jan, 2005 1 commit
  17. 03 Jan, 2005 2 commits
    • Tobias Koenig's avatar
      Add some nice features for presentation mode: · 98000ff9
      Tobias Koenig authored
        - cursor modes: visible, hidden, hidden with delay
        - automatic advance
        - loop on last page
        - default transition
      
      I know it's quite late in the release cycle, but the code is stable and kpdf rocks!
      
      svn path=/trunk/kdegraphics/kpdf/; revision=375353
      98000ff9
    • Enrico Ros's avatar
      Added a bottom toolbar to the thumbnailsList to enable/disable thumbnails · 208b6a5c
      Enrico Ros authored
      filtering and similar options (toolbar is not created now). Changed
      Document::openDocument(..) functions order. Restore last active page when
      opening an already viewed pdf. Fix margins around pages in all modes.
      Presentation: page change by clicking on the round 'wheel' indicator too.
      Updated TODO.
      
      svn path=/trunk/kdegraphics/kpdf/; revision=375229
      208b6a5c
  18. 02 Jan, 2005 5 commits