Go to the documentation of this file.00001 #ifndef IMAGE_H
00002 #define IMAGE_H
00003
00004 #include <QGraphicsItem>
00005 #include <QImage>
00006
00007
00008 class Image : public QGraphicsObject
00009
00010 {
00011 Q_OBJECT
00012
00013 public:
00014 Image();
00015 QRectF boundingRect() const;
00016 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
00017 void setImage(QImage& image);
00018
00019 private :
00020 QImage image;
00021
00022
00023 public slots:
00024 void saveImage(bool save);
00025
00026 };
00027
00028 #endif // IMAGE_H