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

Informations générales

Héritage

builtins.object
    Object
        QObject
builtins.object
    Object
        QGraphicsItem
            QGraphicsObject

Définition

class QGraphicsObject(QGraphicsItem, QObject):

Description [extrait de QGraphicsObject.__doc__]

QGraphicsObject(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
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe359a8600>
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__]
childrenChanged
destroyed
enabledChanged
event(self, ev: PySide2.QtCore.QEvent) -> bool event(self, ev: PySide2.QtCore.QEvent) -> bool [extrait de event.__doc__]
grabGesture(self, type: PySide2.QtCore.Qt.GestureType, flags: PySide2.QtCore.Qt.GestureFlags = Default(Qt.GestureFlags)) grabGesture(self, type: PySide2.QtCore.Qt.GestureType, flags: PySide2.QtCore.Qt.GestureFlags = Default(Qt.GestureFlags)) [extrait de grabGesture.__doc__]
heightChanged
objectNameChanged
opacityChanged
parentChanged
rotationChanged
scaleChanged
ungrabGesture(self, type: PySide2.QtCore.Qt.GestureType) ungrabGesture(self, type: PySide2.QtCore.Qt.GestureType) [extrait de ungrabGesture.__doc__]
updateMicroFocus(self) updateMicroFocus(self) [extrait de updateMicroFocus.__doc__]
visibleChanged
widthChanged
xChanged
yChanged
zChanged

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

__getattribute__, __init_subclass__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, registerUserData, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

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

__init_subclass__, __subclasshook__, acceptDrops, acceptedMouseButtons, acceptHoverEvents, acceptTouchEvents, addToIndex, advance, boundingRect, boundingRegion, boundingRegionGranularity, CacheMode, cacheMode, childItems, childrenBoundingRect, clearFocus, clipPath, collidesWithItem, collidesWithPath, collidingItems, commonAncestorItem, contains, contextMenuEvent, cursor, data, deviceTransform, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveOpacity, ensureVisible, Extension, 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, isObscuredBy, 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, opaqueArea, paint, 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, shape, show, stackBefore, toGraphicsObject, toolTip, topLevelItem, topLevelWidget, transform, transformations, transformOriginPoint, type, ungrabKeyboard, ungrabMouse, unsetCursor, update, 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__, __sizeof__, __str__