19 #ifndef RQT_MULTIPLOT_PLOT_TABLE_CONFIG_H 20 #define RQT_MULTIPLOT_PLOT_TABLE_CONFIG_H 34 Qt::white,
const QColor& foregroundColor = Qt::black,
size_t 35 numRows = 1,
size_t numColumns = 1,
bool linkScale =
false,
36 bool linkCursor =
false,
bool trackPoints =
false);
43 void setNumPlots(
size_t numRows,
size_t numColumns);
56 void save(QSettings& settings)
const;
57 void load(QSettings& settings);
60 void write(QDataStream& stream)
const;
61 void read(QDataStream& stream);
QVector< QVector< PlotConfig * > > plotConfig_
void linkScaleChanged(bool link)
void setNumRows(size_t numRows)
void load(QSettings &settings)
bool arePointsTracked() const
const QColor & getForegroundColor() const
void backgroundColorChanged(const QColor &color)
void setNumColumns(size_t numColumns)
void foregroundColorChanged(const QColor &color)
PlotConfig * getPlotConfig(size_t row, size_t column) const
const QColor & getBackgroundColor() const
void setForegroundColor(const QColor &color)
void setLinkCursor(bool link)
size_t getNumColumns() const
void linkCursorChanged(bool link)
void save(QSettings &settings) const
void write(QDataStream &stream) const
void setLinkScale(bool link)
PlotTableConfig & operator=(const PlotTableConfig &src)
void setBackgroundColor(const QColor &color)
PlotTableConfig(QObject *parent, const QColor &backgroundColor=Qt::white, const QColor &foregroundColor=Qt::black, size_t numRows=1, size_t numColumns=1, bool linkScale=false, bool linkCursor=false, bool trackPoints=false)
void trackPointsChanged(bool track)
void numPlotsChanged(size_t numRows, size_t numColumns)
bool isCursorLinked() const
size_t getNumRows() const
void setNumPlots(size_t numRows, size_t numColumns)
void read(QDataStream &stream)
bool isScaleLinked() const
void setTrackPoints(bool track)