| 634 | } |
| 635 | |
| 636 | void MainWindow::addStep(IPProcessStep *step) |
| 637 | { |
| 638 | _allowChangeActiveProcessStep = false; |
| 639 | |
| 640 | // add to scene |
| 641 | _scene->addStep(step); |
| 642 | |
| 643 | // add to image viewer |
| 644 | _imageViewer->addProcessStep(step); |
| 645 | |
| 646 | _allowChangeActiveProcessStep = true; |
| 647 | |
| 648 | // update graphics |
| 649 | setParamsHaveChanged(); |
| 650 | // execute(); |
| 651 | |
| 652 | } |
| 653 | |
| 654 | void MainWindow::removeStep(IPProcessStep *step) |
| 655 | { |
nothing calls this directly
no test coverage detected