Skip to content

PythonQt.QtGui.QPdfWriter

QPdfWriter

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

QPdfWriter generates PDF out of a series of drawing commands using QPainter. The newPage() method can be used to create several pages.

Source: https://doc.qt.io/archives/qt-5.15/qpdfwriter.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
A0 attribute Any (shared captured text)
A1 attribute Any (shared captured text)
A10 attribute Any (shared captured text)
A2 attribute Any (shared captured text)
A3 attribute Any (shared captured text)
A3Extra attribute Any (shared captured text)
A4 attribute Any (shared captured text)
A4Extra attribute Any (shared captured text)
A4Plus attribute Any (shared captured text)
A4Small attribute Any (shared captured text)
A5 attribute Any (shared captured text)
A5Extra attribute Any (shared captured text)
A6 attribute Any (shared captured text)
A7 attribute Any (shared captured text)
A8 attribute Any (shared captured text)
A9 attribute Any (shared captured text)
AnsiA attribute Any (shared captured text)
AnsiB attribute Any (shared captured text)
AnsiC attribute Any (shared captured text)
AnsiD attribute Any (shared captured text)
AnsiE attribute Any (shared captured text)
ArchA attribute Any (shared captured text)
ArchB attribute Any (shared captured text)
ArchC attribute Any (shared captured text)
ArchD attribute Any (shared captured text)
ArchE attribute Any (shared captured text)
B0 attribute Any (shared captured text)
B1 attribute Any (shared captured text)
B10 attribute Any (shared captured text)
B2 attribute Any (shared captured text)
B3 attribute Any (shared captured text)
B4 attribute Any (shared captured text)
B5 attribute Any (shared captured text)
B5Extra attribute Any (shared captured text)
B6 attribute Any (shared captured text)
B7 attribute Any (shared captured text)
B8 attribute Any (shared captured text)
B9 attribute Any (shared captured text)
C5E attribute Any (shared captured text)
Comm10E attribute Any (shared captured text)
Custom attribute Any (shared captured text)
DLE attribute Any (shared captured text)
DoublePostcard attribute Any (shared captured text)
Envelope10 attribute Any (shared captured text)
Envelope11 attribute Any (shared captured text)
Envelope12 attribute Any (shared captured text)
Envelope14 attribute Any (shared captured text)
Envelope9 attribute Any (shared captured text)
EnvelopeB4 attribute Any (shared captured text)
EnvelopeB5 attribute Any (shared captured text)
EnvelopeB6 attribute Any (shared captured text)
EnvelopeC0 attribute Any (shared captured text)
EnvelopeC1 attribute Any (shared captured text)
EnvelopeC2 attribute Any (shared captured text)
EnvelopeC3 attribute Any (shared captured text)
EnvelopeC4 attribute Any (shared captured text)
EnvelopeC5 attribute Any (shared captured text)
EnvelopeC6 attribute Any (shared captured text)
EnvelopeC65 attribute Any (shared captured text)
EnvelopeC7 attribute Any (shared captured text)
EnvelopeChou3 attribute Any (shared captured text)
EnvelopeChou4 attribute Any (shared captured text)
EnvelopeDL attribute Any (shared captured text)
EnvelopeInvite attribute Any (shared captured text)
EnvelopeItalian attribute Any (shared captured text)
EnvelopeKaku2 attribute Any (shared captured text)
EnvelopeKaku3 attribute Any (shared captured text)
EnvelopeMonarch attribute Any (shared captured text)
EnvelopePersonal attribute Any (shared captured text)
EnvelopePrc1 attribute Any (shared captured text)
EnvelopePrc10 attribute Any (shared captured text)
EnvelopePrc2 attribute Any (shared captured text)
EnvelopePrc3 attribute Any (shared captured text)
EnvelopePrc4 attribute Any (shared captured text)
EnvelopePrc5 attribute Any (shared captured text)
EnvelopePrc6 attribute Any (shared captured text)
EnvelopePrc7 attribute Any (shared captured text)
EnvelopePrc8 attribute Any (shared captured text)
EnvelopePrc9 attribute Any (shared captured text)
EnvelopeYou4 attribute Any (shared captured text)
Executive attribute Any (shared captured text)
ExecutiveStandard attribute Any (shared captured text)
FanFoldGerman attribute Any (shared captured text)
FanFoldGermanLegal attribute Any (shared captured text)
FanFoldUS attribute Any (shared captured text)
Folio attribute Any (shared captured text)
Imperial10x11 attribute Any (shared captured text)
Imperial10x13 attribute Any (shared captured text)
Imperial10x14 attribute Any (shared captured text)
Imperial12x11 attribute Any (shared captured text)
Imperial15x11 attribute Any (shared captured text)
Imperial7x9 attribute Any (shared captured text)
Imperial8x10 attribute Any (shared captured text)
Imperial9x11 attribute Any (shared captured text)
Imperial9x12 attribute Any (shared captured text)
JisB0 attribute Any (shared captured text)
JisB1 attribute Any (shared captured text)
JisB10 attribute Any (shared captured text)
JisB2 attribute Any (shared captured text)
JisB3 attribute Any (shared captured text)
JisB4 attribute Any (shared captured text)
JisB5 attribute Any (shared captured text)
JisB6 attribute Any (shared captured text)
JisB7 attribute Any (shared captured text)
JisB8 attribute Any (shared captured text)
JisB9 attribute Any (shared captured text)
LastPageSize attribute Any (shared captured text)
Ledger attribute Any (shared captured text)
Legal attribute Any (shared captured text)
LegalExtra attribute Any (shared captured text)
Letter attribute Any (shared captured text)
LetterExtra attribute Any (shared captured text)
LetterPlus attribute Any (shared captured text)
LetterSmall attribute Any (shared captured text)
NPageSize attribute Any (shared captured text)
NPaperSize attribute Any (shared captured text)
Note attribute Any (shared captured text)
PageSize attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
PaintDeviceMetric attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
PdmDepth attribute Any (shared captured text)
PdmDevicePixelRatio attribute Any (shared captured text)
PdmDevicePixelRatioScaled attribute Any (shared captured text)
PdmDpiX attribute Any (shared captured text)
PdmDpiY attribute Any (shared captured text)
PdmHeight attribute Any (shared captured text)
PdmHeightMM attribute Any (shared captured text)
PdmNumColors attribute Any (shared captured text)
PdmPhysicalDpiX attribute Any (shared captured text)
PdmPhysicalDpiY attribute Any (shared captured text)
PdmWidth attribute Any (shared captured text)
PdmWidthMM attribute Any (shared captured text)
Postcard attribute Any (shared captured text)
Prc16K attribute Any (shared captured text)
Prc32K attribute Any (shared captured text)
Prc32KBig attribute Any (shared captured text)
Quarto attribute Any (shared captured text)
Statement attribute Any (shared captured text)
SuperA attribute Any (shared captured text)
SuperB attribute Any (shared captured text)
Tabloid attribute Any (shared captured text)
TabloidExtra attribute Any (shared captured text)
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
blockSignals function (self, b: Any) -> bool X.blockSignals(b) -> bool (shared captured text)
childEvent function (self, event: Any) -> Any (shared captured text)
children function (self) -> tuple X.children() -> tuple (shared captured text)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
colorCount function (self) -> int X.colorCount() -> int (shared captured text)
connect function (self, signal: Any, receiver: Any, slot: Any, type: Any) -> bool X.connect(signal, receiver, slot, type) -> bool (shared captured text)
creator function (self) -> str X.creator() -> str
customEvent function (self, event: Any) -> Any (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
deleteLater function (self) -> Any (shared captured text)
depth function (self) -> int X.depth() -> int (shared captured text)
destroyed function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.QtGui.QPdfWriter.destroyed; argument details are not documented.
devType function (self) -> int X.devType() -> int (shared captured text)
devicePageLayout function (self) -> Any X.devicePageLayout() -> PythonQt.QtGui.QPageLayout
devicePixelRatio function (self) -> int X.devicePixelRatio() -> int (shared captured text)
devicePixelRatioF function (self) -> float X.devicePixelRatioF() -> float (shared captured text)
devicePixelRatioFScale function (self) -> float X.devicePixelRatioFScale() -> float (shared captured text)
disconnect function (self, signal: Any, receiver: Any, slot: Any) -> bool X.disconnect(signal, receiver, slot) -> bool (shared captured text)
dumpObjectInfo function (self) -> Any (shared captured text)
dumpObjectTree function (self) -> Any (shared captured text)
dynamicPropertyNames function (self) -> Any (shared captured text)
event function (self, event: Any) -> bool X.event(event) -> bool (shared captured text)
eventFilter function (self, watched: Any, event: Any) -> bool X.eventFilter(watched, event) -> bool (shared captured text)
findChild function (self, type: Any, name: Any) -> Any X.findChild(type, name) -> PythonQt.private.QObject (shared captured text)
findChildren function (self, type: Any, name: Any) -> tuple X.findChildren(type, name) -> tuple (shared captured text)
height function (self) -> int X.height() -> int (shared captured text)
heightMM function (self) -> int X.heightMM() -> int (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)
initPainter function (self, painter: Any) -> Any (shared captured text)
installEventFilter function (self, filterObj: Any) -> Any (shared captured text)
isSignalConnected function (self, signal: Any) -> bool X.isSignalConnected(signal) -> bool (shared captured text)
isWidgetType function (self) -> bool X.isWidgetType() -> bool (shared captured text)
isWindowType function (self) -> bool X.isWindowType() -> bool (shared captured text)
killTimer function (self, id: Any) -> Any (shared captured text)
logicalDpiX function (self) -> int X.logicalDpiX() -> int (shared captured text)
logicalDpiY function (self) -> int X.logicalDpiY() -> int (shared captured text)
margins function (self) -> Any X.margins() -> PythonQt.QtGui.QPagedPaintDevice::Margins
metaObject function (self) -> Any X.metaObject() -> PythonQt.QtCore.QMetaObject (shared captured text)
metric function (self, id: Any) -> int X.metric(id) -> int
moveToThread function (self, thread: Any) -> Any (shared captured text)
newPage function (self) -> bool X.newPage() -> bool
objectName attribute Any (shared captured text)
objectNameChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.QtGui.QPdfWriter.objectNameChanged; argument details are not documented.
pageLayout function (self) -> Any X.pageLayout() -> PythonQt.QtGui.QPageLayout
pageSize function (self) -> Any
pageSizeMM function (self) -> Any X.pageSizeMM() -> PythonQt.QtCore.QSizeF
paintEngine function (self) -> Any X.paintEngine() -> PythonQt.QtGui.QPaintEngine
paintingActive function (self) -> bool X.paintingActive() -> bool (shared captured text)
parent function (self) -> Any X.parent() -> PythonQt.private.QObject (shared captured text)
physicalDpiX function (self) -> int X.physicalDpiX() -> int (shared captured text)
physicalDpiY function (self) -> int X.physicalDpiY() -> int (shared captured text)
property function (self, name: Any) -> Any X.property(name) -> object (shared captured text)
redirected function (self, offset: Any) -> Any X.redirected(offset) -> PythonQt.QtGui.QPaintDevice (shared captured text)
removeEventFilter function (self, obj: Any) -> Any (shared captured text)
resolution function (self) -> int X.resolution() -> int
sender function (self) -> Any X.sender() -> PythonQt.private.QObject (shared captured text)
senderSignalIndex function (self) -> int X.senderSignalIndex() -> int (shared captured text)
setCreator function (self, creator: str) -> None Sets the creator of the document to creator.
setMargins function (self, m: Any) -> None
setObjectName function (self, name: Any) -> Any (shared captured text)
setPageLayout function (self, pageLayout: Any) -> bool X.setPageLayout(pageLayout) -> bool
setPageMargins function (self, margins: Any, units: Any) -> bool X.setPageMargins(margins, units) -> bool
setPageOrientation function (self, orientation: Any) -> bool X.setPageOrientation(orientation) -> bool
setPageSize function (self, size: Any) -> None Sets the PDF page size to pageSize.
setPageSizeMM function (self, size: Any) -> None
setParent function (self, parent: Any) -> Any (shared captured text)
setProperty function (self, name: Any, value: Any) -> bool X.setProperty(name, value) -> bool (shared captured text)
setResolution function (self, resolution: int) -> None Sets the PDF resolution in DPI.
setTitle function (self, title: str) -> None Sets the title of the document being created to title.
sharedPainter function (self) -> Any X.sharedPainter() -> PythonQt.QtGui.QPainter (shared captured text)
signalsBlocked function (self) -> bool X.signalsBlocked() -> bool (shared captured text)
startTimer function (self, interval: Any, timerType: Any) -> int X.startTimer(interval, timerType) -> int (shared captured text)
thread function (self) -> Any (shared captured text)
timerEvent function (self, event: Any) -> Any (shared captured text)
title function (self) -> str X.title() -> str
tr function (self, text: Any, ambig: Any, n: Any) -> str X.tr(text, ambig, n) -> str (shared captured text)
width function (self) -> int X.width() -> int (shared captured text)
widthMM function (self) -> int X.widthMM() -> int (shared captured text)