[PyQt] help with printing

BLACK HAWK el_sakir12 at yahoo.com
Tue Apr 13 08:55:55 BST 2010


hi everyone,

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/20100413/ac2b11d2/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/20100413/ac2b11d2/attachment.obj>


More information about the PyQt mailing list