#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) |
Signals inherited from rqt_multiplot::Config | |
void | changed () |
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 () | |
Public Member Functions inherited from rqt_multiplot::Config | |
Config (QObject *parent=0) | |
~Config () | |
Private Attributes | |
unsigned char | autoColorIndex_ |
QColor | customColor_ |
Type | type_ |
Definition at line 27 of file CurveColorConfig.h.
Enumerator | |
---|---|
Auto | |
Custom |
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.
rqt_multiplot::CurveColorConfig::~CurveColorConfig | ( | ) |
Definition at line 37 of file CurveColorConfig.cpp.
|
signal |
|
signal |
|
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.
CurveColorConfig::Type rqt_multiplot::CurveColorConfig::getType | ( | ) | const |
Definition at line 54 of file CurveColorConfig.cpp.
|
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.
|
virtual |
Implements rqt_multiplot::Config.
Definition at line 120 of file CurveColorConfig.cpp.
|
virtual |
Implements rqt_multiplot::Config.
Definition at line 110 of file CurveColorConfig.cpp.
|
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.
|
signal |
|
virtual |
Implements rqt_multiplot::Config.
Definition at line 115 of file CurveColorConfig.cpp.
|
private |
Definition at line 65 of file CurveColorConfig.h.
|
private |
Definition at line 66 of file CurveColorConfig.h.
|
private |
Definition at line 64 of file CurveColorConfig.h.