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);
/* 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);
};