Removed some FIXMEs. Added translations
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 (StyleParabel);
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)
76 //selbox->setPos(x,y);
77 selbox->rect().moveTo (QPointF (x,y));
80 void FloatObj::move (QPointF p)
83 selbox->rect().moveTo (p);
86 void FloatObj::setDockPos()
92 void FloatObj::reposition()
98 QRectF FloatObj::getTotalBBox()
103 QRectF FloatObj::getBBoxSizeWithChilds()
108 void FloatObj::select()
110 LinkableMapObj::select();
111 LinkableMapObj::setLinkColor(parObj->getLinkColor());
114 void FloatObj::unselect()
116 LinkableMapObj::unselect();