Enrico Ros
e548f40439
Optimized syncronous thumbnails/pixmap loaders. Moved some actions from the
...
part to the two sub-widgets. Cleanups and commented stuff. I love comments.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=345701
22 years ago
Enrico Ros
712dd1e8c0
Reworked the page class. Added in-place (only a non-threaded quick test,
...
but will change soon!) thumbnail generator. Previews are shown and rescaled
smoothly. Some optimizations and fixes (over my buggy code :-P). kpdf rocks
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=345508
22 years ago
Enrico Ros
69bb375c49
Thumbnail and ThumbnailList classes completed. Optimized a lot! Too fast
...
now.. thre will be room for eye-candy in the future :-P. Drawing is scaled
via a qpainter xForm while resizing and a regeneration is performed
asyncronously when thumbnaillist's resizing is done.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=345459
22 years ago
Enrico Ros
daa42b1d56
The thumbnaillist is done. Supports pages subsets and autocenters current
...
page. Next comes thumbnails and document.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=345349
22 years ago
Albert Astals Cid
dc3fe14918
Setup the base fonts
...
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=345325
22 years ago
Albert Astals Cid
4dea29c911
Setup the base fonts, backporting in a moment
...
svn path=/trunk/kdegraphics/kpdf/; revision=345324
22 years ago
Enrico Ros
cc007b6ba5
A big performance enhance. Bypassed QTable and reimplemented QScrollview to
...
mimic the same behavior. Dynamic zooming previews.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=345314
22 years ago
Albert Astals Cid
7f8bc10a45
deactivate kmessagebox errors for now because if a thumbnail generation in threads causes an error it pops a kmessagebox and kills kpdf. Hope the experiments branch Enrico is working on will make that easier to fix
...
svn path=/trunk/kdegraphics/kpdf/; revision=345256
22 years ago
Enrico Ros
078b81b780
More cleanups and code refactoring. Changes: goToPage dialog, previews use
...
different ratio for pages, splitter between previews and page widgets.
_Part porting is nearly done..
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=345216
22 years ago
Adriaan de Groot
50cbd3999a
--enable-final fixes
...
svn path=/trunk/kdegraphics/kpdf/; revision=345113
22 years ago
Enrico Ros
9392dd2709
Break everything I can. (still compiles but I don't want it to do! :-).
...
Cleaned up a lot. Added 2 classes, reorganized the code. Also reindented
the part to please AACid's style. I'll resort some of the funcitonalities
soon. Plz, wait for the end of breakings before making changes.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=344958
22 years ago
Albert Astals Cid
871422cea1
Merge kpdf_part and part
...
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=344835
22 years ago
Albert Astals Cid
b8c2ee050f
QOutputDevKPrinter does not need to inherit from QOutputDev
...
Bye bye QOutputDevPixmap
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=344825
22 years ago
Albert Astals Cid
edf38cc6c0
Reindent thumbnailist to use tabs (i love tabs) and while at it make its 1 based (i mean first thumbnail is thumbnail number one) as all the rest of classes.
...
Also changes by Pinto made on head
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=344820
22 years ago
Henrique Pinto
9ce89f5ce6
Only show PDF documents in the "File"->"Open..." dialog.
...
svn path=/trunk/kdegraphics/kpdf/; revision=344804
22 years ago
Henrique Pinto
5f20b6095f
Use main thread's priority for the thumbnail generator threads, instead if LowPriority.
...
svn path=/trunk/kdegraphics/kpdf/; revision=344803
22 years ago
Henrique Pinto
da657127f2
I don't think I deserve copyright...
...
svn path=/trunk/kdegraphics/kpdf/; revision=344558
22 years ago
Enrico Ros
44783a7130
Few bits changed just to test the branch. First commit on kpdf_experiments.
...
The branch has been created by Albert Astals Cid and Enrico Ros to try to
rearrange the code of kpdf.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=344552
22 years ago
Enrico Ros
f6db5c9d56
Adding my wishes / todo entries. Will work on something soon.
...
svn path=/trunk/kdegraphics/kpdf/; revision=344336
22 years ago
Albert Astals Cid
420b8380b3
Increase thumbnail geneartion thread priority a bit, IdlePriority is so little priority some people were getting no thumbnail generated at all.
...
svn path=/trunk/kdegraphics/kpdf/; revision=344241
22 years ago
Albert Astals Cid
403ae96769
Reduce margins and spacing. Not backporting to the 3.3.x branch as is not critical.
...
CCMAIL:74437-done@bugs.kde.org
svn path=/trunk/kdegraphics/kpdf/; revision=344089
22 years ago
Albert Astals Cid
83d875d84f
some include removing
...
Update the nice design document Enrico produced
svn path=/trunk/kdegraphics/kpdf/; revision=344031
22 years ago
Albert Astals Cid
4d2969d57e
Thumbnail generation is now done inside a thread
...
Need testers before backporting it to 3.3.x so please test
svn path=/trunk/kdegraphics/kpdf/; revision=344025
22 years ago
Enrico Ros
3f84918a3c
Architecture of KPdf. 1st version.
...
svn path=/trunk/kdegraphics/kpdf/; revision=343936
22 years ago
Stephan Kulow
3546113c53
little misunderstanding it seems
...
CCMAIL: 78245@bugs.kde.org
svn path=/trunk/kdegraphics/kpdf/; revision=343893
22 years ago
Albert Astals Cid
3461b1d8dc
Take zoom into account to do the text selection rectangle.
...
svn path=/trunk/kdegraphics/kpdf/; revision=343885
22 years ago
Albert Astals Cid
6564886dc1
if some pages are landscape and others are not the most common win as kprinter does not accept a per page setting and it is not "fair" making the first page decide on what to do
...
svn path=/trunk/kdegraphics/kpdf/; revision=343838
22 years ago
Albert Astals Cid
deb6c55e8f
Make kpdf forward to kprinter the page orientation. That needs testing but it works for me (TM)
...
The printer.setOption("orientation-requested", "4"); to request Landscape when using a preview and not doing printer.setup() is really an undocumented feature of kprinter as printer.setOrientation(KPrinter::Landscape); only seems to work if you use kprinter::setup and set if BEFORE using that method
svn path=/trunk/kdegraphics/kpdf/; revision=343832
22 years ago
Albert Astals Cid
935003c022
Set the print margin to 0 as the pdf itself already has the margins
...
svn path=/trunk/kdegraphics/kpdf/; revision=343811
22 years ago
Albert Astals Cid
d40a570e87
*_COMPILE_FIRST is not needed now
...
use QPaintDevice::x11AppDpiY() for vertical dpi instead of QPaintDevice::x11AppDpiX()
svn path=/trunk/kdegraphics/kpdf/; revision=343763
22 years ago
Andrew Coles
d41e0ae37e
CVS_SILENT
...
22 years ago
Andrew Coles
02c6a2a458
Implemented a QMap to convert the xpdf error messages (containing typos) to
...
22 years ago
Albert Astals Cid
33be878fcf
No need to use m_zoomFactor when generating thumbnails
...
svn path=/trunk/kdegraphics/kpdf/; revision=343577
22 years ago
Albert Astals Cid
2ed87e32af
Commiting the patch for bug 82877 Sorry for not having seen it in bugs.kde.org
...
Thanks Antti
Backporting in a moment
CCMAIL:82887-done@bugs.kde.org
svn path=/trunk/kdegraphics/kpdf/; revision=343566
22 years ago
Albert Astals Cid
799ccf7a9d
improve thumb generation
...
svn path=/trunk/kdegraphics/kpdf/; revision=343539
22 years ago
Albert Astals Cid
7b31d03b60
do not touch please, read inside for explanation
...
CCMAIL:andrew_coles@yahoo.co.uk
svn path=/trunk/kdegraphics/kpdf/; revision=343533
22 years ago
Andrew Coles
bc2f16ae0d
CVS_SILENT
...
22 years ago
Script Kiddy
7c30c0440a
CVS_SILENT made messages
...
svn path=/trunk/kdegraphics/kpdf/; revision=342856
22 years ago
Albert Astals Cid
4808bde494
Improve searching
...
svn path=/trunk/kdegraphics/kpdf/; revision=342845
22 years ago
Stephan Binner
8892be2ed0
CVS_SILENT No copyright note for micro-usability fixes (can't remember functional changes for it)
...
svn path=/trunk/kdegraphics/kpdf/; revision=342424
22 years ago
Albert Astals Cid
a2464011f2
reuse some code
...
svn path=/trunk/kdegraphics/kpdf/; revision=342412
22 years ago
Albert Astals Cid
04263e716f
compile (i suck ¬.¬)
...
svn path=/trunk/kdegraphics/kpdf/; revision=342407
22 years ago
Albert Astals Cid
5bbcd7f771
#define HAVE_MKSTEMPS 1 as libkdefakes provides it
...
Some more checks so that we don't have any undefined warning
svn path=/trunk/kdegraphics/kpdf/; revision=342403
22 years ago
Albert Astals Cid
eac9aad8eb
Pass the saveas menu entry from the shell to the part so you can use it while embedded in konqueror
...
svn path=/trunk/kdegraphics/kpdf/; revision=342226
22 years ago
Albert Astals Cid
f603d008d0
Give xpdf author some credit
...
svn path=/trunk/kdegraphics/kpdf/; revision=342213
22 years ago
Albert Astals Cid
c46d4220f1
%d -> %1
...
svn path=/trunk/kdegraphics/kpdf/; revision=342208
22 years ago
Albert Astals Cid
e84374ee24
Much better that way
...
svn path=/trunk/kdegraphics/kpdf/; revision=342193
22 years ago
Albert Astals Cid
e456dfaafb
- Make find next work
...
- Do not allow to find if there's no document
svn path=/trunk/kdegraphics/kpdf/; revision=342164
22 years ago
Albert Astals Cid
929dfa12a7
Text marker should go out when changing pages
...
svn path=/trunk/kdegraphics/kpdf/; revision=342102
22 years ago
Albert Astals Cid
819bd7adbe
m_currentPage before opening a document is 0, this way the goToPage if is true when going to the first page and updateActions is triggered
...
svn path=/trunk/kdegraphics/kpdf/; revision=342099
22 years ago