QPrintDialog Class Reference
|
The printer dialog (shown above in Plastique style) enables access to common printing properties. On X11 platforms that use the CUPS printing system, the settings for each available printer can be modified via the dialog's Properties push button.
On Windows and Mac OS X, the native print dialog is used, which means that some QWidget and QDialog properties set on the dialog won't be respected. In addition, aside from the DontUseSheet option, the native print dialog on Mac OS X does not support setting printer options, i.e. QAbstractPrintDialog::setEnabledOptions() and QAbstractPrintDialog::addEnabledOption() have no effect.
See also QPageSetupDialog, QPrinter, Pixelator Example, Order Form Example, Image Viewer Example, and Scribble Example.
Constructs a new modal printer dialog for the given printer with the given parent.
Destroys the print dialog.
Adds the button to the layout of the print dialog. The added buttons are arranged from the left to the right below the last groupbox of the printdialog.
Returns a pointer to the printer this dialog configures, or 0 if this dialog does not operate on any printer.
See also setPrinter().
Sets this dialog to configure printer printer, or no printer if printer is null. If pickupSettings is true, the dialog reads most of its settings from printer. If pickupSettings is false (the default) the dialog keeps its old settings.
See also printer().
Copyright © 2008 Nokia | Trademarks | Qt 4.4.3 |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |