#include <CurveColorConfig.h>
Public Types | |
enum | Type { Auto, Custom } |
Signals | |
void | autoColorIndexChanged (unsigned char index) |
void | currentColorChanged (const QColor &color) |
void | customColorChanged (const QColor &color) |
void | typeChanged (int type) |
Public Member Functions | |
CurveColorConfig (QObject *parent=0, Type type=Auto, unsigned char autoColorIndex=0, const QColor &customColor=Qt::black) | |
unsigned char | getAutoColorIndex () const |
QColor | getCurrentColor () const |
const QColor & | getCustomColor () const |
Type | getType () const |
void | load (QSettings &settings) |
CurveColorConfig & | operator= (const CurveColorConfig &src) |
void | read (QDataStream &stream) |
void | reset () |
void | save (QSettings &settings) const |
void | setAutoColorIndex (unsigned char index) |
void | setCustomColor (const QColor &color) |
void | setType (Type type) |
void | write (QDataStream &stream) const |
~CurveColorConfig () | |
Private Attributes | |
unsigned char | autoColorIndex_ |
QColor | customColor_ |
Type | type_ |
Definition at line 27 of file CurveColorConfig.h.
Definition at line 31 of file CurveColorConfig.h.
rqt_multiplot::CurveColorConfig::CurveColorConfig | ( | QObject * | parent = 0 , |
Type | type = Auto , |
||
unsigned char | autoColorIndex = 0 , |
||
const QColor & | customColor = Qt::black |
||
) |
Definition at line 29 of file CurveColorConfig.cpp.
Definition at line 37 of file CurveColorConfig.cpp.
void rqt_multiplot::CurveColorConfig::autoColorIndexChanged | ( | unsigned char | index | ) | [signal] |
void rqt_multiplot::CurveColorConfig::currentColorChanged | ( | const QColor & | color | ) | [signal] |
void rqt_multiplot::CurveColorConfig::customColorChanged | ( | const QColor & | color | ) | [signal] |
unsigned char rqt_multiplot::CurveColorConfig::getAutoColorIndex | ( | ) | const |
Definition at line 68 of file CurveColorConfig.cpp.
QColor rqt_multiplot::CurveColorConfig::getCurrentColor | ( | ) | const |
Definition at line 87 of file CurveColorConfig.cpp.
const QColor & rqt_multiplot::CurveColorConfig::getCustomColor | ( | ) | const |
Definition at line 83 of file CurveColorConfig.cpp.
Definition at line 54 of file CurveColorConfig.cpp.
void rqt_multiplot::CurveColorConfig::load | ( | QSettings & | settings | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 104 of file CurveColorConfig.cpp.
CurveColorConfig & rqt_multiplot::CurveColorConfig::operator= | ( | const CurveColorConfig & | src | ) |
Definition at line 134 of file CurveColorConfig.cpp.
void rqt_multiplot::CurveColorConfig::read | ( | QDataStream & | stream | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 120 of file CurveColorConfig.cpp.
void rqt_multiplot::CurveColorConfig::reset | ( | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 110 of file CurveColorConfig.cpp.
void rqt_multiplot::CurveColorConfig::save | ( | QSettings & | settings | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 98 of file CurveColorConfig.cpp.
void rqt_multiplot::CurveColorConfig::setAutoColorIndex | ( | unsigned char | index | ) |
Definition at line 58 of file CurveColorConfig.cpp.
void rqt_multiplot::CurveColorConfig::setCustomColor | ( | const QColor & | color | ) |
Definition at line 72 of file CurveColorConfig.cpp.
void rqt_multiplot::CurveColorConfig::setType | ( | Type | type | ) |
Definition at line 44 of file CurveColorConfig.cpp.
void rqt_multiplot::CurveColorConfig::typeChanged | ( | int | type | ) | [signal] |
void rqt_multiplot::CurveColorConfig::write | ( | QDataStream & | stream | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 115 of file CurveColorConfig.cpp.
unsigned char rqt_multiplot::CurveColorConfig::autoColorIndex_ [private] |
Definition at line 65 of file CurveColorConfig.h.
QColor rqt_multiplot::CurveColorConfig::customColor_ [private] |
Definition at line 66 of file CurveColorConfig.h.
Type rqt_multiplot::CurveColorConfig::type_ [private] |
Definition at line 64 of file CurveColorConfig.h.