3 extern QAction* actionEditToggleFloatExport;
5 /////////////////////////////////////////////////////////////////
7 /////////////////////////////////////////////////////////////////
9 FloatObj::FloatObj ():OrnamentedObj()
11 // cout << "Const FloatObj ()\n";
17 FloatObj::FloatObj (QGraphicsScene* s):OrnamentedObj(s)
19 // cout << "Const FloatObj (s) called from MapCenterObj (s)\n";
25 FloatObj::FloatObj (QGraphicsScene* s, LinkableMapObj* p):OrnamentedObj (s)
27 // cout << "Const FloatObj (s,p)\n";
29 depth=p->getDepth()+1;
33 FloatObj::~FloatObj ()
35 // cout << "Destr FloatObj\n";
38 void FloatObj::init ()
43 setLinkStyle (LinkableMapObj::Parabel);
44 setHideLinkUnselected(true);
47 void FloatObj::copy (FloatObj* other)
49 LinkableMapObj::copy (other);
50 setVisibility (other->visible);
53 void FloatObj::setZValue(const int &i)
58 int FloatObj::zValue()
63 void FloatObj::setFloatExport(const bool& b)
68 bool FloatObj::getFloatExport()
73 void FloatObj::move (double x, double y)
78 void FloatObj::move (QPointF p)
83 void FloatObj::setDockPos()
89 void FloatObj::reposition()
95 QRectF FloatObj::getTotalBBox()
100 QRectF FloatObj::getBBoxSizeWithChilds()
105 void FloatObj::select()
107 LinkableMapObj::select();
108 LinkableMapObj::setLinkColor(parObj->getLinkColor());
111 void FloatObj::unselect()
113 LinkableMapObj::unselect();