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

API reference - Class QPrinter

Notation used in Ruby API documentation

Module: QtPrintSupport

Description: Binding of QPrinter

Class hierarchy: QPrinter » QPagedPaintDevice » QPaintDevice

Sub-classes: ColorMode, QFlags_ColorMode, DuplexMode, QFlags_DuplexMode, Orientation, QFlags_Orientation, OutputFormat, QFlags_OutputFormat, PageOrder, QFlags_PageOrder, 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]intcopyCountMethod int QPrinter::copyCount()
voidcopyCount=(int arg1)Method void QPrinter::setCopyCount(int)
[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()
voidmargins=(const QPagedPaintDevice_Margins m)Method void QPrinter::setMargins(const QPagedPaintDevice::Margins &m)
boolnewPageVirtual method 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]QPagedPaintDevice_PageSizepageSizeMethod QPagedPaintDevice::PageSize QPrinter::pageSize()
voidpageSize=(const QPagedPaintDevice_PageSize size)Method void QPrinter::setPageSize(QPagedPaintDevice::PageSize size)
voidpageSizeMM=(const QSizeF size)Method void QPrinter::setPageSizeMM(const QSizeF &size)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QPrinter::paintEngine()
[const]stringpaperNameMethod QString QPrinter::paperName()
voidpaperName=(string paperName)Method void QPrinter::setPaperName(const QString &paperName)
[const]QRectpaperRectMethod QRect QPrinter::paperRect()
[const]QRectFpaperRect(const QPrinter_Unit arg1)Method QRectF QPrinter::paperRect(QPrinter::Unit)
[const]QPagedPaintDevice_PageSizepaperSizeMethod QPagedPaintDevice::PageSize QPrinter::paperSize()
[const]QSizeFpaperSize(const QPrinter_Unit unit)Method QSizeF QPrinter::paperSize(QPrinter::Unit unit)
voidpaperSize=(const QPagedPaintDevice_PageSize arg1)Method void QPrinter::setPaperSize(QPagedPaintDevice::PageSize)
[const]QPrinter_PaperSourcepaperSourceMethod QPrinter::PaperSource QPrinter::paperSource()
voidpaperSource=(const QPrinter_PaperSource arg1)Method void QPrinter::setPaperSource(QPrinter::PaperSource)
[const]QPagedPaintDevice_PdfVersionpdfVersionMethod QPagedPaintDevice::PdfVersion QPrinter::pdfVersion()
voidpdfVersion=(const QPagedPaintDevice_PdfVersion version)Method void QPrinter::setPdfVersion(QPagedPaintDevice::PdfVersion version)
[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)
voidsetCopyCount(int arg1)Method void QPrinter::setCopyCount(int)
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)
voidsetMargins(const QPagedPaintDevice_Margins m)Virtual method void QPrinter::setMargins(const QPagedPaintDevice::Margins &m)
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)
boolsetPageMargins(const QMarginsF margins,
const QPageLayout_Unit units)
Method bool QPrinter::setPageMargins(const QMarginsF &margins, QPageLayout::Unit units)
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 QPagedPaintDevice_PageSize size)Virtual method void QPrinter::setPageSize(QPagedPaintDevice::PageSize size)
voidsetPageSizeMM(const QSizeF size)Virtual method void QPrinter::setPageSizeMM(const QSizeF &size)
voidsetPaperName(string paperName)Method void QPrinter::setPaperName(const QString &paperName)
voidsetPaperSize(const QPagedPaintDevice_PageSize arg1)Method void QPrinter::setPaperSize(QPagedPaintDevice::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)
voidsetPdfVersion(const QPagedPaintDevice_PdfVersion version)Method void QPrinter::setPdfVersion(QPagedPaintDevice::PdfVersion version)
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)
voidsetWinPageSize(int winPageSize)Method void QPrinter::setWinPageSize(int winPageSize)
[const]int[]supportedResolutionsMethod QList<int> QPrinter::supportedResolutions()
[const]boolsupportsMultipleCopiesMethod bool QPrinter::supportsMultipleCopies()
[const]inttoPageMethod int QPrinter::toPage()
[const]intwinPageSizeMethod int QPrinter::winPageSize()
voidwinPageSize=(int winPageSize)Method void QPrinter::setWinPageSize(int winPageSize)

Public static methods and constants

[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_PaperSourceCassetteEnum constant QPrinter::Cassette
[static,const]QPrinter_UnitCiceroEnum constant QPrinter::Cicero
[static,const]QPrinter_ColorModeColorEnum constant QPrinter::Color
[static,const]QPrinter_PrintRangeCurrentPageEnum constant QPrinter::CurrentPage
[static,const]QPrinter_PaperSourceCustomSourceEnum constant QPrinter::CustomSource
[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_PageOrderFirstPageFirstEnum constant QPrinter::FirstPageFirst
[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_PaperSourceLastPaperSourceEnum constant QPrinter::LastPaperSource
[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_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_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_PaperSourceTractorEnum constant QPrinter::Tractor
[static,const]QPrinter_PaperSourceUpperEnum constant QPrinter::Upper

Protected methods (static, non-static and constructors)

[const]QPageLayoutdevicePageLayoutMethod QPageLayout QPrinter::devicePageLayout()
QPageLayoutdevicePageLayoutMethod QPageLayout &QPrinter::devicePageLayout()
[const]voidinitPainter(QPainter ptr painter)Virtual method void QPrinter::initPainter(QPainter *painter)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QPrinter::metric(QPaintDevice::PaintDeviceMetric)
[const]QPaintDevice ptrredirected(QPoint ptr offset)Virtual method QPaintDevice *QPrinter::redirected(QPoint *offset)
voidsetEngines(QPrintEngine ptr printEngine,
QPaintEngine ptr paintEngine)
Method void QPrinter::setEngines(QPrintEngine *printEngine, QPaintEngine *paintEngine)
[const]QPainter ptrsharedPainterVirtual method QPainter *QPrinter::sharedPainter()

Detailed description

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.

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.

CurrentPage

Signature: [static,const] QPrinter_PrintRange CurrentPage

Description: Enum constant QPrinter::CurrentPage

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

CustomSource

Signature: [static,const] QPrinter_PaperSource CustomSource

Description: Enum constant QPrinter::CustomSource

Python specific notes:
The object exposes a readable attribute 'CustomSource'. 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.

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.

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.

LastPaperSource

Signature: [static,const] QPrinter_PaperSource LastPaperSource

Description: Enum constant QPrinter::LastPaperSource

Python specific notes:
The object exposes a readable attribute 'LastPaperSource'. 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.

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.

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.

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.

Upper

Signature: [static,const] QPrinter_PaperSource Upper

Description: Enum constant QPrinter::Upper

Python specific notes:
The object exposes a readable attribute 'Upper'. 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.

copyCount

Signature: [const] int copyCount

Description: Method int QPrinter::copyCount()

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

copyCount=

Signature: void copyCount= (int arg1)

Description: Method void QPrinter::setCopyCount(int)

Python specific notes:
The object exposes a writable attribute 'copyCount'. 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.

devicePageLayout

(1) Signature: [const] QPageLayout devicePageLayout

Description: Method QPageLayout QPrinter::devicePageLayout()

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

(2) Signature: QPageLayout devicePageLayout

Description: Method QPageLayout &QPrinter::devicePageLayout()

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

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)

initPainter

Signature: [const] void initPainter (QPainter ptr painter)

Description: Virtual method void QPrinter::initPainter(QPainter *painter)

This method can be reimplemented in a derived class.

isValid?

Signature: [const] bool isValid?

Description: Method bool QPrinter::isValid()

margins=

Signature: void margins= (const QPagedPaintDevice_Margins m)

Description: Method void QPrinter::setMargins(const QPagedPaintDevice::Margins &m)

This is a reimplementation of QPagedPaintDevice::setMargins

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

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: Virtual method bool QPrinter::newPage()

This method can be reimplemented in a derived class.

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] QPagedPaintDevice_PageSize pageSize

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

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

pageSize=

Signature: void pageSize= (const QPagedPaintDevice_PageSize size)

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

This is a reimplementation of QPagedPaintDevice::setPageSize

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

pageSizeMM=

Signature: void pageSizeMM= (const QSizeF size)

Description: Method void QPrinter::setPageSizeMM(const QSizeF &size)

This is a reimplementation of QPagedPaintDevice::setPageSizeMM

Python specific notes:
The object exposes a writable attribute 'pageSizeMM'. 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.

paperName

Signature: [const] string paperName

Description: Method QString QPrinter::paperName()

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

paperName=

Signature: void paperName= (string paperName)

Description: Method void QPrinter::setPaperName(const QString &paperName)

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

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] QPagedPaintDevice_PageSize paperSize

Description: Method QPagedPaintDevice::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 QPagedPaintDevice_PageSize arg1)

Description: Method void QPrinter::setPaperSize(QPagedPaintDevice::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.

pdfVersion

Signature: [const] QPagedPaintDevice_PdfVersion pdfVersion

Description: Method QPagedPaintDevice::PdfVersion QPrinter::pdfVersion()

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

pdfVersion=

Signature: void pdfVersion= (const QPagedPaintDevice_PdfVersion version)

Description: Method void QPrinter::setPdfVersion(QPagedPaintDevice::PdfVersion version)

Python specific notes:
The object exposes a writable attribute 'pdfVersion'. 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()

redirected

Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset)

Description: Virtual method QPaintDevice *QPrinter::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

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.

setCopyCount

Signature: void setCopyCount (int arg1)

Description: Method void QPrinter::setCopyCount(int)

Python specific notes:
The object exposes a writable attribute 'copyCount'. 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.

setMargins

Signature: void setMargins (const QPagedPaintDevice_Margins m)

Description: Virtual method void QPrinter::setMargins(const QPagedPaintDevice::Margins &m)

This method can be reimplemented in a derived class.

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

(1) Signature: bool setPageMargins (const QMarginsF margins, const QPageLayout_Unit units)

Description: Method bool QPrinter::setPageMargins(const QMarginsF &margins, QPageLayout::Unit units)

(2) 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 QPagedPaintDevice_PageSize size)

Description: Virtual method void QPrinter::setPageSize(QPagedPaintDevice::PageSize size)

This method can be reimplemented in a derived class.

setPageSizeMM

Signature: void setPageSizeMM (const QSizeF size)

Description: Virtual method void QPrinter::setPageSizeMM(const QSizeF &size)

This method can be reimplemented in a derived class.

setPaperName

Signature: void setPaperName (string paperName)

Description: Method void QPrinter::setPaperName(const QString &paperName)

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

setPaperSize

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

Description: Method void QPrinter::setPaperSize(QPagedPaintDevice::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.

setPdfVersion

Signature: void setPdfVersion (const QPagedPaintDevice_PdfVersion version)

Description: Method void QPrinter::setPdfVersion(QPagedPaintDevice::PdfVersion version)

Python specific notes:
The object exposes a writable attribute 'pdfVersion'. 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.

setWinPageSize

Signature: void setWinPageSize (int winPageSize)

Description: Method void QPrinter::setWinPageSize(int winPageSize)

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

sharedPainter

Signature: [const] QPainter ptr sharedPainter

Description: Virtual method QPainter *QPrinter::sharedPainter()

This method can be reimplemented in a derived class.

supportedResolutions

Signature: [const] int[] supportedResolutions

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

supportsMultipleCopies

Signature: [const] bool supportsMultipleCopies

Description: Method bool QPrinter::supportsMultipleCopies()

toPage

Signature: [const] int toPage

Description: Method int QPrinter::toPage()

winPageSize

Signature: [const] int winPageSize

Description: Method int QPrinter::winPageSize()

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

winPageSize=

Signature: void winPageSize= (int winPageSize)

Description: Method void QPrinter::setWinPageSize(int winPageSize)

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