Notation used in Ruby API documentation
Module: QtGui
Description: Binding of QPrinter
Class hierarchy: QPrinter » QPaintDevice
Sub-classes: ColorMode, QFlags_ColorMode, DuplexMode, QFlags_DuplexMode, Orientation, QFlags_Orientation, OutputFormat, QFlags_OutputFormat, PageOrder, QFlags_PageOrder, PageSize, QFlags_PageSize, PaperSource, QFlags_PaperSource, PrintRange, QFlags_PrintRange, PrinterMode, QFlags_PrinterMode, PrinterState, QFlags_PrinterState, Unit, QFlags_Unit
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] | 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() | |
bool | newPage | 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] | QPrinter_PageSize | pageSize | Method QPrinter::PageSize QPrinter::pageSize() | |
void | pageSize= | (const QPrinter_PageSize arg1) | Method void QPrinter::setPageSize(QPrinter::PageSize) | |
[const] | QPaintEngine ptr | paintEngine | Virtual method QPaintEngine *QPrinter::paintEngine() | |
[const] | QRect | paperRect | Method QRect QPrinter::paperRect() | |
[const] | QRectF | paperRect | (const QPrinter_Unit arg1) | Method QRectF QPrinter::paperRect(QPrinter::Unit) |
[const] | QPrinter_PageSize | paperSize | Method QPrinter::PageSize QPrinter::paperSize() | |
[const] | QSizeF | paperSize | (const QPrinter_Unit unit) | Method QSizeF QPrinter::paperSize(QPrinter::Unit unit) |
void | paperSize= | (const QPrinter_PageSize arg1) | Method void QPrinter::setPaperSize(QPrinter::PageSize) | |
[const] | QPrinter_PaperSource | paperSource | Method QPrinter::PaperSource QPrinter::paperSource() | |
void | paperSource= | (const QPrinter_PaperSource arg1) | Method void QPrinter::setPaperSource(QPrinter::PaperSource) | |
[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 | 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 | 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) | |
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 QPrinter_PageSize arg1) | Method void QPrinter::setPageSize(QPrinter::PageSize) | |
void | setPaperSize | (const QPrinter_PageSize arg1) | Method void QPrinter::setPaperSize(QPrinter::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 | 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) | |
[const] | int[] | supportedResolutions | Method QList<int> QPrinter::supportedResolutions() | |
[const] | int | toPage | Method int QPrinter::toPage() |
[static,const] | QPrinter_PageSize | A0 | Enum constant QPrinter::A0 | |
[static,const] | QPrinter_PageSize | A1 | Enum constant QPrinter::A1 | |
[static,const] | QPrinter_PageSize | A2 | Enum constant QPrinter::A2 | |
[static,const] | QPrinter_PageSize | A3 | Enum constant QPrinter::A3 | |
[static,const] | QPrinter_PageSize | A4 | Enum constant QPrinter::A4 | |
[static,const] | QPrinter_PageSize | A5 | Enum constant QPrinter::A5 | |
[static,const] | QPrinter_PageSize | A6 | Enum constant QPrinter::A6 | |
[static,const] | QPrinter_PageSize | A7 | Enum constant QPrinter::A7 | |
[static,const] | QPrinter_PageSize | A8 | Enum constant QPrinter::A8 | |
[static,const] | QPrinter_PageSize | A9 | Enum constant QPrinter::A9 | |
[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_PageSize | B0 | Enum constant QPrinter::B0 | |
[static,const] | QPrinter_PageSize | B1 | Enum constant QPrinter::B1 | |
[static,const] | QPrinter_PageSize | B10 | Enum constant QPrinter::B10 | |
[static,const] | QPrinter_PageSize | B2 | Enum constant QPrinter::B2 | |
[static,const] | QPrinter_PageSize | B3 | Enum constant QPrinter::B3 | |
[static,const] | QPrinter_PageSize | B4 | Enum constant QPrinter::B4 | |
[static,const] | QPrinter_PageSize | B5 | Enum constant QPrinter::B5 | |
[static,const] | QPrinter_PageSize | B6 | Enum constant QPrinter::B6 | |
[static,const] | QPrinter_PageSize | B7 | Enum constant QPrinter::B7 | |
[static,const] | QPrinter_PageSize | B8 | Enum constant QPrinter::B8 | |
[static,const] | QPrinter_PageSize | B9 | Enum constant QPrinter::B9 | |
[static,const] | QPrinter_PageSize | C5E | Enum constant QPrinter::C5E | |
[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_PageSize | Comm10E | Enum constant QPrinter::Comm10E | |
[static,const] | QPrinter_PageSize | Custom | Enum constant QPrinter::Custom | |
[static,const] | QPrinter_PageSize | DLE | Enum constant QPrinter::DLE | |
[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_PageSize | Executive | Enum constant QPrinter::Executive | |
[static,const] | QPrinter_PageOrder | FirstPageFirst | Enum constant QPrinter::FirstPageFirst | |
[static,const] | QPrinter_PageSize | Folio | Enum constant QPrinter::Folio | |
[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_PageSize | Ledger | Enum constant QPrinter::Ledger | |
[static,const] | QPrinter_PageSize | Legal | Enum constant QPrinter::Legal | |
[static,const] | QPrinter_PageSize | Letter | Enum constant QPrinter::Letter | |
[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_PageSize | NPageSize | Enum constant QPrinter::NPageSize | |
[static,const] | QPrinter_PageSize | NPaperSize | Enum constant QPrinter::NPaperSize | |
[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_OutputFormat | PostScriptFormat | Enum constant QPrinter::PostScriptFormat | |
[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_PageSize | Tabloid | Enum constant QPrinter::Tabloid | |
[static,const] | QPrinter_PaperSource | Tractor | Enum constant QPrinter::Tractor |
[const] | int | metric | (const QPaintDevice_PaintDeviceMetric arg1) | Virtual method int QPrinter::metric(QPaintDevice::PaintDeviceMetric) | |
void | setEngines | (QPrintEngine ptr printEngine, QPaintEngine ptr paintEngine) | Method void QPrinter::setEngines(QPrintEngine *printEngine, QPaintEngine *paintEngine) |
A0 | Signature: [static,const] QPrinter_PageSize A0 Description: Enum constant QPrinter::A0 Python specific notes: |
A1 | Signature: [static,const] QPrinter_PageSize A1 Description: Enum constant QPrinter::A1 Python specific notes: |
A2 | Signature: [static,const] QPrinter_PageSize A2 Description: Enum constant QPrinter::A2 Python specific notes: |
A3 | Signature: [static,const] QPrinter_PageSize A3 Description: Enum constant QPrinter::A3 Python specific notes: |
A4 | Signature: [static,const] QPrinter_PageSize A4 Description: Enum constant QPrinter::A4 Python specific notes: |
A5 | Signature: [static,const] QPrinter_PageSize A5 Description: Enum constant QPrinter::A5 Python specific notes: |
A6 | Signature: [static,const] QPrinter_PageSize A6 Description: Enum constant QPrinter::A6 Python specific notes: |
A7 | Signature: [static,const] QPrinter_PageSize A7 Description: Enum constant QPrinter::A7 Python specific notes: |
A8 | Signature: [static,const] QPrinter_PageSize A8 Description: Enum constant QPrinter::A8 Python specific notes: |
A9 | Signature: [static,const] QPrinter_PageSize A9 Description: Enum constant QPrinter::A9 Python specific notes: |
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: |
B0 | Signature: [static,const] QPrinter_PageSize B0 Description: Enum constant QPrinter::B0 Python specific notes: |
B1 | Signature: [static,const] QPrinter_PageSize B1 Description: Enum constant QPrinter::B1 Python specific notes: |
B10 | Signature: [static,const] QPrinter_PageSize B10 Description: Enum constant QPrinter::B10 Python specific notes: |
B2 | Signature: [static,const] QPrinter_PageSize B2 Description: Enum constant QPrinter::B2 Python specific notes: |
B3 | Signature: [static,const] QPrinter_PageSize B3 Description: Enum constant QPrinter::B3 Python specific notes: |
B4 | Signature: [static,const] QPrinter_PageSize B4 Description: Enum constant QPrinter::B4 Python specific notes: |
B5 | Signature: [static,const] QPrinter_PageSize B5 Description: Enum constant QPrinter::B5 Python specific notes: |
B6 | Signature: [static,const] QPrinter_PageSize B6 Description: Enum constant QPrinter::B6 Python specific notes: |
B7 | Signature: [static,const] QPrinter_PageSize B7 Description: Enum constant QPrinter::B7 Python specific notes: |
B8 | Signature: [static,const] QPrinter_PageSize B8 Description: Enum constant QPrinter::B8 Python specific notes: |
B9 | Signature: [static,const] QPrinter_PageSize B9 Description: Enum constant QPrinter::B9 Python specific notes: |
C5E | Signature: [static,const] QPrinter_PageSize C5E Description: Enum constant QPrinter::C5E 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: |
Comm10E | Signature: [static,const] QPrinter_PageSize Comm10E Description: Enum constant QPrinter::Comm10E Python specific notes: |
Custom | Signature: [static,const] QPrinter_PageSize Custom Description: Enum constant QPrinter::Custom Python specific notes: |
DLE | Signature: [static,const] QPrinter_PageSize DLE Description: Enum constant QPrinter::DLE 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: |
Executive | Signature: [static,const] QPrinter_PageSize Executive Description: Enum constant QPrinter::Executive Python specific notes: |
FirstPageFirst | Signature: [static,const] QPrinter_PageOrder FirstPageFirst Description: Enum constant QPrinter::FirstPageFirst Python specific notes: |
Folio | Signature: [static,const] QPrinter_PageSize Folio Description: Enum constant QPrinter::Folio 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: |
Ledger | Signature: [static,const] QPrinter_PageSize Ledger Description: Enum constant QPrinter::Ledger Python specific notes: |
Legal | Signature: [static,const] QPrinter_PageSize Legal Description: Enum constant QPrinter::Legal Python specific notes: |
Letter | Signature: [static,const] QPrinter_PageSize Letter Description: Enum constant QPrinter::Letter 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: |
NPageSize | Signature: [static,const] QPrinter_PageSize NPageSize Description: Enum constant QPrinter::NPageSize Python specific notes: |
NPaperSize | Signature: [static,const] QPrinter_PageSize NPaperSize Description: Enum constant QPrinter::NPaperSize 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: |
PostScriptFormat | Signature: [static,const] QPrinter_OutputFormat PostScriptFormat Description: Enum constant QPrinter::PostScriptFormat 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: |
Tabloid | Signature: [static,const] QPrinter_PageSize Tabloid Description: Enum constant QPrinter::Tabloid Python specific notes: |
Tractor | Signature: [static,const] QPrinter_PaperSource Tractor Description: Enum constant QPrinter::Tractor 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: |
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: |
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) |
isValid? | Signature: [const] bool isValid? Description: Method bool QPrinter::isValid() |
metric | Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1) Description: Virtual method int QPrinter::metric(QPaintDevice::PaintDeviceMetric) This method can be reimplemented in a derived class. |
new | (1) Signature: [static] new QPrinter new (const QPrinter_PrinterMode mode = QPrinter::ScreenResolution) Description: Constructor QPrinter::QPrinter(QPrinter::PrinterMode mode) This method creates an object of class QPrinter. Python specific notes: |
(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: Method bool QPrinter::newPage() |
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] QPrinter_PageSize pageSize Description: Method QPrinter::PageSize QPrinter::pageSize() Python specific notes: |
pageSize= | Signature: void pageSize= (const QPrinter_PageSize arg1) Description: Method void QPrinter::setPageSize(QPrinter::PageSize) Python specific notes: |
paintEngine | Signature: [const] QPaintEngine ptr paintEngine Description: Virtual method QPaintEngine *QPrinter::paintEngine() This method can be reimplemented in a derived class. |
paperRect | (1) Signature: [const] QRect paperRect Description: Method QRect QPrinter::paperRect() |
(2) Signature: [const] QRectF paperRect (const QPrinter_Unit arg1) Description: Method QRectF QPrinter::paperRect(QPrinter::Unit) | |
paperSize | (1) Signature: [const] QPrinter_PageSize paperSize Description: Method QPrinter::PageSize QPrinter::paperSize() Python specific notes: |
(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 QPrinter_PageSize arg1) Description: Method void QPrinter::setPaperSize(QPrinter::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: |
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() |
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: |
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: |
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 | 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 QPrinter_PageSize arg1) Description: Method void QPrinter::setPageSize(QPrinter::PageSize) Python specific notes: |
setPaperSize | (1) Signature: void setPaperSize (const QPrinter_PageSize arg1) Description: Method void QPrinter::setPaperSize(QPrinter::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: |
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: |
supportedResolutions | Signature: [const] int[] supportedResolutions Description: Method QList<int> QPrinter::supportedResolutions() |
toPage | Signature: [const] int toPage Description: Method int QPrinter::toPage() |