Qt 5.6 | Qt Print Support | Qt Print Support C++ Classes

Qt 5.6.3 Reference Documentation

# Qt Print Support C++ Classes

The Qt PrintSupport module provides classes to make printing easier and portable. More...

## Classes

QAbstractPrintDialog | Base implementation for print dialogs used to configure printers
QPageSetupDialog | Configuration dialog for the page-related options on a printer
QPrintDialog | Dialog for specifying the printer's configuration
QPrintPreviewDialog | Dialog for previewing and configuring page layouts for printer output
QPrintEngine | Defines an interface for how QPrinter interacts with a given printing subsystem
QPrinter | Paint device that paints on a printer
QPrinterInfo | Gives access to information about existing printers
QPrintPreviewWidget | Widget for previewing page layouts for printer output

## Detailed Description

To include the definitions of the module's classes, use the following directive:

      #include <QtPrintSupport>

To link against the module, add this line to your qmake `.pro` file:

      QT += printsupport