Add possibility to add/remove Locallab tools

Change:
- Use tools list widget to add a Locallab tool to currently selected
spot. Remove Locallab tool from currently selected spot using cross on
tool title bar

Note:
- Spot parameters list in .pp3 file isn't optimized according to
added/removed Locallab tools
This commit is contained in:
Pandagrapher
2019-09-09 21:52:06 +02:00
parent 2080f65197
commit 968e267903
13 changed files with 765 additions and 182 deletions

View File

@@ -34,7 +34,8 @@ public:
LocallabToolListener() {};
virtual ~LocallabToolListener() {};
virtual void resetOtherMaskView(LocallabTool* current) {};
virtual void resetOtherMaskView(LocallabTool* current) = 0;
virtual void toolRemoved(LocallabTool* current) = 0;
};
@@ -122,7 +123,8 @@ public:
}
// Management functions to add/remove Locallab tool
void addLocallabTool(bool cond);
void addLocallabTool(bool raiseEvent);
void removeLocallabTool(bool raiseEvent);
bool isLocallabToolAdded();
// Mask background management function