KLayout 0.29.8 (2024-11-26 926dac96c) [master]

API reference - Class QPrinter

Notation used in Ruby API documentation

Module: QtGui

Description: Binding of QPrinter

Class hierarchy: QPrinter » QPaintDevice

Sub-classes: ColorMode, QFlags_ColorMode, DuplexMode, QFlags_DuplexMode, Orientation, QFlags_Orientation, OutputFormat, QFlags_OutputFormat, PageOrder, QFlags_PageOrder, PageSize, QFlags_PageSize, PaperSource, QFlags_PaperSource, PrintRange, QFlags_PrintRange, PrinterMode, QFlags_PrinterMode, PrinterState, QFlags_PrinterState, Unit, QFlags_Unit

Public constructors

new QPrinternew(const QPrinter_PrinterMode mode = QPrinter::ScreenResolution)Constructor QPrinter::QPrinter(QPrinter::PrinterMode mode)
new QPrinternew(const QPrinterInfo printer,
const QPrinter_PrinterMode mode = QPrinter::ScreenResolution)
Constructor QPrinter::QPrinter(const QPrinterInfo &printer, QPrinter::PrinterMode mode)

Public methods

[const]QPrinter ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
boolabortMethod bool QPrinter::abort()
[const]intactualNumCopiesMethod int QPrinter::actualNumCopies()
[const]boolcollateCopiesMethod bool QPrinter::collateCopies()
voidcollateCopies=(bool collate)Method void QPrinter::setCollateCopies(bool collate)
[const]QPrinter_ColorModecolorModeMethod QPrinter::ColorMode QPrinter::colorMode()
voidcolorMode=(const QPrinter_ColorMode arg1)Method void QPrinter::setColorMode(QPrinter::ColorMode)
[const]stringcreatorMethod QString QPrinter::creator()
voidcreator=(string arg1)Method void QPrinter::setCreator(const QString &)
[const]stringdocNameMethod QString QPrinter::docName()
voiddocName=(string arg1)Method void QPrinter::setDocName(const QString &)
[const]booldoubleSidedPrintingMethod bool QPrinter::doubleSidedPrinting()
voiddoubleSidedPrinting=(bool enable)Method void QPrinter::setDoubleSidedPrinting(bool enable)
[const]QPrinter_DuplexModeduplexMethod QPrinter::DuplexMode QPrinter::duplex()
voidduplex=(const QPrinter_DuplexMode duplex)Method void QPrinter::setDuplex(QPrinter::DuplexMode duplex)
[const]boolfontEmbeddingEnabledMethod bool QPrinter::fontEmbeddingEnabled()
voidfontEmbeddingEnabled=(bool enable)Method void QPrinter::setFontEmbeddingEnabled(bool enable)
[const]intfromPageMethod int QPrinter::fromPage()
[const]boolfullPageMethod bool QPrinter::fullPage()
voidfullPage=(bool arg1)Method void QPrinter::setFullPage(bool)
[const]voidgetPageMargins(double ptr left,
double ptr top,
double ptr right,
double ptr bottom,
const QPrinter_Unit unit)
Method void QPrinter::getPageMargins(double *left, double *top, double *right, double *bottom, QPrinter::Unit unit)
[const]boolisValid?Method bool QPrinter::isValid()
boolnewPageMethod bool QPrinter::newPage()
[const]intnumCopiesMethod int QPrinter::numCopies()
voidnumCopies=(int arg1)Method void QPrinter::setNumCopies(int)
[const]QPrinter_OrientationorientationMethod QPrinter::Orientation QPrinter::orientation()
voidorientation=(const QPrinter_Orientation arg1)Method void QPrinter::setOrientation(QPrinter::Orientation)
[const]stringoutputFileNameMethod QString QPrinter::outputFileName()
voidoutputFileName=(string arg1)Method void QPrinter::setOutputFileName(const QString &)
[const]QPrinter_OutputFormatoutputFormatMethod QPrinter::OutputFormat QPrinter::outputFormat()
voidoutputFormat=(const QPrinter_OutputFormat format)Method void QPrinter::setOutputFormat(QPrinter::OutputFormat format)
[const]QPrinter_PageOrderpageOrderMethod QPrinter::PageOrder QPrinter::pageOrder()
voidpageOrder=(const QPrinter_PageOrder arg1)Method void QPrinter::setPageOrder(QPrinter::PageOrder)
[const]QRectpageRectMethod QRect QPrinter::pageRect()
[const]QRectFpageRect(const QPrinter_Unit arg1)Method QRectF QPrinter::pageRect(QPrinter::Unit)
[const]QPrinter_PageSizepageSizeMethod QPrinter::PageSize QPrinter::pageSize()
voidpageSize=(const QPrinter_PageSize arg1)Method void QPrinter::setPageSize(QPrinter::PageSize)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QPrinter::paintEngine()
[const]QRectpaperRectMethod QRect QPrinter::paperRect()
[const]QRectFpaperRect(const QPrinter_Unit arg1)Method QRectF QPrinter::paperRect(QPrinter::Unit)
[const]QPrinter_PageSizepaperSizeMethod QPrinter::PageSize QPrinter::paperSize()
[const]QSizeFpaperSize(const QPrinter_Unit unit)Method QSizeF QPrinter::paperSize(QPrinter::Unit unit)
voidpaperSize=(const QPrinter_PageSize arg1)Method void QPrinter::setPaperSize(QPrinter::PageSize)
[const]QPrinter_PaperSourcepaperSourceMethod QPrinter::PaperSource QPrinter::paperSource()
voidpaperSource=(const QPrinter_PaperSource arg1)Method void QPrinter::setPaperSource(QPrinter::PaperSource)
[const]QPrintEngine ptrprintEngineMethod QPrintEngine *QPrinter::printEngine()
[const]stringprintProgramMethod QString QPrinter::printProgram()
voidprintProgram=(string arg1)Method void QPrinter::setPrintProgram(const QString &)
[const]QPrinter_PrintRangeprintRangeMethod QPrinter::PrintRange QPrinter::printRange()
voidprintRange=(const QPrinter_PrintRange range)Method void QPrinter::setPrintRange(QPrinter::PrintRange range)
[const]stringprinterNameMethod QString QPrinter::printerName()
voidprinterName=(string arg1)Method void QPrinter::setPrinterName(const QString &)
[const]QPrinter_PrinterStateprinterStateMethod QPrinter::PrinterState QPrinter::printerState()
[const]intresolutionMethod int QPrinter::resolution()
voidresolution=(int arg1)Method void QPrinter::setResolution(int)
voidsetCollateCopies(bool collate)Method void QPrinter::setCollateCopies(bool collate)
voidsetColorMode(const QPrinter_ColorMode arg1)Method void QPrinter::setColorMode(QPrinter::ColorMode)
voidsetCreator(string arg1)Method void QPrinter::setCreator(const QString &)
voidsetDocName(string arg1)Method void QPrinter::setDocName(const QString &)
voidsetDoubleSidedPrinting(bool enable)Method void QPrinter::setDoubleSidedPrinting(bool enable)
voidsetDuplex(const QPrinter_DuplexMode duplex)Method void QPrinter::setDuplex(QPrinter::DuplexMode duplex)
voidsetFontEmbeddingEnabled(bool enable)Method void QPrinter::setFontEmbeddingEnabled(bool enable)
voidsetFromTo(int fromPage,
int toPage)
Method void QPrinter::setFromTo(int fromPage, int toPage)
voidsetFullPage(bool arg1)Method void QPrinter::setFullPage(bool)
voidsetNumCopies(int arg1)Method void QPrinter::setNumCopies(int)
voidsetOrientation(const QPrinter_Orientation arg1)Method void QPrinter::setOrientation(QPrinter::Orientation)
voidsetOutputFileName(string arg1)Method void QPrinter::setOutputFileName(const QString &)
voidsetOutputFormat(const QPrinter_OutputFormat format)Method void QPrinter::setOutputFormat(QPrinter::OutputFormat format)
voidsetPageMargins(double left,
double top,
double right,
double bottom,
const QPrinter_Unit unit)
Method void QPrinter::setPageMargins(double left, double top, double right, double bottom, QPrinter::Unit unit)
voidsetPageOrder(const QPrinter_PageOrder arg1)Method void QPrinter::setPageOrder(QPrinter::PageOrder)
voidsetPageSize(const QPrinter_PageSize arg1)Method void QPrinter::setPageSize(QPrinter::PageSize)
voidsetPaperSize(const QPrinter_PageSize arg1)Method void QPrinter::setPaperSize(QPrinter::PageSize)
voidsetPaperSize(const QSizeF paperSize,
const QPrinter_Unit unit)
Method void QPrinter::setPaperSize(const QSizeF &paperSize, QPrinter::Unit unit)
voidsetPaperSource(const QPrinter_PaperSource arg1)Method void QPrinter::setPaperSource(QPrinter::PaperSource)
voidsetPrintProgram(string arg1)Method void QPrinter::setPrintProgram(const QString &)
voidsetPrintRange(const QPrinter_PrintRange range)Method void QPrinter::setPrintRange(QPrinter::PrintRange range)
voidsetPrinterName(string arg1)Method void QPrinter::setPrinterName(const QString &)
voidsetResolution(int arg1)Method void QPrinter::setResolution(int)
[const]int[]supportedResolutionsMethod QList<int> QPrinter::supportedResolutions()
[const]inttoPageMethod int QPrinter::toPage()

Public static methods and constants

[static,const]QPrinter_PageSizeA0Enum constant QPrinter::A0
[static,const]QPrinter_PageSizeA1Enum constant QPrinter::A1
[static,const]QPrinter_PageSizeA2Enum constant QPrinter::A2
[static,const]QPrinter_PageSizeA3Enum constant QPrinter::A3
[static,const]QPrinter_PageSizeA4Enum constant QPrinter::A4
[static,const]QPrinter_PageSizeA5Enum constant QPrinter::A5
[static,const]QPrinter_PageSizeA6Enum constant QPrinter::A6
[static,const]QPrinter_PageSizeA7Enum constant QPrinter::A7
[static,const]QPrinter_PageSizeA8Enum constant QPrinter::A8
[static,const]QPrinter_PageSizeA9Enum constant QPrinter::A9
[static,const]QPrinter_PrinterStateAbortedEnum constant QPrinter::Aborted
[static,const]QPrinter_PrinterStateActiveEnum constant QPrinter::Active
[static,const]QPrinter_PrintRangeAllPagesEnum constant QPrinter::AllPages
[static,const]QPrinter_PaperSourceAutoEnum constant QPrinter::Auto
[static,const]QPrinter_PageSizeB0Enum constant QPrinter::B0
[static,const]QPrinter_PageSizeB1Enum constant QPrinter::B1
[static,const]QPrinter_PageSizeB10Enum constant QPrinter::B10
[static,const]QPrinter_PageSizeB2Enum constant QPrinter::B2
[static,const]QPrinter_PageSizeB3Enum constant QPrinter::B3
[static,const]QPrinter_PageSizeB4Enum constant QPrinter::B4
[static,const]QPrinter_PageSizeB5Enum constant QPrinter::B5
[static,const]QPrinter_PageSizeB6Enum constant QPrinter::B6
[static,const]QPrinter_PageSizeB7Enum constant QPrinter::B7
[static,const]QPrinter_PageSizeB8Enum constant QPrinter::B8
[static,const]QPrinter_PageSizeB9Enum constant QPrinter::B9
[static,const]QPrinter_PageSizeC5EEnum constant QPrinter::C5E
[static,const]QPrinter_PaperSourceCassetteEnum constant QPrinter::Cassette
[static,const]QPrinter_UnitCiceroEnum constant QPrinter::Cicero
[static,const]QPrinter_ColorModeColorEnum constant QPrinter::Color
[static,const]QPrinter_PageSizeComm10EEnum constant QPrinter::Comm10E
[static,const]QPrinter_PageSizeCustomEnum constant QPrinter::Custom
[static,const]QPrinter_PageSizeDLEEnum constant QPrinter::DLE
[static,const]QPrinter_UnitDevicePixelEnum constant QPrinter::DevicePixel
[static,const]QPrinter_UnitDidotEnum constant QPrinter::Didot
[static,const]QPrinter_DuplexModeDuplexAutoEnum constant QPrinter::DuplexAuto
[static,const]QPrinter_DuplexModeDuplexLongSideEnum constant QPrinter::DuplexLongSide
[static,const]QPrinter_DuplexModeDuplexNoneEnum constant QPrinter::DuplexNone
[static,const]QPrinter_DuplexModeDuplexShortSideEnum constant QPrinter::DuplexShortSide
[static,const]QPrinter_PaperSourceEnvelopeEnum constant QPrinter::Envelope
[static,const]QPrinter_PaperSourceEnvelopeManualEnum constant QPrinter::EnvelopeManual
[static,const]QPrinter_PrinterStateErrorEnum constant QPrinter::Error
[static,const]QPrinter_PageSizeExecutiveEnum constant QPrinter::Executive
[static,const]QPrinter_PageOrderFirstPageFirstEnum constant QPrinter::FirstPageFirst
[static,const]QPrinter_PageSizeFolioEnum constant QPrinter::Folio
[static,const]QPrinter_PaperSourceFormSourceEnum constant QPrinter::FormSource
[static,const]QPrinter_ColorModeGrayScaleEnum constant QPrinter::GrayScale
[static,const]QPrinter_PrinterModeHighResolutionEnum constant QPrinter::HighResolution
[static,const]QPrinter_PrinterStateIdleEnum constant QPrinter::Idle
[static,const]QPrinter_UnitInchEnum constant QPrinter::Inch
[static,const]QPrinter_OrientationLandscapeEnum constant QPrinter::Landscape
[static,const]QPrinter_PaperSourceLargeCapacityEnum constant QPrinter::LargeCapacity
[static,const]QPrinter_PaperSourceLargeFormatEnum constant QPrinter::LargeFormat
[static,const]QPrinter_PageOrderLastPageFirstEnum constant QPrinter::LastPageFirst
[static,const]QPrinter_PageSizeLedgerEnum constant QPrinter::Ledger
[static,const]QPrinter_PageSizeLegalEnum constant QPrinter::Legal
[static,const]QPrinter_PageSizeLetterEnum constant QPrinter::Letter
[static,const]QPrinter_PaperSourceLowerEnum constant QPrinter::Lower
[static,const]QPrinter_PaperSourceManualEnum constant QPrinter::Manual
[static,const]QPrinter_PaperSourceMaxPageSourceEnum constant QPrinter::MaxPageSource
[static,const]QPrinter_PaperSourceMiddleEnum constant QPrinter::Middle
[static,const]QPrinter_UnitMillimeterEnum constant QPrinter::Millimeter
[static,const]QPrinter_PageSizeNPageSizeEnum constant QPrinter::NPageSize
[static,const]QPrinter_PageSizeNPaperSizeEnum constant QPrinter::NPaperSize
[static,const]QPrinter_OutputFormatNativeFormatEnum constant QPrinter::NativeFormat
[static,const]QPrinter_PaperSourceOnlyOneEnum constant QPrinter::OnlyOne
[static,const]QPrinter_PrintRangePageRangeEnum constant QPrinter::PageRange
[static,const]QPrinter_OutputFormatPdfFormatEnum constant QPrinter::PdfFormat
[static,const]QPrinter_UnitPicaEnum constant QPrinter::Pica
[static,const]QPrinter_UnitPointEnum constant QPrinter::Point
[static,const]QPrinter_OrientationPortraitEnum constant QPrinter::Portrait
[static,const]QPrinter_OutputFormatPostScriptFormatEnum constant QPrinter::PostScriptFormat
[static,const]QPrinter_PrinterModePrinterResolutionEnum constant QPrinter::PrinterResolution
[static,const]QPrinter_PrinterModeScreenResolutionEnum constant QPrinter::ScreenResolution
[static,const]QPrinter_PrintRangeSelectionEnum constant QPrinter::Selection
[static,const]QPrinter_PaperSourceSmallFormatEnum constant QPrinter::SmallFormat
[static,const]QPrinter_PageSizeTabloidEnum constant QPrinter::Tabloid
[static,const]QPrinter_PaperSourceTractorEnum constant QPrinter::Tractor

Protected methods (static, non-static and constructors)

[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QPrinter::metric(QPaintDevice::PaintDeviceMetric)
voidsetEngines(QPrintEngine ptr printEngine,
QPaintEngine ptr paintEngine)
Method void QPrinter::setEngines(QPrintEngine *printEngine, QPaintEngine *paintEngine)

Detailed description

A0

Signature: [static,const] QPrinter_PageSize A0

Description: Enum constant QPrinter::A0

Python specific notes:
The object exposes a readable attribute 'A0'. This is the getter.

A1

Signature: [static,const] QPrinter_PageSize A1

Description: Enum constant QPrinter::A1

Python specific notes:
The object exposes a readable attribute 'A1'. This is the getter.

A2

Signature: [static,const] QPrinter_PageSize A2

Description: Enum constant QPrinter::A2

Python specific notes:
The object exposes a readable attribute 'A2'. This is the getter.

A3

Signature: [static,const] QPrinter_PageSize A3

Description: Enum constant QPrinter::A3

Python specific notes:
The object exposes a readable attribute 'A3'. This is the getter.

A4

Signature: [static,const] QPrinter_PageSize A4

Description: Enum constant QPrinter::A4

Python specific notes:
The object exposes a readable attribute 'A4'. This is the getter.

A5

Signature: [static,const] QPrinter_PageSize A5

Description: Enum constant QPrinter::A5

Python specific notes:
The object exposes a readable attribute 'A5'. This is the getter.

A6

Signature: [static,const] QPrinter_PageSize A6

Description: Enum constant QPrinter::A6

Python specific notes:
The object exposes a readable attribute 'A6'. This is the getter.

A7

Signature: [static,const] QPrinter_PageSize A7

Description: Enum constant QPrinter::A7

Python specific notes:
The object exposes a readable attribute 'A7'. This is the getter.

A8

Signature: [static,const] QPrinter_PageSize A8

Description: Enum constant QPrinter::A8

Python specific notes:
The object exposes a readable attribute 'A8'. This is the getter.

A9

Signature: [static,const] QPrinter_PageSize A9

Description: Enum constant QPrinter::A9

Python specific notes:
The object exposes a readable attribute 'A9'. This is the getter.

Aborted

Signature: [static,const] QPrinter_PrinterState Aborted

Description: Enum constant QPrinter::Aborted

Python specific notes:
The object exposes a readable attribute 'Aborted'. This is the getter.

Active

Signature: [static,const] QPrinter_PrinterState Active

Description: Enum constant QPrinter::Active

Python specific notes:
The object exposes a readable attribute 'Active'. This is the getter.

AllPages

Signature: [static,const] QPrinter_PrintRange AllPages

Description: Enum constant QPrinter::AllPages

Python specific notes:
The object exposes a readable attribute 'AllPages'. This is the getter.

Auto

Signature: [static,const] QPrinter_PaperSource Auto

Description: Enum constant QPrinter::Auto

Python specific notes:
The object exposes a readable attribute 'Auto'. This is the getter.

B0

Signature: [static,const] QPrinter_PageSize B0

Description: Enum constant QPrinter::B0

Python specific notes:
The object exposes a readable attribute 'B0'. This is the getter.

B1

Signature: [static,const] QPrinter_PageSize B1

Description: Enum constant QPrinter::B1

Python specific notes:
The object exposes a readable attribute 'B1'. This is the getter.

B10

Signature: [static,const] QPrinter_PageSize B10

Description: Enum constant QPrinter::B10

Python specific notes:
The object exposes a readable attribute 'B10'. This is the getter.

B2

Signature: [static,const] QPrinter_PageSize B2

Description: Enum constant QPrinter::B2

Python specific notes:
The object exposes a readable attribute 'B2'. This is the getter.

B3

Signature: [static,const] QPrinter_PageSize B3

Description: Enum constant QPrinter::B3

Python specific notes:
The object exposes a readable attribute 'B3'. This is the getter.

B4

Signature: [static,const] QPrinter_PageSize B4

Description: Enum constant QPrinter::B4

Python specific notes:
The object exposes a readable attribute 'B4'. This is the getter.

B5

Signature: [static,const] QPrinter_PageSize B5

Description: Enum constant QPrinter::B5

Python specific notes:
The object exposes a readable attribute 'B5'. This is the getter.

B6

Signature: [static,const] QPrinter_PageSize B6

Description: Enum constant QPrinter::B6

Python specific notes:
The object exposes a readable attribute 'B6'. This is the getter.

B7

Signature: [static,const] QPrinter_PageSize B7

Description: Enum constant QPrinter::B7

Python specific notes:
The object exposes a readable attribute 'B7'. This is the getter.

B8

Signature: [static,const] QPrinter_PageSize B8

Description: Enum constant QPrinter::B8

Python specific notes:
The object exposes a readable attribute 'B8'. This is the getter.

B9

Signature: [static,const] QPrinter_PageSize B9

Description: Enum constant QPrinter::B9

Python specific notes:
The object exposes a readable attribute 'B9'. This is the getter.

C5E

Signature: [static,const] QPrinter_PageSize C5E

Description: Enum constant QPrinter::C5E

Python specific notes:
The object exposes a readable attribute 'C5E'. This is the getter.

Cassette

Signature: [static,const] QPrinter_PaperSource Cassette

Description: Enum constant QPrinter::Cassette

Python specific notes:
The object exposes a readable attribute 'Cassette'. This is the getter.

Cicero

Signature: [static,const] QPrinter_Unit Cicero

Description: Enum constant QPrinter::Cicero

Python specific notes:
The object exposes a readable attribute 'Cicero'. This is the getter.

Color

Signature: [static,const] QPrinter_ColorMode Color

Description: Enum constant QPrinter::Color

Python specific notes:
The object exposes a readable attribute 'Color'. This is the getter.

Comm10E

Signature: [static,const] QPrinter_PageSize Comm10E

Description: Enum constant QPrinter::Comm10E

Python specific notes:
The object exposes a readable attribute 'Comm10E'. This is the getter.

Custom

Signature: [static,const] QPrinter_PageSize Custom

Description: Enum constant QPrinter::Custom

Python specific notes:
The object exposes a readable attribute 'Custom'. This is the getter.

DLE

Signature: [static,const] QPrinter_PageSize DLE

Description: Enum constant QPrinter::DLE

Python specific notes:
The object exposes a readable attribute 'DLE'. This is the getter.

DevicePixel

Signature: [static,const] QPrinter_Unit DevicePixel

Description: Enum constant QPrinter::DevicePixel

Python specific notes:
The object exposes a readable attribute 'DevicePixel'. This is the getter.

Didot

Signature: [static,const] QPrinter_Unit Didot

Description: Enum constant QPrinter::Didot

Python specific notes:
The object exposes a readable attribute 'Didot'. This is the getter.

DuplexAuto

Signature: [static,const] QPrinter_DuplexMode DuplexAuto

Description: Enum constant QPrinter::DuplexAuto

Python specific notes:
The object exposes a readable attribute 'DuplexAuto'. This is the getter.

DuplexLongSide

Signature: [static,const] QPrinter_DuplexMode DuplexLongSide

Description: Enum constant QPrinter::DuplexLongSide

Python specific notes:
The object exposes a readable attribute 'DuplexLongSide'. This is the getter.

DuplexNone

Signature: [static,const] QPrinter_DuplexMode DuplexNone

Description: Enum constant QPrinter::DuplexNone

Python specific notes:
The object exposes a readable attribute 'DuplexNone'. This is the getter.

DuplexShortSide

Signature: [static,const] QPrinter_DuplexMode DuplexShortSide

Description: Enum constant QPrinter::DuplexShortSide

Python specific notes:
The object exposes a readable attribute 'DuplexShortSide'. This is the getter.

Envelope

Signature: [static,const] QPrinter_PaperSource Envelope

Description: Enum constant QPrinter::Envelope

Python specific notes:
The object exposes a readable attribute 'Envelope'. This is the getter.

EnvelopeManual

Signature: [static,const] QPrinter_PaperSource EnvelopeManual

Description: Enum constant QPrinter::EnvelopeManual

Python specific notes:
The object exposes a readable attribute 'EnvelopeManual'. This is the getter.

Error

Signature: [static,const] QPrinter_PrinterState Error

Description: Enum constant QPrinter::Error

Python specific notes:
The object exposes a readable attribute 'Error'. This is the getter.

Executive

Signature: [static,const] QPrinter_PageSize Executive

Description: Enum constant QPrinter::Executive

Python specific notes:
The object exposes a readable attribute 'Executive'. This is the getter.

FirstPageFirst

Signature: [static,const] QPrinter_PageOrder FirstPageFirst

Description: Enum constant QPrinter::FirstPageFirst

Python specific notes:
The object exposes a readable attribute 'FirstPageFirst'. This is the getter.

Folio

Signature: [static,const] QPrinter_PageSize Folio

Description: Enum constant QPrinter::Folio

Python specific notes:
The object exposes a readable attribute 'Folio'. This is the getter.

FormSource

Signature: [static,const] QPrinter_PaperSource FormSource

Description: Enum constant QPrinter::FormSource

Python specific notes:
The object exposes a readable attribute 'FormSource'. This is the getter.

GrayScale

Signature: [static,const] QPrinter_ColorMode GrayScale

Description: Enum constant QPrinter::GrayScale

Python specific notes:
The object exposes a readable attribute 'GrayScale'. This is the getter.

HighResolution

Signature: [static,const] QPrinter_PrinterMode HighResolution

Description: Enum constant QPrinter::HighResolution

Python specific notes:
The object exposes a readable attribute 'HighResolution'. This is the getter.

Idle

Signature: [static,const] QPrinter_PrinterState Idle

Description: Enum constant QPrinter::Idle

Python specific notes:
The object exposes a readable attribute 'Idle'. This is the getter.

Inch

Signature: [static,const] QPrinter_Unit Inch

Description: Enum constant QPrinter::Inch

Python specific notes:
The object exposes a readable attribute 'Inch'. This is the getter.

Landscape

Signature: [static,const] QPrinter_Orientation Landscape

Description: Enum constant QPrinter::Landscape

Python specific notes:
The object exposes a readable attribute 'Landscape'. This is the getter.

LargeCapacity

Signature: [static,const] QPrinter_PaperSource LargeCapacity

Description: Enum constant QPrinter::LargeCapacity

Python specific notes:
The object exposes a readable attribute 'LargeCapacity'. This is the getter.

LargeFormat

Signature: [static,const] QPrinter_PaperSource LargeFormat

Description: Enum constant QPrinter::LargeFormat

Python specific notes:
The object exposes a readable attribute 'LargeFormat'. This is the getter.

LastPageFirst

Signature: [static,const] QPrinter_PageOrder LastPageFirst

Description: Enum constant QPrinter::LastPageFirst

Python specific notes:
The object exposes a readable attribute 'LastPageFirst'. This is the getter.

Ledger

Signature: [static,const] QPrinter_PageSize Ledger

Description: Enum constant QPrinter::Ledger

Python specific notes:
The object exposes a readable attribute 'Ledger'. This is the getter.

Legal

Signature: [static,const] QPrinter_PageSize Legal

Description: Enum constant QPrinter::Legal

Python specific notes:
The object exposes a readable attribute 'Legal'. This is the getter.

Letter

Signature: [static,const] QPrinter_PageSize Letter

Description: Enum constant QPrinter::Letter

Python specific notes:
The object exposes a readable attribute 'Letter'. This is the getter.

Lower

Signature: [static,const] QPrinter_PaperSource Lower

Description: Enum constant QPrinter::Lower

Python specific notes:
The object exposes a readable attribute 'Lower'. This is the getter.

Manual

Signature: [static,const] QPrinter_PaperSource Manual

Description: Enum constant QPrinter::Manual

Python specific notes:
The object exposes a readable attribute 'Manual'. This is the getter.

MaxPageSource

Signature: [static,const] QPrinter_PaperSource MaxPageSource

Description: Enum constant QPrinter::MaxPageSource

Python specific notes:
The object exposes a readable attribute 'MaxPageSource'. This is the getter.

Middle

Signature: [static,const] QPrinter_PaperSource Middle

Description: Enum constant QPrinter::Middle

Python specific notes:
The object exposes a readable attribute 'Middle'. This is the getter.

Millimeter

Signature: [static,const] QPrinter_Unit Millimeter

Description: Enum constant QPrinter::Millimeter

Python specific notes:
The object exposes a readable attribute 'Millimeter'. This is the getter.

NPageSize

Signature: [static,const] QPrinter_PageSize NPageSize

Description: Enum constant QPrinter::NPageSize

Python specific notes:
The object exposes a readable attribute 'NPageSize'. This is the getter.

NPaperSize

Signature: [static,const] QPrinter_PageSize NPaperSize

Description: Enum constant QPrinter::NPaperSize

Python specific notes:
The object exposes a readable attribute 'NPaperSize'. This is the getter.

NativeFormat

Signature: [static,const] QPrinter_OutputFormat NativeFormat

Description: Enum constant QPrinter::NativeFormat

Python specific notes:
The object exposes a readable attribute 'NativeFormat'. This is the getter.

OnlyOne

Signature: [static,const] QPrinter_PaperSource OnlyOne

Description: Enum constant QPrinter::OnlyOne

Python specific notes:
The object exposes a readable attribute 'OnlyOne'. This is the getter.

PageRange

Signature: [static,const] QPrinter_PrintRange PageRange

Description: Enum constant QPrinter::PageRange

Python specific notes:
The object exposes a readable attribute 'PageRange'. This is the getter.

PdfFormat

Signature: [static,const] QPrinter_OutputFormat PdfFormat

Description: Enum constant QPrinter::PdfFormat

Python specific notes:
The object exposes a readable attribute 'PdfFormat'. This is the getter.

Pica

Signature: [static,const] QPrinter_Unit Pica

Description: Enum constant QPrinter::Pica

Python specific notes:
The object exposes a readable attribute 'Pica'. This is the getter.

Point

Signature: [static,const] QPrinter_Unit Point

Description: Enum constant QPrinter::Point

Python specific notes:
The object exposes a readable attribute 'Point'. This is the getter.

Portrait

Signature: [static,const] QPrinter_Orientation Portrait

Description: Enum constant QPrinter::Portrait

Python specific notes:
The object exposes a readable attribute 'Portrait'. This is the getter.

PostScriptFormat

Signature: [static,const] QPrinter_OutputFormat PostScriptFormat

Description: Enum constant QPrinter::PostScriptFormat

Python specific notes:
The object exposes a readable attribute 'PostScriptFormat'. This is the getter.

PrinterResolution

Signature: [static,const] QPrinter_PrinterMode PrinterResolution

Description: Enum constant QPrinter::PrinterResolution

Python specific notes:
The object exposes a readable attribute 'PrinterResolution'. This is the getter.

ScreenResolution

Signature: [static,const] QPrinter_PrinterMode ScreenResolution

Description: Enum constant QPrinter::ScreenResolution

Python specific notes:
The object exposes a readable attribute 'ScreenResolution'. This is the getter.

Selection

Signature: [static,const] QPrinter_PrintRange Selection

Description: Enum constant QPrinter::Selection

Python specific notes:
The object exposes a readable attribute 'Selection'. This is the getter.

SmallFormat

Signature: [static,const] QPrinter_PaperSource SmallFormat

Description: Enum constant QPrinter::SmallFormat

Python specific notes:
The object exposes a readable attribute 'SmallFormat'. This is the getter.

Tabloid

Signature: [static,const] QPrinter_PageSize Tabloid

Description: Enum constant QPrinter::Tabloid

Python specific notes:
The object exposes a readable attribute 'Tabloid'. This is the getter.

Tractor

Signature: [static,const] QPrinter_PaperSource Tractor

Description: Enum constant QPrinter::Tractor

Python specific notes:
The object exposes a readable attribute 'Tractor'. This is the getter.

_const_cast

Signature: [const] QPrinter ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

abort

Signature: bool abort

Description: Method bool QPrinter::abort()

actualNumCopies

Signature: [const] int actualNumCopies

Description: Method int QPrinter::actualNumCopies()

collateCopies

Signature: [const] bool collateCopies

Description: Method bool QPrinter::collateCopies()

Python specific notes:
The object exposes a readable attribute 'collateCopies'. This is the getter.

collateCopies=

Signature: void collateCopies= (bool collate)

Description: Method void QPrinter::setCollateCopies(bool collate)

Python specific notes:
The object exposes a writable attribute 'collateCopies'. This is the setter.

colorMode

Signature: [const] QPrinter_ColorMode colorMode

Description: Method QPrinter::ColorMode QPrinter::colorMode()

Python specific notes:
The object exposes a readable attribute 'colorMode'. This is the getter.

colorMode=

Signature: void colorMode= (const QPrinter_ColorMode arg1)

Description: Method void QPrinter::setColorMode(QPrinter::ColorMode)

Python specific notes:
The object exposes a writable attribute 'colorMode'. This is the setter.

creator

Signature: [const] string creator

Description: Method QString QPrinter::creator()

Python specific notes:
The object exposes a readable attribute 'creator'. This is the getter.

creator=

Signature: void creator= (string arg1)

Description: Method void QPrinter::setCreator(const QString &)

Python specific notes:
The object exposes a writable attribute 'creator'. This is the setter.

docName

Signature: [const] string docName

Description: Method QString QPrinter::docName()

Python specific notes:
The object exposes a readable attribute 'docName'. This is the getter.

docName=

Signature: void docName= (string arg1)

Description: Method void QPrinter::setDocName(const QString &)

Python specific notes:
The object exposes a writable attribute 'docName'. This is the setter.

doubleSidedPrinting

Signature: [const] bool doubleSidedPrinting

Description: Method bool QPrinter::doubleSidedPrinting()

Python specific notes:
The object exposes a readable attribute 'doubleSidedPrinting'. This is the getter.

doubleSidedPrinting=

Signature: void doubleSidedPrinting= (bool enable)

Description: Method void QPrinter::setDoubleSidedPrinting(bool enable)

Python specific notes:
The object exposes a writable attribute 'doubleSidedPrinting'. This is the setter.

duplex

Signature: [const] QPrinter_DuplexMode duplex

Description: Method QPrinter::DuplexMode QPrinter::duplex()

Python specific notes:
The object exposes a readable attribute 'duplex'. This is the getter.

duplex=

Signature: void duplex= (const QPrinter_DuplexMode duplex)

Description: Method void QPrinter::setDuplex(QPrinter::DuplexMode duplex)

Python specific notes:
The object exposes a writable attribute 'duplex'. This is the setter.

fontEmbeddingEnabled

Signature: [const] bool fontEmbeddingEnabled

Description: Method bool QPrinter::fontEmbeddingEnabled()

Python specific notes:
The object exposes a readable attribute 'fontEmbeddingEnabled'. This is the getter.

fontEmbeddingEnabled=

Signature: void fontEmbeddingEnabled= (bool enable)

Description: Method void QPrinter::setFontEmbeddingEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'fontEmbeddingEnabled'. This is the setter.

fromPage

Signature: [const] int fromPage

Description: Method int QPrinter::fromPage()

fullPage

Signature: [const] bool fullPage

Description: Method bool QPrinter::fullPage()

Python specific notes:
The object exposes a readable attribute 'fullPage'. This is the getter.

fullPage=

Signature: void fullPage= (bool arg1)

Description: Method void QPrinter::setFullPage(bool)

Python specific notes:
The object exposes a writable attribute 'fullPage'. This is the setter.

getPageMargins

Signature: [const] void getPageMargins (double ptr left, double ptr top, double ptr right, double ptr bottom, const QPrinter_Unit unit)

Description: Method void QPrinter::getPageMargins(double *left, double *top, double *right, double *bottom, QPrinter::Unit unit)

isValid?

Signature: [const] bool isValid?

Description: Method bool QPrinter::isValid()

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QPrinter::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

new

(1) Signature: [static] new QPrinter new (const QPrinter_PrinterMode mode = QPrinter::ScreenResolution)

Description: Constructor QPrinter::QPrinter(QPrinter::PrinterMode mode)

This method creates an object of class QPrinter.

Python specific notes:
This method is the default initializer of the object.

(2) Signature: [static] new QPrinter new (const QPrinterInfo printer, const QPrinter_PrinterMode mode = QPrinter::ScreenResolution)

Description: Constructor QPrinter::QPrinter(const QPrinterInfo &printer, QPrinter::PrinterMode mode)

This method creates an object of class QPrinter.

Python specific notes:
This method is the default initializer of the object.

newPage

Signature: bool newPage

Description: Method bool QPrinter::newPage()

numCopies

Signature: [const] int numCopies

Description: Method int QPrinter::numCopies()

Python specific notes:
The object exposes a readable attribute 'numCopies'. This is the getter.

numCopies=

Signature: void numCopies= (int arg1)

Description: Method void QPrinter::setNumCopies(int)

Python specific notes:
The object exposes a writable attribute 'numCopies'. This is the setter.

orientation

Signature: [const] QPrinter_Orientation orientation

Description: Method QPrinter::Orientation QPrinter::orientation()

Python specific notes:
The object exposes a readable attribute 'orientation'. This is the getter.

orientation=

Signature: void orientation= (const QPrinter_Orientation arg1)

Description: Method void QPrinter::setOrientation(QPrinter::Orientation)

Python specific notes:
The object exposes a writable attribute 'orientation'. This is the setter.

outputFileName

Signature: [const] string outputFileName

Description: Method QString QPrinter::outputFileName()

Python specific notes:
The object exposes a readable attribute 'outputFileName'. This is the getter.

outputFileName=

Signature: void outputFileName= (string arg1)

Description: Method void QPrinter::setOutputFileName(const QString &)

Python specific notes:
The object exposes a writable attribute 'outputFileName'. This is the setter.

outputFormat

Signature: [const] QPrinter_OutputFormat outputFormat

Description: Method QPrinter::OutputFormat QPrinter::outputFormat()

Python specific notes:
The object exposes a readable attribute 'outputFormat'. This is the getter.

outputFormat=

Signature: void outputFormat= (const QPrinter_OutputFormat format)

Description: Method void QPrinter::setOutputFormat(QPrinter::OutputFormat format)

Python specific notes:
The object exposes a writable attribute 'outputFormat'. This is the setter.

pageOrder

Signature: [const] QPrinter_PageOrder pageOrder

Description: Method QPrinter::PageOrder QPrinter::pageOrder()

Python specific notes:
The object exposes a readable attribute 'pageOrder'. This is the getter.

pageOrder=

Signature: void pageOrder= (const QPrinter_PageOrder arg1)

Description: Method void QPrinter::setPageOrder(QPrinter::PageOrder)

Python specific notes:
The object exposes a writable attribute 'pageOrder'. This is the setter.

pageRect

(1) Signature: [const] QRect pageRect

Description: Method QRect QPrinter::pageRect()

(2) Signature: [const] QRectF pageRect (const QPrinter_Unit arg1)

Description: Method QRectF QPrinter::pageRect(QPrinter::Unit)

pageSize

Signature: [const] QPrinter_PageSize pageSize

Description: Method QPrinter::PageSize QPrinter::pageSize()

Python specific notes:
The object exposes a readable attribute 'pageSize'. This is the getter.

pageSize=

Signature: void pageSize= (const QPrinter_PageSize arg1)

Description: Method void QPrinter::setPageSize(QPrinter::PageSize)

Python specific notes:
The object exposes a writable attribute 'pageSize'. This is the setter.

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QPrinter::paintEngine()

This method can be reimplemented in a derived class.

paperRect

(1) Signature: [const] QRect paperRect

Description: Method QRect QPrinter::paperRect()

(2) Signature: [const] QRectF paperRect (const QPrinter_Unit arg1)

Description: Method QRectF QPrinter::paperRect(QPrinter::Unit)

paperSize

(1) Signature: [const] QPrinter_PageSize paperSize

Description: Method QPrinter::PageSize QPrinter::paperSize()

Python specific notes:
The object exposes a readable attribute 'paperSize'. This is the getter.

(2) Signature: [const] QSizeF paperSize (const QPrinter_Unit unit)

Description: Method QSizeF QPrinter::paperSize(QPrinter::Unit unit)

Python specific notes:
This method is available as 'paperSize_' in Python to distiguish it from the property with the same name.

paperSize=

Signature: void paperSize= (const QPrinter_PageSize arg1)

Description: Method void QPrinter::setPaperSize(QPrinter::PageSize)

Python specific notes:
The object exposes a writable attribute 'paperSize'. This is the setter.

paperSource

Signature: [const] QPrinter_PaperSource paperSource

Description: Method QPrinter::PaperSource QPrinter::paperSource()

Python specific notes:
The object exposes a readable attribute 'paperSource'. This is the getter.

paperSource=

Signature: void paperSource= (const QPrinter_PaperSource arg1)

Description: Method void QPrinter::setPaperSource(QPrinter::PaperSource)

Python specific notes:
The object exposes a writable attribute 'paperSource'. This is the setter.

printEngine

Signature: [const] QPrintEngine ptr printEngine

Description: Method QPrintEngine *QPrinter::printEngine()

printProgram

Signature: [const] string printProgram

Description: Method QString QPrinter::printProgram()

Python specific notes:
The object exposes a readable attribute 'printProgram'. This is the getter.

printProgram=

Signature: void printProgram= (string arg1)

Description: Method void QPrinter::setPrintProgram(const QString &)

Python specific notes:
The object exposes a writable attribute 'printProgram'. This is the setter.

printRange

Signature: [const] QPrinter_PrintRange printRange

Description: Method QPrinter::PrintRange QPrinter::printRange()

Python specific notes:
The object exposes a readable attribute 'printRange'. This is the getter.

printRange=

Signature: void printRange= (const QPrinter_PrintRange range)

Description: Method void QPrinter::setPrintRange(QPrinter::PrintRange range)

Python specific notes:
The object exposes a writable attribute 'printRange'. This is the setter.

printerName

Signature: [const] string printerName

Description: Method QString QPrinter::printerName()

Python specific notes:
The object exposes a readable attribute 'printerName'. This is the getter.

printerName=

Signature: void printerName= (string arg1)

Description: Method void QPrinter::setPrinterName(const QString &)

Python specific notes:
The object exposes a writable attribute 'printerName'. This is the setter.

printerState

Signature: [const] QPrinter_PrinterState printerState

Description: Method QPrinter::PrinterState QPrinter::printerState()

resolution

Signature: [const] int resolution

Description: Method int QPrinter::resolution()

Python specific notes:
The object exposes a readable attribute 'resolution'. This is the getter.

resolution=

Signature: void resolution= (int arg1)

Description: Method void QPrinter::setResolution(int)

Python specific notes:
The object exposes a writable attribute 'resolution'. This is the setter.

setCollateCopies

Signature: void setCollateCopies (bool collate)

Description: Method void QPrinter::setCollateCopies(bool collate)

Python specific notes:
The object exposes a writable attribute 'collateCopies'. This is the setter.

setColorMode

Signature: void setColorMode (const QPrinter_ColorMode arg1)

Description: Method void QPrinter::setColorMode(QPrinter::ColorMode)

Python specific notes:
The object exposes a writable attribute 'colorMode'. This is the setter.

setCreator

Signature: void setCreator (string arg1)

Description: Method void QPrinter::setCreator(const QString &)

Python specific notes:
The object exposes a writable attribute 'creator'. This is the setter.

setDocName

Signature: void setDocName (string arg1)

Description: Method void QPrinter::setDocName(const QString &)

Python specific notes:
The object exposes a writable attribute 'docName'. This is the setter.

setDoubleSidedPrinting

Signature: void setDoubleSidedPrinting (bool enable)

Description: Method void QPrinter::setDoubleSidedPrinting(bool enable)

Python specific notes:
The object exposes a writable attribute 'doubleSidedPrinting'. This is the setter.

setDuplex

Signature: void setDuplex (const QPrinter_DuplexMode duplex)

Description: Method void QPrinter::setDuplex(QPrinter::DuplexMode duplex)

Python specific notes:
The object exposes a writable attribute 'duplex'. This is the setter.

setEngines

Signature: void setEngines (QPrintEngine ptr printEngine, QPaintEngine ptr paintEngine)

Description: Method void QPrinter::setEngines(QPrintEngine *printEngine, QPaintEngine *paintEngine)

This method is protected and can only be called from inside a derived class.

setFontEmbeddingEnabled

Signature: void setFontEmbeddingEnabled (bool enable)

Description: Method void QPrinter::setFontEmbeddingEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'fontEmbeddingEnabled'. This is the setter.

setFromTo

Signature: void setFromTo (int fromPage, int toPage)

Description: Method void QPrinter::setFromTo(int fromPage, int toPage)

setFullPage

Signature: void setFullPage (bool arg1)

Description: Method void QPrinter::setFullPage(bool)

Python specific notes:
The object exposes a writable attribute 'fullPage'. This is the setter.

setNumCopies

Signature: void setNumCopies (int arg1)

Description: Method void QPrinter::setNumCopies(int)

Python specific notes:
The object exposes a writable attribute 'numCopies'. This is the setter.

setOrientation

Signature: void setOrientation (const QPrinter_Orientation arg1)

Description: Method void QPrinter::setOrientation(QPrinter::Orientation)

Python specific notes:
The object exposes a writable attribute 'orientation'. This is the setter.

setOutputFileName

Signature: void setOutputFileName (string arg1)

Description: Method void QPrinter::setOutputFileName(const QString &)

Python specific notes:
The object exposes a writable attribute 'outputFileName'. This is the setter.

setOutputFormat

Signature: void setOutputFormat (const QPrinter_OutputFormat format)

Description: Method void QPrinter::setOutputFormat(QPrinter::OutputFormat format)

Python specific notes:
The object exposes a writable attribute 'outputFormat'. This is the setter.

setPageMargins

Signature: void setPageMargins (double left, double top, double right, double bottom, const QPrinter_Unit unit)

Description: Method void QPrinter::setPageMargins(double left, double top, double right, double bottom, QPrinter::Unit unit)

setPageOrder

Signature: void setPageOrder (const QPrinter_PageOrder arg1)

Description: Method void QPrinter::setPageOrder(QPrinter::PageOrder)

Python specific notes:
The object exposes a writable attribute 'pageOrder'. This is the setter.

setPageSize

Signature: void setPageSize (const QPrinter_PageSize arg1)

Description: Method void QPrinter::setPageSize(QPrinter::PageSize)

Python specific notes:
The object exposes a writable attribute 'pageSize'. This is the setter.

setPaperSize

(1) Signature: void setPaperSize (const QPrinter_PageSize arg1)

Description: Method void QPrinter::setPaperSize(QPrinter::PageSize)

Python specific notes:
The object exposes a writable attribute 'paperSize'. This is the setter.

(2) Signature: void setPaperSize (const QSizeF paperSize, const QPrinter_Unit unit)

Description: Method void QPrinter::setPaperSize(const QSizeF &paperSize, QPrinter::Unit unit)

setPaperSource

Signature: void setPaperSource (const QPrinter_PaperSource arg1)

Description: Method void QPrinter::setPaperSource(QPrinter::PaperSource)

Python specific notes:
The object exposes a writable attribute 'paperSource'. This is the setter.

setPrintProgram

Signature: void setPrintProgram (string arg1)

Description: Method void QPrinter::setPrintProgram(const QString &)

Python specific notes:
The object exposes a writable attribute 'printProgram'. This is the setter.

setPrintRange

Signature: void setPrintRange (const QPrinter_PrintRange range)

Description: Method void QPrinter::setPrintRange(QPrinter::PrintRange range)

Python specific notes:
The object exposes a writable attribute 'printRange'. This is the setter.

setPrinterName

Signature: void setPrinterName (string arg1)

Description: Method void QPrinter::setPrinterName(const QString &)

Python specific notes:
The object exposes a writable attribute 'printerName'. This is the setter.

setResolution

Signature: void setResolution (int arg1)

Description: Method void QPrinter::setResolution(int)

Python specific notes:
The object exposes a writable attribute 'resolution'. This is the setter.

supportedResolutions

Signature: [const] int[] supportedResolutions

Description: Method QList<int> QPrinter::supportedResolutions()

toPage

Signature: [const] int toPage

Description: Method int QPrinter::toPage()