| 276 | } |
| 277 | |
| 278 | void |
| 279 | CloudEditorWidget::cut () |
| 280 | { |
| 281 | if (!cloud_ptr_) |
| 282 | return; |
| 283 | if (!selection_ptr_ || selection_ptr_->empty()) |
| 284 | return; |
| 285 | std::shared_ptr<CutCommand> c(new CutCommand(copy_buffer_ptr_, |
| 286 | selection_ptr_, cloud_ptr_)); |
| 287 | command_queue_ptr_->execute(c); |
| 288 | update(); |
| 289 | } |
| 290 | |
| 291 | void |
| 292 | CloudEditorWidget::transform () |