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.QtWidgets »

Classe « QStylePainter »

Informations générales

Héritage

builtins.object
    Object
        QPainter
            QStylePainter

Définition

class QStylePainter(QPainter):

Description [extrait de QStylePainter.__doc__]

QStylePainter(self) -> None
QStylePainter(self, pd: PySide6.QtGui.QPaintDevice, w: PySide6.QtWidgets.QWidget) -> None
QStylePainter(self, w: PySide6.QtWidgets.QWidget) -> 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
AntialiasingPySide6.QtGui.QPainter.RenderHint.Antialiasing
CompositionMode_ClearPySide6.QtGui.QPainter.CompositionMode.CompositionMode_Clear
CompositionMode_ColorBurnPySide6.QtGui.QPainter.CompositionMode.CompositionMode_ColorBurn
CompositionMode_ColorDodgePySide6.QtGui.QPainter.CompositionMode.CompositionMode_ColorDodge
CompositionMode_DarkenPySide6.QtGui.QPainter.CompositionMode.CompositionMode_Darken
CompositionMode_DestinationPySide6.QtGui.QPainter.CompositionMode.CompositionMode_Destination
CompositionMode_DestinationAtopPySide6.QtGui.QPainter.CompositionMode.CompositionMode_DestinationAtop
CompositionMode_DestinationInPySide6.QtGui.QPainter.CompositionMode.CompositionMode_DestinationIn
CompositionMode_DestinationOutPySide6.QtGui.QPainter.CompositionMode.CompositionMode_DestinationOut
CompositionMode_DestinationOverPySide6.QtGui.QPainter.CompositionMode.CompositionMode_DestinationOver
CompositionMode_DifferencePySide6.QtGui.QPainter.CompositionMode.CompositionMode_Difference
CompositionMode_ExclusionPySide6.QtGui.QPainter.CompositionMode.CompositionMode_Exclusion
CompositionMode_HardLightPySide6.QtGui.QPainter.CompositionMode.CompositionMode_HardLight
CompositionMode_LightenPySide6.QtGui.QPainter.CompositionMode.CompositionMode_Lighten
CompositionMode_MultiplyPySide6.QtGui.QPainter.CompositionMode.CompositionMode_Multiply
CompositionMode_OverlayPySide6.QtGui.QPainter.CompositionMode.CompositionMode_Overlay
CompositionMode_PlusPySide6.QtGui.QPainter.CompositionMode.CompositionMode_Plus
CompositionMode_ScreenPySide6.QtGui.QPainter.CompositionMode.CompositionMode_Screen
CompositionMode_SoftLightPySide6.QtGui.QPainter.CompositionMode.CompositionMode_SoftLight
CompositionMode_SourcePySide6.QtGui.QPainter.CompositionMode.CompositionMode_Source
CompositionMode_SourceAtopPySide6.QtGui.QPainter.CompositionMode.CompositionMode_SourceAtop
CompositionMode_SourceInPySide6.QtGui.QPainter.CompositionMode.CompositionMode_SourceIn
CompositionMode_SourceOutPySide6.QtGui.QPainter.CompositionMode.CompositionMode_SourceOut
CompositionMode_SourceOverPySide6.QtGui.QPainter.CompositionMode.CompositionMode_SourceOver
CompositionMode_XorPySide6.QtGui.QPainter.CompositionMode.CompositionMode_Xor
LosslessImageRenderingPySide6.QtGui.QPainter.RenderHint.LosslessImageRendering
OpaqueHintPySide6.QtGui.QPainter.PixmapFragmentHint.OpaqueHint
RasterOp_ClearDestinationPySide6.QtGui.QPainter.CompositionMode.RasterOp_ClearDestination
RasterOp_NotDestinationPySide6.QtGui.QPainter.CompositionMode.RasterOp_NotDestination
RasterOp_NotSourcePySide6.QtGui.QPainter.CompositionMode.RasterOp_NotSource
RasterOp_NotSourceAndDestinationPySide6.QtGui.QPainter.CompositionMode.RasterOp_NotSourceAndDestination
RasterOp_NotSourceAndNotDestinationPySide6.QtGui.QPainter.CompositionMode.RasterOp_NotSourceAndNotDestination
RasterOp_NotSourceOrDestinationPySide6.QtGui.QPainter.CompositionMode.RasterOp_NotSourceOrDestination
RasterOp_NotSourceOrNotDestinationPySide6.QtGui.QPainter.CompositionMode.RasterOp_NotSourceOrNotDestination
RasterOp_NotSourceXorDestinationPySide6.QtGui.QPainter.CompositionMode.RasterOp_NotSourceXorDestination
RasterOp_SetDestinationPySide6.QtGui.QPainter.CompositionMode.RasterOp_SetDestination
RasterOp_SourceAndDestinationPySide6.QtGui.QPainter.CompositionMode.RasterOp_SourceAndDestination
RasterOp_SourceAndNotDestinationPySide6.QtGui.QPainter.CompositionMode.RasterOp_SourceAndNotDestination
RasterOp_SourceOrDestinationPySide6.QtGui.QPainter.CompositionMode.RasterOp_SourceOrDestination
RasterOp_SourceOrNotDestinationPySide6.QtGui.QPainter.CompositionMode.RasterOp_SourceOrNotDestination
RasterOp_SourceXorDestinationPySide6.QtGui.QPainter.CompositionMode.RasterOp_SourceXorDestination
SmoothPixmapTransformPySide6.QtGui.QPainter.RenderHint.SmoothPixmapTransform
TextAntialiasingPySide6.QtGui.QPainter.RenderHint.TextAntialiasing
VerticalSubpixelPositioningPySide6.QtGui.QPainter.RenderHint.VerticalSubpixelPositioning

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
begin begin(self, pd: PySide6.QtGui.QPaintDevice, w: PySide6.QtWidgets.QWidget) -> bool [extrait de begin.__doc__]
drawComplexControl(self, cc: PySide6.QtWidgets.QStyle.ComplexControl, opt: PySide6.QtWidgets.QStyleOptionComplex) -> None drawComplexControl(self, cc: PySide6.QtWidgets.QStyle.ComplexControl, opt: PySide6.QtWidgets.QStyleOptionComplex) -> None [extrait de drawComplexControl.__doc__]
drawControl(self, ce: PySide6.QtWidgets.QStyle.ControlElement, opt: PySide6.QtWidgets.QStyleOption) -> None drawControl(self, ce: PySide6.QtWidgets.QStyle.ControlElement, opt: PySide6.QtWidgets.QStyleOption) -> None [extrait de drawControl.__doc__]
drawItemPixmap(self, r: PySide6.QtCore.QRect, flags: int, pixmap: Union[PySide6.QtGui.QPixmap, PySide6.QtGui.QImage, str]) -> None drawItemPixmap(self, r: PySide6.QtCore.QRect, flags: int, pixmap: Union[PySide6.QtGui.QPixmap, PySide6.QtGui.QImage, str]) -> None [extrait de drawItemPixmap.__doc__]
drawItemText(self, r: PySide6.QtCore.QRect, flags: int, pal: Union[PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor], enabled: bool, text: str, textRole: PySide6.QtGui.QPalette.ColorRole = PySide6.QtGui.QPalette.ColorRole.NoRole) -> None drawItemText(self, r: PySide6.QtCore.QRect, flags: int, pal: Union[PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor], enabled: bool, text: str, textRole: PySide6.QtGui.QPalette.ColorRole = PySide6.QtGui.QPalette.ColorRole.NoRole) -> None [extrait de drawItemText.__doc__]
drawPrimitive(self, pe: PySide6.QtWidgets.QStyle.PrimitiveElement, opt: PySide6.QtWidgets.QStyleOption) -> None drawPrimitive(self, pe: PySide6.QtWidgets.QStyle.PrimitiveElement, opt: PySide6.QtWidgets.QStyleOption) -> None [extrait de drawPrimitive.__doc__]
style(self) -> PySide6.QtWidgets.QStyle style(self) -> PySide6.QtWidgets.QStyle [extrait de style.__doc__]

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

__init_subclass__, __subclasshook__, background, backgroundMode, beginNativePainting, boundingRect, brush, brushOrigin, clipBoundingRect, clipPath, clipRegion, combinedTransform, CompositionMode, compositionMode, device, deviceTransform, drawArc, drawChord, drawConvexPolygon, drawEllipse, drawGlyphRun, drawImage, drawLine, drawLines, drawPath, drawPicture, drawPie, drawPixmap, drawPixmapFragments, drawPoint, drawPoints, drawPointsNp, drawPolygon, drawPolyline, drawRect, drawRects, drawRoundedRect, drawStaticText, drawText, drawTextItem, drawTiledPixmap, end, endNativePainting, eraseRect, fillPath, fillRect, font, fontInfo, fontMetrics, hasClipping, isActive, layoutDirection, opacity, paintEngine, pen, PixmapFragment, PixmapFragmentHint, PixmapFragmentHints, RenderHint, RenderHints, renderHints, resetTransform, restore, rotate, save, scale, setBackground, setBackgroundMode, setBrush, setBrushOrigin, setClipPath, setClipping, setClipRect, setClipRegion, setCompositionMode, setFont, setLayoutDirection, setOpacity, setPen, setRenderHint, setRenderHints, setTransform, setViewport, setViewTransformEnabled, setWindow, setWorldMatrixEnabled, setWorldTransform, shear, strokePath, testRenderHint, transform, translate, viewport, viewTransformEnabled, window, worldMatrixEnabled, worldTransform

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__, __repr__, __sizeof__, __str__