ddt 1.2.1
|
#include <ddtImageGraphicsItem.hpp>
Public Types | |
enum | { ITEM_TYPE = 66036 } |
Public Member Functions | |
QRectF | boundingRect () const =0 |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)=0 |
virtual QImage * | GetImage ()=0 |
virtual int | type () const =0 |
DdtImageGraphicsItem () | |
virtual | ~DdtImageGraphicsItem () |
Class derived from QGraphicsItems used to display DDT Images
anonymous enum |
DdtImageGraphicsItem::DdtImageGraphicsItem | ( | ) |
Constructor
|
virtualdefault |
Destructor
|
pure virtual |
Function returning the bounding box of the graphics item
Implemented in DdtCPLImageGraphicsItem, and DdtCPLInversGraphicsItem.
|
pure virtual |
Method to retrieve the current rendered image as QImage
Implemented in DdtCPLImageGraphicsItem, and DdtCPLInversGraphicsItem.
|
pure virtual |
Method used to paint the graphics item
painter | Pointer to the painter painting the graphics item |
option | Pointer to the style options |
widget | Pointer to the parent widget |
Implemented in DdtCPLImageGraphicsItem, and DdtCPLInversGraphicsItem.
|
pure virtual |
Check type of graphics item
Implemented in DdtCPLImageGraphicsItem, and DdtCPLInversGraphicsItem.