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