void DocumentController::copyFromDiagram(const qmt::MDiagram *diagram) { *m_diagramClipboard = m_diagramController->copyElements(m_diagramsManager->diagramSceneModel(diagram)->selectedElements(), diagram); emit diagramClipboardChanged(isDiagramClipboardEmpty()); }
void DocumentController::copyFromDiagram(const qmt::MDiagram *diagram) { *_diagram_clipboard = _diagram_controller->copyElements(_diagrams_manager->getDiagramSceneModel(diagram)->getSelectedElements(), diagram); emit diagramClipboardChanged(isDiagramClipboardEmpty()); }