NAME
Qt::Gui::QPrinter
PUBLIC METHODS
- QPrinter(QPrinter::PrinterMode mode)
- QPrinter(QPrinter::PrinterMode mode = QPrinter::ScreenResolution)
- QPrinter(const QPrinterInfo & printer, QPrinter::PrinterMode mode)
- QPrinter(const QPrinterInfo & printer, QPrinter::PrinterMode mode = QPrinter::ScreenResolution)
- ~QPrinter()
- bool abort()
- int actualNumCopies()
- bool collateCopies()
- QPrinter::ColorMode colorMode()
- int copyCount()
- QString creator()
- int devType()
- QString docName()
- bool doubleSidedPrinting()
- QPrinter::DuplexMode duplex()
- bool fontEmbeddingEnabled()
- int fromPage()
- bool fullPage()
- void getPageMargins(qreal * left, qreal * top, qreal * right, qreal * bottom, QPrinter::Unit unit)
- bool isValid()
- bool newPage()
- int numCopies()
- QPrinter::Orientation orientation()
- QString outputFileName()
- QPrinter::OutputFormat outputFormat()
- QPrinter::PageOrder pageOrder()
- QRect pageRect()
- QRectF pageRect(QPrinter::Unit arg0)
- QPrinter::PageSize pageSize()
- QPaintEngine * paintEngine()
- QRect paperRect()
- QRectF paperRect(QPrinter::Unit arg0)
- QPrinter::PageSize paperSize()
- QSizeF paperSize(QPrinter::Unit unit)
- QPrinter::PaperSource paperSource()
- QPrintEngine * printEngine()
- QString printProgram()
- QPrinter::PrintRange printRange()
- QString printerName()
- QString printerSelectionOption()
- QPrinter::PrinterState printerState()
- int resolution()
- void setCollateCopies(bool collate)
- void setColorMode(QPrinter::ColorMode arg0)
- void setCopyCount(int arg0)
- void setCreator(const QString & arg0)
- void setDocName(const QString & arg0)
- void setDoubleSidedPrinting(bool enable)
- void setDuplex(QPrinter::DuplexMode duplex)
- void setFontEmbeddingEnabled(bool enable)
- void setFromTo(int fromPage, int toPage)
- void setFullPage(bool arg0)
- void setNumCopies(int arg0)
- void setOrientation(QPrinter::Orientation arg0)
- void setOutputFileName(const QString & arg0)
- void setOutputFormat(QPrinter::OutputFormat format)
- void setPageMargins(qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit)
- void setPageOrder(QPrinter::PageOrder arg0)
- void setPageSize(QPrinter::PageSize arg0)
- void setPaperSize(QPrinter::PageSize arg0)
- void setPaperSize(const QSizeF & paperSize, QPrinter::Unit unit)
- void setPaperSource(QPrinter::PaperSource arg0)
- void setPrintProgram(const QString & arg0)
- void setPrintRange(QPrinter::PrintRange range)
- void setPrinterName(const QString & arg0)
- void setPrinterSelectionOption(const QString & arg0)
- void setResolution(int arg0)
- bool supportsMultipleCopies()
- int toPage()
ENUM VALUES
- ScreenResolution
- PrinterResolution
- HighResolution
- Portrait
- Landscape
- 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
- NPaperSize
- FirstPageFirst
- LastPageFirst
- GrayScale
- Color
- OnlyOne
- Lower
- Middle
- Manual
- Envelope
- EnvelopeManual
- Auto
- Tractor
- SmallFormat
- LargeFormat
- LargeCapacity
- Cassette
- FormSource
- MaxPageSource
- Idle
- Active
- Aborted
- Error
- NativeFormat
- PdfFormat
- PostScriptFormat
- AllPages
- Selection
- PageRange
- CurrentPage
- Millimeter
- Point
- Inch
- Pica
- Didot
- Cicero
- DevicePixel
- DuplexNone
- DuplexAuto
- DuplexLongSide
- DuplexShortSide
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2012 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.