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 « 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: Optional[PySide6.QtWidgets.QGraphicsItem] = None, wFlags: PySide6.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags)) -> 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, wFlags: PySide6.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags)) -> None __init__(self, parent: Optional[PySide6.QtWidgets.QGraphicsItem] = None, wFlags: PySide6.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags)) -> 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
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40dfeb7140>
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__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
childrenChanged
contextMenuEvent(self, event: PySide6.QtWidgets.QGraphicsSceneContextMenuEvent) -> None contextMenuEvent(self, event: PySide6.QtWidgets.QGraphicsSceneContextMenuEvent) -> None [extrait de contextMenuEvent.__doc__]
createProxyForChildWidget(self, child: PySide6.QtWidgets.QWidget) -> PySide6.QtWidgets.QGraphicsProxyWidget createProxyForChildWidget(self, child: PySide6.QtWidgets.QWidget) -> PySide6.QtWidgets.QGraphicsProxyWidget [extrait de createProxyForChildWidget.__doc__]
destroyed
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__]
enabledChanged
event(self, event: PySide6.QtCore.QEvent) -> bool event(self, event: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__]
eventFilter(self, object: PySide6.QtCore.QObject, event: PySide6.QtCore.QEvent) -> bool eventFilter(self, object: PySide6.QtCore.QObject, event: PySide6.QtCore.QEvent) -> bool [extrait de eventFilter.__doc__]
focusInEvent(self, event: PySide6.QtGui.QFocusEvent) -> None focusInEvent(self, event: PySide6.QtGui.QFocusEvent) -> None [extrait de focusInEvent.__doc__]
focusNextPrevChild(self, next: bool) -> bool focusNextPrevChild(self, next: bool) -> bool [extrait de focusNextPrevChild.__doc__]
focusOutEvent(self, event: PySide6.QtGui.QFocusEvent) -> None focusOutEvent(self, event: PySide6.QtGui.QFocusEvent) -> None [extrait de focusOutEvent.__doc__]
geometryChanged
grabMouseEvent(self, event: PySide6.QtCore.QEvent) -> None grabMouseEvent(self, event: PySide6.QtCore.QEvent) -> None [extrait de grabMouseEvent.__doc__]
heightChanged
hideEvent(self, event: PySide6.QtGui.QHideEvent) -> None hideEvent(self, event: PySide6.QtGui.QHideEvent) -> None [extrait de hideEvent.__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__]
inputMethodQuery(self, query: PySide6.QtCore.Qt.InputMethodQuery) -> Any inputMethodQuery(self, query: PySide6.QtCore.Qt.InputMethodQuery) -> Any [extrait de inputMethodQuery.__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__]
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__]
layoutChanged
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__]
newProxyWidget(self, arg__1: PySide6.QtWidgets.QWidget) -> PySide6.QtWidgets.QGraphicsProxyWidget newProxyWidget(self, arg__1: PySide6.QtWidgets.QWidget) -> PySide6.QtWidgets.QGraphicsProxyWidget [extrait de newProxyWidget.__doc__]
objectNameChanged
opacityChanged
paint(self, painter: PySide6.QtGui.QPainter, option: PySide6.QtWidgets.QStyleOptionGraphicsItem, widget: PySide6.QtWidgets.QWidget) -> None paint(self, painter: PySide6.QtGui.QPainter, option: PySide6.QtWidgets.QStyleOptionGraphicsItem, widget: PySide6.QtWidgets.QWidget) -> None [extrait de paint.__doc__]
parentChanged
resizeEvent(self, event: PySide6.QtWidgets.QGraphicsSceneResizeEvent) -> None resizeEvent(self, event: PySide6.QtWidgets.QGraphicsSceneResizeEvent) -> None [extrait de resizeEvent.__doc__]
rotationChanged
scaleChanged
setGeometry setGeometry(self, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> None [extrait de setGeometry.__doc__]
setWidget(self, widget: PySide6.QtWidgets.QWidget) -> None setWidget(self, widget: PySide6.QtWidgets.QWidget) -> None [extrait de setWidget.__doc__]
showEvent(self, event: PySide6.QtGui.QShowEvent) -> None showEvent(self, event: PySide6.QtGui.QShowEvent) -> None [extrait de showEvent.__doc__]
sizeHint(self, which: PySide6.QtCore.Qt.SizeHint, constraint: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize] = Default(QSizeF)) -> PySide6.QtCore.QSizeF sizeHint(self, which: PySide6.QtCore.Qt.SizeHint, constraint: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize] = Default(QSizeF)) -> PySide6.QtCore.QSizeF [extrait de sizeHint.__doc__]
subWidgetRect(self, widget: PySide6.QtWidgets.QWidget) -> PySide6.QtCore.QRectF subWidgetRect(self, widget: PySide6.QtWidgets.QWidget) -> PySide6.QtCore.QRectF [extrait de subWidgetRect.__doc__]
tr
type(self) -> int type(self) -> int [extrait de type.__doc__]
ungrabMouseEvent(self, event: PySide6.QtCore.QEvent) -> None ungrabMouseEvent(self, event: PySide6.QtCore.QEvent) -> None [extrait de ungrabMouseEvent.__doc__]
visibleChanged
wheelEvent(self, event: PySide6.QtWidgets.QGraphicsSceneWheelEvent) -> None wheelEvent(self, event: PySide6.QtWidgets.QGraphicsSceneWheelEvent) -> None [extrait de wheelEvent.__doc__]
widget(self) -> PySide6.QtWidgets.QWidget widget(self) -> PySide6.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, isEmpty, 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, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

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, moveBy, opacity, opaqueArea, panel, PanelModality, panelModality, parentItem, parentObject, parentWidget, pos, prepareGeometryChange, removeFromIndex, removeSceneEventFilter, resetTransform, rotation, scale, scene, sceneBoundingRect, sceneEvent, sceneEventFilter, scenePos, sceneTransform, scroll, setAcceptDrops, setAcceptedMouseButtons, setAcceptHoverEvents, setAcceptTouchEvents, setActive, setBoundingRegionGranularity, setCacheMode, setCursor, setData, setEnabled, setFiltersChildEvents, setFlag, setFlags, setFocus, setFocusProxy, setGraphicsEffect, setGroup, setHandlesChildEvents, setInputMethodHints, 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

__getattribute__, __init_subclass__, __subclasshook__

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

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