linkablemapobj.h
changeset 471 9c26d66d4c53
parent 408 c2a05fa925a1
child 473 8b9cfc26638c
     1.1 --- a/linkablemapobj.h	Fri Dec 08 20:18:56 2006 +0000
     1.2 +++ b/linkablemapobj.h	Wed Apr 25 16:02:54 2007 +0000
     1.3 @@ -1,7 +1,6 @@
     1.4  #ifndef LINKABLEMAPOBJ_H
     1.5  #define LINKABLEMAPOBJ_H
     1.6  
     1.7 -#include "frameobj.h"
     1.8  #include "noteobj.h"
     1.9  #include "headingobj.h"
    1.10  #include "flagrowobj.h"
    1.11 @@ -57,9 +56,6 @@
    1.12  	virtual void setLinkColor();					// sets color according to colorhint, overloaded
    1.13  	virtual void setLinkColor(QColor);
    1.14  	QColor getLinkColor();
    1.15 -	virtual FrameType getFrameType ();
    1.16 -	virtual void setFrameType (const FrameType &);
    1.17 -	virtual void setFrameType (const QString &);
    1.18  	virtual void setVisibility (bool);
    1.19  	virtual void setOrientation();
    1.20      virtual void updateLink();				// update parPos and childPos
    1.21 @@ -88,7 +84,6 @@
    1.22  	//virtual QRectF getBBoxSizeWithChilds();// return size of BBox including childs  
    1.23  	virtual void calcBBoxSizeWithChilds()=0;// calc size of  BBox including childs recursivly
    1.24  
    1.25 -	virtual void setSelBox();
    1.26      virtual void select();
    1.27      virtual void unselect();
    1.28  	virtual	QString getSelectString()=0;
    1.29 @@ -101,7 +96,9 @@
    1.30      QPointF childPos;
    1.31      QPointF parPos;
    1.32  	bool link2ParPos;				// While moving around, sometimes link to parent
    1.33 -	MapEditor* mapEditor;			// for updateNoteFlag() and toggleScroll()
    1.34 +	MapEditor* mapEditor;			// for and toggleScroll(), get default styles
    1.35 +									// and mapEditor->updateActions()
    1.36 +									// and mapEditor->updateSelection()
    1.37      LinkOrient orientation;     
    1.38      qreal linkwidth;				// width of a link
    1.39      int depth;						// depth: undef=-1 mapCenter=0 branch=1..n
    1.40 @@ -129,8 +126,6 @@
    1.41  
    1.42  	bool selected;					// Used for marking the selection
    1.43  	bool hideLinkUnselected;		// to hide links if unselected
    1.44 -	QGraphicsRectItem* selbox;
    1.45 -	FrameObj *frame;				// frame around object
    1.46  	qreal topPad, botPad,
    1.47  		leftPad, rightPad;          // padding within bbox
    1.48