Module « PySide6.QtGui »
Classe « QBrush »
Informations générales
Héritage
builtins.object
Object
QBrush
Définition
class QBrush(Object):
Description [extrait de QBrush.__doc__]
QBrush(self) -> None
QBrush(self, brush: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None
QBrush(self, bs: PySide6.QtCore.Qt.BrushStyle) -> None
QBrush(self, color: PySide6.QtCore.Qt.GlobalColor, bs: PySide6.QtCore.Qt.BrushStyle = PySide6.QtCore.Qt.BrushStyle.SolidPattern) -> None
QBrush(self, color: PySide6.QtCore.Qt.GlobalColor, pixmap: Union[PySide6.QtGui.QPixmap, PySide6.QtGui.QImage, str]) -> None
QBrush(self, color: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int], bs: PySide6.QtCore.Qt.BrushStyle = PySide6.QtCore.Qt.BrushStyle.SolidPattern) -> None
QBrush(self, color: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int], pixmap: Union[PySide6.QtGui.QPixmap, PySide6.QtGui.QImage, str]) -> None
QBrush(self, gradient: Union[PySide6.QtGui.QGradient, PySide6.QtGui.QGradient.Preset]) -> None
QBrush(self, image: Union[PySide6.QtGui.QImage, str]) -> None
QBrush(self, pixmap: Union[PySide6.QtGui.QPixmap, PySide6.QtGui.QImage, str]) -> None
Constructeur(s)
__new__(*args, **kwargs) |
Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__] |
Liste des opérateurs
__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
__copy__() -> None |
__copy__() -> None [extrait de __copy__.__doc__] |
__repr__(self) |
Return repr(self). [extrait de __repr__.__doc__] |
color(self) -> PySide6.QtGui.QColor |
color(self) -> PySide6.QtGui.QColor [extrait de color.__doc__] |
gradient(self) -> PySide6.QtGui.QGradient |
gradient(self) -> PySide6.QtGui.QGradient [extrait de gradient.__doc__] |
isOpaque(self) -> bool |
isOpaque(self) -> bool [extrait de isOpaque.__doc__] |
setColor |
setColor(self, color: PySide6.QtCore.Qt.GlobalColor) -> None [extrait de setColor.__doc__] |
setStyle(self, arg__1: PySide6.QtCore.Qt.BrushStyle) -> None |
setStyle(self, arg__1: PySide6.QtCore.Qt.BrushStyle) -> None [extrait de setStyle.__doc__] |
setTexture(self, pixmap: Union[PySide6.QtGui.QPixmap, PySide6.QtGui.QImage, str]) -> None |
setTexture(self, pixmap: Union[PySide6.QtGui.QPixmap, PySide6.QtGui.QImage, str]) -> None [extrait de setTexture.__doc__] |
setTextureImage(self, image: Union[PySide6.QtGui.QImage, str]) -> None |
setTextureImage(self, image: Union[PySide6.QtGui.QImage, str]) -> None [extrait de setTextureImage.__doc__] |
setTransform(self, arg__1: PySide6.QtGui.QTransform) -> None |
setTransform(self, arg__1: PySide6.QtGui.QTransform) -> None [extrait de setTransform.__doc__] |
style(self) -> PySide6.QtCore.Qt.BrushStyle |
style(self) -> PySide6.QtCore.Qt.BrushStyle [extrait de style.__doc__] |
swap(self, other: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None |
swap(self, other: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None [extrait de swap.__doc__] |
texture(self) -> PySide6.QtGui.QPixmap |
texture(self) -> PySide6.QtGui.QPixmap [extrait de texture.__doc__] |
textureImage(self) -> PySide6.QtGui.QImage |
textureImage(self) -> PySide6.QtGui.QImage [extrait de textureImage.__doc__] |
transform(self) -> PySide6.QtGui.QTransform |
transform(self) -> PySide6.QtGui.QTransform [extrait de transform.__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__
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 :