linkablemapobj.h
changeset 219 a860efcaac4c
parent 175 728f51b71e71
child 226 5e684bfe5bb1
     1.1 --- a/linkablemapobj.h	Tue Jan 03 09:44:41 2006 +0000
     1.2 +++ b/linkablemapobj.h	Thu Feb 23 16:39:16 2006 +0000
     1.3 @@ -34,6 +34,13 @@
     1.4      virtual void setParObjTmp (LinkableMapObj*,QPoint,int);	// Only for moving Obj around
     1.5  	virtual void unsetParObjTmp();						// reuse original ParObj
     1.6  	virtual bool hasParObjTmp();
     1.7 +
     1.8 +	virtual void setUseRelPos (const bool&);
     1.9 +	virtual void setRelPos();				// set relPos to current parentPos
    1.10 +	virtual void setRelPos(const QPoint&);	
    1.11 +	virtual void setUseOrientation (const bool &);
    1.12 +
    1.13 +
    1.14  	virtual int getTopPad();
    1.15  	virtual int getLeftPad();
    1.16  	virtual int getRightPad();
    1.17 @@ -123,5 +130,8 @@
    1.18  	int topPad, botPad,
    1.19  		leftPad, rightPad;          // padding within bbox
    1.20  
    1.21 +	QPoint relPos;
    1.22 +	bool useRelPos;
    1.23 +	bool useOrientation;
    1.24  };
    1.25  #endif