Skip to content

PythonQt.QtGui.QPrintEngine · declarations 001

Back to PythonQt.QtGui.QPrintEngine

PPK_CollateCopies instance-attribute

PPK_CollateCopies: Any

PPK_ColorMode instance-attribute

PPK_ColorMode: Any

PPK_CopyCount instance-attribute

PPK_CopyCount: Any

PPK_Creator instance-attribute

PPK_Creator: Any

PPK_CustomBase instance-attribute

PPK_CustomBase: Any

PPK_CustomPaperSize instance-attribute

PPK_CustomPaperSize: Any

PPK_DocumentName instance-attribute

PPK_DocumentName: Any

PPK_Duplex instance-attribute

PPK_Duplex: Any

PPK_FontEmbedding instance-attribute

PPK_FontEmbedding: Any

PPK_FullPage instance-attribute

PPK_FullPage: Any

PPK_NumberOfCopies instance-attribute

PPK_NumberOfCopies: Any

PPK_Orientation instance-attribute

PPK_Orientation: Any

PPK_OutputFileName instance-attribute

PPK_OutputFileName: Any

PPK_PageMargins instance-attribute

PPK_PageMargins: Any

PPK_PageOrder instance-attribute

PPK_PageOrder: Any

PPK_PageRect instance-attribute

PPK_PageRect: Any

PPK_PageSize instance-attribute

PPK_PageSize: Any

PPK_PaperName instance-attribute

PPK_PaperName: Any

PPK_PaperRect instance-attribute

PPK_PaperRect: Any

PPK_PaperSize instance-attribute

PPK_PaperSize: Any

PPK_PaperSource instance-attribute

PPK_PaperSource: Any

PPK_PaperSources instance-attribute

PPK_PaperSources: Any

PPK_PrinterName instance-attribute

PPK_PrinterName: Any

PPK_PrinterProgram instance-attribute

PPK_PrinterProgram: Any

PPK_QPageLayout instance-attribute

PPK_QPageLayout: Any

PPK_QPageMargins instance-attribute

PPK_QPageMargins: Any

PPK_QPageSize instance-attribute

PPK_QPageSize: Any

PPK_Resolution instance-attribute

PPK_Resolution: Any

PPK_SelectionOption instance-attribute

PPK_SelectionOption: Any

PPK_SupportedResolutions instance-attribute

PPK_SupportedResolutions: Any

PPK_SupportsMultipleCopies instance-attribute

PPK_SupportsMultipleCopies: Any

PPK_WindowsPageSize instance-attribute

PPK_WindowsPageSize: Any

PrintEnginePropertyKey instance-attribute

PrintEnginePropertyKey: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

abort

abort() -> bool

X.abort() -> bool

Supplemental documentation: Qt 5 reference:

[pure virtual] bool QPrintEngine::abort()

Instructs the print engine to abort the printing process. Returns true if successful; otherwise returns false.

Upstream PySide2 reference signatures (binding differences may apply):

abort(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qprintengine.html#abort

metric

metric(arg__1: Any) -> int

X.metric(arg__1) -> int

Supplemental documentation: Qt 5 reference:

[pure virtual] int QPrintEngine::metric(QPaintDevice::PaintDeviceMetric id) const

Returns the metric for the given id.

Upstream PySide2 reference signatures (binding differences may apply):

metric(self, arg__1: PySide2.QtGui.QPaintDevice.PaintDeviceMetric) -> int

Source: https://doc.qt.io/archives/qt-5.15/qprintengine.html#metric

newPage

newPage() -> bool

X.newPage() -> bool

Supplemental documentation: Qt 5 reference:

[pure virtual] bool QPrintEngine::newPage()

Instructs the print engine to start a new page. Returns true if the printer was able to create the new page; otherwise returns false.

Upstream PySide2 reference signatures (binding differences may apply):

newPage(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qprintengine.html#newPage

printerState

printerState() -> Any

X.printerState()

Supplemental documentation: Qt 5 reference:

[pure virtual] QPrinter::PrinterState QPrintEngine::printerState() const

Returns the current state of the printer being used by the print engine.

Upstream PySide2 reference signatures (binding differences may apply):

printerState(self) -> PySide2.QtPrintSupport.QPrinter.PrinterState

Source: https://doc.qt.io/archives/qt-5.15/qprintengine.html#printerState

property

property(key: Any) -> Any

X.property(key) -> object

Supplemental documentation: Qt 5 reference:

[pure virtual] QVariant QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key) const

Returns the print engine's property specified by key.

See also setProperty().

Upstream PySide2 reference signatures (binding differences may apply):

property(self, key: PySide2.QtPrintSupport.QPrintEngine.PrintEnginePropertyKey) -> typing.Any

Source: https://doc.qt.io/archives/qt-5.15/qprintengine.html#property

setProperty

setProperty(key: Any, value: Any) -> None

X.setProperty(key, value)

Supplemental documentation: Qt 5 reference:

[pure virtual] void QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant \&value)

Sets the print engine's property specified by key to the given value.

See also property().

Upstream PySide2 reference signatures (binding differences may apply):

setProperty(self, key: PySide2.QtPrintSupport.QPrintEngine.PrintEnginePropertyKey, value: typing.Any) -> None

Source: https://doc.qt.io/archives/qt-5.15/qprintengine.html#setProperty