topGroup = false;
}
}
+
void GroupBlock::removeAllBlocks() {
foreach(AbstractBlock* block, blocks) {
if (block->isGroupBlock()) {
delete block;
}
+AbstractBlock *GroupBlock::getFunctionalBlockByName(QString name) {
+ foreach(AbstractBlock* block, blocks) {
+ if (block->isFunctionalBlock()) {
+ if (block->getName() == name) return block;
+ }
+ }
+ return NULL;
+}
+
void GroupBlock::parametersValidation(QList<AbstractBlock *> *checkedBlocks, QList<AbstractBlock *> *blocksToConfigure) {
/*