| 270 | } |
| 271 | |
| 272 | void |
| 273 | pcl::cloud_composer::ComposerMainWindow::setCurrentModel(ProjectModel* model) |
| 274 | { |
| 275 | emit activeProjectChanged(model, current_model_); |
| 276 | current_model_ = model; |
| 277 | // qDebug () << "Setting cloud browser model"; |
| 278 | cloud_browser_->setModel(current_model_); |
| 279 | // qDebug () << "Setting cloud browser selection model"; |
| 280 | cloud_browser_->setSelectionModel(current_model_->getSelectionModel()); |
| 281 | // qDebug () << "Item inspector setting model"; |
| 282 | item_inspector_->setModel(current_model_); |
| 283 | // qDebug () << "Setting active stack in undo group"; |
| 284 | undo_group_->setActiveStack(current_model_->getUndoStack()); |
| 285 | |
| 286 | multiplexer_->setCurrentObject(current_model_); |
| 287 | } |
| 288 | |
| 289 | void |
| 290 | pcl::cloud_composer::ComposerMainWindow::enqueueToolAction(AbstractTool* tool) |
nothing calls this directly
no test coverage detected