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.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)
QStylePainter(self, pd: PySide2.QtGui.QPaintDevice, w: PySide2.QtWidgets.QWidget)
QStylePainter(self, w: PySide2.QtWidgets.QWidget)

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
AntialiasingPySide2.QtGui.QPainter.RenderHint.Antialiasing
CompositionMode_ClearPySide2.QtGui.QPainter.CompositionMode.CompositionMode_Clear
CompositionMode_ColorBurnPySide2.QtGui.QPainter.CompositionMode.CompositionMode_ColorBurn
CompositionMode_ColorDodgePySide2.QtGui.QPainter.CompositionMode.CompositionMode_ColorDodge
CompositionMode_DarkenPySide2.QtGui.QPainter.CompositionMode.CompositionMode_Darken
CompositionMode_DestinationPySide2.QtGui.QPainter.CompositionMode.CompositionMode_Destination
CompositionMode_DestinationAtopPySide2.QtGui.QPainter.CompositionMode.CompositionMode_DestinationAtop
CompositionMode_DestinationInPySide2.QtGui.QPainter.CompositionMode.CompositionMode_DestinationIn
CompositionMode_DestinationOutPySide2.QtGui.QPainter.CompositionMode.CompositionMode_DestinationOut
CompositionMode_DestinationOverPySide2.QtGui.QPainter.CompositionMode.CompositionMode_DestinationOver
CompositionMode_DifferencePySide2.QtGui.QPainter.CompositionMode.CompositionMode_Difference
CompositionMode_ExclusionPySide2.QtGui.QPainter.CompositionMode.CompositionMode_Exclusion
CompositionMode_HardLightPySide2.QtGui.QPainter.CompositionMode.CompositionMode_HardLight
CompositionMode_LightenPySide2.QtGui.QPainter.CompositionMode.CompositionMode_Lighten
CompositionMode_MultiplyPySide2.QtGui.QPainter.CompositionMode.CompositionMode_Multiply
CompositionMode_OverlayPySide2.QtGui.QPainter.CompositionMode.CompositionMode_Overlay
CompositionMode_PlusPySide2.QtGui.QPainter.CompositionMode.CompositionMode_Plus
CompositionMode_ScreenPySide2.QtGui.QPainter.CompositionMode.CompositionMode_Screen
CompositionMode_SoftLightPySide2.QtGui.QPainter.CompositionMode.CompositionMode_SoftLight
CompositionMode_SourcePySide2.QtGui.QPainter.CompositionMode.CompositionMode_Source
CompositionMode_SourceAtopPySide2.QtGui.QPainter.CompositionMode.CompositionMode_SourceAtop
CompositionMode_SourceInPySide2.QtGui.QPainter.CompositionMode.CompositionMode_SourceIn
CompositionMode_SourceOutPySide2.QtGui.QPainter.CompositionMode.CompositionMode_SourceOut
CompositionMode_SourceOverPySide2.QtGui.QPainter.CompositionMode.CompositionMode_SourceOver
CompositionMode_XorPySide2.QtGui.QPainter.CompositionMode.CompositionMode_Xor
HighQualityAntialiasingPySide2.QtGui.QPainter.RenderHint.HighQualityAntialiasing
LosslessImageRenderingPySide2.QtGui.QPainter.RenderHint.LosslessImageRendering
NonCosmeticDefaultPenPySide2.QtGui.QPainter.RenderHint.NonCosmeticDefaultPen
OpaqueHintPySide2.QtGui.QPainter.PixmapFragmentHint.OpaqueHint
Qt4CompatiblePaintingPySide2.QtGui.QPainter.RenderHint.Qt4CompatiblePainting
RasterOp_ClearDestinationPySide2.QtGui.QPainter.CompositionMode.RasterOp_ClearDestination
RasterOp_NotDestinationPySide2.QtGui.QPainter.CompositionMode.RasterOp_NotDestination
RasterOp_NotSourcePySide2.QtGui.QPainter.CompositionMode.RasterOp_NotSource
RasterOp_NotSourceAndDestinationPySide2.QtGui.QPainter.CompositionMode.RasterOp_NotSourceAndDestination
RasterOp_NotSourceAndNotDestinationPySide2.QtGui.QPainter.CompositionMode.RasterOp_NotSourceAndNotDestination
RasterOp_NotSourceOrDestinationPySide2.QtGui.QPainter.CompositionMode.RasterOp_NotSourceOrDestination
RasterOp_NotSourceOrNotDestinationPySide2.QtGui.QPainter.CompositionMode.RasterOp_NotSourceOrNotDestination
RasterOp_NotSourceXorDestinationPySide2.QtGui.QPainter.CompositionMode.RasterOp_NotSourceXorDestination
RasterOp_SetDestinationPySide2.QtGui.QPainter.CompositionMode.RasterOp_SetDestination
RasterOp_SourceAndDestinationPySide2.QtGui.QPainter.CompositionMode.RasterOp_SourceAndDestination
RasterOp_SourceAndNotDestinationPySide2.QtGui.QPainter.CompositionMode.RasterOp_SourceAndNotDestination
RasterOp_SourceOrDestinationPySide2.QtGui.QPainter.CompositionMode.RasterOp_SourceOrDestination
RasterOp_SourceOrNotDestinationPySide2.QtGui.QPainter.CompositionMode.RasterOp_SourceOrNotDestination
RasterOp_SourceXorDestinationPySide2.QtGui.QPainter.CompositionMode.RasterOp_SourceXorDestination
SmoothPixmapTransformPySide2.QtGui.QPainter.RenderHint.SmoothPixmapTransform
TextAntialiasingPySide2.QtGui.QPainter.RenderHint.TextAntialiasing

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, arg__1: PySide2.QtGui.QPaintDevice) -> bool [extrait de begin.__doc__]
drawComplexControl(self, cc: PySide2.QtWidgets.QStyle.ComplexControl, opt: PySide2.QtWidgets.QStyleOptionComplex) drawComplexControl(self, cc: PySide2.QtWidgets.QStyle.ComplexControl, opt: PySide2.QtWidgets.QStyleOptionComplex) [extrait de drawComplexControl.__doc__]
drawControl(self, ce: PySide2.QtWidgets.QStyle.ControlElement, opt: PySide2.QtWidgets.QStyleOption) drawControl(self, ce: PySide2.QtWidgets.QStyle.ControlElement, opt: PySide2.QtWidgets.QStyleOption) [extrait de drawControl.__doc__]
drawItemPixmap(self, r: PySide2.QtCore.QRect, flags: int, pixmap: PySide2.QtGui.QPixmap) drawItemPixmap(self, r: PySide2.QtCore.QRect, flags: int, pixmap: PySide2.QtGui.QPixmap) [extrait de drawItemPixmap.__doc__]
drawItemText(self, r: PySide2.QtCore.QRect, flags: int, pal: PySide2.QtGui.QPalette, enabled: bool, text: str, textRole: PySide2.QtGui.QPalette.ColorRole = PySide2.QtGui.QPalette.ColorRole.NoRole) drawItemText(self, r: PySide2.QtCore.QRect, flags: int, pal: PySide2.QtGui.QPalette, enabled: bool, text: str, textRole: PySide2.QtGui.QPalette.ColorRole = PySide2.QtGui.QPalette.ColorRole.NoRole) [extrait de drawItemText.__doc__]
drawPrimitive(self, pe: PySide2.QtWidgets.QStyle.PrimitiveElement, opt: PySide2.QtWidgets.QStyleOption) drawPrimitive(self, pe: PySide2.QtWidgets.QStyle.PrimitiveElement, opt: PySide2.QtWidgets.QStyleOption) [extrait de drawPrimitive.__doc__]
style(self) -> PySide2.QtWidgets.QStyle style(self) -> PySide2.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, combinedMatrix, combinedTransform, CompositionMode, compositionMode, device, deviceMatrix, deviceTransform, drawArc, drawChord, drawConvexPolygon, drawEllipse, drawImage, drawLine, drawLines, drawPath, drawPicture, drawPie, drawPixmap, drawPixmapFragments, drawPoint, drawPoints, drawPolygon, drawPolyline, drawRect, drawRects, drawRoundedRect, drawRoundRect, drawStaticText, drawText, drawTextItem, drawTiledPixmap, end, endNativePainting, eraseRect, fillPath, fillRect, font, fontInfo, fontMetrics, hasClipping, initFrom, isActive, layoutDirection, matrix, matrixEnabled, opacity, paintEngine, pen, PixmapFragment, PixmapFragmentHint, PixmapFragmentHints, redirected, RenderHint, RenderHints, renderHints, resetMatrix, resetTransform, restore, restoreRedirected, rotate, save, scale, setBackground, setBackgroundMode, setBrush, setBrushOrigin, setClipPath, setClipping, setClipRect, setClipRegion, setCompositionMode, setFont, setLayoutDirection, setMatrix, setMatrixEnabled, setOpacity, setPen, setRedirected, setRenderHint, setRenderHints, setTransform, setViewport, setViewTransformEnabled, setWindow, setWorldMatrix, setWorldMatrixEnabled, setWorldTransform, shear, strokePath, testRenderHint, transform, translate, viewport, viewTransformEnabled, window, worldMatrix, worldMatrixEnabled, worldTransform

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__