[PyQt] QPrinter PageRange problem

BLACK HAWK el_sakir12 at yahoo.com
Mon Apr 26 07:52:42 BST 2010


hi everyone,

i posted this before in the wrong section so i re-posted it here

i'm having problem in printing 

first:
    my program show to the user 10 pages in QPrintPreviewWidget and when he 
    press 'print it' button it prints only the pages from 5 to 7 but my 
code keep printing all pages
second:
    why my application paintRequested signal emitted after i press 'print it' 
    button that maks it emitted towic first time when my application starts 
and second when i press 'print it' 
button

i'm attaching my sample code i hope some one can help me on this problem

thanks in advance...


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100425/f25c776e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t3.py
Type: application/octet-stream
Size: 2454 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100425/f25c776e/attachment.obj>


More information about the PyQt mailing list