QAbstractPrintDialog Class Reference
|
Константа | Значение | Описание |
---|---|---|
QAbstractPrintDialog::None | 0x0000 | None of the options are enabled. |
QAbstractPrintDialog::PrintToFile | 0x0001 | The print to file option is enabled. |
QAbstractPrintDialog::PrintSelection | 0x0002 | The print selection option is enalbed. |
QAbstractPrintDialog::PrintPageRange | 0x0004 | The page range selection option is enabled. |
QAbstractPrintDialog::PrintCollateCopies | 0x0010 |
The PrintDialogOptions type is a typedef for QFlags<PrintDialogOption>. It stores an OR combination of PrintDialogOption values.
Used to specify the print range selection option.
Константа | Значение | Описание |
---|---|---|
QAbstractPrintDialog::AllPages | 0 | All pages should be printed. |
QAbstractPrintDialog::Selection | 1 | Only the selection should be printed. |
QAbstractPrintDialog::PageRange | 2 | The specified page range should be printed. |
Смотрите также QPrinter::PrintRange.
Constructs an abstract print dialog for printer with parent as parent widget.
Adds the option option to the set of enabled options in this dialog.
Note that this function has no effect on Mac OS X. See the QPrintDialog documentation for more information.
Returns the set of enabled options in this dialog.
Смотрите также setEnabledOptions().
This virtual function is called to pop up the dialog. It must be reimplemented in subclasses.
Returns the first page to be printed By default, this value is set to 0.
Returns true if the specified option is enabled; otherwise returns false
Returns the maximum page in the page range. By default, this value is set to 1.
Returns the minimum page in the page range. By default, this value is set to 1.
Returns the print range.
Смотрите также setPrintRange().
Returns the printer that this printer dialog operates on.
Sets the set of options that should be enabled in the print dialog to options.
Note that this function has no effect on Mac OS X. See the QPrintDialog documentation for more information.
Смотрите также enabledOptions().
Sets the range in the print dialog to be from from to to.
Sets the page range in this dialog to be from min to max. This also enables the PrintPageRange option.
Sets the print range option in to be range.
Смотрите также printRange().
Returns the last page to be printed. By default, this value is set to 0.
Copyright © 2008 Trolltech | Торговые марки | Qt 4.3.5 |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |