input_urn
/home/onoda/Documents/qt-everywhere-opensource-src-4.7.4/doc/html/qprinter.html

output_urn
QPrinter

inherits

public_types
 enum ColorMode { Color, GrayScale }
 enum DuplexMode { DuplexNone, DuplexAuto, DuplexLongSide, DuplexShortSide }
 enum Orientation { Portrait, Landscape }
 enum OutputFormat { NativeFormat, PdfFormat, PostScriptFormat }
 enum PageOrder { FirstPageFirst, LastPageFirst }
 enum PaperSize { A0, A1, A2, A3, ..., Custom }
 enum PaperSource { Auto, Cassette, Envelope, EnvelopeManual, ..., SmallFormat }
 enum PrintRange { AllPages, Selection, PageRange, CurrentPage }
 enum PrinterMode { ScreenResolution, PrinterResolution, HighResolution }
 enum PrinterState { Idle, Active, Aborted, Error }
 enum Unit { Millimeter, Point, Inch, Pica, ..., DevicePixel }

properties

public_functions
QPrinter ( PrinterMode mode = ScreenResolution )
QPrinter ( const QPrinterInfo & printer, PrinterMode mode = ScreenResolution )
~QPrinter ()
 bool abort ()
 bool collateCopies () const
 ColorMode colorMode () const
 int copyCount () const
 QString creator () const
 QString docName () const
 bool doubleSidedPrinting () const
 DuplexMode duplex () const
 bool fontEmbeddingEnabled () const
 int fromPage () const
 bool fullPage () const
 void getPageMargins ( qreal * left, qreal * top, qreal * right, qreal * bottom, Unit unit ) const
 bool isValid () const
 bool newPage ()
 Orientation orientation () const
 QString outputFileName () const
 OutputFormat outputFormat () const
 PageOrder pageOrder () const
 QRect pageRect () const
 QRectF pageRect ( Unit unit ) const
 QRect paperRect () const
 QRectF paperRect ( Unit unit ) const
 PaperSize paperSize () const
 QSizeF paperSize ( Unit unit ) const
 PaperSource paperSource () const
 QPrintEngine * printEngine () const
 QString printProgram () const
 PrintRange printRange () const
 QString printerName () const
 QString printerSelectionOption () const
 PrinterState printerState () const
 int resolution () const
 void setCollateCopies ( bool collate )
 void setColorMode ( ColorMode newColorMode )
 void setCopyCount ( int count )
 void setCreator ( const QString & creator )
 void setDocName ( const QString & name )
 void setDoubleSidedPrinting ( bool doubleSided )
 void setDuplex ( DuplexMode duplex )
 void setFontEmbeddingEnabled ( bool enable )
 void setFromTo ( int from, int to )
 void setFullPage ( bool fp )
 void setOrientation ( Orientation orientation )
 void setOutputFileName ( const QString & fileName )
 void setOutputFormat ( OutputFormat format )
 void setPageMargins ( qreal left, qreal top, qreal right, qreal bottom, Unit unit )
 void setPageOrder ( PageOrder pageOrder )
 void setPaperSize ( PaperSize newPaperSize )
 void setPaperSize ( const QSizeF & paperSize, Unit unit )
 void setPaperSource ( PaperSource source )
 void setPrintProgram ( const QString & printProg )
 void setPrintRange ( PrintRange range )
 void setPrinterName ( const QString & name )
 void setPrinterSelectionOption ( const QString & option )
 void setResolution ( int dpi )
 void setWinPageSize ( int pageSize )
 QList<PaperSource> supportedPaperSources () const
 QList<int> supportedResolutions () const
 bool supportsMultipleCopies () const
 int toPage () const
 int winPageSize () const

public_slots

signals

static_public_members

protected_functions
 void setEngines ( QPrintEngine * printEngine, QPaintEngine * paintEngine )

reimplemented_public_functions
 virtual QPaintEngine * paintEngine () const

reimplemented_protected_functions

protected_slots

related_non_members

templateClass
false

abstractClass
false

enbeddedClass
false

flag_objects

parent_flag_objects

typedefed_objects

parent_typedefed_objects

class_objects

parent_class_objects

enums
class_name
QPrinter
name
ColorMode
key
Color
GrayScale
public_flag
true
class_name
QPrinter
name
DuplexMode
key
DuplexNone
DuplexAuto
DuplexLongSide
DuplexShortSide
public_flag
true
class_name
QPrinter
name
Orientation
key
Portrait
Landscape
public_flag
true
class_name
QPrinter
name
OutputFormat
key
NativeFormat
PdfFormat
PostScriptFormat
public_flag
true
class_name
QPrinter
name
PageOrder
key
FirstPageFirst
LastPageFirst
public_flag
true
class_name
QPrinter
name
PaperSize
key
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
B0
B1
B2
B3
B4
B5
B6
B7
B8
B9
B10
C5E
Comm10E
DLE
Executive
Folio
Ledger
Legal
Letter
Tabloid
Custom
public_flag
true
class_name
QPrinter
name
PaperSource
key
Auto
Cassette
Envelope
EnvelopeManual
FormSource
LargeCapacity
LargeFormat
Lower
MaxPageSource
Middle
Manual
OnlyOne
Tractor
SmallFormat
public_flag
true
class_name
QPrinter
name
PrintRange
key
AllPages
Selection
PageRange
CurrentPage
public_flag
true
class_name
QPrinter
name
PrinterMode
key
ScreenResolution
PrinterResolution
HighResolution
public_flag
true
class_name
QPrinter
name
PrinterState
key
Idle
Active
Aborted
Error
public_flag
true
class_name
QPrinter
name
Unit
key
Millimeter
Point
Inch
Pica
Didot
Cicero
DevicePixel
public_flag
true

parent_enums
class_name
QPaintDevice
name
PaintDeviceMetric
key
PdmWidth
PdmHeight
PdmWidthMM
PdmHeightMM
PdmNumColors
PdmDepth
PdmDpiX
PdmDpiY
PdmPhysicalDpiX
PdmPhysicalDpiY
public_flag
true

parent_index
194

parent_name
QPaintDevice

