1.7.10 includeImagesHorizontally implemented
authorinsilmaril
Wed, 01 Mar 2006 14:39:04 +0000
changeset 2265e684bfe5bb1
parent 225 d5c70aaca22d
child 227 38ad83f1d4ce
1.7.10 includeImagesHorizontally implemented
linkablemapobj.h
     1.1 --- a/linkablemapobj.h	Wed Mar 01 14:39:04 2006 +0000
     1.2 +++ b/linkablemapobj.h	Wed Mar 01 14:39:04 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  };