Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The QPrintDialog class provides a dialog for specifying the printer's configuration. More...
#include <QPrintDialog>
Inherits QAbstractPrintDialog.
The QPrintDialog class provides a dialog for specifying the printer's configuration.
It encompasses both the sort of details needed for doing a simple print-out and some print configuration setup.
Typical use of the QPrintDialog is to construct it on a QPrinter object and call exec() to execute it.
QPrintDialog printDialog(printer, parent); if (printDialog.exec() == QDialog::Accept) { // print ... }
A printer dialog in Plastique style |
Constructs a new modal printer dialog for the given printer with the given parent.
Destroys the object and frees any allocated resources. Does not delete the associated QPrinter object.
Copyright © 2005 Trolltech | Trademarks | Qt 4.1.0 |