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

Informations générales

Héritage

builtins.object
    Object
        QPixelFormat

Définition

class QPixelFormat(Object):

Description [extrait de QPixelFormat.__doc__]

QPixelFormat(self)
QPixelFormat(self, QPixelFormat: PySide2.QtGui.QPixelFormat)
QPixelFormat(self, colorModel: PySide2.QtGui.QPixelFormat.ColorModel, firstSize: int, secondSize: int, thirdSize: int, fourthSize: int, fifthSize: int, alphaSize: int, alphaUsage: PySide2.QtGui.QPixelFormat.AlphaUsage, alphaPosition: PySide2.QtGui.QPixelFormat.AlphaPosition, premultiplied: PySide2.QtGui.QPixelFormat.AlphaPremultiplied, typeInterpretation: PySide2.QtGui.QPixelFormat.TypeInterpretation, byteOrder: PySide2.QtGui.QPixelFormat.ByteOrder = PySide2.QtGui.QPixelFormat.ByteOrder.CurrentSystemEndian, subEnum: int = 0)

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
AlphaPySide2.QtGui.QPixelFormat.ColorModel.Alpha
AtBeginningPySide2.QtGui.QPixelFormat.AlphaPosition.AtBeginning
AtEndPySide2.QtGui.QPixelFormat.AlphaPosition.AtEnd
BGRPySide2.QtGui.QPixelFormat.ColorModel.BGR
BigEndianPySide2.QtGui.QPixelFormat.ByteOrder.BigEndian
CMYKPySide2.QtGui.QPixelFormat.ColorModel.CMYK
CurrentSystemEndianPySide2.QtGui.QPixelFormat.ByteOrder.CurrentSystemEndian
FloatingPointPySide2.QtGui.QPixelFormat.TypeInterpretation.FloatingPoint
GrayscalePySide2.QtGui.QPixelFormat.ColorModel.Grayscale
HSLPySide2.QtGui.QPixelFormat.ColorModel.HSL
HSVPySide2.QtGui.QPixelFormat.ColorModel.HSV
IgnoresAlphaPySide2.QtGui.QPixelFormat.AlphaUsage.IgnoresAlpha
IMC1PySide2.QtGui.QPixelFormat.YUVLayout.IMC1
IMC2PySide2.QtGui.QPixelFormat.YUVLayout.IMC2
IMC3PySide2.QtGui.QPixelFormat.YUVLayout.IMC3
IMC4PySide2.QtGui.QPixelFormat.YUVLayout.IMC4
IndexedPySide2.QtGui.QPixelFormat.ColorModel.Indexed
LittleEndianPySide2.QtGui.QPixelFormat.ByteOrder.LittleEndian
NotPremultipliedPySide2.QtGui.QPixelFormat.AlphaPremultiplied.NotPremultiplied
NV12PySide2.QtGui.QPixelFormat.YUVLayout.NV12
NV21PySide2.QtGui.QPixelFormat.YUVLayout.NV21
PremultipliedPySide2.QtGui.QPixelFormat.AlphaPremultiplied.Premultiplied
RGBPySide2.QtGui.QPixelFormat.ColorModel.RGB
UnsignedBytePySide2.QtGui.QPixelFormat.TypeInterpretation.UnsignedByte
UnsignedIntegerPySide2.QtGui.QPixelFormat.TypeInterpretation.UnsignedInteger
UnsignedShortPySide2.QtGui.QPixelFormat.TypeInterpretation.UnsignedShort
UsesAlphaPySide2.QtGui.QPixelFormat.AlphaUsage.UsesAlpha
UYVYPySide2.QtGui.QPixelFormat.YUVLayout.UYVY
Y16PySide2.QtGui.QPixelFormat.YUVLayout.Y16
Y8PySide2.QtGui.QPixelFormat.YUVLayout.Y8
YUVPySide2.QtGui.QPixelFormat.ColorModel.YUV
YUV411PySide2.QtGui.QPixelFormat.YUVLayout.YUV411
YUV420PPySide2.QtGui.QPixelFormat.YUVLayout.YUV420P
YUV420SPPySide2.QtGui.QPixelFormat.YUVLayout.YUV420SP
YUV422PySide2.QtGui.QPixelFormat.YUVLayout.YUV422
YUV444PySide2.QtGui.QPixelFormat.YUVLayout.YUV444
YUYVPySide2.QtGui.QPixelFormat.YUVLayout.YUYV
YV12PySide2.QtGui.QPixelFormat.YUVLayout.YV12

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
__copy__(self) __copy__(self) [extrait de __copy__.__doc__]
AlphaPosition
alphaPosition(self) -> PySide2.QtGui.QPixelFormat.AlphaPosition alphaPosition(self) -> PySide2.QtGui.QPixelFormat.AlphaPosition [extrait de alphaPosition.__doc__]
AlphaPremultiplied
alphaSize(self) -> int alphaSize(self) -> int [extrait de alphaSize.__doc__]
AlphaUsage
alphaUsage(self) -> PySide2.QtGui.QPixelFormat.AlphaUsage alphaUsage(self) -> PySide2.QtGui.QPixelFormat.AlphaUsage [extrait de alphaUsage.__doc__]
bitsPerPixel(self) -> int bitsPerPixel(self) -> int [extrait de bitsPerPixel.__doc__]
blackSize(self) -> int blackSize(self) -> int [extrait de blackSize.__doc__]
blueSize(self) -> int blueSize(self) -> int [extrait de blueSize.__doc__]
brightnessSize(self) -> int brightnessSize(self) -> int [extrait de brightnessSize.__doc__]
ByteOrder
byteOrder(self) -> PySide2.QtGui.QPixelFormat.ByteOrder byteOrder(self) -> PySide2.QtGui.QPixelFormat.ByteOrder [extrait de byteOrder.__doc__]
channelCount(self) -> int channelCount(self) -> int [extrait de channelCount.__doc__]
ColorModel
colorModel(self) -> PySide2.QtGui.QPixelFormat.ColorModel colorModel(self) -> PySide2.QtGui.QPixelFormat.ColorModel [extrait de colorModel.__doc__]
cyanSize(self) -> int cyanSize(self) -> int [extrait de cyanSize.__doc__]
greenSize(self) -> int greenSize(self) -> int [extrait de greenSize.__doc__]
hueSize(self) -> int hueSize(self) -> int [extrait de hueSize.__doc__]
lightnessSize(self) -> int lightnessSize(self) -> int [extrait de lightnessSize.__doc__]
magentaSize(self) -> int magentaSize(self) -> int [extrait de magentaSize.__doc__]
premultiplied(self) -> PySide2.QtGui.QPixelFormat.AlphaPremultiplied premultiplied(self) -> PySide2.QtGui.QPixelFormat.AlphaPremultiplied [extrait de premultiplied.__doc__]
redSize(self) -> int redSize(self) -> int [extrait de redSize.__doc__]
saturationSize(self) -> int saturationSize(self) -> int [extrait de saturationSize.__doc__]
subEnum(self) -> int subEnum(self) -> int [extrait de subEnum.__doc__]
TypeInterpretation
typeInterpretation(self) -> PySide2.QtGui.QPixelFormat.TypeInterpretation typeInterpretation(self) -> PySide2.QtGui.QPixelFormat.TypeInterpretation [extrait de typeInterpretation.__doc__]
yellowSize(self) -> int yellowSize(self) -> int [extrait de yellowSize.__doc__]
YUVLayout
yuvLayout(self) -> PySide2.QtGui.QPixelFormat.YUVLayout yuvLayout(self) -> PySide2.QtGui.QPixelFormat.YUVLayout [extrait de yuvLayout.__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__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__