[Qt-interest] QPrintPreviewWidget not print range of page
Marcelo Estanislau Geyer
estanisgeyer at hotmail.com
Thu Dec 3 18:28:20 CET 2009
Hi,
I took a step in understanding how the QPrintPreviewWidget works.
I
have a situation where I had to deploy a variable that would serve as
counter items so that when there was a need to create a new page
(QPrinter: newPage ()), the next item would be that the form variable. As this variable is not restarted, when I print or export to PDF I have a surprise: only the last page is printed or exported.
This
leads me to conclude that not only define the range of pages you wish
to print in QPrintDialog, but I feel should be done some control to
know which is the page that corresponds to that if you want to print.
Marcelo E. Geyer
From: estanisgeyer at hotmail.com
To: qt-interest at trolltech.com
Date: Wed, 2 Dec 2009 12:12:48 +0000
Subject: [Qt-interest] QPrintPreviewWidget not print range of page
Hi friends,
I'm working with QPrintPreviewWidget to generate reports, while trying to print a range of pages is printed all!.
I am using Fedora 12 and QT 4.5.3.
I wrote a small app example, which is available on the forum qtcentre at http://www.qtcentre.org/forum/f-qt-programming-2/t-not-print-the-range-of-pages-26166.html.
If someone can help me would be much appreciated,
Marcelo E. Geyer
Windows 7: agora com recursos que economizam bateria. Clique para conhecer.
_________________________________________________________________
Com o Internet Explorer 8 você tem seu contéudo favorito em poucos cliques. Conheça!
http://brasil.microsoft.com.br/IE8/mergulhe/?utm_source=MSN%3BHotmail&utm_medium=Tagline&utm_content=Tag5&utm_campaign=IE8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091203/7a547557/attachment.html
More information about the Qt-interest-old
mailing list