3 extern QAction* actionEditToggleFloatExport;
5 /////////////////////////////////////////////////////////////////
7 /////////////////////////////////////////////////////////////////
9 FloatObj::FloatObj ():OrnamentedObj()
11 // cout << "Const FloatObj ()\n";
16 FloatObj::FloatObj (QGraphicsScene* s):OrnamentedObj(s)
18 // cout << "Const FloatObj (s) called from MapCenterObj (s)\n";
23 FloatObj::FloatObj (QGraphicsScene* s, LinkableMapObj* p):OrnamentedObj (s)
25 // cout << "Const FloatObj (s,p)\n";
30 FloatObj::~FloatObj ()
32 // cout << "Destr FloatObj\n";
35 void FloatObj::init ()
39 setLinkStyle (LinkableMapObj::Parabel);
40 setHideLinkUnselected(true);
43 void FloatObj::copy (FloatObj* other)
45 LinkableMapObj::copy (other);
46 setVisibility (other->visible);
49 void FloatObj::setZValue(const int &i)
54 int FloatObj::zValue()
59 void FloatObj::setFloatExport(const bool& b)
64 bool FloatObj::getFloatExport()
69 void FloatObj::move (double x, double y)
74 void FloatObj::move (QPointF p)
79 void FloatObj::setDockPos()
85 void FloatObj::reposition()
91 QRectF FloatObj::getTotalBBox()
96 QRectF FloatObj::getBBoxSizeWithChildren()
101 void FloatObj::select()
103 LinkableMapObj::select();
104 LinkableMapObj::setLinkColor(parObj->getLinkColor());
107 void FloatObj::unselect()
109 LinkableMapObj::unselect();