1. 18 Feb, 2005 1 commit
    • Enrico Ros's avatar
      Adding support for annotations in framework. Only need to add and · fbc7d450
      Enrico Ros authored
      implement annotations now (and create the save/load procedure).
      
      Annotations: converging to a stable Annotation definition. Changed a bit
        the paint functions. Added a first 'template' annotation, a simple
        pen-like segments recorder for framework testing purposes only. This
        has events filters in place and the rough paint function implemented.
      
      PageView: removed the MouseEdit mode and using that button for toggling
        the editToolBox instead. Added Annotation support. When the Annotation
        is created, all pageView events flow through that new object. Repaint
        of damaged/old areas is done internally and is based on the geometry
        of the annotation we're creating. When an Annotation is complete, it
        is reparented to the Page that adds it to its internal list.
        From that point on the annotation will be rendered by pagePainter
        using the pixmap-based paint function provided by the annotation
        itself.
      
      PagePainter: draws annotations stored in pages when rendering (using the
        'rought paint function' till the good pixmap based one will be in
        place.
      
      Page: added preliminary support for adding Annotation(s) to the page
        and deleting them all.
      
      Document: added the pass-through call to add an Annotation to the Page
        and notify observers.
      
      PageViewToolbox: can be draged and attached to any side. Position is
        remembered between runs (choose your side and that the toolbox will
        always be there). Available on Right and Bottom sides too. Emits -1
        when the current tool is deselected.
      
      Misc: added Annotations to both the 'observers changed flags' and the
        'pagepainter' ones and updated ui classes accordingly.
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=390638
      fbc7d450
  2. 12 Feb, 2005 3 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
      CVS_SILENT Updated about 'kpdf_annotations' branch creation. · 7883b068
      Enrico Ros authored
      svn path=/trunk/kdegraphics/kpdf/; revision=388687
      7883b068
    • Enrico Ros's avatar
      Fixing the "can't hide left panel" bug. · c4ecddd1
      Enrico Ros authored
      svn path=/trunk/kdegraphics/kpdf/; revision=388679
      c4ecddd1
  3. 11 Feb, 2005 1 commit
    • Dirk Mueller's avatar
      fix compile · f8c1e832
      Dirk Mueller authored
      svn path=/trunk/kdegraphics/kpdf/; revision=388502
      f8c1e832
  4. 09 Feb, 2005 2 commits
  5. 08 Feb, 2005 1 commit
  6. 05 Feb, 2005 2 commits
  7. 04 Feb, 2005 1 commit
  8. 03 Feb, 2005 1 commit
  9. 02 Feb, 2005 2 commits
  10. 01 Feb, 2005 6 commits
  11. 31 Jan, 2005 2 commits
  12. 30 Jan, 2005 2 commits
  13. 29 Jan, 2005 1 commit
  14. 28 Jan, 2005 6 commits
  15. 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
  16. 26 Jan, 2005 1 commit
    • Enrico Ros's avatar
      Added the MiniBar class, a layouted widget that displays current page · e65c7058
      Enrico Ros authored
       number, the total number of pages and a little grahical 'progress'
       indicator. Moved 'next page' and 'prev page' buttons from the main toolbar
       to the MiniBar. Minibar lets you edit the page number, click or wheel on
       progress, go to next/prev page, show the gotoPage dialog.
      Added rmb popup when clicking on thumbnails. When clicking, the
       ThumbnailList only emits the same signal emitted by PageView so the same
       context menu is displayed.
      Misc fixes: [MEM] enabled allocated pages raising in queue when displayed
       again, [ThumbnailList] enabled PageUp/PageDown.
      
      svn path=/trunk/kdegraphics/kpdf/; revision=382597
      e65c7058
  17. 24 Jan, 2005 2 commits
  18. 23 Jan, 2005 3 commits
  19. 21 Jan, 2005 2 commits