Public Types | Signals | Public Member Functions | Private Attributes | List of all members
rqt_multiplot::CurveColorConfig Class Reference

#include <CurveColorConfig.h>

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

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)
 
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 ()
 
- Public Member Functions inherited from rqt_multiplot::Config
 Config (QObject *parent=0)
 
 ~Config ()
 

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.

rqt_multiplot::CurveColorConfig::~CurveColorConfig ( )

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
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.

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.

Member Data Documentation

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.


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


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Wed Jul 10 2019 03:49:44