A
lgorithmique
N
umérique
D
istribuée
Private GIT Repository
projects
/
blast.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finished compat. computation
[blast.git]
/
GroupItem.h
diff --git
a/GroupItem.h
b/GroupItem.h
index 3882a6021a726dff6fdeab4dbc091db60ee6f33a..8ab486ad64731b6fcba927e2df692258946171c4 100644
(file)
--- a/
GroupItem.h
+++ b/
GroupItem.h
@@
-5,6
+5,9
@@
#include <QtCore>
#include <QtGui>
#include <QtCore>
#include <QtGui>
+#include <QtXml>
+#include <QtXmlPatterns>
+
#include "AbstractBoxItem.h"
class AbstractBoxItem;
#include "AbstractBoxItem.h"
class AbstractBoxItem;
@@
-31,19
+34,23
@@
public:
*/
GroupItem(BoxItem* _parentItem, AbstractBlock *_refBlock, Dispatcher *_dispatcher, Parameters *_params) throw(Exception);
*/
GroupItem(BoxItem* _parentItem, AbstractBlock *_refBlock, Dispatcher *_dispatcher, Parameters *_params) throw(Exception);
+ GroupItem(Dispatcher *_dispatcher, Parameters *_params) throw(Exception); //! uses only when loading a project file
~GroupItem();
// getters
BoxItem* getParentItem();
// setters
~GroupItem();
// getters
BoxItem* getParentItem();
// setters
+ void setParentItem(BoxItem* _parentItem);
// testers
bool isGroupItem();
// others
// testers
bool isGroupItem();
// others
+ void nameChanged();
void updateShape();
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
void updateShape();
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
+ void load(QDomElement groupElement) throw(Exception);
void save(QXmlStreamWriter& writer);
protected:
void save(QXmlStreamWriter& writer);
protected: