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 « 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) -> None
QBitmap(self, QBitmap: Union[PySide6.QtGui.QBitmap, str]) -> None
QBitmap(self, arg__1: PySide6.QtCore.QSize) -> None
QBitmap(self, arg__1: Union[PySide6.QtGui.QPixmap, PySide6.QtGui.QImage, str]) -> None
QBitmap(self, fileName: str, format: Optional[bytes] = None) -> None
QBitmap(self, w: int, h: int) -> 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
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

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__() -> None __copy__() -> None [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) -> None clear(self) -> None [extrait de clear.__doc__]
fromData(size: PySide6.QtCore.QSize, bits: bytes, monoFormat: PySide6.QtGui.QImage.Format = PySide6.QtGui.QImage.Format.Format_MonoLSB) -> PySide6.QtGui.QBitmap fromData(size: PySide6.QtCore.QSize, bits: bytes, monoFormat: PySide6.QtGui.QImage.Format = PySide6.QtGui.QImage.Format.Format_MonoLSB) -> PySide6.QtGui.QBitmap [extrait de fromData.__doc__]
fromImage(image: Union[PySide6.QtGui.QImage, str], flags: PySide6.QtCore.Qt.ImageConversionFlags = PySide6.QtCore.Qt.ImageConversionFlag.AutoColor) -> PySide6.QtGui.QBitmap fromImage(image: Union[PySide6.QtGui.QImage, str], flags: PySide6.QtCore.Qt.ImageConversionFlags = PySide6.QtCore.Qt.ImageConversionFlag.AutoColor) -> PySide6.QtGui.QBitmap [extrait de fromImage.__doc__]
fromPixmap(pixmap: Union[PySide6.QtGui.QPixmap, PySide6.QtGui.QImage, str]) -> PySide6.QtGui.QBitmap fromPixmap(pixmap: Union[PySide6.QtGui.QPixmap, PySide6.QtGui.QImage, str]) -> PySide6.QtGui.QBitmap [extrait de fromPixmap.__doc__]
swap(self, other: Union[PySide6.QtGui.QBitmap, str]) -> None swap(self, other: Union[PySide6.QtGui.QBitmap, str]) -> None [extrait de swap.__doc__]
transformed(self, matrix: PySide6.QtGui.QTransform) -> PySide6.QtGui.QBitmap transformed(self, matrix: PySide6.QtGui.QTransform) -> PySide6.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, deviceIndependentSize, devicePixelRatio, devType, fill, fromImageInPlace, fromImageReader, 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

__getattribute__, __init_subclass__, __subclasshook__

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

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