linkablemapobj.h
changeset 357 64819498efbf
parent 218 160459d924a1
child 366 e95081c21da2
     1.1 --- a/linkablemapobj.h	Thu Feb 23 08:37:39 2006 +0000
     1.2 +++ b/linkablemapobj.h	Thu Jul 13 08:40:58 2006 +0000
     1.3 @@ -65,6 +65,7 @@
     1.4      LinkableMapObj* getChildObj();			// returns pointer to fromObj
     1.5      LinkableMapObj* getParObj();			// returns pointer to toObj
     1.6      virtual LinkableMapObj* findObjBySelect(QString s);	// find obj by selectstring
     1.7 +	virtual void setDockPos();				// sets childPos and parPos
     1.8      QPoint getChildPos();					// returns pos where childs dock
     1.9      QPoint getParPos();						// returns pos where parents dock
    1.10      QPoint getRelPos();						// get position relative to parent (or (0,0))
    1.11 @@ -111,7 +112,7 @@
    1.12  
    1.13  	int thickness_start;			// for StylePoly*	
    1.14      LinkStyle style;				// Current style
    1.15 -	LinkPos linkpos;
    1.16 +	LinkPos linkpos;				// Link at bottom of object or middle of height
    1.17      QColor linkcolor;               // Link color
    1.18      QCanvasLine* l;                 // line style
    1.19  	QCanvasPolygon* p;				// poly styles
    1.20 @@ -130,7 +131,7 @@
    1.21  	int topPad, botPad,
    1.22  		leftPad, rightPad;          // padding within bbox
    1.23  
    1.24 -	QPoint relPos;
    1.25 +	QPoint relPos;					// position relative to childPos of parent
    1.26  	bool useRelPos;
    1.27  	bool useOrientation;
    1.28  };