<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000;"><pre>hi everyone,<br><br>i posted this before in the wrong section so i re-posted it here<br><br>i'm having problem in printing <br><br>first:<br> my program show to the user 10 pages in QPrintPreviewWidget and when he <br> press 'print it' button it prints only the pages from 5 to 7 but my <br> code keep printing all pages<br>second:<br> why my application paintRequested signal emitted after i press 'print it' <br> button that maks it emitted towic first time when my application starts <br> and second when i press 'print it' <br>button<br><br>i'm attaching my sample code i hope some one can help me on this problem<br><br>thanks in advance...<br><br></pre>
</div><br>
</body></html>