7#include <QtPrintSupport/qtprintsupportglobal.h>
9#include <QtPrintSupport/qabstractprintdialog.h>
23 Q_PROPERTY(PrintDialogOptions options READ options WRITE setOptions)
31#if defined (Q_OS_UNIX) && !defined(Q_OS_MAC)
32 virtual void accept()
override;
38 void setOptions(PrintDialogOptions options);
39 PrintDialogOptions options()
const;
41#if defined(Q_OS_UNIX) || defined(Q_OS_WIN)
58#if defined (Q_OS_UNIX) && !defined(Q_OS_MAC)
61#if QT_CONFIG(messagebox)
The QAbstractPrintDialog class provides a base implementation for print dialogs used to configure pri...
PrintDialogOption
Used to specify which parts of the print dialog should be visible.
QPrinter * printer() const
Returns the printer that this printer dialog operates on.
virtual int exec()
Shows the dialog as a \l{QDialog::Modal Dialogs}{modal dialog}, blocking until the user closes it.
virtual void done(int)
Closes the dialog and sets its result code to r.
virtual void accept()
Hides the modal dialog and sets the result code to Accepted.
The QPrintDialog class provides a dialog for specifying the printer's configuration.
void accepted(QPrinter *printer)
This signal is emitted when the user accepts the values set in the print dialog.
Combined button and popup list for selecting options.
#define QT_REQUIRE_CONFIG(feature)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent