Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
rqt_multiplot::PlotTableConfig Class Reference

#include <PlotTableConfig.h>

Inheritance diagram for rqt_multiplot::PlotTableConfig:
Inheritance graph
[legend]

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)
 
- Signals inherited from rqt_multiplot::Config
void changed ()
 

Public Member Functions

bool arePointsTracked () const
 
const QColor & getBackgroundColor () const
 
const QColor & getForegroundColor () const
 
size_t getNumColumns () const
 
size_t getNumRows () const
 
PlotConfiggetPlotConfig (size_t row, size_t column) const
 
bool isCursorLinked () const
 
bool isScaleLinked () const
 
void load (QSettings &settings)
 
PlotTableConfigoperator= (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 ()
 
- Public Member Functions inherited from rqt_multiplot::Config
 Config (QObject *parent=0)
 
 ~Config ()
 

Private Slots

void plotConfigChanged ()
 

Private Attributes

QColor backgroundColor_
 
QColor foregroundColor_
 
bool linkCursor_
 
bool linkScale_
 
QVector< QVector< PlotConfig * > > plotConfig_
 
bool trackPoints_
 

Detailed Description

Definition at line 29 of file PlotTableConfig.h.

Constructor & Destructor Documentation

◆ PlotTableConfig()

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.

◆ ~PlotTableConfig()

rqt_multiplot::PlotTableConfig::~PlotTableConfig ( )

Definition at line 52 of file PlotTableConfig.cpp.

Member Function Documentation

◆ arePointsTracked()

bool rqt_multiplot::PlotTableConfig::arePointsTracked ( ) const

Definition at line 185 of file PlotTableConfig.cpp.

◆ backgroundColorChanged

void rqt_multiplot::PlotTableConfig::backgroundColorChanged ( const QColor &  color)
signal

◆ foregroundColorChanged

void rqt_multiplot::PlotTableConfig::foregroundColorChanged ( const QColor &  color)
signal

◆ getBackgroundColor()

const QColor & rqt_multiplot::PlotTableConfig::getBackgroundColor ( ) const

Definition at line 68 of file PlotTableConfig.cpp.

◆ getForegroundColor()

const QColor & rqt_multiplot::PlotTableConfig::getForegroundColor ( ) const

Definition at line 81 of file PlotTableConfig.cpp.

◆ getNumColumns()

size_t rqt_multiplot::PlotTableConfig::getNumColumns ( ) const

Definition at line 136 of file PlotTableConfig.cpp.

◆ getNumRows()

size_t rqt_multiplot::PlotTableConfig::getNumRows ( ) const

Definition at line 128 of file PlotTableConfig.cpp.

◆ getPlotConfig()

PlotConfig * rqt_multiplot::PlotTableConfig::getPlotConfig ( size_t  row,
size_t  column 
) const

Definition at line 143 of file PlotTableConfig.cpp.

◆ isCursorLinked()

bool rqt_multiplot::PlotTableConfig::isCursorLinked ( ) const

Definition at line 172 of file PlotTableConfig.cpp.

◆ isScaleLinked()

bool rqt_multiplot::PlotTableConfig::isScaleLinked ( ) const

Definition at line 159 of file PlotTableConfig.cpp.

◆ linkCursorChanged

void rqt_multiplot::PlotTableConfig::linkCursorChanged ( bool  link)
signal

◆ linkScaleChanged

void rqt_multiplot::PlotTableConfig::linkScaleChanged ( bool  link)
signal

◆ load()

void rqt_multiplot::PlotTableConfig::load ( QSettings &  settings)
virtual

Implements rqt_multiplot::Config.

Definition at line 220 of file PlotTableConfig.cpp.

◆ numPlotsChanged

void rqt_multiplot::PlotTableConfig::numPlotsChanged ( size_t  numRows,
size_t  numColumns 
)
signal

◆ operator=()

PlotTableConfig & rqt_multiplot::PlotTableConfig::operator= ( const PlotTableConfig src)

Definition at line 324 of file PlotTableConfig.cpp.

◆ plotConfigChanged

void rqt_multiplot::PlotTableConfig::plotConfigChanged ( )
privateslot

Definition at line 345 of file PlotTableConfig.cpp.

◆ read()

void rqt_multiplot::PlotTableConfig::read ( QDataStream &  stream)
virtual

Implements rqt_multiplot::Config.

Definition at line 296 of file PlotTableConfig.cpp.

◆ reset()

void rqt_multiplot::PlotTableConfig::reset ( )
virtual

Implements rqt_multiplot::Config.

Definition at line 269 of file PlotTableConfig.cpp.

◆ save()

void rqt_multiplot::PlotTableConfig::save ( QSettings &  settings) const
virtual

Implements rqt_multiplot::Config.

Definition at line 193 of file PlotTableConfig.cpp.

◆ setBackgroundColor()

void rqt_multiplot::PlotTableConfig::setBackgroundColor ( const QColor &  color)

Definition at line 59 of file PlotTableConfig.cpp.

◆ setForegroundColor()

void rqt_multiplot::PlotTableConfig::setForegroundColor ( const QColor &  color)

Definition at line 72 of file PlotTableConfig.cpp.

◆ setLinkCursor()

void rqt_multiplot::PlotTableConfig::setLinkCursor ( bool  link)

Definition at line 163 of file PlotTableConfig.cpp.

◆ setLinkScale()

void rqt_multiplot::PlotTableConfig::setLinkScale ( bool  link)

Definition at line 150 of file PlotTableConfig.cpp.

◆ setNumColumns()

void rqt_multiplot::PlotTableConfig::setNumColumns ( size_t  numColumns)

Definition at line 132 of file PlotTableConfig.cpp.

◆ setNumPlots()

void rqt_multiplot::PlotTableConfig::setNumPlots ( size_t  numRows,
size_t  numColumns 
)

Definition at line 85 of file PlotTableConfig.cpp.

◆ setNumRows()

void rqt_multiplot::PlotTableConfig::setNumRows ( size_t  numRows)

Definition at line 124 of file PlotTableConfig.cpp.

◆ setTrackPoints()

void rqt_multiplot::PlotTableConfig::setTrackPoints ( bool  track)

Definition at line 176 of file PlotTableConfig.cpp.

◆ trackPointsChanged

void rqt_multiplot::PlotTableConfig::trackPointsChanged ( bool  track)
signal

◆ write()

void rqt_multiplot::PlotTableConfig::write ( QDataStream &  stream) const
virtual

Implements rqt_multiplot::Config.

Definition at line 281 of file PlotTableConfig.cpp.

Member Data Documentation

◆ backgroundColor_

QColor rqt_multiplot::PlotTableConfig::backgroundColor_
private

Definition at line 74 of file PlotTableConfig.h.

◆ foregroundColor_

QColor rqt_multiplot::PlotTableConfig::foregroundColor_
private

Definition at line 75 of file PlotTableConfig.h.

◆ linkCursor_

bool rqt_multiplot::PlotTableConfig::linkCursor_
private

Definition at line 78 of file PlotTableConfig.h.

◆ linkScale_

bool rqt_multiplot::PlotTableConfig::linkScale_
private

Definition at line 77 of file PlotTableConfig.h.

◆ plotConfig_

QVector<QVector<PlotConfig*> > rqt_multiplot::PlotTableConfig::plotConfig_
private

Definition at line 76 of file PlotTableConfig.h.

◆ trackPoints_

bool rqt_multiplot::PlotTableConfig::trackPoints_
private

Definition at line 79 of file PlotTableConfig.h.


The documentation for this class was generated from the following files:


rqt_multiplot_plugin
Author(s): Ralf Kaestner
autogenerated on Mon May 15 2023 02:25:18