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

Method registerShortcuts

src/frontend/worksheet/WorksheetView.cpp:2392–2399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2390}
2391
2392void WorksheetView::registerShortcuts() {
2393 selectAllAction->setShortcut(Qt::CTRL | Qt::Key_A);
2394 deleteAction->setShortcut(Qt::Key_Delete);
2395 backspaceAction->setShortcut(Qt::Key_Backspace);
2396 zoomInViewAction->setShortcut(Qt::CTRL | Qt::Key_Plus);
2397 zoomOutViewAction->setShortcut(Qt::CTRL | Qt::Key_Minus);
2398 zoomOriginAction->setShortcut(Qt::CTRL | Qt::Key_1);
2399}
2400
2401void WorksheetView::unregisterShortcuts() {
2402 selectAllAction->setShortcut(QKeySequence());

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected