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

Method addCurve

src/frontend/datapicker/DatapickerImageView.cpp:744–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742}
743
744void 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
755void DatapickerImageView::changeRotationAngle() {
756 this->rotate(m_rotationAngle);

Callers 1

curveSelectionChangedMethod · 0.45

Calls 5

beginMacroMethod · 0.80
addDatasheetMethod · 0.80
endMacroMethod · 0.80
nameMethod · 0.45
addChildMethod · 0.45

Tested by

no test coverage detected