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

Informations générales

Héritage

builtins.object
    Object
        QGraphicsItem

Définition

class QGraphicsItem(Object):

Description [extrait de QGraphicsItem.__doc__]

QGraphicsItem(self, 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
DeviceCoordinateCachePySide2.QtWidgets.QGraphicsItem.CacheMode.DeviceCoordinateCache
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
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__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
acceptDrops(self) -> bool acceptDrops(self) -> bool [extrait de acceptDrops.__doc__]
acceptedMouseButtons(self) -> PySide2.QtCore.Qt.MouseButtons acceptedMouseButtons(self) -> PySide2.QtCore.Qt.MouseButtons [extrait de acceptedMouseButtons.__doc__]
acceptHoverEvents(self) -> bool acceptHoverEvents(self) -> bool [extrait de acceptHoverEvents.__doc__]
acceptTouchEvents(self) -> bool acceptTouchEvents(self) -> bool [extrait de acceptTouchEvents.__doc__]
addToIndex(self) addToIndex(self) [extrait de addToIndex.__doc__]
advance(self, phase: int) advance(self, phase: int) [extrait de advance.__doc__]
boundingRect(self) -> PySide2.QtCore.QRectF boundingRect(self) -> PySide2.QtCore.QRectF [extrait de boundingRect.__doc__]
boundingRegion(self, itemToDeviceTransform: PySide2.QtGui.QTransform) -> PySide2.QtGui.QRegion boundingRegion(self, itemToDeviceTransform: PySide2.QtGui.QTransform) -> PySide2.QtGui.QRegion [extrait de boundingRegion.__doc__]
boundingRegionGranularity(self) -> float boundingRegionGranularity(self) -> float [extrait de boundingRegionGranularity.__doc__]
CacheMode
cacheMode(self) -> PySide2.QtWidgets.QGraphicsItem.CacheMode cacheMode(self) -> PySide2.QtWidgets.QGraphicsItem.CacheMode [extrait de cacheMode.__doc__]
childItems(self) -> typing.List[PySide2.QtWidgets.QGraphicsItem] childItems(self) -> typing.List[PySide2.QtWidgets.QGraphicsItem] [extrait de childItems.__doc__]
childrenBoundingRect(self) -> PySide2.QtCore.QRectF childrenBoundingRect(self) -> PySide2.QtCore.QRectF [extrait de childrenBoundingRect.__doc__]
clearFocus(self) clearFocus(self) [extrait de clearFocus.__doc__]
clipPath(self) -> PySide2.QtGui.QPainterPath clipPath(self) -> PySide2.QtGui.QPainterPath [extrait de clipPath.__doc__]
collidesWithItem(self, other: PySide2.QtWidgets.QGraphicsItem, mode: PySide2.QtCore.Qt.ItemSelectionMode = PySide2.QtCore.Qt.ItemSelectionMode.IntersectsItemShape) -> bool collidesWithItem(self, other: PySide2.QtWidgets.QGraphicsItem, mode: PySide2.QtCore.Qt.ItemSelectionMode = PySide2.QtCore.Qt.ItemSelectionMode.IntersectsItemShape) -> bool [extrait de collidesWithItem.__doc__]
collidesWithPath(self, path: PySide2.QtGui.QPainterPath, mode: PySide2.QtCore.Qt.ItemSelectionMode = PySide2.QtCore.Qt.ItemSelectionMode.IntersectsItemShape) -> bool collidesWithPath(self, path: PySide2.QtGui.QPainterPath, mode: PySide2.QtCore.Qt.ItemSelectionMode = PySide2.QtCore.Qt.ItemSelectionMode.IntersectsItemShape) -> bool [extrait de collidesWithPath.__doc__]
collidingItems(self, mode: PySide2.QtCore.Qt.ItemSelectionMode = PySide2.QtCore.Qt.ItemSelectionMode.IntersectsItemShape) -> typing.List[PySide2.QtWidgets.QGraphicsItem] collidingItems(self, mode: PySide2.QtCore.Qt.ItemSelectionMode = PySide2.QtCore.Qt.ItemSelectionMode.IntersectsItemShape) -> typing.List[PySide2.QtWidgets.QGraphicsItem] [extrait de collidingItems.__doc__]
commonAncestorItem(self, other: PySide2.QtWidgets.QGraphicsItem) -> PySide2.QtWidgets.QGraphicsItem commonAncestorItem(self, other: PySide2.QtWidgets.QGraphicsItem) -> PySide2.QtWidgets.QGraphicsItem [extrait de commonAncestorItem.__doc__]
contains(self, point: PySide2.QtCore.QPointF) -> bool contains(self, point: PySide2.QtCore.QPointF) -> bool [extrait de contains.__doc__]
contextMenuEvent(self, event: PySide2.QtWidgets.QGraphicsSceneContextMenuEvent) contextMenuEvent(self, event: PySide2.QtWidgets.QGraphicsSceneContextMenuEvent) [extrait de contextMenuEvent.__doc__]
cursor(self) -> PySide2.QtGui.QCursor cursor(self) -> PySide2.QtGui.QCursor [extrait de cursor.__doc__]
data(self, key: int) -> typing.Any data(self, key: int) -> typing.Any [extrait de data.__doc__]
deviceTransform(self, viewportTransform: PySide2.QtGui.QTransform) -> PySide2.QtGui.QTransform deviceTransform(self, viewportTransform: PySide2.QtGui.QTransform) -> PySide2.QtGui.QTransform [extrait de deviceTransform.__doc__]
dragEnterEvent(self, event: PySide2.QtWidgets.QGraphicsSceneDragDropEvent) dragEnterEvent(self, event: PySide2.QtWidgets.QGraphicsSceneDragDropEvent) [extrait de dragEnterEvent.__doc__]
dragLeaveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneDragDropEvent) dragLeaveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneDragDropEvent) [extrait de dragLeaveEvent.__doc__]
dragMoveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneDragDropEvent) dragMoveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneDragDropEvent) [extrait de dragMoveEvent.__doc__]
dropEvent(self, event: PySide2.QtWidgets.QGraphicsSceneDragDropEvent) dropEvent(self, event: PySide2.QtWidgets.QGraphicsSceneDragDropEvent) [extrait de dropEvent.__doc__]
effectiveOpacity(self) -> float effectiveOpacity(self) -> float [extrait de effectiveOpacity.__doc__]
ensureVisible ensureVisible(self, rect: PySide2.QtCore.QRectF = Default(QRectF), xmargin: int = 50, ymargin: int = 50) [extrait de ensureVisible.__doc__]
Extension
extension(self, variant: typing.Any) -> typing.Any extension(self, variant: typing.Any) -> typing.Any [extrait de extension.__doc__]
filtersChildEvents(self) -> bool filtersChildEvents(self) -> bool [extrait de filtersChildEvents.__doc__]
flags(self) -> PySide2.QtWidgets.QGraphicsItem.GraphicsItemFlags flags(self) -> PySide2.QtWidgets.QGraphicsItem.GraphicsItemFlags [extrait de flags.__doc__]
focusInEvent(self, event: PySide2.QtGui.QFocusEvent) focusInEvent(self, event: PySide2.QtGui.QFocusEvent) [extrait de focusInEvent.__doc__]
focusItem(self) -> PySide2.QtWidgets.QGraphicsItem focusItem(self) -> PySide2.QtWidgets.QGraphicsItem [extrait de focusItem.__doc__]
focusOutEvent(self, event: PySide2.QtGui.QFocusEvent) focusOutEvent(self, event: PySide2.QtGui.QFocusEvent) [extrait de focusOutEvent.__doc__]
focusProxy(self) -> PySide2.QtWidgets.QGraphicsItem focusProxy(self) -> PySide2.QtWidgets.QGraphicsItem [extrait de focusProxy.__doc__]
focusScopeItem(self) -> PySide2.QtWidgets.QGraphicsItem focusScopeItem(self) -> PySide2.QtWidgets.QGraphicsItem [extrait de focusScopeItem.__doc__]
grabKeyboard(self) grabKeyboard(self) [extrait de grabKeyboard.__doc__]
grabMouse(self) grabMouse(self) [extrait de grabMouse.__doc__]
graphicsEffect(self) -> PySide2.QtWidgets.QGraphicsEffect graphicsEffect(self) -> PySide2.QtWidgets.QGraphicsEffect [extrait de graphicsEffect.__doc__]
GraphicsItemChange
GraphicsItemFlag
GraphicsItemFlags
group(self) -> PySide2.QtWidgets.QGraphicsItemGroup group(self) -> PySide2.QtWidgets.QGraphicsItemGroup [extrait de group.__doc__]
handlesChildEvents(self) -> bool handlesChildEvents(self) -> bool [extrait de handlesChildEvents.__doc__]
hasCursor(self) -> bool hasCursor(self) -> bool [extrait de hasCursor.__doc__]
hasFocus(self) -> bool hasFocus(self) -> bool [extrait de hasFocus.__doc__]
hide(self) hide(self) [extrait de hide.__doc__]
hoverEnterEvent(self, event: PySide2.QtWidgets.QGraphicsSceneHoverEvent) hoverEnterEvent(self, event: PySide2.QtWidgets.QGraphicsSceneHoverEvent) [extrait de hoverEnterEvent.__doc__]
hoverLeaveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneHoverEvent) hoverLeaveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneHoverEvent) [extrait de hoverLeaveEvent.__doc__]
hoverMoveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneHoverEvent) hoverMoveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneHoverEvent) [extrait de hoverMoveEvent.__doc__]
inputMethodEvent(self, event: PySide2.QtGui.QInputMethodEvent) inputMethodEvent(self, event: PySide2.QtGui.QInputMethodEvent) [extrait de inputMethodEvent.__doc__]
inputMethodHints(self) -> PySide2.QtCore.Qt.InputMethodHints inputMethodHints(self) -> PySide2.QtCore.Qt.InputMethodHints [extrait de inputMethodHints.__doc__]
inputMethodQuery(self, query: PySide2.QtCore.Qt.InputMethodQuery) -> typing.Any inputMethodQuery(self, query: PySide2.QtCore.Qt.InputMethodQuery) -> typing.Any [extrait de inputMethodQuery.__doc__]
installSceneEventFilter(self, filterItem: PySide2.QtWidgets.QGraphicsItem) installSceneEventFilter(self, filterItem: PySide2.QtWidgets.QGraphicsItem) [extrait de installSceneEventFilter.__doc__]
isActive(self) -> bool isActive(self) -> bool [extrait de isActive.__doc__]
isAncestorOf(self, child: PySide2.QtWidgets.QGraphicsItem) -> bool isAncestorOf(self, child: PySide2.QtWidgets.QGraphicsItem) -> bool [extrait de isAncestorOf.__doc__]
isBlockedByModalPanel(self, blockingPanel: typing.Union[PySide2.QtWidgets.QGraphicsItem, NoneType] = None) -> bool isBlockedByModalPanel(self, blockingPanel: typing.Union[PySide2.QtWidgets.QGraphicsItem, NoneType] = None) -> bool [extrait de isBlockedByModalPanel.__doc__]
isClipped(self) -> bool isClipped(self) -> bool [extrait de isClipped.__doc__]
isEnabled(self) -> bool isEnabled(self) -> bool [extrait de isEnabled.__doc__]
isObscured isObscured(self, rect: PySide2.QtCore.QRectF = Default(QRectF)) -> bool [extrait de isObscured.__doc__]
isObscuredBy(self, item: PySide2.QtWidgets.QGraphicsItem) -> bool isObscuredBy(self, item: PySide2.QtWidgets.QGraphicsItem) -> bool [extrait de isObscuredBy.__doc__]
isPanel(self) -> bool isPanel(self) -> bool [extrait de isPanel.__doc__]
isSelected(self) -> bool isSelected(self) -> bool [extrait de isSelected.__doc__]
isUnderMouse(self) -> bool isUnderMouse(self) -> bool [extrait de isUnderMouse.__doc__]
isVisible(self) -> bool isVisible(self) -> bool [extrait de isVisible.__doc__]
isVisibleTo(self, parent: PySide2.QtWidgets.QGraphicsItem) -> bool isVisibleTo(self, parent: PySide2.QtWidgets.QGraphicsItem) -> bool [extrait de isVisibleTo.__doc__]
isWidget(self) -> bool isWidget(self) -> bool [extrait de isWidget.__doc__]
isWindow(self) -> bool isWindow(self) -> bool [extrait de isWindow.__doc__]
itemChange(self, change: PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange, value: typing.Any) -> typing.Any itemChange(self, change: PySide2.QtWidgets.QGraphicsItem.GraphicsItemChange, value: typing.Any) -> typing.Any [extrait de itemChange.__doc__]
itemTransform(self, other: PySide2.QtWidgets.QGraphicsItem) -> typing.Tuple[PySide2.QtGui.QTransform, bool] itemTransform(self, other: PySide2.QtWidgets.QGraphicsItem) -> typing.Tuple[PySide2.QtGui.QTransform, bool] [extrait de itemTransform.__doc__]
keyPressEvent(self, event: PySide2.QtGui.QKeyEvent) keyPressEvent(self, event: PySide2.QtGui.QKeyEvent) [extrait de keyPressEvent.__doc__]
keyReleaseEvent(self, event: PySide2.QtGui.QKeyEvent) keyReleaseEvent(self, event: PySide2.QtGui.QKeyEvent) [extrait de keyReleaseEvent.__doc__]
mapFromItem mapFromItem(self, item: PySide2.QtWidgets.QGraphicsItem, path: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de mapFromItem.__doc__]
mapFromParent mapFromParent(self, path: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de mapFromParent.__doc__]
mapFromScene mapFromScene(self, path: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de mapFromScene.__doc__]
mapRectFromItem mapRectFromItem(self, item: PySide2.QtWidgets.QGraphicsItem, rect: PySide2.QtCore.QRectF) -> PySide2.QtCore.QRectF [extrait de mapRectFromItem.__doc__]
mapRectFromParent mapRectFromParent(self, rect: PySide2.QtCore.QRectF) -> PySide2.QtCore.QRectF [extrait de mapRectFromParent.__doc__]
mapRectFromScene mapRectFromScene(self, rect: PySide2.QtCore.QRectF) -> PySide2.QtCore.QRectF [extrait de mapRectFromScene.__doc__]
mapRectToItem mapRectToItem(self, item: PySide2.QtWidgets.QGraphicsItem, rect: PySide2.QtCore.QRectF) -> PySide2.QtCore.QRectF [extrait de mapRectToItem.__doc__]
mapRectToParent mapRectToParent(self, rect: PySide2.QtCore.QRectF) -> PySide2.QtCore.QRectF [extrait de mapRectToParent.__doc__]
mapRectToScene mapRectToScene(self, rect: PySide2.QtCore.QRectF) -> PySide2.QtCore.QRectF [extrait de mapRectToScene.__doc__]
mapToItem mapToItem(self, item: PySide2.QtWidgets.QGraphicsItem, path: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de mapToItem.__doc__]
mapToParent mapToParent(self, path: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de mapToParent.__doc__]
mapToScene mapToScene(self, path: PySide2.QtGui.QPainterPath) -> PySide2.QtGui.QPainterPath [extrait de mapToScene.__doc__]
matrix(self) -> PySide2.QtGui.QMatrix matrix(self) -> PySide2.QtGui.QMatrix [extrait de matrix.__doc__]
mouseDoubleClickEvent(self, event: PySide2.QtWidgets.QGraphicsSceneMouseEvent) mouseDoubleClickEvent(self, event: PySide2.QtWidgets.QGraphicsSceneMouseEvent) [extrait de mouseDoubleClickEvent.__doc__]
mouseMoveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneMouseEvent) mouseMoveEvent(self, event: PySide2.QtWidgets.QGraphicsSceneMouseEvent) [extrait de mouseMoveEvent.__doc__]
mousePressEvent(self, event: PySide2.QtWidgets.QGraphicsSceneMouseEvent) mousePressEvent(self, event: PySide2.QtWidgets.QGraphicsSceneMouseEvent) [extrait de mousePressEvent.__doc__]
mouseReleaseEvent(self, event: PySide2.QtWidgets.QGraphicsSceneMouseEvent) mouseReleaseEvent(self, event: PySide2.QtWidgets.QGraphicsSceneMouseEvent) [extrait de mouseReleaseEvent.__doc__]
moveBy(self, dx: float, dy: float) moveBy(self, dx: float, dy: float) [extrait de moveBy.__doc__]
opacity(self) -> float opacity(self) -> float [extrait de opacity.__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: typing.Union[PySide2.QtWidgets.QWidget, NoneType] = None) paint(self, painter: PySide2.QtGui.QPainter, option: PySide2.QtWidgets.QStyleOptionGraphicsItem, widget: typing.Union[PySide2.QtWidgets.QWidget, NoneType] = None) [extrait de paint.__doc__]
panel(self) -> PySide2.QtWidgets.QGraphicsItem panel(self) -> PySide2.QtWidgets.QGraphicsItem [extrait de panel.__doc__]
PanelModality
panelModality(self) -> PySide2.QtWidgets.QGraphicsItem.PanelModality panelModality(self) -> PySide2.QtWidgets.QGraphicsItem.PanelModality [extrait de panelModality.__doc__]
parentItem(self) -> PySide2.QtWidgets.QGraphicsItem parentItem(self) -> PySide2.QtWidgets.QGraphicsItem [extrait de parentItem.__doc__]
parentObject(self) -> PySide2.QtWidgets.QGraphicsObject parentObject(self) -> PySide2.QtWidgets.QGraphicsObject [extrait de parentObject.__doc__]
parentWidget(self) -> PySide2.QtWidgets.QGraphicsWidget parentWidget(self) -> PySide2.QtWidgets.QGraphicsWidget [extrait de parentWidget.__doc__]
pos(self) -> PySide2.QtCore.QPointF pos(self) -> PySide2.QtCore.QPointF [extrait de pos.__doc__]
prepareGeometryChange(self) prepareGeometryChange(self) [extrait de prepareGeometryChange.__doc__]
removeFromIndex(self) removeFromIndex(self) [extrait de removeFromIndex.__doc__]
removeSceneEventFilter(self, filterItem: PySide2.QtWidgets.QGraphicsItem) removeSceneEventFilter(self, filterItem: PySide2.QtWidgets.QGraphicsItem) [extrait de removeSceneEventFilter.__doc__]
resetMatrix(self) resetMatrix(self) [extrait de resetMatrix.__doc__]
resetTransform(self) resetTransform(self) [extrait de resetTransform.__doc__]
rotation(self) -> float rotation(self) -> float [extrait de rotation.__doc__]
scale(self) -> float scale(self) -> float [extrait de scale.__doc__]
scene(self) -> PySide2.QtWidgets.QGraphicsScene scene(self) -> PySide2.QtWidgets.QGraphicsScene [extrait de scene.__doc__]
sceneBoundingRect(self) -> PySide2.QtCore.QRectF sceneBoundingRect(self) -> PySide2.QtCore.QRectF [extrait de sceneBoundingRect.__doc__]
sceneEvent(self, event: PySide2.QtCore.QEvent) -> bool sceneEvent(self, event: PySide2.QtCore.QEvent) -> bool [extrait de sceneEvent.__doc__]
sceneEventFilter(self, watched: PySide2.QtWidgets.QGraphicsItem, event: PySide2.QtCore.QEvent) -> bool sceneEventFilter(self, watched: PySide2.QtWidgets.QGraphicsItem, event: PySide2.QtCore.QEvent) -> bool [extrait de sceneEventFilter.__doc__]
sceneMatrix(self) -> PySide2.QtGui.QMatrix sceneMatrix(self) -> PySide2.QtGui.QMatrix [extrait de sceneMatrix.__doc__]
scenePos(self) -> PySide2.QtCore.QPointF scenePos(self) -> PySide2.QtCore.QPointF [extrait de scenePos.__doc__]
sceneTransform(self) -> PySide2.QtGui.QTransform sceneTransform(self) -> PySide2.QtGui.QTransform [extrait de sceneTransform.__doc__]
scroll(self, dx: float, dy: float, rect: PySide2.QtCore.QRectF = Default(QRectF)) scroll(self, dx: float, dy: float, rect: PySide2.QtCore.QRectF = Default(QRectF)) [extrait de scroll.__doc__]
setAcceptDrops(self, on: bool) setAcceptDrops(self, on: bool) [extrait de setAcceptDrops.__doc__]
setAcceptedMouseButtons(self, buttons: PySide2.QtCore.Qt.MouseButtons) setAcceptedMouseButtons(self, buttons: PySide2.QtCore.Qt.MouseButtons) [extrait de setAcceptedMouseButtons.__doc__]
setAcceptHoverEvents(self, enabled: bool) setAcceptHoverEvents(self, enabled: bool) [extrait de setAcceptHoverEvents.__doc__]
setAcceptTouchEvents(self, enabled: bool) setAcceptTouchEvents(self, enabled: bool) [extrait de setAcceptTouchEvents.__doc__]
setActive(self, active: bool) setActive(self, active: bool) [extrait de setActive.__doc__]
setBoundingRegionGranularity(self, granularity: float) setBoundingRegionGranularity(self, granularity: float) [extrait de setBoundingRegionGranularity.__doc__]
setCacheMode(self, mode: PySide2.QtWidgets.QGraphicsItem.CacheMode, cacheSize: PySide2.QtCore.QSize = Default(QSize)) setCacheMode(self, mode: PySide2.QtWidgets.QGraphicsItem.CacheMode, cacheSize: PySide2.QtCore.QSize = Default(QSize)) [extrait de setCacheMode.__doc__]
setCursor(self, cursor: PySide2.QtGui.QCursor) setCursor(self, cursor: PySide2.QtGui.QCursor) [extrait de setCursor.__doc__]
setData(self, key: int, value: typing.Any) setData(self, key: int, value: typing.Any) [extrait de setData.__doc__]
setEnabled(self, enabled: bool) setEnabled(self, enabled: bool) [extrait de setEnabled.__doc__]
setFiltersChildEvents(self, enabled: bool) setFiltersChildEvents(self, enabled: bool) [extrait de setFiltersChildEvents.__doc__]
setFlag(self, flag: PySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag, enabled: bool = True) setFlag(self, flag: PySide2.QtWidgets.QGraphicsItem.GraphicsItemFlag, enabled: bool = True) [extrait de setFlag.__doc__]
setFlags(self, flags: PySide2.QtWidgets.QGraphicsItem.GraphicsItemFlags) setFlags(self, flags: PySide2.QtWidgets.QGraphicsItem.GraphicsItemFlags) [extrait de setFlags.__doc__]
setFocus(self, focusReason: PySide2.QtCore.Qt.FocusReason = PySide2.QtCore.Qt.FocusReason.OtherFocusReason) setFocus(self, focusReason: PySide2.QtCore.Qt.FocusReason = PySide2.QtCore.Qt.FocusReason.OtherFocusReason) [extrait de setFocus.__doc__]
setFocusProxy(self, item: PySide2.QtWidgets.QGraphicsItem) setFocusProxy(self, item: PySide2.QtWidgets.QGraphicsItem) [extrait de setFocusProxy.__doc__]
setGraphicsEffect(self, effect: PySide2.QtWidgets.QGraphicsEffect) setGraphicsEffect(self, effect: PySide2.QtWidgets.QGraphicsEffect) [extrait de setGraphicsEffect.__doc__]
setGroup(self, group: PySide2.QtWidgets.QGraphicsItemGroup) setGroup(self, group: PySide2.QtWidgets.QGraphicsItemGroup) [extrait de setGroup.__doc__]
setHandlesChildEvents(self, enabled: bool) setHandlesChildEvents(self, enabled: bool) [extrait de setHandlesChildEvents.__doc__]
setInputMethodHints(self, hints: PySide2.QtCore.Qt.InputMethodHints) setInputMethodHints(self, hints: PySide2.QtCore.Qt.InputMethodHints) [extrait de setInputMethodHints.__doc__]
setMatrix(self, matrix: PySide2.QtGui.QMatrix, combine: bool = False) setMatrix(self, matrix: PySide2.QtGui.QMatrix, combine: bool = False) [extrait de setMatrix.__doc__]
setOpacity(self, opacity: float) setOpacity(self, opacity: float) [extrait de setOpacity.__doc__]
setPanelModality(self, panelModality: PySide2.QtWidgets.QGraphicsItem.PanelModality) setPanelModality(self, panelModality: PySide2.QtWidgets.QGraphicsItem.PanelModality) [extrait de setPanelModality.__doc__]
setParentItem(self, parent: PySide2.QtWidgets.QGraphicsItem) setParentItem(self, parent: PySide2.QtWidgets.QGraphicsItem) [extrait de setParentItem.__doc__]
setPos setPos(self, pos: PySide2.QtCore.QPointF) [extrait de setPos.__doc__]
setRotation(self, angle: float) setRotation(self, angle: float) [extrait de setRotation.__doc__]
setScale(self, scale: float) setScale(self, scale: float) [extrait de setScale.__doc__]
setSelected(self, selected: bool) setSelected(self, selected: bool) [extrait de setSelected.__doc__]
setToolTip(self, toolTip: str) setToolTip(self, toolTip: str) [extrait de setToolTip.__doc__]
setTransform(self, matrix: PySide2.QtGui.QTransform, combine: bool = False) setTransform(self, matrix: PySide2.QtGui.QTransform, combine: bool = False) [extrait de setTransform.__doc__]
setTransformations(self, transformations: typing.Sequence[PySide2.QtWidgets.QGraphicsTransform]) setTransformations(self, transformations: typing.Sequence[PySide2.QtWidgets.QGraphicsTransform]) [extrait de setTransformations.__doc__]
setTransformOriginPoint setTransformOriginPoint(self, ax: float, ay: float) [extrait de setTransformOriginPoint.__doc__]
setVisible(self, visible: bool) setVisible(self, visible: bool) [extrait de setVisible.__doc__]
setX(self, x: float) setX(self, x: float) [extrait de setX.__doc__]
setY(self, y: float) setY(self, y: float) [extrait de setY.__doc__]
setZValue(self, z: float) setZValue(self, z: float) [extrait de setZValue.__doc__]
shape(self) -> PySide2.QtGui.QPainterPath shape(self) -> PySide2.QtGui.QPainterPath [extrait de shape.__doc__]
show(self) show(self) [extrait de show.__doc__]
stackBefore(self, sibling: PySide2.QtWidgets.QGraphicsItem) stackBefore(self, sibling: PySide2.QtWidgets.QGraphicsItem) [extrait de stackBefore.__doc__]
toGraphicsObject(self) -> PySide2.QtWidgets.QGraphicsObject toGraphicsObject(self) -> PySide2.QtWidgets.QGraphicsObject [extrait de toGraphicsObject.__doc__]
toolTip(self) -> str toolTip(self) -> str [extrait de toolTip.__doc__]
topLevelItem(self) -> PySide2.QtWidgets.QGraphicsItem topLevelItem(self) -> PySide2.QtWidgets.QGraphicsItem [extrait de topLevelItem.__doc__]
topLevelWidget(self) -> PySide2.QtWidgets.QGraphicsWidget topLevelWidget(self) -> PySide2.QtWidgets.QGraphicsWidget [extrait de topLevelWidget.__doc__]
transform(self) -> PySide2.QtGui.QTransform transform(self) -> PySide2.QtGui.QTransform [extrait de transform.__doc__]
transformations(self) -> typing.List[PySide2.QtWidgets.QGraphicsTransform] transformations(self) -> typing.List[PySide2.QtWidgets.QGraphicsTransform] [extrait de transformations.__doc__]
transformOriginPoint(self) -> PySide2.QtCore.QPointF transformOriginPoint(self) -> PySide2.QtCore.QPointF [extrait de transformOriginPoint.__doc__]
type(self) -> int type(self) -> int [extrait de type.__doc__]
ungrabKeyboard(self) ungrabKeyboard(self) [extrait de ungrabKeyboard.__doc__]
ungrabMouse(self) ungrabMouse(self) [extrait de ungrabMouse.__doc__]
unsetCursor(self) unsetCursor(self) [extrait de unsetCursor.__doc__]
update update(self, rect: PySide2.QtCore.QRectF = Default(QRectF)) [extrait de update.__doc__]
updateMicroFocus(self) updateMicroFocus(self) [extrait de updateMicroFocus.__doc__]
wheelEvent(self, event: PySide2.QtWidgets.QGraphicsSceneWheelEvent) wheelEvent(self, event: PySide2.QtWidgets.QGraphicsSceneWheelEvent) [extrait de wheelEvent.__doc__]
window(self) -> PySide2.QtWidgets.QGraphicsWidget window(self) -> PySide2.QtWidgets.QGraphicsWidget [extrait de window.__doc__]
x(self) -> float x(self) -> float [extrait de x.__doc__]
y(self) -> float y(self) -> float [extrait de y.__doc__]
zValue(self) -> float zValue(self) -> float [extrait de zValue.__doc__]

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