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
new QPrinter | new | (const QPrinter_PrinterMode mode = QPrinter::ScreenResolution) | Constructor QPrinter::QPrinter(QPrinter::PrinterMode mode) |
new QPrinter | new | (const QPrinterInfo printer, const QPrinter_PrinterMode mode = QPrinter::ScreenResolution) | Constructor QPrinter::QPrinter(const QPrinterInfo &printer, QPrinter::PrinterMode mode) |
[const] | QPrinter ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly 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 | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
bool | abort | Method bool QPrinter::abort() | ||
[const] | int | actualNumCopies | Method int QPrinter::actualNumCopies() | |
[const] | bool | collateCopies | Method bool QPrinter::collateCopies() | |
void | collateCopies= | (bool collate) | Method void QPrinter::setCollateCopies(bool collate) | |
[const] | QPrinter_ColorMode | colorMode | Method QPrinter::ColorMode QPrinter::colorMode() | |
void | colorMode= | (const QPrinter_ColorMode arg1) | Method void QPrinter::setColorMode(QPrinter::ColorMode) | |
[const] | int | copyCount | Method int QPrinter::copyCount() | |
void | copyCount= | (int arg1) | Method void QPrinter::setCopyCount(int) | |
[const] | string | creator | Method QString QPrinter::creator() | |
void | creator= | (string arg1) | Method void QPrinter::setCreator(const QString &) | |
[const] | string | docName | Method QString QPrinter::docName() | |
void | docName= | (string arg1) | Method void QPrinter::setDocName(const QString &) | |
[const] | bool | doubleSidedPrinting | Method bool QPrinter::doubleSidedPrinting() | |
void | doubleSidedPrinting= | (bool enable) | Method void QPrinter::setDoubleSidedPrinting(bool enable) | |
[const] | QPrinter_DuplexMode | duplex | Method QPrinter::DuplexMode QPrinter::duplex() | |
void | duplex= | (const QPrinter_DuplexMode duplex) | Method void QPrinter::setDuplex(QPrinter::DuplexMode duplex) | |
[const] | bool | fontEmbeddingEnabled | Method bool QPrinter::fontEmbeddingEnabled() | |
void | fontEmbeddingEnabled= | (bool enable) | Method void QPrinter::setFontEmbeddingEnabled(bool enable) | |
[const] | int | fromPage | Method int QPrinter::fromPage() | |
[const] | bool | fullPage | Method bool QPrinter::fullPage() | |
void | fullPage= | (bool arg1) | Method void QPrinter::setFullPage(bool) | |
[const] | void | getPageMargins | (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] | bool | isValid? | Method bool QPrinter::isValid() | |
void | margins= | (const QPagedPaintDevice_Margins m) | Method void QPrinter::setMargins(const QPagedPaintDevice::Margins &m) | |
bool | newPage | Virtual method bool QPrinter::newPage() | ||
[const] | int | numCopies | Method int QPrinter::numCopies() | |
void | numCopies= | (int arg1) | Method void QPrinter::setNumCopies(int) | |
[const] | QPrinter_Orientation | orientation | Method QPrinter::Orientation QPrinter::orientation() | |
void | orientation= | (const QPrinter_Orientation arg1) | Method void QPrinter::setOrientation(QPrinter::Orientation) | |
[const] | string | outputFileName | Method QString QPrinter::outputFileName() | |
void | outputFileName= | (string arg1) | Method void QPrinter::setOutputFileName(const QString &) | |
[const] | QPrinter_OutputFormat | outputFormat | Method QPrinter::OutputFormat QPrinter::outputFormat() | |
void | outputFormat= | (const QPrinter_OutputFormat format) | Method void QPrinter::setOutputFormat(QPrinter::OutputFormat format) | |
[const] | QPrinter_PageOrder | pageOrder | Method QPrinter::PageOrder QPrinter::pageOrder() | |
void | pageOrder= | (const QPrinter_PageOrder arg1) | Method void QPrinter::setPageOrder(QPrinter::PageOrder) | |
[const] | QRect | pageRect | Method QRect QPrinter::pageRect() | |
[const] | QRectF | pageRect | (const QPrinter_Unit arg1) | Method QRectF QPrinter::pageRect(QPrinter::Unit) |
[const] | QPagedPaintDevice_PageSize | pageSize | Method QPagedPaintDevice::PageSize QPrinter::pageSize() | |
void | pageSize= | (const QPagedPaintDevice_PageSize size) | Method void QPrinter::setPageSize(QPagedPaintDevice::PageSize size) | |
void | pageSizeMM= | (const QSizeF size) | Method void QPrinter::setPageSizeMM(const QSizeF &size) | |
[const] | QPaintEngine ptr | paintEngine | Virtual method QPaintEngine *QPrinter::paintEngine() | |
[const] | string | paperName | Method QString QPrinter::paperName() | |
void | paperName= | (string paperName) | Method void QPrinter::setPaperName(const QString &paperName) | |
[const] | QRect | paperRect | Method QRect QPrinter::paperRect() | |
[const] | QRectF | paperRect | (const QPrinter_Unit arg1) | Method QRectF QPrinter::paperRect(QPrinter::Unit) |
[const] | QPagedPaintDevice_PageSize | paperSize | Method QPagedPaintDevice::PageSize QPrinter::paperSize() | |
[const] | QSizeF | paperSize | (const QPrinter_Unit unit) | Method QSizeF QPrinter::paperSize(QPrinter::Unit unit) |
void | paperSize= | (const QPagedPaintDevice_PageSize arg1) | Method void QPrinter::setPaperSize(QPagedPaintDevice::PageSize) | |
[const] | QPrinter_PaperSource | paperSource | Method QPrinter::PaperSource QPrinter::paperSource() | |
void | paperSource= | (const QPrinter_PaperSource arg1) | Method void QPrinter::setPaperSource(QPrinter::PaperSource) | |
[const] | QPagedPaintDevice_PdfVersion | pdfVersion | Method QPagedPaintDevice::PdfVersion QPrinter::pdfVersion() | |
void | pdfVersion= | (const QPagedPaintDevice_PdfVersion version) | Method void QPrinter::setPdfVersion(QPagedPaintDevice::PdfVersion version) | |
[const] | QPrintEngine ptr | printEngine | Method QPrintEngine *QPrinter::printEngine() | |
[const] | string | printProgram | Method QString QPrinter::printProgram() | |
void | printProgram= | (string arg1) | Method void QPrinter::setPrintProgram(const QString &) | |
[const] | QPrinter_PrintRange | printRange | Method QPrinter::PrintRange QPrinter::printRange() | |
void | printRange= | (const QPrinter_PrintRange range) | Method void QPrinter::setPrintRange(QPrinter::PrintRange range) | |
[const] | string | printerName | Method QString QPrinter::printerName() | |
void | printerName= | (string arg1) | Method void QPrinter::setPrinterName(const QString &) | |
[const] | QPrinter_PrinterState | printerState | Method QPrinter::PrinterState QPrinter::printerState() | |
[const] | int | resolution | Method int QPrinter::resolution() | |
void | resolution= | (int arg1) | Method void QPrinter::setResolution(int) | |
void | setCollateCopies | (bool collate) | Method void QPrinter::setCollateCopies(bool collate) | |
void | setColorMode | (const QPrinter_ColorMode arg1) | Method void QPrinter::setColorMode(QPrinter::ColorMode) | |
void | setCopyCount | (int arg1) | Method void QPrinter::setCopyCount(int) | |
void | setCreator | (string arg1) | Method void QPrinter::setCreator(const QString &) | |
void | setDocName | (string arg1) | Method void QPrinter::setDocName(const QString &) | |
void | setDoubleSidedPrinting | (bool enable) | Method void QPrinter::setDoubleSidedPrinting(bool enable) | |
void | setDuplex | (const QPrinter_DuplexMode duplex) | Method void QPrinter::setDuplex(QPrinter::DuplexMode duplex) | |
void | setFontEmbeddingEnabled | (bool enable) | Method void QPrinter::setFontEmbeddingEnabled(bool enable) | |
void | setFromTo | (int fromPage, int toPage) | Method void QPrinter::setFromTo(int fromPage, int toPage) | |
void | setFullPage | (bool arg1) | Method void QPrinter::setFullPage(bool) | |
void | setMargins | (const QPagedPaintDevice_Margins m) | Virtual method void QPrinter::setMargins(const QPagedPaintDevice::Margins &m) | |
void | setNumCopies | (int arg1) | Method void QPrinter::setNumCopies(int) | |
void | setOrientation | (const QPrinter_Orientation arg1) | Method void QPrinter::setOrientation(QPrinter::Orientation) | |
void | setOutputFileName | (string arg1) | Method void QPrinter::setOutputFileName(const QString &) | |
void | setOutputFormat | (const QPrinter_OutputFormat format) | Method void QPrinter::setOutputFormat(QPrinter::OutputFormat format) | |
bool | setPageMargins | (const QMarginsF margins, const QPageLayout_Unit units) | Method bool QPrinter::setPageMargins(const QMarginsF &margins, QPageLayout::Unit units) | |
void | setPageMargins | (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) | |
void | setPageOrder | (const QPrinter_PageOrder arg1) | Method void QPrinter::setPageOrder(QPrinter::PageOrder) | |
void | setPageSize | (const QPagedPaintDevice_PageSize size) | Virtual method void QPrinter::setPageSize(QPagedPaintDevice::PageSize size) | |
void | setPageSizeMM | (const QSizeF size) | Virtual method void QPrinter::setPageSizeMM(const QSizeF &size) | |
void | setPaperName | (string paperName) | Method void QPrinter::setPaperName(const QString &paperName) | |
void | setPaperSize | (const QPagedPaintDevice_PageSize arg1) | Method void QPrinter::setPaperSize(QPagedPaintDevice::PageSize) | |
void | setPaperSize | (const QSizeF paperSize, const QPrinter_Unit unit) | Method void QPrinter::setPaperSize(const QSizeF &paperSize, QPrinter::Unit unit) | |
void | setPaperSource | (const QPrinter_PaperSource arg1) | Method void QPrinter::setPaperSource(QPrinter::PaperSource) | |
void | setPdfVersion | (const QPagedPaintDevice_PdfVersion version) | Method void QPrinter::setPdfVersion(QPagedPaintDevice::PdfVersion version) | |
void | setPrintProgram | (string arg1) | Method void QPrinter::setPrintProgram(const QString &) | |
void | setPrintRange | (const QPrinter_PrintRange range) | Method void QPrinter::setPrintRange(QPrinter::PrintRange range) | |
void | setPrinterName | (string arg1) | Method void QPrinter::setPrinterName(const QString &) | |
void | setResolution | (int arg1) | Method void QPrinter::setResolution(int) | |
void | setWinPageSize | (int winPageSize) | Method void QPrinter::setWinPageSize(int winPageSize) | |
[const] | int[] | supportedResolutions | Method QList<int> QPrinter::supportedResolutions() | |
[const] | bool | supportsMultipleCopies | Method bool QPrinter::supportsMultipleCopies() | |
[const] | int | toPage | Method int QPrinter::toPage() | |
[const] | int | winPageSize | Method int QPrinter::winPageSize() | |
void | winPageSize= | (int winPageSize) | Method void QPrinter::setWinPageSize(int winPageSize) |
[static,const] | QPrinter_PrinterState | Aborted | Enum constant QPrinter::Aborted | |
[static,const] | QPrinter_PrinterState | Active | Enum constant QPrinter::Active | |
[static,const] | QPrinter_PrintRange | AllPages | Enum constant QPrinter::AllPages | |
[static,const] | QPrinter_PaperSource | Auto | Enum constant QPrinter::Auto | |
[static,const] | QPrinter_PaperSource | Cassette | Enum constant QPrinter::Cassette | |
[static,const] | QPrinter_Unit | Cicero | Enum constant QPrinter::Cicero | |
[static,const] | QPrinter_ColorMode | Color | Enum constant QPrinter::Color | |
[static,const] | QPrinter_PrintRange | CurrentPage | Enum constant QPrinter::CurrentPage | |
[static,const] | QPrinter_PaperSource | CustomSource | Enum constant QPrinter::CustomSource | |
[static,const] | QPrinter_Unit | DevicePixel | Enum constant QPrinter::DevicePixel | |
[static,const] | QPrinter_Unit | Didot | Enum constant QPrinter::Didot | |
[static,const] | QPrinter_DuplexMode | DuplexAuto | Enum constant QPrinter::DuplexAuto | |
[static,const] | QPrinter_DuplexMode | DuplexLongSide | Enum constant QPrinter::DuplexLongSide | |
[static,const] | QPrinter_DuplexMode | DuplexNone | Enum constant QPrinter::DuplexNone | |
[static,const] | QPrinter_DuplexMode | DuplexShortSide | Enum constant QPrinter::DuplexShortSide | |
[static,const] | QPrinter_PaperSource | Envelope | Enum constant QPrinter::Envelope | |
[static,const] | QPrinter_PaperSource | EnvelopeManual | Enum constant QPrinter::EnvelopeManual | |
[static,const] | QPrinter_PrinterState | Error | Enum constant QPrinter::Error | |
[static,const] | QPrinter_PageOrder | FirstPageFirst | Enum constant QPrinter::FirstPageFirst | |
[static,const] | QPrinter_PaperSource | FormSource | Enum constant QPrinter::FormSource | |
[static,const] | QPrinter_ColorMode | GrayScale | Enum constant QPrinter::GrayScale | |
[static,const] | QPrinter_PrinterMode | HighResolution | Enum constant QPrinter::HighResolution | |
[static,const] | QPrinter_PrinterState | Idle | Enum constant QPrinter::Idle | |
[static,const] | QPrinter_Unit | Inch | Enum constant QPrinter::Inch | |
[static,const] | QPrinter_Orientation | Landscape | Enum constant QPrinter::Landscape | |
[static,const] | QPrinter_PaperSource | LargeCapacity | Enum constant QPrinter::LargeCapacity | |
[static,const] | QPrinter_PaperSource | LargeFormat | Enum constant QPrinter::LargeFormat | |
[static,const] | QPrinter_PageOrder | LastPageFirst | Enum constant QPrinter::LastPageFirst | |
[static,const] | QPrinter_PaperSource | LastPaperSource | Enum constant QPrinter::LastPaperSource | |
[static,const] | QPrinter_PaperSource | Lower | Enum constant QPrinter::Lower | |
[static,const] | QPrinter_PaperSource | Manual | Enum constant QPrinter::Manual | |
[static,const] | QPrinter_PaperSource | MaxPageSource | Enum constant QPrinter::MaxPageSource | |
[static,const] | QPrinter_PaperSource | Middle | Enum constant QPrinter::Middle | |
[static,const] | QPrinter_Unit | Millimeter | Enum constant QPrinter::Millimeter | |
[static,const] | QPrinter_OutputFormat | NativeFormat | Enum constant QPrinter::NativeFormat | |
[static,const] | QPrinter_PaperSource | OnlyOne | Enum constant QPrinter::OnlyOne | |
[static,const] | QPrinter_PrintRange | PageRange | Enum constant QPrinter::PageRange | |
[static,const] | QPrinter_OutputFormat | PdfFormat | Enum constant QPrinter::PdfFormat | |
[static,const] | QPrinter_Unit | Pica | Enum constant QPrinter::Pica | |
[static,const] | QPrinter_Unit | Point | Enum constant QPrinter::Point | |
[static,const] | QPrinter_Orientation | Portrait | Enum constant QPrinter::Portrait | |
[static,const] | QPrinter_PrinterMode | PrinterResolution | Enum constant QPrinter::PrinterResolution | |
[static,const] | QPrinter_PrinterMode | ScreenResolution | Enum constant QPrinter::ScreenResolution | |
[static,const] | QPrinter_PrintRange | Selection | Enum constant QPrinter::Selection | |
[static,const] | QPrinter_PaperSource | SmallFormat | Enum constant QPrinter::SmallFormat | |
[static,const] | QPrinter_PaperSource | Tractor | Enum constant QPrinter::Tractor | |
[static,const] | QPrinter_PaperSource | Upper | Enum constant QPrinter::Upper |
[const] | QPageLayout | devicePageLayout | Method QPageLayout QPrinter::devicePageLayout() | ||
QPageLayout | devicePageLayout | Method QPageLayout &QPrinter::devicePageLayout() | |||
[const] | void | initPainter | (QPainter ptr painter) | Virtual method void QPrinter::initPainter(QPainter *painter) | |
[const] | int | metric | (const QPaintDevice_PaintDeviceMetric arg1) | Virtual method int QPrinter::metric(QPaintDevice::PaintDeviceMetric) | |
[const] | QPaintDevice ptr | redirected | (QPoint ptr offset) | Virtual method QPaintDevice *QPrinter::redirected(QPoint *offset) | |
void | setEngines | (QPrintEngine ptr printEngine, QPaintEngine ptr paintEngine) | Method void QPrinter::setEngines(QPrintEngine *printEngine, QPaintEngine *paintEngine) | ||
[const] | QPainter ptr | sharedPainter | Virtual method QPainter *QPrinter::sharedPainter() |
Aborted | Signature: [static,const] QPrinter_PrinterState Aborted Description: Enum constant QPrinter::Aborted Python specific notes: |
Active | Signature: [static,const] QPrinter_PrinterState Active Description: Enum constant QPrinter::Active Python specific notes: |
AllPages | Signature: [static,const] QPrinter_PrintRange AllPages Description: Enum constant QPrinter::AllPages Python specific notes: |
Auto | Signature: [static,const] QPrinter_PaperSource Auto Description: Enum constant QPrinter::Auto Python specific notes: |
Cassette | Signature: [static,const] QPrinter_PaperSource Cassette Description: Enum constant QPrinter::Cassette Python specific notes: |
Cicero | Signature: [static,const] QPrinter_Unit Cicero Description: Enum constant QPrinter::Cicero Python specific notes: |
Color | Signature: [static,const] QPrinter_ColorMode Color Description: Enum constant QPrinter::Color Python specific notes: |
CurrentPage | Signature: [static,const] QPrinter_PrintRange CurrentPage Description: Enum constant QPrinter::CurrentPage Python specific notes: |
CustomSource | Signature: [static,const] QPrinter_PaperSource CustomSource Description: Enum constant QPrinter::CustomSource Python specific notes: |
DevicePixel | Signature: [static,const] QPrinter_Unit DevicePixel Description: Enum constant QPrinter::DevicePixel Python specific notes: |
Didot | Signature: [static,const] QPrinter_Unit Didot Description: Enum constant QPrinter::Didot Python specific notes: |
DuplexAuto | Signature: [static,const] QPrinter_DuplexMode DuplexAuto Description: Enum constant QPrinter::DuplexAuto Python specific notes: |
DuplexLongSide | Signature: [static,const] QPrinter_DuplexMode DuplexLongSide Description: Enum constant QPrinter::DuplexLongSide Python specific notes: |
DuplexNone | Signature: [static,const] QPrinter_DuplexMode DuplexNone Description: Enum constant QPrinter::DuplexNone Python specific notes: |
DuplexShortSide | Signature: [static,const] QPrinter_DuplexMode DuplexShortSide Description: Enum constant QPrinter::DuplexShortSide Python specific notes: |
Envelope | Signature: [static,const] QPrinter_PaperSource Envelope Description: Enum constant QPrinter::Envelope Python specific notes: |
EnvelopeManual | Signature: [static,const] QPrinter_PaperSource EnvelopeManual Description: Enum constant QPrinter::EnvelopeManual Python specific notes: |
Error | Signature: [static,const] QPrinter_PrinterState Error Description: Enum constant QPrinter::Error Python specific notes: |
FirstPageFirst | Signature: [static,const] QPrinter_PageOrder FirstPageFirst Description: Enum constant QPrinter::FirstPageFirst Python specific notes: |
FormSource | Signature: [static,const] QPrinter_PaperSource FormSource Description: Enum constant QPrinter::FormSource Python specific notes: |
GrayScale | Signature: [static,const] QPrinter_ColorMode GrayScale Description: Enum constant QPrinter::GrayScale Python specific notes: |
HighResolution | Signature: [static,const] QPrinter_PrinterMode HighResolution Description: Enum constant QPrinter::HighResolution Python specific notes: |
Idle | Signature: [static,const] QPrinter_PrinterState Idle Description: Enum constant QPrinter::Idle Python specific notes: |
Inch | Signature: [static,const] QPrinter_Unit Inch Description: Enum constant QPrinter::Inch Python specific notes: |
Landscape | Signature: [static,const] QPrinter_Orientation Landscape Description: Enum constant QPrinter::Landscape Python specific notes: |
LargeCapacity | Signature: [static,const] QPrinter_PaperSource LargeCapacity Description: Enum constant QPrinter::LargeCapacity Python specific notes: |
LargeFormat | Signature: [static,const] QPrinter_PaperSource LargeFormat Description: Enum constant QPrinter::LargeFormat Python specific notes: |
LastPageFirst | Signature: [static,const] QPrinter_PageOrder LastPageFirst Description: Enum constant QPrinter::LastPageFirst Python specific notes: |
LastPaperSource | Signature: [static,const] QPrinter_PaperSource LastPaperSource Description: Enum constant QPrinter::LastPaperSource Python specific notes: |
Lower | Signature: [static,const] QPrinter_PaperSource Lower Description: Enum constant QPrinter::Lower Python specific notes: |
Manual | Signature: [static,const] QPrinter_PaperSource Manual Description: Enum constant QPrinter::Manual Python specific notes: |
MaxPageSource | Signature: [static,const] QPrinter_PaperSource MaxPageSource Description: Enum constant QPrinter::MaxPageSource Python specific notes: |
Middle | Signature: [static,const] QPrinter_PaperSource Middle Description: Enum constant QPrinter::Middle Python specific notes: |
Millimeter | Signature: [static,const] QPrinter_Unit Millimeter Description: Enum constant QPrinter::Millimeter Python specific notes: |
NativeFormat | Signature: [static,const] QPrinter_OutputFormat NativeFormat Description: Enum constant QPrinter::NativeFormat Python specific notes: |
OnlyOne | Signature: [static,const] QPrinter_PaperSource OnlyOne Description: Enum constant QPrinter::OnlyOne Python specific notes: |
PageRange | Signature: [static,const] QPrinter_PrintRange PageRange Description: Enum constant QPrinter::PageRange Python specific notes: |
PdfFormat | Signature: [static,const] QPrinter_OutputFormat PdfFormat Description: Enum constant QPrinter::PdfFormat Python specific notes: |
Pica | Signature: [static,const] QPrinter_Unit Pica Description: Enum constant QPrinter::Pica Python specific notes: |
Point | Signature: [static,const] QPrinter_Unit Point Description: Enum constant QPrinter::Point Python specific notes: |
Portrait | Signature: [static,const] QPrinter_Orientation Portrait Description: Enum constant QPrinter::Portrait Python specific notes: |
PrinterResolution | Signature: [static,const] QPrinter_PrinterMode PrinterResolution Description: Enum constant QPrinter::PrinterResolution Python specific notes: |
ScreenResolution | Signature: [static,const] QPrinter_PrinterMode ScreenResolution Description: Enum constant QPrinter::ScreenResolution Python specific notes: |
Selection | Signature: [static,const] QPrinter_PrintRange Selection Description: Enum constant QPrinter::Selection Python specific notes: |
SmallFormat | Signature: [static,const] QPrinter_PaperSource SmallFormat Description: Enum constant QPrinter::SmallFormat Python specific notes: |
Tractor | Signature: [static,const] QPrinter_PaperSource Tractor Description: Enum constant QPrinter::Tractor Python specific notes: |
Upper | Signature: [static,const] QPrinter_PaperSource Upper Description: Enum constant QPrinter::Upper Python specific notes: |
_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: |
collateCopies= | Signature: void collateCopies= (bool collate) Description: Method void QPrinter::setCollateCopies(bool collate) Python specific notes: |
colorMode | Signature: [const] QPrinter_ColorMode colorMode Description: Method QPrinter::ColorMode QPrinter::colorMode() Python specific notes: |
colorMode= | Signature: void colorMode= (const QPrinter_ColorMode arg1) Description: Method void QPrinter::setColorMode(QPrinter::ColorMode) Python specific notes: |
copyCount | Signature: [const] int copyCount Description: Method int QPrinter::copyCount() Python specific notes: |
copyCount= | Signature: void copyCount= (int arg1) Description: Method void QPrinter::setCopyCount(int) Python specific notes: |
creator | Signature: [const] string creator Description: Method QString QPrinter::creator() Python specific notes: |
creator= | Signature: void creator= (string arg1) Description: Method void QPrinter::setCreator(const QString &) Python specific notes: |
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: |
docName= | Signature: void docName= (string arg1) Description: Method void QPrinter::setDocName(const QString &) Python specific notes: |
doubleSidedPrinting | Signature: [const] bool doubleSidedPrinting Description: Method bool QPrinter::doubleSidedPrinting() Python specific notes: |
doubleSidedPrinting= | Signature: void doubleSidedPrinting= (bool enable) Description: Method void QPrinter::setDoubleSidedPrinting(bool enable) Python specific notes: |
duplex | Signature: [const] QPrinter_DuplexMode duplex Description: Method QPrinter::DuplexMode QPrinter::duplex() Python specific notes: |
duplex= | Signature: void duplex= (const QPrinter_DuplexMode duplex) Description: Method void QPrinter::setDuplex(QPrinter::DuplexMode duplex) Python specific notes: |
fontEmbeddingEnabled | Signature: [const] bool fontEmbeddingEnabled Description: Method bool QPrinter::fontEmbeddingEnabled() Python specific notes: |
fontEmbeddingEnabled= | Signature: void fontEmbeddingEnabled= (bool enable) Description: Method void QPrinter::setFontEmbeddingEnabled(bool enable) Python specific notes: |
fromPage | Signature: [const] int fromPage Description: Method int QPrinter::fromPage() |
fullPage | Signature: [const] bool fullPage Description: Method bool QPrinter::fullPage() Python specific notes: |
fullPage= | Signature: void fullPage= (bool arg1) Description: Method void QPrinter::setFullPage(bool) Python specific notes: |
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: |
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: |
(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: | |
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: |
numCopies= | Signature: void numCopies= (int arg1) Description: Method void QPrinter::setNumCopies(int) Python specific notes: |
orientation | Signature: [const] QPrinter_Orientation orientation Description: Method QPrinter::Orientation QPrinter::orientation() Python specific notes: |
orientation= | Signature: void orientation= (const QPrinter_Orientation arg1) Description: Method void QPrinter::setOrientation(QPrinter::Orientation) Python specific notes: |
outputFileName | Signature: [const] string outputFileName Description: Method QString QPrinter::outputFileName() Python specific notes: |
outputFileName= | Signature: void outputFileName= (string arg1) Description: Method void QPrinter::setOutputFileName(const QString &) Python specific notes: |
outputFormat | Signature: [const] QPrinter_OutputFormat outputFormat Description: Method QPrinter::OutputFormat QPrinter::outputFormat() Python specific notes: |
outputFormat= | Signature: void outputFormat= (const QPrinter_OutputFormat format) Description: Method void QPrinter::setOutputFormat(QPrinter::OutputFormat format) Python specific notes: |
pageOrder | Signature: [const] QPrinter_PageOrder pageOrder Description: Method QPrinter::PageOrder QPrinter::pageOrder() Python specific notes: |
pageOrder= | Signature: void pageOrder= (const QPrinter_PageOrder arg1) Description: Method void QPrinter::setPageOrder(QPrinter::PageOrder) Python specific notes: |
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: |
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: |
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: |
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: |
paperName= | Signature: void paperName= (string paperName) Description: Method void QPrinter::setPaperName(const QString &paperName) Python specific notes: |
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: |
(2) Signature: [const] QSizeF paperSize (const QPrinter_Unit unit) Description: Method QSizeF QPrinter::paperSize(QPrinter::Unit unit) Python specific notes: | |
paperSize= | Signature: void paperSize= (const QPagedPaintDevice_PageSize arg1) Description: Method void QPrinter::setPaperSize(QPagedPaintDevice::PageSize) Python specific notes: |
paperSource | Signature: [const] QPrinter_PaperSource paperSource Description: Method QPrinter::PaperSource QPrinter::paperSource() Python specific notes: |
paperSource= | Signature: void paperSource= (const QPrinter_PaperSource arg1) Description: Method void QPrinter::setPaperSource(QPrinter::PaperSource) Python specific notes: |
pdfVersion | Signature: [const] QPagedPaintDevice_PdfVersion pdfVersion Description: Method QPagedPaintDevice::PdfVersion QPrinter::pdfVersion() Python specific notes: |
pdfVersion= | Signature: void pdfVersion= (const QPagedPaintDevice_PdfVersion version) Description: Method void QPrinter::setPdfVersion(QPagedPaintDevice::PdfVersion version) Python specific notes: |
printEngine | Signature: [const] QPrintEngine ptr printEngine Description: Method QPrintEngine *QPrinter::printEngine() |
printProgram | Signature: [const] string printProgram Description: Method QString QPrinter::printProgram() Python specific notes: |
printProgram= | Signature: void printProgram= (string arg1) Description: Method void QPrinter::setPrintProgram(const QString &) Python specific notes: |
printRange | Signature: [const] QPrinter_PrintRange printRange Description: Method QPrinter::PrintRange QPrinter::printRange() Python specific notes: |
printRange= | Signature: void printRange= (const QPrinter_PrintRange range) Description: Method void QPrinter::setPrintRange(QPrinter::PrintRange range) Python specific notes: |
printerName | Signature: [const] string printerName Description: Method QString QPrinter::printerName() Python specific notes: |
printerName= | Signature: void printerName= (string arg1) Description: Method void QPrinter::setPrinterName(const QString &) Python specific notes: |
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: |
resolution= | Signature: void resolution= (int arg1) Description: Method void QPrinter::setResolution(int) Python specific notes: |
setCollateCopies | Signature: void setCollateCopies (bool collate) Description: Method void QPrinter::setCollateCopies(bool collate) Python specific notes: |
setColorMode | Signature: void setColorMode (const QPrinter_ColorMode arg1) Description: Method void QPrinter::setColorMode(QPrinter::ColorMode) Python specific notes: |
setCopyCount | Signature: void setCopyCount (int arg1) Description: Method void QPrinter::setCopyCount(int) Python specific notes: |
setCreator | Signature: void setCreator (string arg1) Description: Method void QPrinter::setCreator(const QString &) Python specific notes: |
setDocName | Signature: void setDocName (string arg1) Description: Method void QPrinter::setDocName(const QString &) Python specific notes: |
setDoubleSidedPrinting | Signature: void setDoubleSidedPrinting (bool enable) Description: Method void QPrinter::setDoubleSidedPrinting(bool enable) Python specific notes: |
setDuplex | Signature: void setDuplex (const QPrinter_DuplexMode duplex) Description: Method void QPrinter::setDuplex(QPrinter::DuplexMode duplex) Python specific notes: |
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: |
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: |
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: |
setOrientation | Signature: void setOrientation (const QPrinter_Orientation arg1) Description: Method void QPrinter::setOrientation(QPrinter::Orientation) Python specific notes: |
setOutputFileName | Signature: void setOutputFileName (string arg1) Description: Method void QPrinter::setOutputFileName(const QString &) Python specific notes: |
setOutputFormat | Signature: void setOutputFormat (const QPrinter_OutputFormat format) Description: Method void QPrinter::setOutputFormat(QPrinter::OutputFormat format) Python specific notes: |
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: |
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: |
setPaperSize | (1) Signature: void setPaperSize (const QPagedPaintDevice_PageSize arg1) Description: Method void QPrinter::setPaperSize(QPagedPaintDevice::PageSize) Python specific notes: |
(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: |
setPdfVersion | Signature: void setPdfVersion (const QPagedPaintDevice_PdfVersion version) Description: Method void QPrinter::setPdfVersion(QPagedPaintDevice::PdfVersion version) Python specific notes: |
setPrintProgram | Signature: void setPrintProgram (string arg1) Description: Method void QPrinter::setPrintProgram(const QString &) Python specific notes: |
setPrintRange | Signature: void setPrintRange (const QPrinter_PrintRange range) Description: Method void QPrinter::setPrintRange(QPrinter::PrintRange range) Python specific notes: |
setPrinterName | Signature: void setPrinterName (string arg1) Description: Method void QPrinter::setPrinterName(const QString &) Python specific notes: |
setResolution | Signature: void setResolution (int arg1) Description: Method void QPrinter::setResolution(int) Python specific notes: |
setWinPageSize | Signature: void setWinPageSize (int winPageSize) Description: Method void QPrinter::setWinPageSize(int winPageSize) Python specific notes: |
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: |
winPageSize= | Signature: void winPageSize= (int winPageSize) Description: Method void QPrinter::setWinPageSize(int winPageSize) Python specific notes: |