[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDE4 printing: results of IRC meeting
From:       Thiago Macieira <thiago () kde ! org>
Date:       2007-09-14 18:39:33
Message-ID: 200709142039.34112.thiago () kde ! org
[Download RAW message or body]


On Friday 14 September 2007 20:28:44 Albert Astals Cid wrote:
> Well i remember Alex saying in the IRC meeting print preview was trivial to
> add (i should note print preview WORKS NOW for me), basically you just need
> to get the QPrinter to print to ps/pdf and pass it to okularpart. I don't
> really know what has changed since then but i don't have the time to do
> code a print preview. And even if i had i don't feel like writing it.

The problem will be adding the Print Preview button to the print dialog. And 
making it something that works in the future.

Right now, the print preview is something that KPrinter does. And it also 
knows only PostScript. QPrinter doesn't do it. 

In order to have this feature, the "Preview" button would have to set QPrinter 
to print to PDF, then launch Okularpart to show it. Well, how, without 
modifying QPrinter and without having a public KPrinter class?

Also bear in mind that Qt 4.4 will have a Print Preview dialog which is will 
(hopefully, it's in our plans) allow you to modify the print layout and see 
the results on the fly. Think setting margins and repaginating.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic