QPageSetupDialog Class Reference |
Constant | Value | Description |
---|---|---|
QPageSetupDialog::DontUseSheet | 0x00000001 | In previous versions of Qt, exec() the page setup dialog would create a sheet by default if the dialog was given a parent. This is no longer supported in Qt 4.5. If you want to use sheets, use QPageSetupDialog::open() instead. |
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.
This property holds the various options that affect the look and feel of the dialog.
By default, all options are disabled.
Options should be set before showing the dialog. Setting them while the dialog is visible is not guaranteed to have an immediate effect on the dialog (depending on the option and on the platform).
This property was introduced in Qt 4.5.
Access functions:
See also setOption() and testOption().
Constructs a page setup dialog that configures printer with parent as the parent widget.
Constructs a page setup dialog that configures a default-constructed QPrinter with parent as the parent widget.
This function was introduced in Qt 4.5.
See also printer().
This is an overloaded function.
Opens the dialog and connects its accepted() signal to the slot specified by receiver and member.
The signal will be disconnected from the slot when the dialog is closed.
This function was introduced in Qt 4.5.
Returns the printer that was passed to the QPageSetupDialog constructor.
Sets the given option to be enabled if on is true; otherwise, clears the given option.
See also options and testOption().
Returns true if the given option is enabled; otherwise, returns false.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 4.5 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com