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

Informations générales

Héritage

builtins.object
    Object
        QGraphicsItem

Définition

class QGraphicsItem(Object):

Description [extrait de QGraphicsItem.__doc__]

QGraphicsItem(self, parent: Optional[PySide6.QtWidgets.QGraphicsItem] = None) -> 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, parent: Optional[PySide6.QtWidgets.QGraphicsItem] = None) -> None __init__(self, parent: Optional[PySide6.QtWidgets.QGraphicsItem] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
DeviceCoordinateCachePySide6.QtWidgets.QGraphicsItem.CacheMode.DeviceCoordinateCache
ItemAcceptsInputMethodPySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemAcceptsInputMethod
ItemChildAddedChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemChildAddedChange
ItemChildRemovedChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemChildRemovedChange
ItemClipsChildrenToShapePySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemClipsChildrenToShape
ItemClipsToShapePySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemClipsToShape
ItemContainsChildrenInShapePySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemContainsChildrenInShape
ItemCoordinateCachePySide6.QtWidgets.QGraphicsItem.CacheMode.ItemCoordinateCache
ItemCursorChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemCursorChange
ItemCursorHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemCursorHasChanged
ItemDoesntPropagateOpacityToChildrenPySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemDoesntPropagateOpacityToChildren
ItemEnabledChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemEnabledChange
ItemEnabledHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemEnabledHasChanged
ItemFlagsChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemFlagsChange
ItemFlagsHaveChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemFlagsHaveChanged
ItemHasNoContentsPySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemHasNoContents
ItemIgnoresParentOpacityPySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIgnoresParentOpacity
ItemIgnoresTransformationsPySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIgnoresTransformations
ItemIsFocusablePySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsFocusable
ItemIsFocusScopePySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsFocusScope
ItemIsMovablePySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsMovable
ItemIsPanelPySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsPanel
ItemIsSelectablePySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsSelectable
ItemNegativeZStacksBehindParentPySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemNegativeZStacksBehindParent
ItemOpacityChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemOpacityChange
ItemOpacityHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemOpacityHasChanged
ItemParentChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemParentChange
ItemParentHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemParentHasChanged
ItemPositionChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemPositionChange
ItemPositionHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemPositionHasChanged
ItemRotationChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemRotationChange
ItemRotationHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemRotationHasChanged
ItemScaleChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemScaleChange
ItemScaleHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemScaleHasChanged
ItemSceneChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSceneChange
ItemSceneHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSceneHasChanged
ItemScenePositionHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemScenePositionHasChanged
ItemSelectedChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSelectedChange
ItemSelectedHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSelectedHasChanged
ItemSendsGeometryChangesPySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemSendsGeometryChanges
ItemSendsScenePositionChangesPySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemSendsScenePositionChanges
ItemStacksBehindParentPySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemStacksBehindParent
ItemStopsClickFocusPropagationPySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemStopsClickFocusPropagation
ItemStopsFocusHandlingPySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemStopsFocusHandling
ItemToolTipChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemToolTipChange
ItemToolTipHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemToolTipHasChanged
ItemTransformChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformChange
ItemTransformHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformHasChanged
ItemTransformOriginPointChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformOriginPointChange
ItemTransformOriginPointHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformOriginPointHasChanged
ItemUsesExtendedStyleOptionPySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemUsesExtendedStyleOption
ItemVisibleChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemVisibleChange
ItemVisibleHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemVisibleHasChanged
ItemZValueChangePySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemZValueChange
ItemZValueHasChangedPySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemZValueHasChanged
NoCachePySide6.QtWidgets.QGraphicsItem.CacheMode.NoCache
NonModalPySide6.QtWidgets.QGraphicsItem.PanelModality.NonModal
PanelModalPySide6.QtWidgets.QGraphicsItem.PanelModality.PanelModal
SceneModalPySide6.QtWidgets.QGraphicsItem.PanelModality.SceneModal
UserExtensionPySide6.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) -> PySide6.QtCore.Qt.MouseButtons acceptedMouseButtons(self) -> PySide6.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) -> None addToIndex(self) -> None [extrait de addToIndex.__doc__]
advance(self, phase: int) -> None advance(self, phase: int) -> None [extrait de advance.__doc__]
boundingRect(self) -> PySide6.QtCore.QRectF boundingRect(self) -> PySide6.QtCore.QRectF [extrait de boundingRect.__doc__]
boundingRegion(self, itemToDeviceTransform: PySide6.QtGui.QTransform) -> PySide6.QtGui.QRegion boundingRegion(self, itemToDeviceTransform: PySide6.QtGui.QTransform) -> PySide6.QtGui.QRegion [extrait de boundingRegion.__doc__]
boundingRegionGranularity(self) -> float boundingRegionGranularity(self) -> float [extrait de boundingRegionGranularity.__doc__]
CacheMode
cacheMode(self) -> PySide6.QtWidgets.QGraphicsItem.CacheMode cacheMode(self) -> PySide6.QtWidgets.QGraphicsItem.CacheMode [extrait de cacheMode.__doc__]
childItems(self) -> List[PySide6.QtWidgets.QGraphicsItem] childItems(self) -> List[PySide6.QtWidgets.QGraphicsItem] [extrait de childItems.__doc__]
childrenBoundingRect(self) -> PySide6.QtCore.QRectF childrenBoundingRect(self) -> PySide6.QtCore.QRectF [extrait de childrenBoundingRect.__doc__]
clearFocus(self) -> None clearFocus(self) -> None [extrait de clearFocus.__doc__]
clipPath(self) -> PySide6.QtGui.QPainterPath clipPath(self) -> PySide6.QtGui.QPainterPath [extrait de clipPath.__doc__]
collidesWithItem(self, other: PySide6.QtWidgets.QGraphicsItem, mode: PySide6.QtCore.Qt.ItemSelectionMode = PySide6.QtCore.Qt.ItemSelectionMode.IntersectsItemShape) -> bool collidesWithItem(self, other: PySide6.QtWidgets.QGraphicsItem, mode: PySide6.QtCore.Qt.ItemSelectionMode = PySide6.QtCore.Qt.ItemSelectionMode.IntersectsItemShape) -> bool [extrait de collidesWithItem.__doc__]
collidesWithPath(self, path: PySide6.QtGui.QPainterPath, mode: PySide6.QtCore.Qt.ItemSelectionMode = PySide6.QtCore.Qt.ItemSelectionMode.IntersectsItemShape) -> bool collidesWithPath(self, path: PySide6.QtGui.QPainterPath, mode: PySide6.QtCore.Qt.ItemSelectionMode = PySide6.QtCore.Qt.ItemSelectionMode.IntersectsItemShape) -> bool [extrait de collidesWithPath.__doc__]
collidingItems(self, mode: PySide6.QtCore.Qt.ItemSelectionMode = PySide6.QtCore.Qt.ItemSelectionMode.IntersectsItemShape) -> List[PySide6.QtWidgets.QGraphicsItem] collidingItems(self, mode: PySide6.QtCore.Qt.ItemSelectionMode = PySide6.QtCore.Qt.ItemSelectionMode.IntersectsItemShape) -> List[PySide6.QtWidgets.QGraphicsItem] [extrait de collidingItems.__doc__]
commonAncestorItem(self, other: PySide6.QtWidgets.QGraphicsItem) -> PySide6.QtWidgets.QGraphicsItem commonAncestorItem(self, other: PySide6.QtWidgets.QGraphicsItem) -> PySide6.QtWidgets.QGraphicsItem [extrait de commonAncestorItem.__doc__]
contains(self, point: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element]) -> bool contains(self, point: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element]) -> bool [extrait de contains.__doc__]
contextMenuEvent(self, event: PySide6.QtWidgets.QGraphicsSceneContextMenuEvent) -> None contextMenuEvent(self, event: PySide6.QtWidgets.QGraphicsSceneContextMenuEvent) -> None [extrait de contextMenuEvent.__doc__]
cursor(self) -> PySide6.QtGui.QCursor cursor(self) -> PySide6.QtGui.QCursor [extrait de cursor.__doc__]
data(self, key: int) -> Any data(self, key: int) -> Any [extrait de data.__doc__]
deviceTransform(self, viewportTransform: PySide6.QtGui.QTransform) -> PySide6.QtGui.QTransform deviceTransform(self, viewportTransform: PySide6.QtGui.QTransform) -> PySide6.QtGui.QTransform [extrait de deviceTransform.__doc__]
dragEnterEvent(self, event: PySide6.QtWidgets.QGraphicsSceneDragDropEvent) -> None dragEnterEvent(self, event: PySide6.QtWidgets.QGraphicsSceneDragDropEvent) -> None [extrait de dragEnterEvent.__doc__]
dragLeaveEvent(self, event: PySide6.QtWidgets.QGraphicsSceneDragDropEvent) -> None dragLeaveEvent(self, event: PySide6.QtWidgets.QGraphicsSceneDragDropEvent) -> None [extrait de dragLeaveEvent.__doc__]
dragMoveEvent(self, event: PySide6.QtWidgets.QGraphicsSceneDragDropEvent) -> None dragMoveEvent(self, event: PySide6.QtWidgets.QGraphicsSceneDragDropEvent) -> None [extrait de dragMoveEvent.__doc__]
dropEvent(self, event: PySide6.QtWidgets.QGraphicsSceneDragDropEvent) -> None dropEvent(self, event: PySide6.QtWidgets.QGraphicsSceneDragDropEvent) -> None [extrait de dropEvent.__doc__]
effectiveOpacity(self) -> float effectiveOpacity(self) -> float [extrait de effectiveOpacity.__doc__]
ensureVisible ensureVisible(self, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect] = Default(QRectF), xmargin: int = 50, ymargin: int = 50) -> None [extrait de ensureVisible.__doc__]
Extension
extension(self, variant: Any) -> Any extension(self, variant: Any) -> Any [extrait de extension.__doc__]
filtersChildEvents(self) -> bool filtersChildEvents(self) -> bool [extrait de filtersChildEvents.__doc__]
flags(self) -> PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlags flags(self) -> PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlags [extrait de flags.__doc__]
focusInEvent(self, event: PySide6.QtGui.QFocusEvent) -> None focusInEvent(self, event: PySide6.QtGui.QFocusEvent) -> None [extrait de focusInEvent.__doc__]
focusItem(self) -> PySide6.QtWidgets.QGraphicsItem focusItem(self) -> PySide6.QtWidgets.QGraphicsItem [extrait de focusItem.__doc__]
focusOutEvent(self, event: PySide6.QtGui.QFocusEvent) -> None focusOutEvent(self, event: PySide6.QtGui.QFocusEvent) -> None [extrait de focusOutEvent.__doc__]
focusProxy(self) -> PySide6.QtWidgets.QGraphicsItem focusProxy(self) -> PySide6.QtWidgets.QGraphicsItem [extrait de focusProxy.__doc__]
focusScopeItem(self) -> PySide6.QtWidgets.QGraphicsItem focusScopeItem(self) -> PySide6.QtWidgets.QGraphicsItem [extrait de focusScopeItem.__doc__]
grabKeyboard(self) -> None grabKeyboard(self) -> None [extrait de grabKeyboard.__doc__]
grabMouse(self) -> None grabMouse(self) -> None [extrait de grabMouse.__doc__]
graphicsEffect(self) -> PySide6.QtWidgets.QGraphicsEffect graphicsEffect(self) -> PySide6.QtWidgets.QGraphicsEffect [extrait de graphicsEffect.__doc__]
GraphicsItemChange
GraphicsItemFlag
GraphicsItemFlags
group(self) -> PySide6.QtWidgets.QGraphicsItemGroup group(self) -> PySide6.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) -> None hide(self) -> None [extrait de hide.__doc__]
hoverEnterEvent(self, event: PySide6.QtWidgets.QGraphicsSceneHoverEvent) -> None hoverEnterEvent(self, event: PySide6.QtWidgets.QGraphicsSceneHoverEvent) -> None [extrait de hoverEnterEvent.__doc__]
hoverLeaveEvent(self, event: PySide6.QtWidgets.QGraphicsSceneHoverEvent) -> None hoverLeaveEvent(self, event: PySide6.QtWidgets.QGraphicsSceneHoverEvent) -> None [extrait de hoverLeaveEvent.__doc__]
hoverMoveEvent(self, event: PySide6.QtWidgets.QGraphicsSceneHoverEvent) -> None hoverMoveEvent(self, event: PySide6.QtWidgets.QGraphicsSceneHoverEvent) -> None [extrait de hoverMoveEvent.__doc__]
inputMethodEvent(self, event: PySide6.QtGui.QInputMethodEvent) -> None inputMethodEvent(self, event: PySide6.QtGui.QInputMethodEvent) -> None [extrait de inputMethodEvent.__doc__]
inputMethodHints(self) -> PySide6.QtCore.Qt.InputMethodHints inputMethodHints(self) -> PySide6.QtCore.Qt.InputMethodHints [extrait de inputMethodHints.__doc__]
inputMethodQuery(self, query: PySide6.QtCore.Qt.InputMethodQuery) -> Any inputMethodQuery(self, query: PySide6.QtCore.Qt.InputMethodQuery) -> Any [extrait de inputMethodQuery.__doc__]
installSceneEventFilter(self, filterItem: PySide6.QtWidgets.QGraphicsItem) -> None installSceneEventFilter(self, filterItem: PySide6.QtWidgets.QGraphicsItem) -> None [extrait de installSceneEventFilter.__doc__]
isActive(self) -> bool isActive(self) -> bool [extrait de isActive.__doc__]
isAncestorOf(self, child: PySide6.QtWidgets.QGraphicsItem) -> bool isAncestorOf(self, child: PySide6.QtWidgets.QGraphicsItem) -> bool [extrait de isAncestorOf.__doc__]
isBlockedByModalPanel(self, blockingPanel: Optional[PySide6.QtWidgets.QGraphicsItem] = None) -> Tuple isBlockedByModalPanel(self, blockingPanel: Optional[PySide6.QtWidgets.QGraphicsItem] = None) -> Tuple [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: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect] = Default(QRectF)) -> bool [extrait de isObscured.__doc__]
isObscuredBy(self, item: PySide6.QtWidgets.QGraphicsItem) -> bool isObscuredBy(self, item: PySide6.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: PySide6.QtWidgets.QGraphicsItem) -> bool isVisibleTo(self, parent: PySide6.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: PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange, value: Any) -> Any itemChange(self, change: PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange, value: Any) -> Any [extrait de itemChange.__doc__]
itemTransform(self, other: PySide6.QtWidgets.QGraphicsItem) -> Tuple[Tuple, bool] itemTransform(self, other: PySide6.QtWidgets.QGraphicsItem) -> Tuple[Tuple, bool] [extrait de itemTransform.__doc__]
keyPressEvent(self, event: PySide6.QtGui.QKeyEvent) -> None keyPressEvent(self, event: PySide6.QtGui.QKeyEvent) -> None [extrait de keyPressEvent.__doc__]
keyReleaseEvent(self, event: PySide6.QtGui.QKeyEvent) -> None keyReleaseEvent(self, event: PySide6.QtGui.QKeyEvent) -> None [extrait de keyReleaseEvent.__doc__]
mapFromItem mapFromItem(self, item: PySide6.QtWidgets.QGraphicsItem, path: PySide6.QtGui.QPainterPath) -> PySide6.QtGui.QPainterPath [extrait de mapFromItem.__doc__]
mapFromParent mapFromParent(self, path: PySide6.QtGui.QPainterPath) -> PySide6.QtGui.QPainterPath [extrait de mapFromParent.__doc__]
mapFromScene mapFromScene(self, path: PySide6.QtGui.QPainterPath) -> PySide6.QtGui.QPainterPath [extrait de mapFromScene.__doc__]
mapRectFromItem mapRectFromItem(self, item: PySide6.QtWidgets.QGraphicsItem, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF [extrait de mapRectFromItem.__doc__]
mapRectFromParent mapRectFromParent(self, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF [extrait de mapRectFromParent.__doc__]
mapRectFromScene mapRectFromScene(self, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF [extrait de mapRectFromScene.__doc__]
mapRectToItem mapRectToItem(self, item: PySide6.QtWidgets.QGraphicsItem, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF [extrait de mapRectToItem.__doc__]
mapRectToParent mapRectToParent(self, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF [extrait de mapRectToParent.__doc__]
mapRectToScene mapRectToScene(self, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF [extrait de mapRectToScene.__doc__]
mapToItem mapToItem(self, item: PySide6.QtWidgets.QGraphicsItem, path: PySide6.QtGui.QPainterPath) -> PySide6.QtGui.QPainterPath [extrait de mapToItem.__doc__]
mapToParent mapToParent(self, path: PySide6.QtGui.QPainterPath) -> PySide6.QtGui.QPainterPath [extrait de mapToParent.__doc__]
mapToScene mapToScene(self, path: PySide6.QtGui.QPainterPath) -> PySide6.QtGui.QPainterPath [extrait de mapToScene.__doc__]
mouseDoubleClickEvent(self, event: PySide6.QtWidgets.QGraphicsSceneMouseEvent) -> None mouseDoubleClickEvent(self, event: PySide6.QtWidgets.QGraphicsSceneMouseEvent) -> None [extrait de mouseDoubleClickEvent.__doc__]
mouseMoveEvent(self, event: PySide6.QtWidgets.QGraphicsSceneMouseEvent) -> None mouseMoveEvent(self, event: PySide6.QtWidgets.QGraphicsSceneMouseEvent) -> None [extrait de mouseMoveEvent.__doc__]
mousePressEvent(self, event: PySide6.QtWidgets.QGraphicsSceneMouseEvent) -> None mousePressEvent(self, event: PySide6.QtWidgets.QGraphicsSceneMouseEvent) -> None [extrait de mousePressEvent.__doc__]
mouseReleaseEvent(self, event: PySide6.QtWidgets.QGraphicsSceneMouseEvent) -> None mouseReleaseEvent(self, event: PySide6.QtWidgets.QGraphicsSceneMouseEvent) -> None [extrait de mouseReleaseEvent.__doc__]
moveBy(self, dx: float, dy: float) -> None moveBy(self, dx: float, dy: float) -> None [extrait de moveBy.__doc__]
opacity(self) -> float opacity(self) -> float [extrait de opacity.__doc__]
opaqueArea(self) -> PySide6.QtGui.QPainterPath opaqueArea(self) -> PySide6.QtGui.QPainterPath [extrait de opaqueArea.__doc__]
paint(self, painter: PySide6.QtGui.QPainter, option: PySide6.QtWidgets.QStyleOptionGraphicsItem, widget: Optional[PySide6.QtWidgets.QWidget] = None) -> None paint(self, painter: PySide6.QtGui.QPainter, option: PySide6.QtWidgets.QStyleOptionGraphicsItem, widget: Optional[PySide6.QtWidgets.QWidget] = None) -> None [extrait de paint.__doc__]
panel(self) -> PySide6.QtWidgets.QGraphicsItem panel(self) -> PySide6.QtWidgets.QGraphicsItem [extrait de panel.__doc__]
PanelModality
panelModality(self) -> PySide6.QtWidgets.QGraphicsItem.PanelModality panelModality(self) -> PySide6.QtWidgets.QGraphicsItem.PanelModality [extrait de panelModality.__doc__]
parentItem(self) -> PySide6.QtWidgets.QGraphicsItem parentItem(self) -> PySide6.QtWidgets.QGraphicsItem [extrait de parentItem.__doc__]
parentObject(self) -> PySide6.QtWidgets.QGraphicsObject parentObject(self) -> PySide6.QtWidgets.QGraphicsObject [extrait de parentObject.__doc__]
parentWidget(self) -> PySide6.QtWidgets.QGraphicsWidget parentWidget(self) -> PySide6.QtWidgets.QGraphicsWidget [extrait de parentWidget.__doc__]
pos(self) -> PySide6.QtCore.QPointF pos(self) -> PySide6.QtCore.QPointF [extrait de pos.__doc__]
prepareGeometryChange(self) -> None prepareGeometryChange(self) -> None [extrait de prepareGeometryChange.__doc__]
removeFromIndex(self) -> None removeFromIndex(self) -> None [extrait de removeFromIndex.__doc__]
removeSceneEventFilter(self, filterItem: PySide6.QtWidgets.QGraphicsItem) -> None removeSceneEventFilter(self, filterItem: PySide6.QtWidgets.QGraphicsItem) -> None [extrait de removeSceneEventFilter.__doc__]
resetTransform(self) -> None resetTransform(self) -> None [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) -> PySide6.QtWidgets.QGraphicsScene scene(self) -> PySide6.QtWidgets.QGraphicsScene [extrait de scene.__doc__]
sceneBoundingRect(self) -> PySide6.QtCore.QRectF sceneBoundingRect(self) -> PySide6.QtCore.QRectF [extrait de sceneBoundingRect.__doc__]
sceneEvent(self, event: PySide6.QtCore.QEvent) -> bool sceneEvent(self, event: PySide6.QtCore.QEvent) -> bool [extrait de sceneEvent.__doc__]
sceneEventFilter(self, watched: PySide6.QtWidgets.QGraphicsItem, event: PySide6.QtCore.QEvent) -> bool sceneEventFilter(self, watched: PySide6.QtWidgets.QGraphicsItem, event: PySide6.QtCore.QEvent) -> bool [extrait de sceneEventFilter.__doc__]
scenePos(self) -> PySide6.QtCore.QPointF scenePos(self) -> PySide6.QtCore.QPointF [extrait de scenePos.__doc__]
sceneTransform(self) -> PySide6.QtGui.QTransform sceneTransform(self) -> PySide6.QtGui.QTransform [extrait de sceneTransform.__doc__]
scroll(self, dx: float, dy: float, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect] = Default(QRectF)) -> None scroll(self, dx: float, dy: float, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect] = Default(QRectF)) -> None [extrait de scroll.__doc__]
setAcceptDrops(self, on: bool) -> None setAcceptDrops(self, on: bool) -> None [extrait de setAcceptDrops.__doc__]
setAcceptedMouseButtons(self, buttons: PySide6.QtCore.Qt.MouseButtons) -> None setAcceptedMouseButtons(self, buttons: PySide6.QtCore.Qt.MouseButtons) -> None [extrait de setAcceptedMouseButtons.__doc__]
setAcceptHoverEvents(self, enabled: bool) -> None setAcceptHoverEvents(self, enabled: bool) -> None [extrait de setAcceptHoverEvents.__doc__]
setAcceptTouchEvents(self, enabled: bool) -> None setAcceptTouchEvents(self, enabled: bool) -> None [extrait de setAcceptTouchEvents.__doc__]
setActive(self, active: bool) -> None setActive(self, active: bool) -> None [extrait de setActive.__doc__]
setBoundingRegionGranularity(self, granularity: float) -> None setBoundingRegionGranularity(self, granularity: float) -> None [extrait de setBoundingRegionGranularity.__doc__]
setCacheMode(self, mode: PySide6.QtWidgets.QGraphicsItem.CacheMode, cacheSize: PySide6.QtCore.QSize = Default(QSize)) -> None setCacheMode(self, mode: PySide6.QtWidgets.QGraphicsItem.CacheMode, cacheSize: PySide6.QtCore.QSize = Default(QSize)) -> None [extrait de setCacheMode.__doc__]
setCursor(self, cursor: Union[PySide6.QtGui.QCursor, PySide6.QtCore.Qt.CursorShape, PySide6.QtGui.QPixmap]) -> None setCursor(self, cursor: Union[PySide6.QtGui.QCursor, PySide6.QtCore.Qt.CursorShape, PySide6.QtGui.QPixmap]) -> None [extrait de setCursor.__doc__]
setData(self, key: int, value: Any) -> None setData(self, key: int, value: Any) -> None [extrait de setData.__doc__]
setEnabled(self, enabled: bool) -> None setEnabled(self, enabled: bool) -> None [extrait de setEnabled.__doc__]
setFiltersChildEvents(self, enabled: bool) -> None setFiltersChildEvents(self, enabled: bool) -> None [extrait de setFiltersChildEvents.__doc__]
setFlag(self, flag: PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag, enabled: bool = True) -> None setFlag(self, flag: PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag, enabled: bool = True) -> None [extrait de setFlag.__doc__]
setFlags(self, flags: PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlags) -> None setFlags(self, flags: PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlags) -> None [extrait de setFlags.__doc__]
setFocus(self, focusReason: PySide6.QtCore.Qt.FocusReason = PySide6.QtCore.Qt.FocusReason.OtherFocusReason) -> None setFocus(self, focusReason: PySide6.QtCore.Qt.FocusReason = PySide6.QtCore.Qt.FocusReason.OtherFocusReason) -> None [extrait de setFocus.__doc__]
setFocusProxy(self, item: PySide6.QtWidgets.QGraphicsItem) -> None setFocusProxy(self, item: PySide6.QtWidgets.QGraphicsItem) -> None [extrait de setFocusProxy.__doc__]
setGraphicsEffect(self, effect: PySide6.QtWidgets.QGraphicsEffect) -> None setGraphicsEffect(self, effect: PySide6.QtWidgets.QGraphicsEffect) -> None [extrait de setGraphicsEffect.__doc__]
setGroup(self, group: PySide6.QtWidgets.QGraphicsItemGroup) -> None setGroup(self, group: PySide6.QtWidgets.QGraphicsItemGroup) -> None [extrait de setGroup.__doc__]
setHandlesChildEvents(self, enabled: bool) -> None setHandlesChildEvents(self, enabled: bool) -> None [extrait de setHandlesChildEvents.__doc__]
setInputMethodHints(self, hints: PySide6.QtCore.Qt.InputMethodHints) -> None setInputMethodHints(self, hints: PySide6.QtCore.Qt.InputMethodHints) -> None [extrait de setInputMethodHints.__doc__]
setOpacity(self, opacity: float) -> None setOpacity(self, opacity: float) -> None [extrait de setOpacity.__doc__]
setPanelModality(self, panelModality: PySide6.QtWidgets.QGraphicsItem.PanelModality) -> None setPanelModality(self, panelModality: PySide6.QtWidgets.QGraphicsItem.PanelModality) -> None [extrait de setPanelModality.__doc__]
setParentItem(self, parent: PySide6.QtWidgets.QGraphicsItem) -> None setParentItem(self, parent: PySide6.QtWidgets.QGraphicsItem) -> None [extrait de setParentItem.__doc__]
setPos setPos(self, pos: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element]) -> None [extrait de setPos.__doc__]
setRotation(self, angle: float) -> None setRotation(self, angle: float) -> None [extrait de setRotation.__doc__]
setScale(self, scale: float) -> None setScale(self, scale: float) -> None [extrait de setScale.__doc__]
setSelected(self, selected: bool) -> None setSelected(self, selected: bool) -> None [extrait de setSelected.__doc__]
setToolTip(self, toolTip: str) -> None setToolTip(self, toolTip: str) -> None [extrait de setToolTip.__doc__]
setTransform(self, matrix: PySide6.QtGui.QTransform, combine: bool = False) -> None setTransform(self, matrix: PySide6.QtGui.QTransform, combine: bool = False) -> None [extrait de setTransform.__doc__]
setTransformations(self, transformations: Sequence[PySide6.QtWidgets.QGraphicsTransform]) -> None setTransformations(self, transformations: Sequence[PySide6.QtWidgets.QGraphicsTransform]) -> None [extrait de setTransformations.__doc__]
setTransformOriginPoint setTransformOriginPoint(self, ax: float, ay: float) -> None [extrait de setTransformOriginPoint.__doc__]
setVisible(self, visible: bool) -> None setVisible(self, visible: bool) -> None [extrait de setVisible.__doc__]
setX(self, x: float) -> None setX(self, x: float) -> None [extrait de setX.__doc__]
setY(self, y: float) -> None setY(self, y: float) -> None [extrait de setY.__doc__]
setZValue(self, z: float) -> None setZValue(self, z: float) -> None [extrait de setZValue.__doc__]
shape(self) -> PySide6.QtGui.QPainterPath shape(self) -> PySide6.QtGui.QPainterPath [extrait de shape.__doc__]
show(self) -> None show(self) -> None [extrait de show.__doc__]
stackBefore(self, sibling: PySide6.QtWidgets.QGraphicsItem) -> None stackBefore(self, sibling: PySide6.QtWidgets.QGraphicsItem) -> None [extrait de stackBefore.__doc__]
toGraphicsObject(self) -> PySide6.QtWidgets.QGraphicsObject toGraphicsObject(self) -> PySide6.QtWidgets.QGraphicsObject [extrait de toGraphicsObject.__doc__]
toolTip(self) -> str toolTip(self) -> str [extrait de toolTip.__doc__]
topLevelItem(self) -> PySide6.QtWidgets.QGraphicsItem topLevelItem(self) -> PySide6.QtWidgets.QGraphicsItem [extrait de topLevelItem.__doc__]
topLevelWidget(self) -> PySide6.QtWidgets.QGraphicsWidget topLevelWidget(self) -> PySide6.QtWidgets.QGraphicsWidget [extrait de topLevelWidget.__doc__]
transform(self) -> PySide6.QtGui.QTransform transform(self) -> PySide6.QtGui.QTransform [extrait de transform.__doc__]
transformations(self) -> List[PySide6.QtWidgets.QGraphicsTransform] transformations(self) -> List[PySide6.QtWidgets.QGraphicsTransform] [extrait de transformations.__doc__]
transformOriginPoint(self) -> PySide6.QtCore.QPointF transformOriginPoint(self) -> PySide6.QtCore.QPointF [extrait de transformOriginPoint.__doc__]
type(self) -> int type(self) -> int [extrait de type.__doc__]
ungrabKeyboard(self) -> None ungrabKeyboard(self) -> None [extrait de ungrabKeyboard.__doc__]
ungrabMouse(self) -> None ungrabMouse(self) -> None [extrait de ungrabMouse.__doc__]
unsetCursor(self) -> None unsetCursor(self) -> None [extrait de unsetCursor.__doc__]
update update(self, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect] = Default(QRectF)) -> None [extrait de update.__doc__]
updateMicroFocus(self) -> None updateMicroFocus(self) -> None [extrait de updateMicroFocus.__doc__]
wheelEvent(self, event: PySide6.QtWidgets.QGraphicsSceneWheelEvent) -> None wheelEvent(self, event: PySide6.QtWidgets.QGraphicsSceneWheelEvent) -> None [extrait de wheelEvent.__doc__]
window(self) -> PySide6.QtWidgets.QGraphicsWidget window(self) -> PySide6.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

__getattribute__, __init_subclass__, __subclasshook__

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

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