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
21 virtual void setFloatExport (const bool &);
22 virtual bool getFloatExport ();
24 virtual void move (double,double);
25 virtual void move (QPointF);
26 virtual void setDockPos();
27 virtual void reposition();
29 virtual QRectF getTotalBBox(); // return BBox including children
30 virtual QRectF getBBoxSizeWithChildren(); // return size of BBox including children
32 virtual void resetSaveCounter()=0;
34 virtual void select();
35 virtual void unselect();