Commit graph

349 commits

Author SHA1 Message Date
Albert Astals Cid
326a111b38 Credit the icon artist
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=363533
2004-11-16 22:07:42 +00:00
Albert Astals Cid
313715c0aa New icons :-)
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=363531
2004-11-16 21:58:05 +00:00
nobody
ebcada034c This commit was manufactured by cvs2svn to create branch
'kpdf_experiments'.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=363529
2004-11-16 21:49:35 +00:00
Albert Astals Cid
3f8031bb7f New icons!!! rejoice :-)
svn path=/trunk/kdegraphics/kpdf/; revision=363528
2004-11-16 21:49:35 +00:00
Enrico Ros
6a175f7669 Merged Selection tools: a popup asks wether to save/copy text or gfx.
Added 'continous zooming' using mid mouse button. Clipped selections to
viewport. Fixed a bad rounded float-to-int conversion (gives more pixel
precision in zooming).
CCMAIL: burellil@dei.unipd.it

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=363468
2004-11-16 17:36:02 +00:00
Enrico Ros
f962069ac3 Small mods. Thanks to Hasso Tepper for fixing typo.
Added a disabled field for setting number of columns. Having dozens of
pages displayed on screen looks somewhat cool!

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=363465
2004-11-16 17:30:44 +00:00
Hasso Tepper
118a096a1b Typo.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=363444
2004-11-16 15:22:09 +00:00
Enrico Ros
7befe4e9f6 Fix switching Paper color on the fly. Fix clearing viewport when can't open
a document. Fix countour drawing on links and images. Synced TODO.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=362414
2004-11-12 10:58:33 +00:00
Enrico Ros
79412e732e Added suggestion from Mikolaj Machowski on things to do before merging into
HEAD.
CCMAIL: mikmach@wp.pl

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=362302
2004-11-11 20:14:39 +00:00
Enrico Ros
d9ac0cfcd1 Usability fix. Set initial focus on PageView.
CCMAIL: zanettea@dei.unipd.it

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=362051
2004-11-10 17:08:46 +00:00
Enrico Ros
b1ad685b54 Small API fixes. Preparing for mem-manager / async-gen. Removed KPDFDocument
dependancy from QObject. Kpdf_Part is now a Document Observer (only monitors
page changes to update actions).
Modified Accessibility(Recolor) settings and config dialog, fixed a bug,
page color change on-the-fly (pixmap refresh mechanism to add..).

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361759
2004-11-09 17:20:19 +00:00
Enrico Ros
49438a20f6 Performance fixes. Using pixmap backbuffer only if needed (and compositing
not explicitely disabled). Thus global compositing on PageView is used
only when needed. Considering wether to add a global accessibility enabling
function with a "This will affect performance" (due to local
doublebuffering) warning.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361453
2004-11-08 13:13:46 +00:00
Enrico Ros
5c80b0d140 misc
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361223
2004-11-07 17:16:04 +00:00
Enrico Ros
4baa91df5a PagePainter: painting code for images/links boundaries and added a flag for
enabling painting features. Adapt PageView and ThumbnailList to use flags
(PageView: all on, ThumbnailList: no links/images boundaries.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361183
2004-11-07 14:15:33 +00:00
Enrico Ros
ab5fd168d6 Leakfix! Option to disable KPDFActiveRects generation. Optimize.
@style: kebase/kicker/HACKING.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361181
2004-11-07 14:07:08 +00:00
Enrico Ros
a0dfb62075 update ThumbnailList's ThumbnailWidgets when changing rendermode.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361149
2004-11-07 11:20:27 +00:00
Enrico Ros
3e6c935658 fix crash
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360890
2004-11-06 01:48:52 +00:00
Enrico Ros
02b2170469 paint code unified.. but there is more to do..
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360888
2004-11-06 01:19:35 +00:00
Enrico Ros
a02490d1eb Decoupling drawing code and KPDFPage class. Work to get a common and shared
rendering function is underway ...

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360883
2004-11-06 00:56:55 +00:00
Enrico Ros
3596d8ae9a Implemented page recoloring (invert, recolor, bw/contrast, etc..) and small
fixes. Need to find a better place for painting / compositing related
stuff.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360780
2004-11-05 18:14:20 +00:00
Enrico Ros
b2db35fb96 Added license. Sorry for the WARNING.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360664
2004-11-05 10:51:49 +00:00
Enrico Ros
c051a6d137 Added 'performance' dialog. Code still not in place. Need to implement all
options now. Changed some options inside kpdf.kcfg (KConfigXT configuration
description).

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360658
2004-11-05 10:27:38 +00:00
Enrico Ros
0f7917bf94 Fixed saving remote files to disk. Added two more items in todo (not merge
blocking after all.. not bad thus).

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360586
2004-11-05 01:52:48 +00:00
Enrico Ros
dfcb9b7947 Fixed pageup/pagedn in 'single page' mode. Fixed Zoom Tool viewport
recenter. Larger step when zooming with high zoom values.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360570
2004-11-05 01:11:50 +00:00
Enrico Ros
934fdee66b Fix:Zoom flickerlessy and follows view type changes.
Minor:update outline too when pixmapChanged(). d->pages moved to d->items
and iterators updated accordingly.
headMergeBlocks--;

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360557
2004-11-05 00:14:00 +00:00
Albert Astals Cid
4fca42dd6d *** empty log message ***
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360211
2004-11-03 21:37:21 +00:00
Albert Astals Cid
7a49f107ea Errors that can happen inside PSOutputDev
svn path=/trunk/kdegraphics/kpdf/; revision=360191
2004-11-03 20:54:48 +00:00
Enrico Ros
89cd5a2fa6 o Removed the PageViewOverlay class (a hack that permitted transparent
selection) in favour of a new common selection code that uses internal
compositing engine.
o Added 'copy GFX' (in addition to the already existant 'copy text') with
a popup that asks user wether to copy to clipboard or save the image to
a file. (note: maybe a merge between selection tools (text/gfx) is
possible).
o The Zoom Tool is now a mouse mode, not a zoom mode.
o Tuned PageViewMessage class and added tips somewhere.
o Reorganized some actions and cleanup in mouse mode related code.
o Updated plans (roadmap to HEAD and new things) in TODO.
o And.. well, de don't deal with gardening anymore :-) Thanks Michael!
CCMAIL: brade@kde.org

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360144
2004-11-03 17:35:48 +00:00
Albert Astals Cid
a98ff329fb Bring the document to the page it was when the session was closed on session restore
FEATURE: 92503

svn path=/trunk/kdegraphics/kpdf/; revision=359686
2004-11-01 21:56:14 +00:00
Albert Astals Cid
03bbbaf2c4 Bring the document to the page it was when the session was closed on session restore
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359685
2004-11-01 21:56:08 +00:00
Albert Astals Cid
8bdea8daaf don't crash when not find the part
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359655
2004-11-01 19:06:27 +00:00
Albert Astals Cid
d2b7e02022 fix my fix
svn path=/trunk/kdegraphics/kpdf/; revision=359654
2004-11-01 19:05:03 +00:00
Albert Astals Cid
038a700462 Do not crash when we do not find the kpart
svn path=/trunk/kdegraphics/kpdf/; revision=359650
2004-11-01 18:53:04 +00:00
Albert Astals Cid
2cb22b69a2 Print PS and not images
Fixes 92204, backporting in a moment

svn path=/trunk/kdegraphics/kpdf/; revision=359628
2004-11-01 17:51:46 +00:00
Enrico Ros
333115db74 Stupid test - Funny code. Test for the new composting engine. Overlay on
top-left page corner composted incrementally with selection and bg.
3 layers. See screenshot:
http://robotics.dei.unipd.it/~koral/KDE/screenshots/kpdf_composting_incremental_overlayalpha.png

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359572
2004-11-01 15:09:30 +00:00
Enrico Ros
154907f8e6 check to see if it worths to subdivide area (aka incremental painting and
mainly used on selections / editing mode ops) or to use the original
rectangle

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359565
2004-11-01 14:37:15 +00:00
Enrico Ros
b4f6b0363c --TODO; in PageView. Fill with background only unpainted rects. (Uses
QRegion rects subdivision). Fixes 'flicker' in painting without Composting.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359561
2004-11-01 14:22:24 +00:00
Enrico Ros
8428e0dc33 getting farther from the merge to head. add real usability issues.
CCMAIL: zanettea@dei.unipd.it

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359557
2004-11-01 13:36:03 +00:00
Laurent Montel
819830de02 Add some dcop function
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359340
2004-10-31 18:40:31 +00:00
Laurent Montel
ce5ecd476a Sync menu and toolbar
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359337
2004-10-31 18:29:30 +00:00
Enrico Ros
99b1a2932e Update status and plans. Going to hunt some Ghosts and deadly kiss some
female vampires now!!!

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359326
2004-10-31 17:18:05 +00:00
Enrico Ros
6b2a79d908 Re-enabled link following.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359322
2004-10-31 17:12:52 +00:00
Enrico Ros
d9ac251972 Transparent selections. Optimized. Not, VERY optimized. Painted/cleared
incrementally in the paint loop (if Composting enabled). It's time to get
rid of the PageViewOverlay hack and use a common selection/overlay mode in
pageView. Don't be afraid,I'm not going to create Yet Another Paint App :-)

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359320
2004-10-31 17:04:04 +00:00
Enrico Ros
57572cc2e2 Incremental painting up and working with plain/composting renderers.
+Debug option in config dialog to toggle paint boundaries.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359276
2004-10-31 13:55:07 +00:00
Enrico Ros
3ec352b312 Getting deeper inside the paint stuff. Bypassed drawContents(..) and
reimplemented viewportPaintEvent(..). The region seems valid here, so we
can do incremental paint for every type of operation.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359251
2004-10-31 12:43:13 +00:00
Zack Rusin
2e8abb593c build with srcdir!=builddir
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359132
2004-10-31 00:54:16 +00:00
Enrico Ros
1708e5c7aa update progress to head merge: blocking_items += -2 +1;
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359130
2004-10-31 00:29:06 +00:00
Enrico Ros
6dbe0952df Fixing a bug(), zoom and repaint good.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359127
2004-10-30 23:59:09 +00:00
Enrico Ros
f68cf649d7 Fixing selection for zooms!=100%.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359121
2004-10-30 23:02:54 +00:00
Enrico Ros
7ba71e2bdd CVS_SILENT Remove obsoleted (and empty now) files. Major changes regarding
old contents of this files will happen in pageview*.cpp/.h now.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359115
2004-10-30 22:15:36 +00:00