IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt Print Support C++ Classes

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

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt Print Support C++ Classes

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

Classes

  • QAbstractPrintDialog: The QAbstractPrintDialog class provides a base implementation for print dialogs used to configure printers.

  • QPageSetupDialog: The QPageSetupDialog class provides a configuration dialog for the page-related options on a printer.

  • QPrintDialog: The QPrintDialog class provides a dialog for specifying the printer's configuration.

  • QPrintEngine: The QPrintEngine class defines an interface for how QPrinter interacts with a given printing subsystem.

  • QPrintPreviewDialog: The QPrintPreviewDialog class provides a dialog for previewing and configuring page layouts for printer output.

  • QPrintPreviewWidget: The QPrintPreviewWidget class provides a widget for previewing page layouts for printer output.

  • QPrinter: The QPrinter class is a paint device that paints on a printer.

  • QPrinterInfo: The QPrinterInfo class gives access to information about existing printers.

Detailed Description

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

 
Sélectionnez
#include <QtPrintSupport>

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

 
Sélectionnez
QT += printsupport

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+