class GroupItem;
#include "BoxItem.h"
class BoxItem;
-class SourceItem;
+class StimuliItem;
class AbstractBoxItem;
class ConnectionItem;
class InterfaceItem;
// attributes getters
inline GroupItem* getGroupItem() {return groupItem;}
inline QList<BoxItem*> getBoxItems() { return boxItems; }
- inline QList<SourceItem*> getSourceItems() { return sourceItems; }
+ inline QList<StimuliItem*> getSourceItems() { return stimuliItems; }
inline QList<ConnectionItem*> getConnectionItems() { return connectionItems; }
inline QList<GroupScene*> getChildrenScene() { return childrenScene; }
inline GroupScene* getParentScene() { return parentScene; }
// GroupItem related
void removeGroupItem();
- // SourceItem related
- SourceItem* createSourceItem(AbstractBlock* block); //! create a new SourceItem and place it around the group item
- void addSourceItem(SourceItem* item); //! add an already configured SourceItem in the scene.
- void removeSourceItem(SourceItem* item);
+ // StimuliItem related
+ StimuliItem* createStimuliItem(AbstractBlock* block); //! create a new SourceItem and place it around the group item
+ void addStimuliItem(StimuliItem* item); //! add an already configured SourceItem in the scene.
+ void removeStimuliItem(StimuliItem* item);
// child scenes related
inline void addChildScene(GroupScene* child) { childrenScene.append(child); }
GroupItem *groupItem; //! for convenience, the group item is directly accessible via this attribute
QList<ConnectionItem*> connectionItems; //! for convenience, connections are directly accessible via this attribute
QList<BoxItem*> boxItems; //! for convenience, box items are directly accessible via this attribute
- QList<SourceItem*> sourceItems; //! for convenience, box items are directly accessible via this attribute. Only usefull for top scene
+ QList<StimuliItem*> stimuliItems; //! for convenience, box items are directly accessible via this attribute. Only usefull for top scene
QList<GroupScene*> childrenScene;//! for convenience, children scenes are directly accessible via this attribute
bool topScene;
EditMode editMode;