MCPcopy Create free account
hub / github.com/KDE/labplot / currentSelection

Method currentSelection

src/backend/worksheet/Worksheet.cpp:649–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647}
648
649WorksheetElement* Worksheet::currentSelection() {
650 if (!m_view) {
651 view();
652 return nullptr;
653 }
654
655 return m_view->selectedElement();
656}
657
658void Worksheet::unregisterShortcuts() {
659 m_view->unregisterShortcuts();

Callers 6

mousePressEventMethod · 0.80
mouseMoveEventMethod · 0.80
wheelEventMethod · 0.80
hoverMoveEventMethod · 0.80

Calls 1

selectedElementMethod · 0.80

Tested by

no test coverage detected