Use actions of ViewBox's contextMenu in full menu.
The main change is on `ViewBox.getContextMenus`, which now returns an up-to-date of actions that `GraphicsScene.addParentContextMenus` can use. Also, `getContextMenus` was given a default implementation in the base class (falling back on `getMenu` if defined), and some cleanup was done.
Showing
- pyqtgraph/GraphicsScene/GraphicsScene.py 10 additions, 19 deletionspyqtgraph/GraphicsScene/GraphicsScene.py
- pyqtgraph/flowchart/Node.py 0 additions, 3 deletionspyqtgraph/flowchart/Node.py
- pyqtgraph/flowchart/Terminal.py 0 additions, 4 deletionspyqtgraph/flowchart/Terminal.py
- pyqtgraph/graphicsItems/GraphicsItem.py 3 additions, 0 deletionspyqtgraph/graphicsItems/GraphicsItem.py
- pyqtgraph/graphicsItems/ROI.py 1 addition, 5 deletionspyqtgraph/graphicsItems/ROI.py
- pyqtgraph/graphicsItems/ViewBox/ViewBox.py 1 addition, 6 deletionspyqtgraph/graphicsItems/ViewBox/ViewBox.py
- pyqtgraph/graphicsItems/ViewBox/ViewBoxMenu.py 0 additions, 16 deletionspyqtgraph/graphicsItems/ViewBox/ViewBoxMenu.py
Loading
Please register or sign in to comment