Hi again,

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.