| 253 | } |
| 254 | |
| 255 | void |
| 256 | NodeGraph::onNodesCleared() |
| 257 | { |
| 258 | { |
| 259 | QMutexLocker l(&_imp->_nodesMutex); |
| 260 | _imp->_nodes.clear(); |
| 261 | _imp->_nodesTrash.clear(); |
| 262 | } |
| 263 | |
| 264 | _imp->_selection.clear(); |
| 265 | _imp->_magnifiedNode.reset(); |
| 266 | _imp->_undoStack->clear(); |
| 267 | } |
| 268 | |
| 269 | void |
| 270 | NodeGraph::resizeEvent(QResizeEvent* e) |
no test coverage detected