linkablemapobj.h
changeset 798 d251c7b2de54
parent 791 f1006de05c54
child 823 0bba81dde1bc
     1.1 --- a/linkablemapobj.h	Wed Sep 23 12:14:08 2009 +0000
     1.2 +++ b/linkablemapobj.h	Thu Oct 01 11:28:50 2009 +0000
     1.3 @@ -40,6 +40,7 @@
     1.4  		Bottom  //!< Link is drawn at bottom of object
     1.5  	};
     1.6  
     1.7 +
     1.8  	/*! Hint if link should use the default link color or the color of heading */
     1.9  	enum ColorHint {
    1.10  		DefaultColor,	//!< Link uses the default color
    1.11 @@ -117,7 +118,7 @@
    1.12  
    1.13      LinkableMapObj* parObj;		
    1.14      LinkableMapObj* parObjTmpBuf;	// temporary buffer the original parent
    1.15 -    qreal bottomlineY;              // vertical offset of dockpos to pos
    1.16 +	bool tmpParent;
    1.17  
    1.18  	int thickness_start;			// for StylePoly*	
    1.19      Style style;					// Current style
    1.20 @@ -131,7 +132,11 @@
    1.21  	QPolygonF pa0;					// For drawing of PolyParabel and PolyLine
    1.22  	QPolygonF pa1;					// For drawing of PolyParabel 
    1.23  	QPolygonF pa2;					// For drawing of PolyParabel	
    1.24 +
    1.25      QGraphicsLineItem* bottomline;  // on bottom of BBox
    1.26 +	bool useBottomline;				//! Hint if bottomline should be used
    1.27 +    qreal bottomlineY;              // vertical offset of dockpos to pos
    1.28 +
    1.29  	bool repositionRequest;			// 
    1.30  
    1.31  	qreal topPad, botPad,