GraphicsWidgetMixin
Sub classes
| Name | Children | Inherits |
|---|---|---|
| GraphicsWidget prettyqt.widgets.graphicswidget The base class for all widget items in a QGraphicsScene. |
||
| GraphicsProxyWidget prettyqt.widgets.graphicsproxywidget Proxy layer for embedding a QWidget in a QGraphicsScene. |
||
| Legend prettyqt.charts.legend |
||
| ChartMixin prettyqt.charts.chart |
Base classes
| Name | Children | Inherits |
|---|---|---|
| GraphicsObjectMixin prettyqt.widgets.graphicsobject |
||
| GraphicsLayoutItemMixin prettyqt.widgets.graphicslayoutitem |
||
| object builtins The base class of the class hierarchy. |
⋔ Inheritance diagram
graph TD
1217014474["widgets.GraphicsWidgetMixin"]
1453500865["widgets.GraphicsObjectMixin"]
3227531497["core.ObjectMixin"]
2751680898["builtins.object"]
1638127052["widgets.GraphicsItemMixin"]
1752462451["widgets.GraphicsLayoutItemMixin"]
1453500865 --> 1217014474
3227531497 --> 1453500865
2751680898 --> 3227531497
1638127052 --> 1453500865
2751680898 --> 1638127052
2751680898 --> 1453500865
1752462451 --> 1217014474
2751680898 --> 1752462451
2751680898 --> 1217014474
🛈 DocStrings
Bases: GraphicsObjectMixin, GraphicsLayoutItemMixin, _GraphicsWidgetBase
Source code in prettyqt/widgets/graphicswidget.py
get_focus_policy() -> constants.FocusPolicyStr
Return way the widget accepts keyboard focus.
set_focus_policy(policy: constants.FocusPolicyStr | constants.FocusPolicy)
Set the way the widget accepts keyboard focus.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
policy
|
FocusPolicyStr | FocusPolicy
|
Focus policy |
required |
Source code in prettyqt/widgets/graphicswidget.py
window_frame_section_at(point: datatypes.PointType) -> constants.WindowFrameSectionStr
Return the window frame section at given position.