QGraphicsWidget

PyQt5.QtWidgets.QGraphicsWidget

Inherits from QGraphicsObject, QGraphicsLayoutItem.

Inherited by QChart, QGraphicsProxyWidget, QLegend.

Description

TODO

Methods

__init__(parent: QGraphicsItem = None, flags: Union[WindowFlags, WindowType] = Qt.WindowFlags())

TODO


actions() → List[QAction]

TODO


addAction(QAction)

TODO


addActions(Iterable[QAction])

TODO


adjustSize()

TODO


autoFillBackground() → bool

TODO


boundingRect() → QRectF

TODO


changeEvent(QEvent)

TODO


close() → bool

TODO


closeEvent(QCloseEvent)

TODO


event(QEvent) → bool

TODO


focusInEvent(QFocusEvent)

TODO


focusNextPrevChild(bool) → bool

TODO


focusOutEvent(QFocusEvent)

TODO


focusPolicy() → FocusPolicy

TODO


focusWidget() → QGraphicsWidget

TODO


font() → QFont

TODO


getContentsMargins() → (float, float, float, float)

TODO


getWindowFrameMargins() → (float, float, float, float)

TODO


grabKeyboardEvent(QEvent)

TODO


grabMouseEvent(QEvent)

TODO


grabShortcut(Union[QKeySequence, StandardKey, str, int], context: ShortcutContext = WindowShortcut) → int

TODO


hideEvent(QHideEvent)

TODO


hoverLeaveEvent(QGraphicsSceneHoverEvent)

TODO


hoverMoveEvent(QGraphicsSceneHoverEvent)

TODO


initStyleOption(QStyleOption)

TODO


insertAction(QAction, QAction)

TODO


insertActions(QAction, Iterable[QAction])

TODO


isActiveWindow() → bool

TODO


itemChange(GraphicsItemChange, Any) → Any

TODO


layout() → QGraphicsLayout

TODO


layoutDirection() → LayoutDirection

TODO


moveEvent(QGraphicsSceneMoveEvent)

TODO


paint(QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)

TODO


paintWindowFrame(QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)

TODO


palette() → QPalette

TODO


polishEvent()

TODO


rect() → QRectF

TODO


releaseShortcut(int)

TODO


removeAction(QAction)

TODO


resize(QSizeF)

TODO


resize(float, float)

TODO


resizeEvent(QGraphicsSceneResizeEvent)

TODO


sceneEvent(QEvent) → bool

TODO


setAttribute(WidgetAttribute, on: bool = True)

TODO


setAutoFillBackground(bool)

TODO


setContentsMargins(QMarginsF)

TODO


setContentsMargins(float, float, float, float)

TODO


setFocusPolicy(FocusPolicy)

TODO


setFont(QFont)

TODO


setGeometry(QRectF)

TODO


setGeometry(float, float, float, float)

TODO


setLayout(QGraphicsLayout)

TODO


setLayoutDirection(LayoutDirection)

TODO


setPalette(QPalette)

TODO


setShortcutAutoRepeat(int, enabled: bool = True)

TODO


setShortcutEnabled(int, enabled: bool = True)

TODO


setStyle(QStyle)

TODO


@staticmethod
setTabOrder(QGraphicsWidget, QGraphicsWidget)

TODO


setWindowFlags(Union[WindowFlags, WindowType])

TODO


setWindowFrameMargins(QMarginsF)

TODO


setWindowFrameMargins(float, float, float, float)

TODO


setWindowTitle(str)

TODO


shape() → QPainterPath

TODO


showEvent(QShowEvent)

TODO


size() → QSizeF

TODO


sizeHint(SizeHint, constraint: QSizeF = QSizeF()) → QSizeF

TODO


style() → QStyle

TODO


testAttribute(WidgetAttribute) → bool

TODO


type() → int

TODO


ungrabKeyboardEvent(QEvent)

TODO


ungrabMouseEvent(QEvent)

TODO


unsetLayoutDirection()

TODO


unsetWindowFrameMargins()

TODO


updateGeometry()

TODO


windowFlags() → WindowFlags

TODO


windowFrameEvent(QEvent) → bool

TODO


windowFrameGeometry() → QRectF

TODO


windowFrameRect() → QRectF

TODO


windowFrameSectionAt(Union[QPointF, QPoint]) → WindowFrameSection

TODO


windowTitle() → str

TODO


windowType() → WindowType

TODO

Signals

geometryChanged()

TODO