QPageSetupDialog Class Reference |
Constant | Value | Description |
---|---|---|
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. |
This enum was introduced in Qt 4.4.
The PageSetupDialogOptions type is a typedef for QFlags<PageSetupDialogOption>. It stores an OR combination of PageSetupDialogOption values.
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
Constructs a page setup dialog that configures printer with parent as the parent widget.
Adds the option option to the set of enabled options in this dialog.
This function was introduced in Qt 4.4.
Returns the set of enabled options in this dialog.
This function was introduced in Qt 4.4.
See also setEnabledOptions().
Returns true if the specified option is enabled; otherwise returns false
This function was introduced in Qt 4.4.
Returns the printer that was passed to the QPageSetupDialog constructor.
Sets the set of options that should be enabled for the page setup dialog to options.
This function was introduced in Qt 4.4.
See also enabledOptions().
PyQt 4.4.4 for Windows | Copyright © Riverbank Computing Ltd and Trolltech AS 2008 | Qt 4.4.2 |