Commit graph

436 commits

Author SHA1 Message Date
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
cb68d1a905 Bring back printing to kpdf_experiments (last commit whitout log did that too, sorry :-()
Update xpdf/ with some changes from head

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360216
2004-11-03 21:42:32 +00:00
nobody
da7b8eae56 This commit was manufactured by cvs2svn to create branch
'kpdf_experiments'.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360215
2004-11-03 21:42:32 +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
Enrico Ros
da9dd025e5 Removed shared PixmapWidget class (obsoleted with new PageView design).
A small and fast ThumbnailWidget imported into ThumbnailList.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359114
2004-10-30 22:12:25 +00:00
Enrico Ros
a9ab386752 PageView rewrite: new paint logic. Supports internal composting and direct
drawing (to support transparency without overlay hacks and blend in notes
and other stuff). I'm sure this can be simplified a lot, but I can't see
how to cut code now. ThumbnailList still has the old code.
Now we have no wasted repaints. Also per-page allocated memory is less. Now
we need more repaints, since the viewport gfx looks broken. I hope not to
revert this, but find a unique short way to describe composted gfx ops.
Note: there is a swith in config to switch between plain and composted
rendering engines.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359096
2004-10-30 20:54:48 +00:00
Enrico Ros
c16dd07b6c Cleanup 1. Following kdebase/kicker/HACKING. Removed atTop/Bottom and
scrollUp/Down. Little portions of them moved where needed.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358868
2004-10-29 21:52:06 +00:00
Enrico Ros
ba4aa37060 Rework the drawing concept to gain speed and reduce memory usage.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358849
2004-10-29 20:50:01 +00:00
Enrico Ros
624f0bed8f option to disable 'useful' messages on screen. (pageview's osd)
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358845
2004-10-29 20:20:21 +00:00
Enrico Ros
a4cccdb4eb Removed saveSettings and use in place "Settings::setVariable(..)" instead.
(way more consistant) Removed duplicate values. Apply settings in Part's
slotNewConfig() on the fly.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358760
2004-10-29 13:33:51 +00:00
Enrico Ros
69166fa927 Search widget using KConfigXT (removed actions/save params).
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358712
2004-10-29 10:32:25 +00:00
Enrico Ros
6dfa03a9fb reorganized some options
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358711
2004-10-29 10:28:29 +00:00
Enrico Ros
b898560a67 ported some old options
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358710
2004-10-29 10:23:12 +00:00
Enrico Ros
b0916046d1 --merging_locks; 6 items remaining.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358604
2004-10-28 20:02:50 +00:00
Enrico Ros
8a1bc22d92 Test inverting output.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358600
2004-10-28 19:52:33 +00:00
Enrico Ros
93fc5f2e3c Added accessibility settings. We should take care of rendering/color
problems for partially blind and similar problems or even simple annoyances

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358599
2004-10-28 19:50:57 +00:00
Dirk Mueller
a00e614670 fix checks again
svn path=/trunk/kdegraphics/kpdf/; revision=358461
2004-10-28 09:56:24 +00:00
Dirk Mueller
641a251ea9 the "unbreak integer overflow checks". *sigh*, never trust a patch from suse.
svn path=/trunk/kdegraphics/kpdf/; revision=358427
2004-10-28 08:08:45 +00:00
Stephan Binner
a5bcf55724 CVS_SILENT i18n style guide fix
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358268
2004-10-27 18:27:38 +00:00
Enrico Ros
d3e5ddc676 Added "Configure KPDF" to the menu.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358213
2004-10-27 14:15:53 +00:00
Enrico Ros
d13696ed7f Linked KConfigXT config system.
Added an empty config dialog via menu->settings->Configure KPDF.
Ported old settings to the standard KConfigXT framework.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358212
2004-10-27 14:15:27 +00:00
Enrico Ros
860d83c7e9 Converted configuration settings to KConfigXT. Internal save/write ops
ported.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358208
2004-10-27 14:13:17 +00:00
Enrico Ros
580c3b6082 Added KConfigXT configuration management system.
The config class is Settings. Mutators are static.
Define new properties editing kpdf.kcfg with kdeextragear-3/kcfgcreator and
use setProperty( Type val ) and (val)property() to set/get property value.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358206
2004-10-27 14:10:57 +00:00