| 716 | } |
| 717 | |
| 718 | void MainWindow::clearScene() |
| 719 | { |
| 720 | // WARNING: the it doesn't need to increment actually, this is no bug! |
| 721 | for(auto it = _scene->edges()->begin(); it != _scene->edges()->end(); it) |
| 722 | { |
| 723 | removeEdge(*it); |
| 724 | } |
| 725 | for(auto it = _scene->steps()->begin(); it != _scene->steps()->end(); it) |
| 726 | { |
| 727 | removeStep(*it); |
| 728 | } |
| 729 | } |
| 730 | |
| 731 | bool MainWindow::readProcessFile() |
| 732 | { |