QPageSetupDialog Class Reference [модуль QtGui]
The QPageSetupDialog class provides a configuration dialog for the page-related options on a printer. Далее...
#include <QPageSetupDialog> Унаследован от QDialog.
Открытые типы
Открытые функции
- 5 открытых функций, унаследованных от QDialog
- 206 открытых функций, унаследованных от QWidget
- 29 открытых функций, унаследованных от QObject
- 12 открытых функций, унаследованных от QPaintDevice
Дополнительные унаследованные члены
- 2 свойства, унаследованные от QDialog
- 57 свойств, унаследованных от QWidget
- 1 свойство, унаследованное от QObject
- 4 открытых слота, унаследованные от QDialog
- 19 открытых слотов, унаследованных от QWidget
- 1 открытый слот, унаследованный от QObject
- 3 сигнала, унаследованные от QDialog
- 1 сигнал, унаследованный от QWidget
- 1 сигнал, унаследованный от QObject
- 4 статических открытых члена, унаследованных от QWidget
- 5 статических открытых членов, унаследованных от QObject
- 1 статический открытый член, унаследованный от QPaintDevice
- 38 защищенных функций, унаследованных от QWidget
- 7 защищенных функций, унаследованных от QObject
- 1 защищённая функция, унаследованная от QPaintDevice
- 1 защищенный слот, унаследованный от QWidget
Подробное описание
The QPageSetupDialog class provides a configuration dialog for the page-related options on a printer.
On Windows and Mac OS X the page setup dialog is implemented using the native page setup dialogs.
Note that on Windows and Mac OS X custom paper sizes won't be reflected in the native page setup dialogs. Additionally, custom page margins set on a QPrinter won't show in the native Mac OS X page setup dialog.
See also QPrinter and QPrintDialog.
Описание типов-членов
enum QPageSetupDialog::PageSetupDialogOption flags QPageSetupDialog::PageSetupDialogOptions
Used to specify options to the page setup dialog
Константа | Значение | Описание |
QPageSetupDialog::None | 0x0000 | None of the options are enabled. |
QPageSetupDialog::DontUseSheet | 0x0001 | Do not make the native print dialog a sheet. By default on Mac OS X, the native dialog is made a sheet if it has a parent that can accept sheets and is visible. Internally, Mac OS X tracks whether a printing <em>session</em> and not which particular dialog should have a sheet or not. Therefore, make sure this value matches between the page setup dialog and the print dialog or you can potentially end up in a modal loop that you can't break. |
Данное перечисление было введено в Qt 4.4.
The PageSetupDialogOptions type is a typedef for QFlags<PageSetupDialogOption>. It stores an OR combination of PageSetupDialogOption values.
Описание функций-членов
QPageSetupDialog::QPageSetupDialog ( QPrinter * printer, QWidget * parent = 0 )
Constructs a page setup dialog that configures printer with parent as the parent widget.
void QPageSetupDialog::addEnabledOption ( PageSetupDialogOption option )
Adds the option option to the set of enabled options in this dialog.
Эта функция была введена в Qt 4.4.
Returns the set of enabled options in this dialog.
Эта функция была введена в Qt 4.4.
Смотрите также setEnabledOptions().
bool QPageSetupDialog::isOptionEnabled ( PageSetupDialogOption option ) const
Returns true if the specified option is enabled; otherwise returns false
Эта функция была введена в Qt 4.4.
QPrinter * QPageSetupDialog::printer ()
Returns the printer that was passed to the QPageSetupDialog constructor.
void QPageSetupDialog::setEnabledOptions ( PageSetupDialogOptions options )
Sets the set of options that should be enabled for the page setup dialog to options.
Эта функция была введена в Qt 4.4.
Смотрите также enabledOptions().
|