1.1 --- a/linkablemapobj.cpp Fri Dec 08 20:18:56 2006 +0000
1.2 +++ b/linkablemapobj.cpp Thu Dec 14 17:01:44 2006 +0000
1.3 @@ -72,7 +72,7 @@
1.4 linkpos=LinkBottom;
1.5 arcsegs=13;
1.6
1.7 -// FIXME instead of linkcolor pen.color() could be used
1.8 +// FIXME instead of linkcolor pen.color() could be used all around
1.9 pen.setWidth (1);
1.10 pen.setColor (linkcolor);
1.11 pen.setCapStyle ( Qt::RoundCap );
1.12 @@ -639,36 +639,8 @@
1.13 (int)( + 150*sin (a)));
1.14 }
1.15
1.16 -/*
1.17 -void LinkableMapObj::alignRelativeTo (QPointF ref)
1.18 -{
1.19 - // Overloaded, only called for BO, FIO, ...
1.20 - // FIXME not needed?
1.21 -}
1.22 -*/
1.23 -
1.24 void LinkableMapObj::reposition()
1.25 {
1.26 - cout << "LMO::reposition\n";
1.27 - // FIXME LMO::reposition not needed? Is overloaded in BranchObj...
1.28 - /*
1.29 - if (depth==0)
1.30 - {
1.31 - // only calculate the sizes once. If the deepest LMO changes its height,
1.32 - // all upper LMOs have to change, too.
1.33 - calcBBoxSizeWithChilds();
1.34 -
1.35 - alignRelativeTo ( QPointF (absPos.x(),
1.36 - absPos.y()-(bboxTotal.height()-bbox.height())/2) );
1.37 - } else
1.38 - {
1.39 - // This is only important for moving branches:
1.40 - // For editing a branch it isn't called...
1.41 - cout << " reposition to abs "<<absPos<<endl;
1.42 - alignRelativeTo ( QPointF (absPos.x(),
1.43 - absPos.y()-(bboxTotal.height()-bbox.height())/2) );
1.44 - }
1.45 - */
1.46 }
1.47
1.48 void LinkableMapObj::requestReposition()
1.49 @@ -718,7 +690,6 @@
1.50 setSelBox();
1.51 selected=true;
1.52 selbox->show();
1.53 -// FIXME not needed?
1.54 setVisibility (visible);
1.55 }
1.56