| 630 | } |
| 631 | |
| 632 | void Worksheet::setPlotsInteractive(bool interactive) { |
| 633 | Q_D(Worksheet); |
| 634 | if (d->plotsInteractive == interactive) |
| 635 | return; |
| 636 | |
| 637 | d->plotsInteractive = interactive; |
| 638 | |
| 639 | for (auto* plot : children<CartesianPlot>()) |
| 640 | plot->setInteractive(interactive); |
| 641 | |
| 642 | setProjectChanged(true); |
| 643 | } |
| 644 | |
| 645 | void Worksheet::registerShortcuts() { |
| 646 | m_view->registerShortcuts(); |
no test coverage detected