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 {
12 FloatObj (QGraphicsScene*,TreeItem *ti=NULL);
15 virtual void copy (FloatObj*);
16 virtual bool load (const QString&)=0;
17 virtual void setZValue(const int&); // set zPlane
20 virtual void move (double,double);
21 virtual void move (QPointF);
22 virtual void setDockPos();
23 virtual void reposition();
25 virtual QRectF getBBoxSizeWithChildren(); // return size of BBox including children