Used by Factory to server as a mediator between Builder and Grapher. More...
#include <factory.h>
Public Member Functions | |
CurveContainer () | |
CurveContainer (QString name, QAbstractItemModel *base, int logicalIndex) | |
PlotCurve * | plot () const |
Used by Factory to server as a mediator between Builder and Grapher.
CurveContainer::CurveContainer | ( | ) |
: m_curve(0) { };
CurveContainer::CurveContainer | ( | QString | name, | |
QAbstractItemModel * | base, | |||
int | logicalIndex | |||
) |
{ m_curve = QSharedPointer<PlotCurve>(new PlotCurve(name)); m_curve->setData(CachedPlotCurveDataModel(base, 0, logicalIndex)); m_curve->setPaintAttribute(PlotCurve::PaintFiltered, true); };