|
ddt
0.1
|
#include <ddtImageGraphicsItem.hpp>
Public Types | |
| enum | { Type = UserType + 500 } |
Public Member Functions | |
| DdtImageGraphicsItem () | |
| DdtImageGraphicsItem (QImage image) | |
| virtual | ~DdtImageGraphicsItem () |
| QRectF | boundingRect () const =0 |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)=0 |
| virtual QImage * | GetImage ()=0 |
| virtual int | type () const =0 |
Protected Attributes | |
| QImage | image |
Class derived from QGraphicsItems used to display DDT Images
| DdtImageGraphicsItem::DdtImageGraphicsItem | ( | ) |
Constructor
| DdtImageGraphicsItem::DdtImageGraphicsItem | ( | QImage | image | ) |
Constructor
| image | QImage used to create the graphics item |
|
virtualdefault |
Destructor
|
pure virtual |
Function returning the bounding box of the graphics item
Implemented in DdtJPEGImageGraphicsItem.
|
pure virtual |
Method to retrieve the current rendered image as QImage
Implemented in DdtJPEGImageGraphicsItem.
|
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 DdtJPEGImageGraphicsItem.
|
pure virtual |
|
protected |
Image represented as QImage