Skip to content

PythonQt.QtGui.QPrintEngine

QPrintEngine

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

The common case when creating your own print engine is to derive from both QPaintEngine and QPrintEngine. Various properties of a print engine are given with property() and set with setProperty().

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

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
PPK_CollateCopies attribute Any
PPK_ColorMode attribute Any
PPK_CopyCount attribute Any
PPK_Creator attribute Any
PPK_CustomBase attribute Any
PPK_CustomPaperSize attribute Any
PPK_DocumentName attribute Any
PPK_Duplex attribute Any
PPK_FontEmbedding attribute Any
PPK_FullPage attribute Any
PPK_NumberOfCopies attribute Any
PPK_Orientation attribute Any
PPK_OutputFileName attribute Any
PPK_PageMargins attribute Any
PPK_PageOrder attribute Any
PPK_PageRect attribute Any
PPK_PageSize attribute Any
PPK_PaperName attribute Any
PPK_PaperRect attribute Any
PPK_PaperSize attribute Any
PPK_PaperSource attribute Any
PPK_PaperSources attribute Any
PPK_PrinterName attribute Any
PPK_PrinterProgram attribute Any
PPK_QPageLayout attribute Any
PPK_QPageMargins attribute Any
PPK_QPageSize attribute Any
PPK_Resolution attribute Any
PPK_SelectionOption attribute Any
PPK_SupportedResolutions attribute Any
PPK_SupportsMultipleCopies attribute Any
PPK_WindowsPageSize attribute Any
PrintEnginePropertyKey attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
abort function (self) -> bool X.abort() -> bool
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
metric function (self, arg__1: Any) -> int X.metric(arg__1) -> int
newPage function (self) -> bool X.newPage() -> bool
printerState function (self) -> Any Returns the current state of the printer being used by the print engine.
property function (self, key: Any) -> Any X.property(key) -> object
setProperty function (self, key: Any, value: Any) -> None X.setProperty(key, value)