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 ()
40 setLinkStyle (LinkableMapObj::Parabel);
41 setHideLinkUnselected(true);
44 void FloatObj::copy (FloatObj* other)
46 LinkableMapObj::copy (other);
47 setVisibility (other->visible);
50 void FloatObj::setZValue(const int &i)
55 int FloatObj::zValue()
60 void FloatObj::setFloatExport(const bool& b)
65 bool FloatObj::getFloatExport()
70 void FloatObj::move (double x, double y)
75 void FloatObj::move (QPointF p)
80 void FloatObj::setDockPos()
86 void FloatObj::reposition()
92 QRectF FloatObj::getTotalBBox()
97 QRectF FloatObj::getBBoxSizeWithChildren()
102 void FloatObj::select()
104 LinkableMapObj::select();
105 LinkableMapObj::setLinkColor(parObj->getLinkColor());
108 void FloatObj::unselect()
110 LinkableMapObj::unselect();