GraphicsItemMixin
Subclasses
Class | Module | Description |
---|---|---|
GraphicsItem | prettyqt.widgets.graphicsitem | |
GraphicsItemGroup | prettyqt.widgets.graphicsitemgroup | |
AbstractGraphicsShapeItemMixin | prettyqt.widgets.abstractgraphicsshapeitem | |
GraphicsPixmapItem | prettyqt.widgets.graphicspixmapitem | |
GraphicsObjectMixin | prettyqt.widgets.graphicsobject | |
GraphicsLineItem | prettyqt.widgets.graphicslineitem |
⋔ Inheritance diagram
graph TD
1473293706784["widgets.GraphicsItemMixin"]
140713234304496["builtins.object"]
140713234304496 --> 1473293706784
🛈 DocStrings
Source code in prettyqt\widgets\graphicsitem.py
get_cache_mode() -> CacheModeStr
get_panel_modality() -> PanelModalityStr
set_cache_mode(mode: CacheModeStr | QtWidgets.QGraphicsItem.CacheMode)
Set cache mode.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
mode |
CacheModeStr | CacheMode
|
cache mode |
required |
set_panel_modality(modality: PanelModalityStr | QtWidgets.QGraphicsItem.PanelModality)
Set panel modality.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
modality |
PanelModalityStr | PanelModality
|
panel modality |
required |