4 #include "ornamentedobj.h"
6 /*! \brief Base class for objects floating in the map, which means they can be positioned freely. */
9 /////////////////////////////////////////////////////////////////////////////
10 class FloatObj:public OrnamentedObj {
13 FloatObj (QGraphicsScene*);
14 FloatObj (QGraphicsScene*, LinkableMapObj* parent);
17 virtual void copy (FloatObj*);
18 virtual bool load (const QString&)=0;
19 virtual void setZValue(const int&); // set zPlane
22 virtual void move (double,double);
23 virtual void move (QPointF);
24 virtual void setDockPos();
25 virtual void reposition();
27 virtual QRectF getTotalBBox(); // return BBox including children
28 virtual QRectF getBBoxSizeWithChildren(); // return size of BBox including children