| 742 | } |
| 743 | |
| 744 | void DatapickerImageView::addCurve() { |
| 745 | m_datapicker->beginMacro(i18n("%1: add new curve.", m_datapicker->name())); |
| 746 | auto* curve = new DatapickerCurve(i18n("Curve")); |
| 747 | curve->addDatasheet(m_image->axisPoints().type); |
| 748 | m_datapicker->addChild(curve); |
| 749 | m_datapicker->endMacro(); |
| 750 | |
| 751 | setCurvePointsAction->setChecked(true); |
| 752 | mouseModeChanged(setCurvePointsAction); |
| 753 | } |
| 754 | |
| 755 | void DatapickerImageView::changeRotationAngle() { |
| 756 | this->rotate(m_rotationAngle); |
no test coverage detected