GroupWidget* createChildScene(GroupWidget* parentWidget, BoxItem* upperItemOfGroupItem = NULL);
void showRaiseWindow(AbstractBoxItem *item);
void showRstClkInter(AbstractBoxItem *item);
+ void addNewEmptyGroup();
void addNewFullGroup();
inline GroupWidget* getCurrentGroup() { return currentGroup; }
bool isCurrentProject;
public slots:
-
+ QMap<int, QString> getAllGroupNames();
GroupScene* searchSceneById(int id);
+ GroupScene* searchSceneByName(QString name);
BoxItem* searchBlockItemById(int id);
GroupItem* searchGroupItemById(int id);
InterfaceItem* searchInterfaceItemById(int id);
void removeBlock(AbstractBoxItem* item);
void duplicateBlock(BoxItem* item);
void duplicateInterface(InterfaceItem* item);
- void addBlock(int idCategory, int idBlock);
+ void addBlock(int idCategory, int idBlock, int idScene);
ConnectionItem *addConnection(InterfaceItem *input, InterfaceItem *output);
void removeAllBlockConnections(AbstractBoxItem *block);
void removeConnection(ConnectionItem *conn);
QList<GroupWidget*> groupList;
GroupWidget* currentGroup;
GroupWidget *topGroup;
+
+ static int sceneCounter;
};
#endif // __DISPATCHER_H__