GraphicsWidgetMixin
Base classes
Name | Children | Inherits |
---|---|---|
GraphicsObjectMixin prettyqt.widgets.graphicsobject |
||
GraphicsLayoutItemMixin prettyqt.widgets.graphicslayoutitem |
Subclasses
Class | Module | Description |
---|---|---|
GraphicsWidget | prettyqt.widgets.graphicswidget | |
GraphicsProxyWidget | prettyqt.widgets.graphicsproxywidget | |
Legend | prettyqt.charts.legend | |
ChartMixin | prettyqt.charts.chart |
⋔ Inheritance diagram
graph TD
1473296164144["widgets.GraphicsWidgetMixin"]
1473293697024["widgets.GraphicsObjectMixin"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473293706784["widgets.GraphicsItemMixin"]
1473293712640["widgets.GraphicsLayoutItemMixin"]
1473293697024 --> 1473296164144
1473299815024 --> 1473293697024
140713234304496 --> 1473299815024
1473293706784 --> 1473293697024
140713234304496 --> 1473293706784
1473293712640 --> 1473296164144
140713234304496 --> 1473293712640
🛈 DocStrings
Bases: GraphicsObjectMixin
, GraphicsLayoutItemMixin
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.