#include <QtCore>
#include <QtGui>
+#include <QtXml>
+#include <QtXmlPatterns>
#include "AbstractBoxItem.h"
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);
bool isBoxItem();
// others
+ void nameChanged();
void moveTo(QPointF dest);
+ void loadFunctional(QDomElement funcElement) throw(Exception);
void save(QXmlStreamWriter& writer);
protected:
friend QDataStream &operator<<(QDataStream &out, BoxItem &b);
friend QDataStream &operator>>(QDataStream &in, BoxItem &b);
+/*
signals:
void itemMustBeDeleted(QGraphicsItem*);
-
+*/
+
};
QDataStream & operator <<(QDataStream &out, BoxItem &b);