Public Types | Signals | Public Member Functions | Private Attributes
rqt_multiplot::CurveColorConfig Class Reference

#include <CurveColorConfig.h>

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

List of all members.

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)
CurveColorConfigoperator= (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_

Detailed Description

Definition at line 27 of file CurveColorConfig.h.


Member Enumeration Documentation

Enumerator:
Auto 
Custom 

Definition at line 31 of file CurveColorConfig.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 68 of file CurveColorConfig.cpp.

Definition at line 87 of file CurveColorConfig.cpp.

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.

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.

Definition at line 58 of file CurveColorConfig.cpp.

void rqt_multiplot::CurveColorConfig::setCustomColor ( const QColor &  color)

Definition at line 72 of file CurveColorConfig.cpp.

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.


Member Data Documentation

Definition at line 65 of file CurveColorConfig.h.

Definition at line 66 of file CurveColorConfig.h.

Definition at line 64 of file CurveColorConfig.h.


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


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Thu Jun 6 2019 21:49:11