class KPrintPreview |
|
KPrintPreview provides a print preview dialog.
Use it like this:
QPrinter printer; KPrintPreview preview(&printer); doPrint(printer); // draws to the QPrinter preview.exec(); |
|
Create a KPrintPreview object.
This will change the settings on the QPrinter, so you should not re-use the QPrinter object for printing normally. printer - pointer to a QPrinter to configure for print preview parent - pointer to the parent widget for the dialog |
|
|