19 #ifndef RQT_MULTIPLOT_PLOT_CONFIG_H 20 #define RQT_MULTIPLOT_PLOT_CONFIG_H 35 PlotConfig(QObject* parent = 0,
const QString& title =
"Untitled Plot",
36 double plotRate = 30.0);
54 QVector<CurveConfig*>
findCurves(
const QString& title)
const;
56 void save(QSettings& settings)
const;
57 void load(QSettings& settings);
60 void write(QDataStream& stream)
const;
61 void read(QDataStream& stream);
void write(QDataStream &stream) const
PlotAxesConfig * getAxesConfig() const
QVector< CurveConfig * > findCurves(const QString &title) const
PlotConfig & operator=(const PlotConfig &src)
PlotConfig(QObject *parent=0, const QString &title="Untitled Plot", double plotRate=30.0)
QVector< CurveConfig * > curveConfig_
void setNumCurves(size_t numCurves)
PlotLegendConfig * getLegendConfig() const
void read(QDataStream &stream)
PlotAxesConfig * axesConfig_
void save(QSettings &settings) const
void curveConfigChanged()
const QString & getTitle() const
double getPlotRate() const
void curveRemoved(size_t index)
PlotLegendConfig * legendConfig_
void setPlotRate(double rate)
CurveConfig * getCurveConfig(size_t index) const
size_t getNumCurves() const
void setTitle(const QString &title)
void removeCurve(CurveConfig *curveConfig)
void legendConfigChanged()
void curveConfigDestroyed()
void titleChanged(const QString &title)
void curveAdded(size_t index)
void plotRateChanged(double rate)
void load(QSettings &settings)