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

Method cartesianPlotCursorModeChanged

src/frontend/worksheet/WorksheetView.cpp:2426–2433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2424}
2425
2426void WorksheetView::cartesianPlotCursorModeChanged(QAction* action) {
2427 if (action == cartesianPlotApplyToSelectionCursor)
2428 m_worksheet->setCartesianPlotCursorMode(Worksheet::CartesianPlotActionMode::ApplyActionToSelection);
2429 else
2430 m_worksheet->setCartesianPlotCursorMode(Worksheet::CartesianPlotActionMode::ApplyActionToAll);
2431
2432 handleCartesianPlotActions();
2433}
2434
2435void WorksheetView::plotsInteractiveActionChanged(bool checked) {
2436 m_worksheet->setPlotsInteractive(checked);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected