X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/abbc64cf04a35ab3549d5c516f44c7c5921baa63..015e6979cd7d336f6bbebfbdb7916af3ba23c096:/BoxItem.h diff --git a/BoxItem.h b/BoxItem.h index 74eb36a..c8a942e 100644 --- a/BoxItem.h +++ b/BoxItem.h @@ -5,6 +5,8 @@ #include #include +#include +#include #include "AbstractBoxItem.h" @@ -29,6 +31,7 @@ class BoxItem : public AbstractBoxItem { public: BoxItem(AbstractBlock *_refBlock, Dispatcher *_dispatcher, Parameters *_params, GroupItem* parent) throw(Exception); + BoxItem(Dispatcher *_dispatcher, Parameters *_params, GroupItem* parent) throw(Exception); ~BoxItem(); void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); @@ -43,7 +46,9 @@ public: bool isBoxItem(); // others + void nameChanged(); void moveTo(QPointF dest); + void loadFunctional(QDomElement funcElement) throw(Exception); void save(QXmlStreamWriter& writer); protected: @@ -72,9 +77,11 @@ private: friend QDataStream &operator<<(QDataStream &out, BoxItem &b); friend QDataStream &operator>>(QDataStream &in, BoxItem &b); +/* signals: void itemMustBeDeleted(QGraphicsItem*); - +*/ + }; QDataStream & operator <<(QDataStream &out, BoxItem &b);