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

Informations générales

Héritage

builtins.object
    Object
        QGraphicsItem
            QGraphicsPixmapItem

Définition

class QGraphicsPixmapItem(QGraphicsItem):

Description [extrait de QGraphicsPixmapItem.__doc__]

QGraphicsPixmapItem(self, parent: typing.Union[PySide2.QtWidgets.QGraphicsItem, NoneType] = None)
QGraphicsPixmapItem(self, pixmap: PySide2.QtGui.QPixmap, parent: typing.Union[PySide2.QtWidgets.QGraphicsItem, NoneType] = 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__]
__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
BoundingRectShapePySide2.QtWidgets.QGraphicsPixmapItem.ShapeMode.BoundingRectShape
DeviceCoordinateCachePySide2.QtWidgets.QGraphicsItem.CacheMode.DeviceCoordinateCache
HeuristicMaskShapePySide2.QtWidgets.QGraphicsPixmapItem.ShapeMode.HeuristicMaskShape
ItemAcceptsInputMethodPySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemAcceptsInputMethod
ItemChildAddedChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemChildAddedChange
ItemChildRemovedChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemChildRemovedChange
ItemClipsChildrenToShapePySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemClipsChildrenToShape
ItemClipsToShapePySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemClipsToShape
ItemContainsChildrenInShapePySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemContainsChildrenInShape
ItemCoordinateCachePySide2.QtWidgets.QGraphicsItem.CacheMode.ItemCoordinateCache
ItemCursorChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemCursorChange
ItemCursorHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemCursorHasChanged
ItemDoesntPropagateOpacityToChildrenPySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemDoesntPropagateOpacityToChildren
ItemEnabledChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemEnabledChange
ItemEnabledHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemEnabledHasChanged
ItemFlagsChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemFlagsChange
ItemFlagsHaveChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemFlagsHaveChanged
ItemHasNoContentsPySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemHasNoContents
ItemIgnoresParentOpacityPySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIgnoresParentOpacity
ItemIgnoresTransformationsPySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIgnoresTransformations
ItemIsFocusablePySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsFocusable
ItemIsFocusScopePySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsFocusScope
ItemIsMovablePySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsMovable
ItemIsPanelPySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsPanel
ItemIsSelectablePySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsSelectable
ItemMatrixChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemMatrixChange
ItemNegativeZStacksBehindParentPySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemNegativeZStacksBehindParent
ItemOpacityChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemOpacityChange
ItemOpacityHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemOpacityHasChanged
ItemParentChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemParentChange
ItemParentHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemParentHasChanged
ItemPositionChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemPositionChange
ItemPositionHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemPositionHasChanged
ItemRotationChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemRotationChange
ItemRotationHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemRotationHasChanged
ItemScaleChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemScaleChange
ItemScaleHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemScaleHasChanged
ItemSceneChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSceneChange
ItemSceneHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSceneHasChanged
ItemScenePositionHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemScenePositionHasChanged
ItemSelectedChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSelectedChange
ItemSelectedHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSelectedHasChanged
ItemSendsGeometryChangesPySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemSendsGeometryChanges
ItemSendsScenePositionChangesPySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemSendsScenePositionChanges
ItemStacksBehindParentPySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemStacksBehindParent
ItemStopsClickFocusPropagationPySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemStopsClickFocusPropagation
ItemStopsFocusHandlingPySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemStopsFocusHandling
ItemToolTipChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemToolTipChange
ItemToolTipHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemToolTipHasChanged
ItemTransformChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformChange
ItemTransformHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformHasChanged
ItemTransformOriginPointChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformOriginPointChange
ItemTransformOriginPointHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformOriginPointHasChanged
ItemUsesExtendedStyleOptionPySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemUsesExtendedStyleOption
ItemVisibleChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemVisibleChange
ItemVisibleHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemVisibleHasChanged
ItemZValueChangePySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemZValueChange
ItemZValueHasChangedPySide2.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemZValueHasChanged
MaskShapePySide2.QtWidgets.QGraphicsPixmapItem.ShapeMode.MaskShape
NoCachePySide2.QtWidgets.QGraphicsItem.CacheMode.NoCache
NonModalPySide2.QtWidgets.QGraphicsItem.PanelModality.NonModal
PanelModalPySide2.QtWidgets.QGraphicsItem.PanelModality.PanelModal
SceneModalPySide2.QtWidgets.QGraphicsItem.PanelModality.SceneModal
UserExtensionPySide2.QtWidgets.QGraphicsItem.Extension.UserExtension
UserType65536

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
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
boundingRect(self) -> PySide2.QtCore.QRectF boundingRect(self) -> PySide2.QtCore.QRectF [extrait de boundingRect.__doc__]
contains(self, point: PySide2.QtCore.QPointF) -> bool contains(self, point: PySide2.QtCore.QPointF) -> bool [extrait de contains.__doc__]
extension(self, variant: typing.Any) -> typing.Any extension(self, variant: typing.Any) -> typing.Any [extrait de extension.__doc__]
isObscuredBy(self, item: PySide2.QtWidgets.QGraphicsItem) -> bool isObscuredBy(self, item: PySide2.QtWidgets.QGraphicsItem) -> bool [extrait de isObscuredBy.__doc__]
offset(self) -> PySide2.QtCore.QPointF offset(self) -> PySide2.QtCore.QPointF [extrait de offset.__doc__]
opaqueArea(self) -> PySide2.QtGui.QPainterPath opaqueArea(self) -> PySide2.QtGui.QPainterPath [extrait de opaqueArea.__doc__]
paint(self, painter: PySide2.QtGui.QPainter, option: PySide2.QtWidgets.QStyleOptionGraphicsItem, widget: PySide2.QtWidgets.QWidget) paint(self, painter: PySide2.QtGui.QPainter, option: PySide2.QtWidgets.QStyleOptionGraphicsItem, widget: PySide2.QtWidgets.QWidget) [extrait de paint.__doc__]
pixmap(self) -> PySide2.QtGui.QPixmap pixmap(self) -> PySide2.QtGui.QPixmap [extrait de pixmap.__doc__]
setOffset setOffset(self, offset: PySide2.QtCore.QPointF) [extrait de setOffset.__doc__]
setPixmap(self, pixmap: PySide2.QtGui.QPixmap) setPixmap(self, pixmap: PySide2.QtGui.QPixmap) [extrait de setPixmap.__doc__]
setShapeMode(self, mode: PySide2.QtWidgets.QGraphicsPixmapItem.ShapeMode) setShapeMode(self, mode: PySide2.QtWidgets.QGraphicsPixmapItem.ShapeMode) [extrait de setShapeMode.__doc__]
setTransformationMode(self, mode: PySide2.QtCore.Qt.TransformationMode) setTransformationMode(self, mode: PySide2.QtCore.Qt.TransformationMode) [extrait de setTransformationMode.__doc__]
shape(self) -> PySide2.QtGui.QPainterPath shape(self) -> PySide2.QtGui.QPainterPath [extrait de shape.__doc__]
ShapeMode
shapeMode(self) -> PySide2.QtWidgets.QGraphicsPixmapItem.ShapeMode shapeMode(self) -> PySide2.QtWidgets.QGraphicsPixmapItem.ShapeMode [extrait de shapeMode.__doc__]
transformationMode(self) -> PySide2.QtCore.Qt.TransformationMode transformationMode(self) -> PySide2.QtCore.Qt.TransformationMode [extrait de transformationMode.__doc__]
type(self) -> int type(self) -> int [extrait de type.__doc__]

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

__init_subclass__, __repr__, __subclasshook__, acceptDrops, acceptedMouseButtons, acceptHoverEvents, acceptTouchEvents, addToIndex, advance, boundingRegion, boundingRegionGranularity, CacheMode, cacheMode, childItems, childrenBoundingRect, clearFocus, clipPath, collidesWithItem, collidesWithPath, collidingItems, commonAncestorItem, contextMenuEvent, cursor, data, deviceTransform, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveOpacity, ensureVisible, Extension, filtersChildEvents, flags, focusInEvent, focusItem, focusOutEvent, focusProxy, focusScopeItem, grabKeyboard, grabMouse, graphicsEffect, GraphicsItemChange, GraphicsItemFlag, GraphicsItemFlags, group, handlesChildEvents, hasCursor, hasFocus, hide, hoverEnterEvent, hoverLeaveEvent, hoverMoveEvent, inputMethodEvent, inputMethodHints, inputMethodQuery, installSceneEventFilter, isActive, isAncestorOf, isBlockedByModalPanel, isClipped, isEnabled, isObscured, isPanel, isSelected, isUnderMouse, isVisible, isVisibleTo, isWidget, isWindow, itemChange, itemTransform, keyPressEvent, keyReleaseEvent, mapFromItem, mapFromParent, mapFromScene, mapRectFromItem, mapRectFromParent, mapRectFromScene, mapRectToItem, mapRectToParent, mapRectToScene, mapToItem, mapToParent, mapToScene, matrix, mouseDoubleClickEvent, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, moveBy, opacity, panel, PanelModality, panelModality, parentItem, parentObject, parentWidget, pos, prepareGeometryChange, removeFromIndex, removeSceneEventFilter, resetMatrix, resetTransform, rotation, scale, scene, sceneBoundingRect, sceneEvent, sceneEventFilter, sceneMatrix, scenePos, sceneTransform, scroll, setAcceptDrops, setAcceptedMouseButtons, setAcceptHoverEvents, setAcceptTouchEvents, setActive, setBoundingRegionGranularity, setCacheMode, setCursor, setData, setEnabled, setFiltersChildEvents, setFlag, setFlags, setFocus, setFocusProxy, setGraphicsEffect, setGroup, setHandlesChildEvents, setInputMethodHints, setMatrix, setOpacity, setPanelModality, setParentItem, setPos, setRotation, setScale, setSelected, setToolTip, setTransform, setTransformations, setTransformOriginPoint, setVisible, setX, setY, setZValue, show, stackBefore, toGraphicsObject, toolTip, topLevelItem, topLevelWidget, transform, transformations, transformOriginPoint, ungrabKeyboard, ungrabMouse, unsetCursor, update, updateMicroFocus, wheelEvent, window, x, y, zValue

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

__init_subclass__, __subclasshook__

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

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