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 « PySide2.QtGui »

Classe « QPicture »

Informations générales

Héritage

builtins.object
    Object
        QPaintDevice
            QPicture

Définition

class QPicture(QPaintDevice):

Description [extrait de QPicture.__doc__]

QPicture(self, arg__1: PySide2.QtGui.QPicture)
QPicture(self, formatVersion: int = -1)

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__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
PdmDepthPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDepth
PdmDevicePixelRatioPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatio
PdmDevicePixelRatioScaledPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatioScaled
PdmDpiXPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiX
PdmDpiYPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiY
PdmHeightPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeight
PdmHeightMMPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeightMM
PdmNumColorsPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmNumColors
PdmPhysicalDpiXPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiX
PdmPhysicalDpiYPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiY
PdmWidthPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidth
PdmWidthMMPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidthMM

Attributs statiques hérités de la classe QPaintDevice

painters

Liste des opérateurs

Signature de l'opérateur Description
__lshift__(self, arg__1: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream __lshift__(self, arg__1: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream [extrait de __lshift__.__doc__]
__rlshift__(self, value) Return value<<self. [extrait de __rlshift__.__doc__]
__rrshift__(self, value) Return value>>self. [extrait de __rrshift__.__doc__]
__rshift__(self, arg__1: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream __rshift__(self, arg__1: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream [extrait de __rshift__.__doc__]

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
__bool__(self) self != 0 [extrait de __bool__.__doc__]
__copy__(self) __copy__(self) [extrait de __copy__.__doc__]
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
boundingRect(self) -> PySide2.QtCore.QRect boundingRect(self) -> PySide2.QtCore.QRect [extrait de boundingRect.__doc__]
data(self) -> bytes data(self) -> bytes [extrait de data.__doc__]
devType(self) -> int devType(self) -> int [extrait de devType.__doc__]
inputFormatList() -> typing.List[str] inputFormatList() -> typing.List[str] [extrait de inputFormatList.__doc__]
inputFormats() -> typing.List[PySide2.QtCore.QByteArray] inputFormats() -> typing.List[PySide2.QtCore.QByteArray] [extrait de inputFormats.__doc__]
isNull(self) -> bool isNull(self) -> bool [extrait de isNull.__doc__]
load load(self, dev: PySide2.QtCore.QIODevice, format: typing.Union[bytes, NoneType] = None) -> bool [extrait de load.__doc__]
metric(self, m: PySide2.QtGui.QPaintDevice.PaintDeviceMetric) -> int metric(self, m: PySide2.QtGui.QPaintDevice.PaintDeviceMetric) -> int [extrait de metric.__doc__]
outputFormatList() -> typing.List[str] outputFormatList() -> typing.List[str] [extrait de outputFormatList.__doc__]
outputFormats() -> typing.List[PySide2.QtCore.QByteArray] outputFormats() -> typing.List[PySide2.QtCore.QByteArray] [extrait de outputFormats.__doc__]
paintEngine(self) -> PySide2.QtGui.QPaintEngine paintEngine(self) -> PySide2.QtGui.QPaintEngine [extrait de paintEngine.__doc__]
pictureFormat(fileName: str) -> bytes pictureFormat(fileName: str) -> bytes [extrait de pictureFormat.__doc__]
play(self, p: PySide2.QtGui.QPainter) -> bool play(self, p: PySide2.QtGui.QPainter) -> bool [extrait de play.__doc__]
save save(self, dev: PySide2.QtCore.QIODevice, format: typing.Union[bytes, NoneType] = None) -> bool [extrait de save.__doc__]
setBoundingRect(self, r: PySide2.QtCore.QRect) setBoundingRect(self, r: PySide2.QtCore.QRect) [extrait de setBoundingRect.__doc__]
setData(self, data: bytes, size: int) setData(self, data: bytes, size: int) [extrait de setData.__doc__]
size(self) -> int size(self) -> int [extrait de size.__doc__]
swap(self, other: PySide2.QtGui.QPicture) swap(self, other: PySide2.QtGui.QPicture) [extrait de swap.__doc__]

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

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

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

__init_subclass__, __subclasshook__

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

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