bool isOptionEnabled(PageSetupDialogOption option) const
Use testOption(option) instead.
The QPageSetupDialog class provides a configuration dialog for the page-related options on a printer...
void addEnabledOption(PageSetupDialogOption option)
Use setOption(option, true) instead.
PageSetupDialogOption
Used to specify options to the page setup dialog.
void setOptions(PageSetupDialogOptions options)
bool testOption(PageSetupDialogOption option) const
Returns true if the given option is enabled; otherwise, returns false.
void setEnabledOptions(PageSetupDialogOptions options)
Use setOptions(options) instead.
PageSetupDialogOptions options() const
PageSetupDialogOptions enabledOptions() const
Use options() instead.
void setOption(PageSetupDialogOption option, bool on=true)
Sets the given option to be enabled if on is true; otherwise, clears the given option.