1.1 --- a/linkablemapobj.h Mon Apr 27 12:42:06 2009 +0000
1.2 +++ b/linkablemapobj.h Tue May 26 11:24:51 2009 +0000
1.3 @@ -59,8 +59,6 @@
1.4
1.5 virtual void setTreeItem(TreeItem *);
1.6 virtual TreeItem* getTreeItem() const;
1.7 - virtual void setModel (VymModel *vm);
1.8 - virtual VymModel* getModel ();
1.9
1.10 void setChildObj (LinkableMapObj*);
1.11 virtual void setParObj (LinkableMapObj*);
1.12 @@ -110,7 +108,7 @@
1.13
1.14 virtual void calcBBoxSizeWithChildren()=0;// calc size of BBox including children recursivly
1.15
1.16 - virtual void select();
1.17 + virtual void select(); // FIXME-3 show/hide links...
1.18 virtual void unselect();
1.19
1.20 protected:
1.21 @@ -121,13 +119,11 @@
1.22 QPointF parPos;
1.23 bool link2ParPos; // While moving around, sometimes link to parent
1.24
1.25 - VymModel* model;
1.26 Orientation orientation;
1.27 qreal linkwidth; // width of a link
1.28 QRectF bboxTotal; // bounding box including children
1.29
1.30 - LinkableMapObj* childObj;
1.31 - LinkableMapObj* parObj; // FIXME-2 really still needed? Better get from TreeItem
1.32 + LinkableMapObj* parObj;
1.33 LinkableMapObj* parObjTmpBuf; // temporary buffer the original parent
1.34 qreal bottomlineY; // vertical offset of dockpos to pos
1.35
1.36 @@ -152,7 +148,6 @@
1.37 leftPad, rightPad; // padding within bbox
1.38
1.39 QPointF relPos; // position relative to childPos of parent
1.40 - //AnimPoint relPos; // position relative to childPos of parent
1.41 bool useRelPos;
1.42 bool useOrientation;
1.43