![]() |
Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions | ![]() |
The QPrintEngine class defines an interface for how QPrinter interacts with a given printing subsystem. More...
#include <QPrintEngine>
Part of the QtGui module.
The QPrintEngine class defines an interface for how QPrinter interacts with a given printing subsystem.
The common use is to derive from both QPaintEngine and QPrintEngine when implementing a new printer.
See also QPaintEngine.
This enum is used to communicate properties between the print engine and QPrinter. A property may or may not be supported by a given print engine.
Constant | Value | Description |
---|---|---|
QPrintEngine::PPK_CollateCopies | 0 | A bool value describing wether the printout should be collated or not. |
QPrintEngine::PPK_ColorMode | 1 | Refers to QPrinter::ColorMode, either color or monochrome. |
QPrintEngine::PPK_Creator | 2 |
Constant | Value | Description |
---|---|---|
QPrintEngine::PPK_DocumentName | 3 | A string describing the document name in the spooler. |
QPrintEngine::PPK_FullPage | 4 | A boolean describing if the printer should be full page or not. |
QPrintEngine::PPK_NumberOfCopies | 5 | An integer specifying the number of copies |
QPrintEngine::PPK_Orientation | 6 | Specifies a QPrinter::Orientation value. |
QPrintEngine::PPK_OutputFileName | 7 | The output file name as a string. An empty file name indicates that we do not print to file. |
QPrintEngine::PPK_PageOrder | 8 | Specifies a QPrinter::PageOrder value. |
QPrintEngine::PPK_PageRect | 9 | A QRect specifying the page rectangle |
QPrintEngine::PPK_PageSize | 10 | Specifies a QPrinter::PageSize value. |
QPrintEngine::PPK_PaperRect | 11 | A QRect specifying the paper rectangle. |
QPrintEngine::PPK_PaperSource | 12 | Specifies a QPrinter::PaperSource value. |
QPrintEngine::PPK_PrinterName | 13 | A string specifying the name of the printer. |
QPrintEngine::PPK_PrinterProgram | 14 | A string specifying the name of the printer program used for printing, |
QPrintEngine::PPK_Resolution | 15 | An integer describing the dots per inch for this printer. |
QPrintEngine::PPK_SelectionOption | 16 |
Constant | Value | Description |
---|---|---|
QPrintEngine::PPK_SupportedResolutions | 17 | A list of integer QVariants describing the set of supported resolutions that the printer has. |
QPrintEngine::PPK_WindowsPageSize | 18 | An integer specifying a DM_PAPER entry on Windows(tm). |
QPrintEngine::PPK_CustomBase | 0xff00 | Basis for extension. |
Copyright © 2005 Trolltech | Trademarks | Qt 4.0.0-b2 |