void PointSets::addCurve(QString name) { PointSet pointSet; pointSet.setStyle(DefaultSettings::instance().getCurveStyle(curveList.count())); pointSet.setName(name); curveList.append(pointSet); }
void PointSets::addMeasure(QString name) { PointSet pointSet; pointSet.setStyle(DefaultSettings::instance().getMeasureStyle(measureList.count())); pointSet.setName(name); measureList.append(pointSet); }
void PointSets::setMeasureStyle(QString name, PointSetStyle pointSetStyle) { PointSet* pointSet = findMeasure(name); ASSERT_ENGAUGE(pointSet != 0); pointSet->setStyle(pointSetStyle); }