Table Of Contents

Previous topic

QProgressDialog

Next topic

QMessageBox

QPrintPreviewDialog

Inheritance diagram of QPrintPreviewDialog

Synopsis

Functions

Signals

Detailed Description

The PySide.QtGui.QPrintPreviewDialog class provides a dialog for previewing and configuring page layouts for printer output.

Using PySide.QtGui.QPrintPreviewDialog in your existing application is straightforward:

In Symbian, there is no support for printing. Hence, this dialog should not be used in Symbian.

class PySide.QtGui.QPrintPreviewDialog(printer[, parent=None[, flags=0]])
class PySide.QtGui.QPrintPreviewDialog([parent=None[, flags=0]])
Parameters:
PySide.QtGui.QPrintPreviewDialog.open(receiver, member)
Parameters:

This is an overloaded function.

Opens the dialog and connects its finished(int) signal to the slot specified by receiver and member .

The signal will be disconnected from the slot when the dialog is closed.

PySide.QtGui.QPrintPreviewDialog.paintRequested(printer)
Parameters:printerPySide.QtGui.QPrinter
PySide.QtGui.QPrintPreviewDialog.printer()
Return type:PySide.QtGui.QPrinter

Returns a pointer to the PySide.QtGui.QPrinter object this dialog is currently operating on.