1 #ifndef FLOATIMAGEOBJ_H
2 #define FLOATIMAGEOBJ_H
8 /*! \brief A pixmap which can be positioned freely on the map. */
10 /////////////////////////////////////////////////////////////////////////////
11 class FloatImageObj : public FloatObj {
13 FloatImageObj(QGraphicsItem *, TreeItem *ti = NULL);
15 virtual void copy(FloatImageObj *);
16 virtual void setZValue(const int &);
19 bool load(const QString &fname);
20 bool save(const QString &fname);
21 QString getExtension();
22 void setParObj(QGraphicsItem *);
23 void setVisibility(bool); // set vis. for w
24 void setScaleFactor(qreal f);
25 qreal getScaleFactor();
28 virtual void moveCenter(double x, double y);
29 virtual void move(double x, double y);
30 virtual void move(QPointF);
31 virtual void positionBBox();
32 virtual void calcBBoxSize();
34 getBBoxSizeWithChildren(); // return size of BBox including children
35 virtual void calcBBoxSizeWithChildren(); // calc size of BBox including
36 // children recursivly