[Qt-interest] Trouble with QPrintPreviewWidget

David Boddie david.boddie at nokia.com
Wed Dec 10 15:21:07 CET 2008


David Boddie wrote:

> Marcelo Estanislau Geyer wrote:
> 
>> The values is refer in the same notebooks (kubuntu in 1440x900 and Fedora
>> in 1024x768). The paperSize is A4.
> 
> Sorry, my mistake. I meant to ask what those values are for the actual
> widgets. Even so, I would expect that the QPrintPreviewWidget would handle
> the scaling correctly, so perhaps this is a bug.

Just following up, it seems that the preview depends on the resolution of
the screen, which is counterintuitive given that you would want to paint
onto the QPrinter using the same commands that you use for the printed
output.

I'll file a bug report.

David
-- 
David Boddie
Senior Technical Writer
Nokia, Qt Software



More information about the Qt-interest-old mailing list