|QPrintDialog *||createPrintDialog (QPrinter *printer, const QList< QWidget * > &customTabs, QWidget *parent=nullptr)|
|QPrintDialog *||createPrintDialog (QPrinter *printer, QWidget *parent=nullptr)|
Namespace for the KDE printing system.
|QPrintDialog * KdePrint::createPrintDialog||(||QPrinter *||printer,|
|const QList< QWidget * > &||customTabs,|
|QWidget *||parent =
Creates a printer dialog for a QPrinter with the given custom widgets.
Note that the custom widgets are only supported on *nix systems and will not be shown on Qt versions prior to 4.3.2. On other systems it is preferred to provide the widgets within configuration dialog of the application.
Setting the widgets will transfer their ownership to the print dialog on all systems.
The caller takes ownership of the dialog and is responsible for deleting it.
printer the QPrinter to apply settings to parent the parent for the dialog customTabs a list of custom widgets to show as tabs, the name printed on the tab will be taken from the widgets windowTitle().