X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/e5af659f87bcb199d6a5f10f09b311138351d0f3..refs/heads/master:/InterfaceItem.h?ds=inline diff --git a/InterfaceItem.h b/InterfaceItem.h index ff7b761..ab91adc 100644 --- a/InterfaceItem.h +++ b/InterfaceItem.h @@ -23,7 +23,7 @@ public: int _orientation, ConnectedInterface* _refInter, AbstractBoxItem* _owner, - Parameters* _params); + Parameters* _params, bool forceVisible = false); InterfaceItem(); QRectF boundingRect() const; void paint(QPainter *painter); @@ -31,6 +31,7 @@ public: // getters inline int getId() { return id; } QString getName(); + QString getReferenceName(); inline double getPositionRatio() { return positionRatio; } inline double getPosition() { return position; } inline int getOrientation() { return orientation; } @@ -38,8 +39,9 @@ public: inline int getNameWidth() { return nameWidth; } inline int getNameHeight() { return nameHeight; } QString getStrOrientation(); - static int getIntOrientation(QString str); - QPointF getEndPointInGroup(); + static int getIntOrientation(QString str); + QPointF getEndPosition(); + QPointF getStartPosition(); // setters void setOriginPoint();