#include <PlotTableConfig.h>
Signals | |
void | backgroundColorChanged (const QColor &color) |
void | foregroundColorChanged (const QColor &color) |
void | linkCursorChanged (bool link) |
void | linkScaleChanged (bool link) |
void | numPlotsChanged (size_t numRows, size_t numColumns) |
void | trackPointsChanged (bool track) |
Public Member Functions | |
bool | arePointsTracked () const |
const QColor & | getBackgroundColor () const |
const QColor & | getForegroundColor () const |
size_t | getNumColumns () const |
size_t | getNumRows () const |
PlotConfig * | getPlotConfig (size_t row, size_t column) const |
bool | isCursorLinked () const |
bool | isScaleLinked () const |
void | load (QSettings &settings) |
PlotTableConfig & | operator= (const PlotTableConfig &src) |
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 | read (QDataStream &stream) |
void | reset () |
void | save (QSettings &settings) const |
void | setBackgroundColor (const QColor &color) |
void | setForegroundColor (const QColor &color) |
void | setLinkCursor (bool link) |
void | setLinkScale (bool link) |
void | setNumColumns (size_t numColumns) |
void | setNumPlots (size_t numRows, size_t numColumns) |
void | setNumRows (size_t numRows) |
void | setTrackPoints (bool track) |
void | write (QDataStream &stream) const |
~PlotTableConfig () | |
Private Slots | |
void | plotConfigChanged () |
Private Attributes | |
QColor | backgroundColor_ |
QColor | foregroundColor_ |
bool | linkCursor_ |
bool | linkScale_ |
QVector< QVector< PlotConfig * > > | plotConfig_ |
bool | trackPoints_ |
Definition at line 29 of file PlotTableConfig.h.
rqt_multiplot::PlotTableConfig::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 |
||
) |
Definition at line 27 of file PlotTableConfig.cpp.
Definition at line 52 of file PlotTableConfig.cpp.
bool rqt_multiplot::PlotTableConfig::arePointsTracked | ( | ) | const |
Definition at line 185 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::backgroundColorChanged | ( | const QColor & | color | ) | [signal] |
void rqt_multiplot::PlotTableConfig::foregroundColorChanged | ( | const QColor & | color | ) | [signal] |
const QColor & rqt_multiplot::PlotTableConfig::getBackgroundColor | ( | ) | const |
Definition at line 68 of file PlotTableConfig.cpp.
const QColor & rqt_multiplot::PlotTableConfig::getForegroundColor | ( | ) | const |
Definition at line 81 of file PlotTableConfig.cpp.
size_t rqt_multiplot::PlotTableConfig::getNumColumns | ( | ) | const |
Definition at line 136 of file PlotTableConfig.cpp.
size_t rqt_multiplot::PlotTableConfig::getNumRows | ( | ) | const |
Definition at line 128 of file PlotTableConfig.cpp.
PlotConfig * rqt_multiplot::PlotTableConfig::getPlotConfig | ( | size_t | row, |
size_t | column | ||
) | const |
Definition at line 143 of file PlotTableConfig.cpp.
bool rqt_multiplot::PlotTableConfig::isCursorLinked | ( | ) | const |
Definition at line 172 of file PlotTableConfig.cpp.
bool rqt_multiplot::PlotTableConfig::isScaleLinked | ( | ) | const |
Definition at line 159 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::linkCursorChanged | ( | bool | link | ) | [signal] |
void rqt_multiplot::PlotTableConfig::linkScaleChanged | ( | bool | link | ) | [signal] |
void rqt_multiplot::PlotTableConfig::load | ( | QSettings & | settings | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 220 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::numPlotsChanged | ( | size_t | numRows, |
size_t | numColumns | ||
) | [signal] |
PlotTableConfig & rqt_multiplot::PlotTableConfig::operator= | ( | const PlotTableConfig & | src | ) |
Definition at line 324 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::plotConfigChanged | ( | ) | [private, slot] |
Definition at line 345 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::read | ( | QDataStream & | stream | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 296 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::reset | ( | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 269 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::save | ( | QSettings & | settings | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 193 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::setBackgroundColor | ( | const QColor & | color | ) |
Definition at line 59 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::setForegroundColor | ( | const QColor & | color | ) |
Definition at line 72 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::setLinkCursor | ( | bool | link | ) |
Definition at line 163 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::setLinkScale | ( | bool | link | ) |
Definition at line 150 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::setNumColumns | ( | size_t | numColumns | ) |
Definition at line 132 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::setNumPlots | ( | size_t | numRows, |
size_t | numColumns | ||
) |
Definition at line 85 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::setNumRows | ( | size_t | numRows | ) |
Definition at line 124 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::setTrackPoints | ( | bool | track | ) |
Definition at line 176 of file PlotTableConfig.cpp.
void rqt_multiplot::PlotTableConfig::trackPointsChanged | ( | bool | track | ) | [signal] |
void rqt_multiplot::PlotTableConfig::write | ( | QDataStream & | stream | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 281 of file PlotTableConfig.cpp.
QColor rqt_multiplot::PlotTableConfig::backgroundColor_ [private] |
Definition at line 74 of file PlotTableConfig.h.
QColor rqt_multiplot::PlotTableConfig::foregroundColor_ [private] |
Definition at line 75 of file PlotTableConfig.h.
bool rqt_multiplot::PlotTableConfig::linkCursor_ [private] |
Definition at line 78 of file PlotTableConfig.h.
bool rqt_multiplot::PlotTableConfig::linkScale_ [private] |
Definition at line 77 of file PlotTableConfig.h.
QVector<QVector<PlotConfig*> > rqt_multiplot::PlotTableConfig::plotConfig_ [private] |
Definition at line 76 of file PlotTableConfig.h.
bool rqt_multiplot::PlotTableConfig::trackPoints_ [private] |
Definition at line 79 of file PlotTableConfig.h.