Definition at line 66 of file qprinter.h.
|
| enum | PrinterMode { ScreenResolution,
PrinterResolution,
HighResolution
} |
| |
| enum | Orientation { Portrait,
Landscape
} |
| |
| enum | PageSize {
A4,
B5,
Letter,
Legal,
Executive,
A0,
A1,
A2,
A3,
A5,
A6,
A7,
A8,
A9,
B0,
B1,
B10,
B2,
B3,
B4,
B6,
B7,
B8,
B9,
C5E,
Comm10E,
DLE,
Folio,
Ledger,
Tabloid,
Custom,
NPageSize = Custom,
NPaperSize = Custom
} |
| |
| enum | PageOrder { FirstPageFirst,
LastPageFirst
} |
| |
| enum | ColorMode { GrayScale,
Color
} |
| |
| enum | PaperSource {
OnlyOne,
Lower,
Middle,
Manual,
Envelope,
EnvelopeManual,
Auto,
Tractor,
SmallFormat,
LargeFormat,
LargeCapacity,
Cassette,
FormSource,
MaxPageSource
} |
| |
| enum | PrinterState { Idle,
Active,
Aborted,
Error
} |
| |
| enum | OutputFormat { NativeFormat,
PdfFormat,
PostScriptFormat
} |
| |
| enum | PrintRange { AllPages,
Selection,
PageRange,
CurrentPage
} |
| |
| enum | Unit {
Millimeter,
Point,
Inch,
Pica,
Didot,
Cicero,
DevicePixel
} |
| |
| enum | DuplexMode { DuplexNone = 0,
DuplexAuto,
DuplexLongSide,
DuplexShortSide
} |
| |
| typedef PageSize | PaperSize |
| |
| enum | PaintDeviceMetric {
PdmWidth = 1,
PdmHeight,
PdmWidthMM,
PdmHeightMM,
PdmNumColors,
PdmDepth,
PdmDpiX,
PdmDpiY,
PdmPhysicalDpiX,
PdmPhysicalDpiY
} |
| |
|
| | QPrinter (PrinterMode mode=ScreenResolution) |
| |
| | QPrinter (const QPrinterInfo &printer, PrinterMode mode=ScreenResolution) |
| |
| | ~QPrinter () |
| |
| int | devType () const |
| |
| void | setOutputFormat (OutputFormat format) |
| |
| OutputFormat | outputFormat () const |
| |
| void | setPrinterName (const QString &) |
| |
| QString | printerName () const |
| |
| bool | isValid () const |
| |
| void | setOutputFileName (const QString &) |
| |
| QString | outputFileName () const |
| |
| void | setPrintProgram (const QString &) |
| |
| QString | printProgram () const |
| |
| void | setDocName (const QString &) |
| |
| QString | docName () const |
| |
| void | setCreator (const QString &) |
| |
| QString | creator () const |
| |
| void | setOrientation (Orientation) |
| |
| Orientation | orientation () const |
| |
| void | setPageSize (PageSize) |
| |
| PageSize | pageSize () const |
| |
| void | setPaperSize (PaperSize) |
| |
| PaperSize | paperSize () const |
| |
| void | setPaperSize (const QSizeF &paperSize, Unit unit) |
| |
| QSizeF | paperSize (Unit unit) const |
| |
| void | setPageOrder (PageOrder) |
| |
| PageOrder | pageOrder () const |
| |
| void | setResolution (int) |
| |
| int | resolution () const |
| |
| void | setColorMode (ColorMode) |
| |
| ColorMode | colorMode () const |
| |
| void | setCollateCopies (bool collate) |
| |
| bool | collateCopies () const |
| |
| void | setFullPage (bool) |
| |
| bool | fullPage () const |
| |
| void | setNumCopies (int) |
| |
| int | numCopies () const |
| |
| int | actualNumCopies () const |
| |
| void | setCopyCount (int) |
| |
| int | copyCount () const |
| |
| bool | supportsMultipleCopies () const |
| |
| void | setPaperSource (PaperSource) |
| |
| PaperSource | paperSource () const |
| |
| void | setDuplex (DuplexMode duplex) |
| |
| DuplexMode | duplex () const |
| |
| QList< int > | supportedResolutions () const |
| |
| void | setFontEmbeddingEnabled (bool enable) |
| |
| bool | fontEmbeddingEnabled () const |
| |
| void | setDoubleSidedPrinting (bool enable) |
| |
| bool | doubleSidedPrinting () const |
| |
| QRect | paperRect () const |
| |
| QRect | pageRect () const |
| |
| QRectF | paperRect (Unit) const |
| |
| QRectF | pageRect (Unit) const |
| |
| QString | printerSelectionOption () const |
| |
| void | setPrinterSelectionOption (const QString &) |
| |
| bool | newPage () |
| |
| bool | abort () |
| |
| PrinterState | printerState () const |
| |
| QPaintEngine * | paintEngine () const |
| |
| QPrintEngine * | printEngine () const |
| |
| void | setFromTo (int fromPage, int toPage) |
| |
| int | fromPage () const |
| |
| int | toPage () const |
| |
| void | setPrintRange (PrintRange range) |
| |
| PrintRange | printRange () const |
| |
| void | setPageMargins (qreal left, qreal top, qreal right, qreal bottom, Unit unit) |
| |
| void | getPageMargins (qreal *left, qreal *top, qreal *right, qreal *bottom, Unit unit) const |
| |
| virtual | ~QPaintDevice () |
| |
| bool | paintingActive () const |
| |
| int | width () const |
| |
| int | height () const |
| |
| int | widthMM () const |
| |
| int | heightMM () const |
| |
| int | logicalDpiX () const |
| |
| int | logicalDpiY () const |
| |
| int | physicalDpiX () const |
| |
| int | physicalDpiY () const |
| |
| int | colorCount () const |
| |
| int | depth () const |
| |