Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtGui »

Classe « QPdfWriter »

Informations générales

Héritage

builtins.object
    Object
        QPaintDevice
            QPagedPaintDevice
    builtins.object
        Object
            QObject
                QPdfWriter

Définition

class QPdfWriter(QObject, QPagedPaintDevice):

Description [extrait de QPdfWriter.__doc__]

QPdfWriter(self, device: PySide6.QtCore.QIODevice) -> None
QPdfWriter(self, filename: str) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
PdfVersion_1_4PySide6.QtGui.QPagedPaintDevice.PdfVersion.PdfVersion_1_4
PdfVersion_1_6PySide6.QtGui.QPagedPaintDevice.PdfVersion.PdfVersion_1_6
PdfVersion_A1bPySide6.QtGui.QPagedPaintDevice.PdfVersion.PdfVersion_A1b
PdmDepthPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDepth
PdmDevicePixelRatioPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatio
PdmDevicePixelRatioScaledPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatioScaled
PdmDpiXPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiX
PdmDpiYPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiY
PdmHeightPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeight
PdmHeightMMPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeightMM
PdmNumColorsPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmNumColors
PdmPhysicalDpiXPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiX
PdmPhysicalDpiYPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiY
PdmWidthPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidth
PdmWidthMMPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidthMM
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40e25ffe00>

Attributs statiques hérités de la classe QPaintDevice

painters

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
addFileAttachment(self, fileName: str, data: Union[PySide6.QtCore.QByteArray, bytes], mimeType: str = '') -> None addFileAttachment(self, fileName: str, data: Union[PySide6.QtCore.QByteArray, bytes], mimeType: str = '') -> None [extrait de addFileAttachment.__doc__]
creator(self) -> str creator(self) -> str [extrait de creator.__doc__]
destroyed
documentXmpMetadata(self) -> PySide6.QtCore.QByteArray documentXmpMetadata(self) -> PySide6.QtCore.QByteArray [extrait de documentXmpMetadata.__doc__]
metric(self, id: PySide6.QtGui.QPaintDevice.PaintDeviceMetric) -> int metric(self, id: PySide6.QtGui.QPaintDevice.PaintDeviceMetric) -> int [extrait de metric.__doc__]
newPage(self) -> bool newPage(self) -> bool [extrait de newPage.__doc__]
objectNameChanged
paintEngine(self) -> PySide6.QtGui.QPaintEngine paintEngine(self) -> PySide6.QtGui.QPaintEngine [extrait de paintEngine.__doc__]
pdfVersion(self) -> PySide6.QtGui.QPagedPaintDevice.PdfVersion pdfVersion(self) -> PySide6.QtGui.QPagedPaintDevice.PdfVersion [extrait de pdfVersion.__doc__]
resolution(self) -> int resolution(self) -> int [extrait de resolution.__doc__]
setCreator(self, creator: str) -> None setCreator(self, creator: str) -> None [extrait de setCreator.__doc__]
setDocumentXmpMetadata(self, xmpMetadata: Union[PySide6.QtCore.QByteArray, bytes]) -> None setDocumentXmpMetadata(self, xmpMetadata: Union[PySide6.QtCore.QByteArray, bytes]) -> None [extrait de setDocumentXmpMetadata.__doc__]
setPdfVersion(self, version: PySide6.QtGui.QPagedPaintDevice.PdfVersion) -> None setPdfVersion(self, version: PySide6.QtGui.QPagedPaintDevice.PdfVersion) -> None [extrait de setPdfVersion.__doc__]
setResolution(self, resolution: int) -> None setResolution(self, resolution: int) -> None [extrait de setResolution.__doc__]
setTitle(self, title: str) -> None setTitle(self, title: str) -> None [extrait de setTitle.__doc__]
title(self) -> str title(self) -> str [extrait de title.__doc__]
tr

Méthodes héritées de la classe QPagedPaintDevice

__init_subclass__, __subclasshook__, pageLayout, pageRanges, PdfVersion, setPageLayout, setPageMargins, setPageOrientation, setPageRanges, setPageSize

Méthodes héritées de la classe QPaintDevice

__init_subclass__, __subclasshook__, colorCount, depth, devicePixelRatio, devicePixelRatioF, devicePixelRatioFScale, devType, height, heightMM, initPainter, logicalDpiX, logicalDpiY, PaintDeviceMetric, paintingActive, physicalDpiX, physicalDpiY, redirected, sharedPainter, width, widthMM

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__