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

Informations générales

Héritage

builtins.object
    Object
        QImageReader

Définition

class QImageReader(Object):

Description [extrait de QImageReader.__doc__]

QImageReader(self)
QImageReader(self, device: PySide2.QtCore.QIODevice, format: PySide2.QtCore.QByteArray = Default(QByteArray))
QImageReader(self, fileName: str, format: PySide2.QtCore.QByteArray = Default(QByteArray))

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
DeviceErrorPySide2.QtGui.QImageReader.ImageReaderError.DeviceError
FileNotFoundErrorPySide2.QtGui.QImageReader.ImageReaderError.FileNotFoundError
InvalidDataErrorPySide2.QtGui.QImageReader.ImageReaderError.InvalidDataError
UnknownErrorPySide2.QtGui.QImageReader.ImageReaderError.UnknownError
UnsupportedFormatErrorPySide2.QtGui.QImageReader.ImageReaderError.UnsupportedFormatError

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
__getattribute__(self, name) Return getattr(self, name). [extrait de __getattribute__.__doc__]
autoDetectImageFormat(self) -> bool autoDetectImageFormat(self) -> bool [extrait de autoDetectImageFormat.__doc__]
autoTransform(self) -> bool autoTransform(self) -> bool [extrait de autoTransform.__doc__]
backgroundColor(self) -> PySide2.QtGui.QColor backgroundColor(self) -> PySide2.QtGui.QColor [extrait de backgroundColor.__doc__]
canRead(self) -> bool canRead(self) -> bool [extrait de canRead.__doc__]
clipRect(self) -> PySide2.QtCore.QRect clipRect(self) -> PySide2.QtCore.QRect [extrait de clipRect.__doc__]
currentImageNumber(self) -> int currentImageNumber(self) -> int [extrait de currentImageNumber.__doc__]
currentImageRect(self) -> PySide2.QtCore.QRect currentImageRect(self) -> PySide2.QtCore.QRect [extrait de currentImageRect.__doc__]
decideFormatFromContent(self) -> bool decideFormatFromContent(self) -> bool [extrait de decideFormatFromContent.__doc__]
device(self) -> PySide2.QtCore.QIODevice device(self) -> PySide2.QtCore.QIODevice [extrait de device.__doc__]
error(self) -> PySide2.QtGui.QImageReader.ImageReaderError error(self) -> PySide2.QtGui.QImageReader.ImageReaderError [extrait de error.__doc__]
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
fileName(self) -> str fileName(self) -> str [extrait de fileName.__doc__]
format(self) -> PySide2.QtCore.QByteArray format(self) -> PySide2.QtCore.QByteArray [extrait de format.__doc__]
gamma(self) -> float gamma(self) -> float [extrait de gamma.__doc__]
imageCount(self) -> int imageCount(self) -> int [extrait de imageCount.__doc__]
imageFormat imageFormat() -> PySide2.QtGui.QImage.Format [extrait de imageFormat.__doc__]
imageFormatsForMimeType(mimeType: PySide2.QtCore.QByteArray) -> typing.List[PySide2.QtCore.QByteArray] imageFormatsForMimeType(mimeType: PySide2.QtCore.QByteArray) -> typing.List[PySide2.QtCore.QByteArray] [extrait de imageFormatsForMimeType.__doc__]
ImageReaderError
jumpToImage(self, imageNumber: int) -> bool jumpToImage(self, imageNumber: int) -> bool [extrait de jumpToImage.__doc__]
jumpToNextImage(self) -> bool jumpToNextImage(self) -> bool [extrait de jumpToNextImage.__doc__]
loopCount(self) -> int loopCount(self) -> int [extrait de loopCount.__doc__]
nextImageDelay(self) -> int nextImageDelay(self) -> int [extrait de nextImageDelay.__doc__]
quality(self) -> int quality(self) -> int [extrait de quality.__doc__]
read(self) -> PySide2.QtGui.QImage read(self) -> PySide2.QtGui.QImage [extrait de read.__doc__]
scaledClipRect(self) -> PySide2.QtCore.QRect scaledClipRect(self) -> PySide2.QtCore.QRect [extrait de scaledClipRect.__doc__]
scaledSize(self) -> PySide2.QtCore.QSize scaledSize(self) -> PySide2.QtCore.QSize [extrait de scaledSize.__doc__]
setAutoDetectImageFormat(self, enabled: bool) setAutoDetectImageFormat(self, enabled: bool) [extrait de setAutoDetectImageFormat.__doc__]
setAutoTransform(self, enabled: bool) setAutoTransform(self, enabled: bool) [extrait de setAutoTransform.__doc__]
setBackgroundColor(self, color: PySide2.QtGui.QColor) setBackgroundColor(self, color: PySide2.QtGui.QColor) [extrait de setBackgroundColor.__doc__]
setClipRect(self, rect: PySide2.QtCore.QRect) setClipRect(self, rect: PySide2.QtCore.QRect) [extrait de setClipRect.__doc__]
setDecideFormatFromContent(self, ignored: bool) setDecideFormatFromContent(self, ignored: bool) [extrait de setDecideFormatFromContent.__doc__]
setDevice(self, device: PySide2.QtCore.QIODevice) setDevice(self, device: PySide2.QtCore.QIODevice) [extrait de setDevice.__doc__]
setFileName(self, fileName: str) setFileName(self, fileName: str) [extrait de setFileName.__doc__]
setFormat(self, format: PySide2.QtCore.QByteArray) setFormat(self, format: PySide2.QtCore.QByteArray) [extrait de setFormat.__doc__]
setGamma(self, gamma: float) setGamma(self, gamma: float) [extrait de setGamma.__doc__]
setQuality(self, quality: int) setQuality(self, quality: int) [extrait de setQuality.__doc__]
setScaledClipRect(self, rect: PySide2.QtCore.QRect) setScaledClipRect(self, rect: PySide2.QtCore.QRect) [extrait de setScaledClipRect.__doc__]
setScaledSize(self, size: PySide2.QtCore.QSize) setScaledSize(self, size: PySide2.QtCore.QSize) [extrait de setScaledSize.__doc__]
size(self) -> PySide2.QtCore.QSize size(self) -> PySide2.QtCore.QSize [extrait de size.__doc__]
subType(self) -> PySide2.QtCore.QByteArray subType(self) -> PySide2.QtCore.QByteArray [extrait de subType.__doc__]
supportedImageFormats() -> typing.List[PySide2.QtCore.QByteArray] supportedImageFormats() -> typing.List[PySide2.QtCore.QByteArray] [extrait de supportedImageFormats.__doc__]
supportedMimeTypes() -> typing.List[PySide2.QtCore.QByteArray] supportedMimeTypes() -> typing.List[PySide2.QtCore.QByteArray] [extrait de supportedMimeTypes.__doc__]
supportedSubTypes(self) -> typing.List[PySide2.QtCore.QByteArray] supportedSubTypes(self) -> typing.List[PySide2.QtCore.QByteArray] [extrait de supportedSubTypes.__doc__]
supportsAnimation(self) -> bool supportsAnimation(self) -> bool [extrait de supportsAnimation.__doc__]
supportsOption(self, option: PySide2.QtGui.QImageIOHandler.ImageOption) -> bool supportsOption(self, option: PySide2.QtGui.QImageIOHandler.ImageOption) -> bool [extrait de supportsOption.__doc__]
text(self, key: str) -> str text(self, key: str) -> str [extrait de text.__doc__]
textKeys(self) -> typing.List[str] textKeys(self) -> typing.List[str] [extrait de textKeys.__doc__]
transformation(self) -> PySide2.QtGui.QImageIOHandler.Transformations transformation(self) -> PySide2.QtGui.QImageIOHandler.Transformations [extrait de transformation.__doc__]

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

__init_subclass__, __subclasshook__

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

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