X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/561d4f45e60504cc9e041370dd908b002fe776a5..1df76ccc8673a2760af17b88ebfba4bfd7f5c11d:/AbstractBoxItem.h diff --git a/AbstractBoxItem.h b/AbstractBoxItem.h index 98cec58..c061487 100644 --- a/AbstractBoxItem.h +++ b/AbstractBoxItem.h @@ -44,7 +44,8 @@ public: 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; } @@ -53,6 +54,7 @@ public: virtual bool isGroupItem(); inline bool isSelected() { return selected; } inline bool isRstClkVisible(){ return rstClkVisible;} + inline bool isWishboneVisible(){ return wishboneVisible;} bool isInterfaces(int orientation) const; // others @@ -116,7 +118,8 @@ protected: 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