mapeditor.h
changeset 686 d6cc3365c8b8
parent 679 d2f72e448522
child 692 c5e3cb54b9db
     1.1 --- a/mapeditor.h	Mon Mar 03 09:25:40 2008 +0000
     1.2 +++ b/mapeditor.h	Wed Apr 09 07:14:13 2008 +0000
     1.3 @@ -230,6 +230,13 @@
     1.4  private:
     1.5  	void setHeadingInt(const QString &);
     1.6  	void setVymLinkInt(const QString &);	// Set vymLink for selection
     1.7 +	/*! \brief Add new mapcenter
     1.8 +
     1.9 +	    Disclaimer: Still experimental, not fully supported.
    1.10 +	*/	
    1.11 +public:	
    1.12 +    BranchObj* addMapCenter();		
    1.13 +
    1.14  	/*! \brief Add new branch
    1.15  
    1.16  		Depending on num the new branch is created
    1.17 @@ -240,6 +247,7 @@
    1.18  		0..n	insert at a specific position in selections parent
    1.19  		(needed for free relinking)
    1.20  	*/	
    1.21 +private:	
    1.22      BranchObj* addNewBranchInt(int);		// pos allows to add above/below selection
    1.23  public:	
    1.24  	/*! \Add new branch
    1.25 @@ -258,6 +266,7 @@
    1.26  	void unselect();						// before changing current noteedit
    1.27  	void reselect();						// after  changing current noteedit
    1.28  	bool select(const QString &);			// Select by string
    1.29 +	bool select(LinkableMapObj *lmo);		// Select by pointer
    1.30  	QString getSelectString();
    1.31  private:	
    1.32  	void selectInt(LinkableMapObj*);	
    1.33 @@ -427,6 +436,9 @@
    1.34      QPointF movingObj_start;		// rel. pos of mouse to absPos 
    1.35      QPointF movingCont_start;		// inital pos of moving Content or
    1.36      QPointF movingVec;				// how far has Content moved
    1.37 +
    1.38 +	QPointF contextMenuPos;					// position where context event was triggered
    1.39 +
    1.40      QPrinter* printer;				// Printing
    1.41  
    1.42      bool mapDefault;				// Flag if map is untouched