Пример #1
0
void PointSets::addCurve(QString name)
{
  PointSet pointSet;

  pointSet.setStyle(DefaultSettings::instance().getCurveStyle(curveList.count()));
  pointSet.setName(name);

  curveList.append(pointSet);
}
Пример #2
0
void PointSets::addMeasure(QString name)
{
  PointSet pointSet;

  pointSet.setStyle(DefaultSettings::instance().getMeasureStyle(measureList.count()));
  pointSet.setName(name);

  measureList.append(pointSet);
}
Пример #3
0
void PointSets::setMeasureStyle(QString name, PointSetStyle pointSetStyle)
{
  PointSet* pointSet = findMeasure(name);
  ASSERT_ENGAUGE(pointSet != 0);
  pointSet->setStyle(pointSetStyle);
}