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

Informations générales

Héritage

builtins.object
    Object
        QColorSpace

Définition

class QColorSpace(Object):

Description [extrait de QColorSpace.__doc__]

QColorSpace(self) -> None
QColorSpace(self, colorSpace: Union[PySide6.QtGui.QColorSpace, PySide6.QtGui.QColorSpace.NamedColorSpace]) -> None
QColorSpace(self, namedColorSpace: PySide6.QtGui.QColorSpace.NamedColorSpace) -> None
QColorSpace(self, primaries: PySide6.QtGui.QColorSpace.Primaries, gamma: float) -> None
QColorSpace(self, primaries: PySide6.QtGui.QColorSpace.Primaries, transferFunction: PySide6.QtGui.QColorSpace.TransferFunction, gamma: float = 0.0) -> None
QColorSpace(self, primaries: PySide6.QtGui.QColorSpace.Primaries, transferFunctionTable: Sequence[int]) -> None
QColorSpace(self, whitePoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], redPoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], greenPoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], bluePoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], redTransferFunctionTable: Sequence[int], greenTransferFunctionTable: Sequence[int], blueTransferFunctionTable: Sequence[int]) -> None
QColorSpace(self, whitePoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], redPoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], greenPoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], bluePoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], transferFunction: PySide6.QtGui.QColorSpace.TransferFunction, gamma: float = 0.0) -> None
QColorSpace(self, whitePoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], redPoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], greenPoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], bluePoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], transferFunctionTable: Sequence[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
AdobeRgbPySide6.QtGui.QColorSpace.NamedColorSpace.AdobeRgb
DisplayP3PySide6.QtGui.QColorSpace.NamedColorSpace.DisplayP3
ProPhotoRgbPySide6.QtGui.QColorSpace.NamedColorSpace.ProPhotoRgb
SRgbPySide6.QtGui.QColorSpace.NamedColorSpace.SRgb
SRgbLinearPySide6.QtGui.QColorSpace.NamedColorSpace.SRgbLinear

Liste des opérateurs

Signature de l'opérateur Description
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream __lshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream [extrait de __lshift__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__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: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream __rshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream [extrait de __rshift__.__doc__]

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__() -> None __copy__() -> None [extrait de __copy__.__doc__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
description(self) -> str description(self) -> str [extrait de description.__doc__]
fromIccProfile(iccProfile: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtGui.QColorSpace fromIccProfile(iccProfile: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtGui.QColorSpace [extrait de fromIccProfile.__doc__]
gamma(self) -> float gamma(self) -> float [extrait de gamma.__doc__]
iccProfile(self) -> PySide6.QtCore.QByteArray iccProfile(self) -> PySide6.QtCore.QByteArray [extrait de iccProfile.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
NamedColorSpace
Primaries
primaries(self) -> PySide6.QtGui.QColorSpace.Primaries primaries(self) -> PySide6.QtGui.QColorSpace.Primaries [extrait de primaries.__doc__]
setDescription(self, description: str) -> None setDescription(self, description: str) -> None [extrait de setDescription.__doc__]
setPrimaries setPrimaries(self, primariesId: PySide6.QtGui.QColorSpace.Primaries) -> None [extrait de setPrimaries.__doc__]
setTransferFunction setTransferFunction(self, transferFunction: PySide6.QtGui.QColorSpace.TransferFunction, gamma: float = 0.0) -> None [extrait de setTransferFunction.__doc__]
setTransferFunctions(self, redTransferFunctionTable: Sequence[int], greenTransferFunctionTable: Sequence[int], blueTransferFunctionTable: Sequence[int]) -> None setTransferFunctions(self, redTransferFunctionTable: Sequence[int], greenTransferFunctionTable: Sequence[int], blueTransferFunctionTable: Sequence[int]) -> None [extrait de setTransferFunctions.__doc__]
swap(self, colorSpace: Union[PySide6.QtGui.QColorSpace, PySide6.QtGui.QColorSpace.NamedColorSpace]) -> None swap(self, colorSpace: Union[PySide6.QtGui.QColorSpace, PySide6.QtGui.QColorSpace.NamedColorSpace]) -> None [extrait de swap.__doc__]
TransferFunction
transferFunction(self) -> PySide6.QtGui.QColorSpace.TransferFunction transferFunction(self) -> PySide6.QtGui.QColorSpace.TransferFunction [extrait de transferFunction.__doc__]
transformationToColorSpace(self, colorspace: Union[PySide6.QtGui.QColorSpace, PySide6.QtGui.QColorSpace.NamedColorSpace]) -> PySide6.QtGui.QColorTransform transformationToColorSpace(self, colorspace: Union[PySide6.QtGui.QColorSpace, PySide6.QtGui.QColorSpace.NamedColorSpace]) -> PySide6.QtGui.QColorTransform [extrait de transformationToColorSpace.__doc__]
withTransferFunction withTransferFunction(self, transferFunction: PySide6.QtGui.QColorSpace.TransferFunction, gamma: float = 0.0) -> PySide6.QtGui.QColorSpace [extrait de withTransferFunction.__doc__]
withTransferFunctions(self, redTransferFunctionTable: Sequence[int], greenTransferFunctionTable: Sequence[int], blueTransferFunctionTable: Sequence[int]) -> PySide6.QtGui.QColorSpace withTransferFunctions(self, redTransferFunctionTable: Sequence[int], greenTransferFunctionTable: Sequence[int], blueTransferFunctionTable: Sequence[int]) -> PySide6.QtGui.QColorSpace [extrait de withTransferFunctions.__doc__]

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

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

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

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