Commit graph

31 commits

Author SHA1 Message Date
Pino Toscano
8def2109ec change the metaData() function of the Generator to use QVariant as type for the returned value and for the 'option' parameter, this gives more flexibility
svn path=/trunk/playground/graphics/okular/; revision=599847
2006-10-28 19:18:36 +00:00
Pino Toscano
1fabb1880d rename setSelected to setCurrent, as it clashes with a new function of Qt4.2
svn path=/trunk/playground/graphics/okular/; revision=597727
2006-10-21 13:11:43 +00:00
Pino Toscano
20947b2e8d much like the other side panes
svn path=/trunk/playground/graphics/okular/; revision=595366
2006-10-14 08:52:34 +00:00
Tobias Koenig
df7d144c10 Moved all classes in core/ into the 'Okular' namespace and removed
nearly all references to kpdf (knewstuff still missing).

svn path=/trunk/playground/graphics/okular/; revision=586993
2006-09-21 08:45:36 +00:00
Laurent Montel
95486afabf clear button is not necessary it's into klineeedit now
svn path=/trunk/playground/graphics/okular/; revision=586807
2006-09-20 16:55:05 +00:00
Dirk Mueller
3c092edf3f if tmp can be null then m_current can be as well (CID 2644)
svn path=/trunk/playground/graphics/okular/; revision=580808
2006-09-04 14:57:39 +00:00
Pino Toscano
cc447bd3dc use the layout direction of the parent treewidget
svn path=/trunk/playground/graphics/okular/; revision=561525
2006-07-12 11:16:20 +00:00
Pino Toscano
a73c1d14a1 don't exclude ourself when setting a new viewport
svn path=/trunk/playground/graphics/okular/; revision=558490
2006-07-05 13:34:16 +00:00
Pino Toscano
8f32edb95e Make the TOC highlight (well, just indicate with an arrow for the moment) the first entry for the current page.
Implements bug #127358.

svn path=/trunk/playground/graphics/okular/; revision=553236
2006-06-20 13:59:08 +00:00
Pino Toscano
639039e791 Now TOC is a simple widget, with the treewiget inside.
Added a search lineedit (and a clear button) to search into the document toc. Implements KPDF's wish #99349.

svn path=/branches/work/kde4/playground/graphics/okular/; revision=545972
2006-05-28 17:27:24 +00:00
Pino Toscano
880561c3ab port the TOC widget to QListWidget
svn path=/branches/work/kde4/playground/graphics/okular/; revision=542450
2006-05-19 11:32:08 +00:00
Pino Toscano
63c18ab06e Make the oKular part and its shell compile and link.
Created a oKularcore lib, so the generators ca link to it, and made the oKularpart link to it too, of course.
Adapted the sources of the Okularpart to the new location for the generated settings.h.

svn path=/branches/work/kde4/playground/graphics/okular/; revision=523729
2006-03-28 22:22:10 +00:00
Albert Astals Cid
b61b6e2f22 some fixes more, able to see pdf already
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522382
2006-03-25 11:45:16 +00:00
Pino Toscano
8b41489e2f porting
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522251
2006-03-24 21:31:46 +00:00
Albert Astals Cid
ec923ec701 compile some more files
svn path=/branches/work/kde4/playground/graphics/okular/; revision=521912
2006-03-23 20:43:38 +00:00
Albert Astals Cid
3e168cfd07 branchport r511281
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=511282
2006-02-19 13:36:28 +00:00
Albert Astals Cid
6c6a1ac522 branchport r510876
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=510882
2006-02-18 12:06:52 +00:00
Piotr Szymanski
d09fd28b89 - MERGE KPDF 3.5 CHANGES
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=477586
2005-11-04 11:59:51 +00:00
Piotr Szymanski
36ab5c8965 - make generators plugins by:
* moving all xpdf stuff from core and part to inside generator_pdf
   * adding abstract KPDFText class and KPDFTextEntity to hold either
     glyph, or word or textline
- support for importing PS files as pdf like on annots branch
- synced with annots branch
- abstract text layer with search for words in different lines
- added RegularArea<NormalizedShape,Shape> template class
  which inherits QValueList<NormalizedShape*> and is used
  to hold regular areas of given shape (finite collections of the shape)
- loading of relevant generators via ktrader for given mimetype
- the deliverables 1 and 2 of my SoC proposition are delivered
  next: 1. fix one spotted regression and 2. code ghostview backend


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=434883
2005-07-15 18:20:57 +00:00
Piotr Szymanski
369803e65b - forwardport the support for external linkage in toc
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=434864
2005-07-15 17:32:46 +00:00
Piotr Szymanski
6e8a08f692 - make the Page column in TOC configurable with secret config option instead of compile time switch
- mark one function to remove later
- add one more category to desktop file to be more vfolders compliant

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=431970
2005-07-05 19:10:48 +00:00
Enrico Ros
8397b0cd94 applying patch_107
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425010
2005-06-13 16:35:31 +00:00
Enrico Ros
8e9cce23ba applying patch_104
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425008
2005-06-13 16:34:07 +00:00
Enrico Ros
ae8e9ee187 applying patch_101
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425007
2005-06-13 16:32:59 +00:00
Enrico Ros
d4fd6d62c3 Typo fix on Direct Viewport links. DOM is cool and attribute names must match.
svn path=/trunk/kdegraphics/kpdf/; revision=377246
2005-01-10 18:28:32 +00:00
Enrico Ros
3bf154b57d Viewport: fixes, setViewport( vp, id ) excludes id from the notified
bodies. Optimized fit width and a saved a couple of pixmap requests. Busy
cursor on load and searches.

svn path=/trunk/kdegraphics/kpdf/; revision=377152
2005-01-10 13:43:44 +00:00
Enrico Ros
6dd95c9e06 Viewport MOD 1. Implemented the DocumentViewport class, owned by Document.
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
2005-01-09 23:37:07 +00:00
Enrico Ros
e06c3f4c18 FixCrash 2/3: getMetaData modified. mutex locks. performance fix for TOC
generation (was 50 times slower after the all-in-one generation patch)

svn path=/trunk/kdegraphics/kpdf/; revision=376083
2005-01-07 13:07:29 +00:00
Enrico Ros
d983cfdd76 Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico
Moved KPDFDocumentObserver in its own include file. Updated dependancies.

svn path=/trunk/kdegraphics/kpdf/; revision=374928
2005-01-02 14:55:14 +00:00
Enrico Ros
eee2673370 Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico
File namings change.

svn path=/trunk/kdegraphics/kpdf/; revision=374924
2005-01-02 14:37:49 +00:00
Enrico Ros
ffe8ddaf9d Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico

svn path=/trunk/kdegraphics/kpdf/; revision=374920
2005-01-02 14:19:33 +00:00