X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/0d3590739ff5a4ca9e87c052ac142f5d1d3a68ab..d111eaf49741a0a79d372445f97c314a637e331e:/AbstractBoxItem.h diff --git a/AbstractBoxItem.h b/AbstractBoxItem.h index 132adc9..fe08535 100644 --- a/AbstractBoxItem.h +++ b/AbstractBoxItem.h @@ -59,7 +59,7 @@ public: bool isInterfaces(int orientation) const; // others - + QRectF boundingRectInScene(); virtual void nameChanged() = 0; // called when an interface or box name have changed void addInterface(InterfaceItem* i, bool resetPosition = false); void removeInterface(InterfaceItem* i); @@ -132,7 +132,8 @@ protected: /* pure virtual method inherited from QGraphicsItem : virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0) =0; virtual QRectF boundingRect() const =0; - */ + */ + void initInterfaces(); int nbInterfacesByOrientation(int orientation); };