1. 16 Apr, 2005 1 commit
    • Enrico Ros's avatar
      KPDF HotNewStuff Browser! · 7b6b7a35
      Enrico Ros authored
      It's not yet complete (file dowload and internal notifies are missing) but
      the new stuff browser is running. The ui is modeled on an Aaron's mockup.
      
      NewStuff:
        Fetches the providers list (kpdf.kde.org/newstuff/providers.xml), lets
        the user select a provider and displays provider's contents in a KHMTL
        part (for flexibility and eye candy).
        Internally we use KNS' Entry and Provider structures only, doing all the
        transfer operations by hand via KIO::get jobs. Download will be done
        internally too (to give better consistancy in the interface).
        Network timeouts, problems or info messages are notified in a statusbar-
        like widget and we try to keep all information in the dialog, without
        using messageBoxes
      
      Part:
        Added the action and the dialog invocation
      
      Makefiles:
        Link the KNEWSTUFF and KHTML libraries.
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405828
      7b6b7a35
  2. 13 Mar, 2005 1 commit
    • Enrico Ros's avatar
      Document, Page: · 9023b05e
      Enrico Ros authored
        Changed loadDocumentInfo/saveDocumentInfo semantics. Document settings
        are saved by Document, but page related stuff (bookmark state,
        annotations, ...) are loaded/saved by the KPDFPage itself.
      Annotation:
        Better usage of dom entities (QDomElement(s) -> QDomNode(s)). Added const
        modifier to 'saveSettings' methods.
      Part:
        Use setCheckedState for the show/hide left panel menu entry. Use icon
        too. Bumped .rc revision.
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=397236
      9023b05e
  3. 12 Mar, 2005 1 commit
  4. 05 Mar, 2005 1 commit
  5. 20 Feb, 2005 1 commit
  6. 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
  7. 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
      SHAME ON ME! messed up with cervisia. Undoing my last commit: I supposed to · 5341583f
      Enrico Ros authored
      be committing on the branch..
      
      svn path=/trunk/kdegraphics/kpdf/; revision=388705
      5341583f
    • Enrico Ros's avatar
      Opening kdpf_annotations branch. Code changes: · a9a312da
      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).
      Have fun!
      
      svn path=/trunk/kdegraphics/kpdf/; revision=388699
      a9a312da
  8. 31 Jan, 2005 1 commit
  9. 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
  10. 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
  11. 19 Jan, 2005 1 commit
  12. 11 Jan, 2005 1 commit
    • Albert Astals Cid's avatar
      Add a slotRequestVisiblePixmaps() that fixes the problem of pixmap not... · 0ff32c4d
      Albert Astals Cid authored
      Add a slotRequestVisiblePixmaps() that fixes the problem of pixmap not updating when going/returning from full screen mode with fit to page and non continuos mode. Enrico please check is not a VERY BAD THING to do it there
      Add some accelerators
      Plug the actions that change the mouse behaviour into a menu as everything should be menu accesible
      Put the F9 in the KACtion creator
      
      svn path=/trunk/kdegraphics/kpdf/; revision=377533
      0ff32c4d
  13. 04 Jan, 2005 1 commit