|
QGIS API Documentation 4.3.0-Master (16eddb2670e)
|
An abstract class for items that can be placed on a QgsPlotCanvas. More...
#include <qgsplotcanvasitem.h>

Protected Member Functions | |
| QgsPlotCanvasItem (QgsPlotCanvas *canvas) | |
| Constructor for QgsPlotCanvasItem for the specified canvas. | |
| ~QgsPlotCanvasItem () override | |
| virtual void | paint (QPainter *painter)=0 |
| Paints the item. | |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override |
Protected Attributes | |
| QgsPlotCanvas * | mCanvas = nullptr |
| Associated canvas. | |
An abstract class for items that can be placed on a QgsPlotCanvas.
Definition at line 39 of file qgsplotcanvasitem.h.
|
protected |
Constructor for QgsPlotCanvasItem for the specified canvas.
Definition at line 22 of file qgsplotcanvasitem.cpp.
|
overrideprotecteddefault |
|
protectedpure virtual |
Paints the item.
Must be implemented by derived classes.
|
overrideprotected |
Definition at line 31 of file qgsplotcanvasitem.cpp.
|
protected |
Associated canvas.
Definition at line 67 of file qgsplotcanvasitem.h.