hideLinkInExport for Branches (Floats still missing). Floats are now OrnamentedObj.
4 #include "linkablemapobj.h"
6 enum XLinkState {undefinedXLink,initXLink,activeXLink,deleteXLink};
8 /////////////////////////////////////////////////////////////////////////////
9 class XLinkObj:public MapObj {
15 virtual void copy (XLinkObj*);
16 void setBegin (BranchObj*);
17 void setEnd (BranchObj*);
19 void setColor(QColor);
23 bool activate (); // Sets pointers in branchObjects
24 void deactivate(); // removes those pointers
25 bool isUsed(); // true, if at least on branch uses it
27 BranchObj* otherBranch (BranchObj*);
30 void setVisibility (bool);
31 void setVisibility ();
40 BranchObj *beginBranch;
42 BranchObj *visBranch; // the "visible" part of a partially scrolled link
43 XLinkState xLinkState; // init during drawing or active