1 #ifndef FLOATIMAGEOBJ_H
2 #define FLOATIMAGEOBJ_H
8 /*! \brief A pixmap which can be positioned freely as FlagObj on the map. */
11 /////////////////////////////////////////////////////////////////////////////
12 class FloatImageObj:public FloatObj {
15 FloatImageObj (QGraphicsScene*);
16 FloatImageObj (QGraphicsScene*, OrnamentedObj* parent);
19 virtual void copy (FloatImageObj*);
20 virtual void setZValue (const int&);
23 virtual void load (const QPixmap &);
24 virtual bool load (const QString &);
25 virtual void save (const QString &, const QString&);
26 virtual void setOriginalFilename(const QString &);
27 virtual QString getOriginalFilename();
28 virtual void setVisibility(bool); // set vis. for w
29 virtual void move (double x,double y);
30 virtual void move (QPointF);
31 virtual void positionBBox();
32 virtual void calcBBoxSize();
33 virtual QRectF getTotalBBox(); // return BBox including childs
34 virtual QRectF getBBoxSizeWithChilds(); // return size of BBox including childs
35 virtual void calcBBoxSizeWithChilds(); // calc size of BBox including childs recursivly
36 virtual QString saveToDir(const QString &,const QString&);
37 virtual void resetSaveCounter();
43 static uint saveCounter; // numerate the files during saveToDir
46 QString originalFilename;