Go to the documentation of this file.
16 #ifndef DDT_DATAVISUALISATION_DDTWIDGETS_DDT_IMAGE_GRAPHICSITEM_HPP
17 #define DDT_DATAVISUALISATION_DDTWIDGETS_DDT_IMAGE_GRAPHICSITEM_HPP
19 #include <QGraphicsItem>
52 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option,
64 enum {
Type = UserType + 500 };
70 virtual int type()
const = 0;
83 #endif // DDT_DATAVISUALISATION_DDTWIDGETS_DDT_IMAGE_GRAPHICSITEM_HPP
virtual int type() const =0
QImage image
Definition: ddtImageGraphicsItem.hpp:76
Definition: ddtImageGraphicsItem.hpp:25
virtual ~DdtImageGraphicsItem()
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)=0
@ Type
Definition: ddtImageGraphicsItem.hpp:64
DdtImageGraphicsItem()
Definition: ddtImageGraphicsItem.cpp:18
virtual QImage * GetImage()=0
QRectF boundingRect() const =0