4 /////////////////////////////////////////////////////////////////
6 /////////////////////////////////////////////////////////////////
8 FloatObj::FloatObj (QGraphicsScene* s, TreeItem *ti):OrnamentedObj(s,ti)
10 //cout << "Const FloatObj s="<<s<<" ti="<<ti<<" treeItem="<<treeItem<<endl;
15 FloatObj::~FloatObj ()
17 // cout << "Destr FloatObj\n";
20 void FloatObj::init ()
23 setLinkStyle (LinkableMapObj::Parabel);
24 ((MapItem*)treeItem)->setHideLinkUnselected(true);
27 void FloatObj::copy (FloatObj* other)
29 LinkableMapObj::copy (other);
30 setVisibility (other->visible);
33 void FloatObj::setZValue(const int &i)
38 int FloatObj::zValue()
43 void FloatObj::move (double x, double y)
48 void FloatObj::move (QPointF p)
53 void FloatObj::setDockPos()
59 void FloatObj::reposition()
65 QRectF FloatObj::getBBoxSizeWithChildren()