void setRefBlock(AbstractBlock* _refBlock);
inline void setId(int _id){ id = _id; }
inline void setSelected(bool _selected) { selected = _selected; }
- inline void setRstClkVisible(bool b){ rstClkVisible = b;}
+ void setRstClkVisible(bool b);
+ void setWishboneVisible(bool b);
void setDimension(int x, int y);
inline void setCurrentInterface(InterfaceItem* iface) { currentInterface = iface; }
virtual bool isGroupItem();
inline bool isSelected() { return selected; }
inline bool isRstClkVisible(){ return rstClkVisible;}
+ inline bool isWishboneVisible(){ return wishboneVisible;}
bool isInterfaces(int orientation) const;
// others
QPointF originPoint; // the left-top point that is the origin of the bounding box
bool selected;
- bool rstClkVisible;
+ bool rstClkVisible; //! true if clock/reset interfaces are visible
+ bool wishboneVisible; //! true if wishbone interfaces are visible
QPointF currentPosition; // the start point for resize