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 « QBitmap »

Informations générales

Héritage

builtins.object
    Object
        QPaintDevice
            QPixmap
                QBitmap

Définition

class QBitmap(QPixmap):

Description [extrait de QBitmap.__doc__]

QBitmap(self)
QBitmap(self, arg__1: PySide2.QtCore.QSize)
QBitmap(self, arg__1: PySide2.QtGui.QPixmap)
QBitmap(self, fileName: str, format: typing.Union[bytes, NoneType] = None)
QBitmap(self, other: PySide2.QtGui.QBitmap)
QBitmap(self, w: int, h: int)

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

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

__lshift__, __rlshift__, __rrshift__, __rshift__

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
__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__]
clear(self) clear(self) [extrait de clear.__doc__]
fromData(size: PySide2.QtCore.QSize, bits: bytes, monoFormat: PySide2.QtGui.QImage.Format = PySide2.QtGui.QImage.Format.Format_MonoLSB) -> PySide2.QtGui.QBitmap fromData(size: PySide2.QtCore.QSize, bits: bytes, monoFormat: PySide2.QtGui.QImage.Format = PySide2.QtGui.QImage.Format.Format_MonoLSB) -> PySide2.QtGui.QBitmap [extrait de fromData.__doc__]
fromImage fromImage(image: PySide2.QtGui.QImage, flags: PySide2.QtCore.Qt.ImageConversionFlags = PySide2.QtCore.Qt.ImageConversionFlag.AutoColor) -> PySide2.QtGui.QBitmap [extrait de fromImage.__doc__]
swap swap(self, other: PySide2.QtGui.QBitmap) [extrait de swap.__doc__]
transformed transformed(self, arg__1: PySide2.QtGui.QMatrix) -> PySide2.QtGui.QBitmap [extrait de transformed.__doc__]

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

__init_subclass__, __repr__, __subclasshook__, cacheKey, convertFromImage, copy, createHeuristicMask, createMaskFromColor, defaultDepth, depth, devicePixelRatio, devType, fill, fromImageInPlace, fromImageReader, grabWidget, grabWindow, hasAlpha, hasAlphaChannel, height, isNull, isQBitmap, load, loadFromData, mask, metric, paintEngine, rect, save, scaled, scaledToHeight, scaledToWidth, scroll, setDevicePixelRatio, setMask, size, toImage, trueMatrix, width

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

__init_subclass__, __subclasshook__, colorCount, depth, devicePixelRatio, devicePixelRatioF, devicePixelRatioFScale, devType, height, heightMM, initPainter, logicalDpiX, logicalDpiY, metric, PaintDeviceMetric, paintEngine, 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__