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

Informations générales

Héritage

    builtins.object
        Object
            QGraphicsLayoutItem
builtins.object
    Object
        QObject
builtins.object
    Object
        QGraphicsItem
            QGraphicsObject
                QGraphicsWidget
                    QGraphicsProxyWidget

Définition

class QGraphicsProxyWidget(QGraphicsWidget):

Description [extrait de QGraphicsProxyWidget.__doc__]

QGraphicsProxyWidget(self, parent: typing.Union[PySide2.QtWidgets.QGraphicsItem, NoneType] = None, wFlags: PySide2.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags))

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 0x7efe359a8ac0>
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__]
childrenChanged
contextMenuEvent(self, event: PySide2.QtWidgets.QGraphicsSceneContextMenuEvent) contextMenuEvent(self, event: PySide2.QtWidgets.QGraphicsSceneContextMenuEvent) [extrait de contextMenuEvent.__doc__]
createProxyForChildWidget(self, child: PySide2.QtWidgets.QWidget) -> PySide2.QtWidgets.QGraphicsProxyWidget createProxyForChildWidget(self, child: PySide2.QtWidgets.QWidget) -> PySide2.QtWidgets.QGraphicsProxyWidget [extrait de createProxyForChildWidget.__doc__]
destroyed
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__]
enabledChanged
event(self, event: PySide2.QtCore.QEvent) -> bool event(self, event: PySide2.QtCore.QEvent) -> bool [extrait de event.__doc__]
eventFilter(self, object: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) -> bool eventFilter(self, object: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) -> bool [extrait de eventFilter.__doc__]
focusInEvent(self, event: PySide2.QtGui.QFocusEvent) focusInEvent(self, event: PySide2.QtGui.QFocusEvent) [extrait de focusInEvent.__doc__]
focusNextPrevChild(self, next: bool) -> bool focusNextPrevChild(self, next: bool) -> bool [extrait de focusNextPrevChild.__doc__]
focusOutEvent(self, event: PySide2.QtGui.QFocusEvent) focusOutEvent(self, event: PySide2.QtGui.QFocusEvent) [extrait de focusOutEvent.__doc__]
geometryChanged
grabMouseEvent(self, event: PySide2.QtCore.QEvent) grabMouseEvent(self, event: PySide2.QtCore.QEvent) [extrait de grabMouseEvent.__doc__]
heightChanged
hideEvent(self, event: PySide2.QtGui.QHideEvent) hideEvent(self, event: PySide2.QtGui.QHideEvent) [extrait de hideEvent.__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__]
inputMethodQuery(self, query: PySide2.QtCore.Qt.InputMethodQuery) -> typing.Any inputMethodQuery(self, query: PySide2.QtCore.Qt.InputMethodQuery) -> typing.Any [extrait de inputMethodQuery.__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__]
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__]
layoutChanged
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__]
newProxyWidget(self, arg__1: PySide2.QtWidgets.QWidget) -> PySide2.QtWidgets.QGraphicsProxyWidget newProxyWidget(self, arg__1: PySide2.QtWidgets.QWidget) -> PySide2.QtWidgets.QGraphicsProxyWidget [extrait de newProxyWidget.__doc__]
objectNameChanged
opacityChanged
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__]
parentChanged
resizeEvent(self, event: PySide2.QtWidgets.QGraphicsSceneResizeEvent) resizeEvent(self, event: PySide2.QtWidgets.QGraphicsSceneResizeEvent) [extrait de resizeEvent.__doc__]
rotationChanged
scaleChanged
setGeometry(self, rect: PySide2.QtCore.QRectF) setGeometry(self, rect: PySide2.QtCore.QRectF) [extrait de setGeometry.__doc__]
setWidget(self, widget: PySide2.QtWidgets.QWidget) setWidget(self, widget: PySide2.QtWidgets.QWidget) [extrait de setWidget.__doc__]
showEvent(self, event: PySide2.QtGui.QShowEvent) showEvent(self, event: PySide2.QtGui.QShowEvent) [extrait de showEvent.__doc__]
sizeHint(self, which: PySide2.QtCore.Qt.SizeHint, constraint: PySide2.QtCore.QSizeF = Default(QSizeF)) -> PySide2.QtCore.QSizeF sizeHint(self, which: PySide2.QtCore.Qt.SizeHint, constraint: PySide2.QtCore.QSizeF = Default(QSizeF)) -> PySide2.QtCore.QSizeF [extrait de sizeHint.__doc__]
subWidgetRect(self, widget: PySide2.QtWidgets.QWidget) -> PySide2.QtCore.QRectF subWidgetRect(self, widget: PySide2.QtWidgets.QWidget) -> PySide2.QtCore.QRectF [extrait de subWidgetRect.__doc__]
type(self) -> int type(self) -> int [extrait de type.__doc__]
ungrabMouseEvent(self, event: PySide2.QtCore.QEvent) ungrabMouseEvent(self, event: PySide2.QtCore.QEvent) [extrait de ungrabMouseEvent.__doc__]
visibleChanged
wheelEvent(self, event: PySide2.QtWidgets.QGraphicsSceneWheelEvent) wheelEvent(self, event: PySide2.QtWidgets.QGraphicsSceneWheelEvent) [extrait de wheelEvent.__doc__]
widget(self) -> PySide2.QtWidgets.QWidget widget(self) -> PySide2.QtWidgets.QWidget [extrait de widget.__doc__]
widthChanged
xChanged
yChanged
zChanged

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

__init_subclass__, __subclasshook__, actions, addAction, addActions, adjustSize, autoFillBackground, boundingRect, changeEvent, close, closeEvent, focusPolicy, focusWidget, font, getContentsMargins, getWindowFrameMargins, grabKeyboardEvent, grabShortcut, initStyleOption, insertAction, insertActions, isActiveWindow, layout, layoutDirection, moveEvent, paintWindowFrame, palette, polishEvent, propertyChange, rect, releaseShortcut, removeAction, resize, sceneEvent, setAttribute, setAutoFillBackground, setContentsMargins, setFocusPolicy, setFont, setLayout, setLayoutDirection, setPalette, setShortcutAutoRepeat, setShortcutEnabled, setStyle, setTabOrder, setWindowFlags, setWindowFrameMargins, setWindowTitle, shape, size, style, testAttribute, ungrabKeyboardEvent, unsetLayoutDirection, unsetWindowFrameMargins, updateGeometry, windowFlags, windowFrameEvent, windowFrameGeometry, windowFrameRect, windowFrameSectionAt, windowTitle, windowType

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

__init_subclass__, __subclasshook__, contentsRect, effectiveSizeHint, geometry, getContentsMargins, graphicsItem, isLayout, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, ownedByLayout, parentLayoutItem, preferredHeight, preferredSize, preferredWidth, setGraphicsItem, setMaximumHeight, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumWidth, setOwnedByLayout, setParentLayoutItem, setPreferredHeight, setPreferredSize, setPreferredWidth, setSizePolicy, sizePolicy, updateGeometry

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

__init_subclass__, __repr__, __subclasshook__, grabGesture, ungrabGesture, updateMicroFocus

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

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, 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__, __repr__, __subclasshook__, acceptDrops, acceptedMouseButtons, acceptHoverEvents, acceptTouchEvents, addToIndex, advance, boundingRect, boundingRegion, boundingRegionGranularity, CacheMode, cacheMode, childItems, childrenBoundingRect, clearFocus, clipPath, collidesWithItem, collidesWithPath, collidingItems, commonAncestorItem, contains, cursor, data, deviceTransform, effectiveOpacity, ensureVisible, Extension, extension, filtersChildEvents, flags, focusItem, focusProxy, focusScopeItem, grabKeyboard, grabMouse, graphicsEffect, GraphicsItemChange, GraphicsItemFlag, GraphicsItemFlags, group, handlesChildEvents, hasCursor, hasFocus, hide, inputMethodHints, installSceneEventFilter, isActive, isAncestorOf, isBlockedByModalPanel, isClipped, isEnabled, isObscured, isObscuredBy, isPanel, isSelected, isUnderMouse, isVisible, isVisibleTo, isWidget, isWindow, itemTransform, mapFromItem, mapFromParent, mapFromScene, mapRectFromItem, mapRectFromParent, mapRectFromScene, mapRectToItem, mapRectToParent, mapRectToScene, mapToItem, mapToParent, mapToScene, matrix, moveBy, opacity, opaqueArea, 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, ungrabKeyboard, ungrabMouse, unsetCursor, update, updateMicroFocus, 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__