enum ChangeType { Resize = 0, InterfaceMove };
AbstractBoxItem(AbstractBlock *_refBlock, Dispatcher *_dispatcher, Parameters *_params, QGraphicsItem* parent = Q_NULLPTR);
+ AbstractBoxItem(Dispatcher *_dispatcher, Parameters *_params, QGraphicsItem* parent = Q_NULLPTR);
virtual ~AbstractBoxItem();
inline QPointF getOriginPoint() { return originPoint; }
// setters
- inline void setId(int id){ this->id = id; }
+ 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 setDimension(int x, int y);