BALL  1.4.79
Public Member Functions | List of all members
BALL::VIEW::ColorTable Class Reference

#include <BALL/VIEW/WIDGETS/colorTable.h>

Inheritance diagram for BALL::VIEW::ColorTable:
QTableWidget BALL::VIEW::PreferencesEntry::ExtendedPreferencesObject

Public Member Functions

 ColorTable (QWidget *parent=0, const char *name=0)
 
void setNamesTitle (const String &string)
 
String getNamesTitle () const
 
void setContent (const vector< String > &names, const vector< ColorRGBA > &colors)
 
void setColors (const vector< ColorRGBA > &colors)
 
const vector< ColorRGBA > & getColors () const
 
const vector< String > & getNames () const
 
virtual bool getValue (String &) const
 Overload this in derived classes! More...
 
virtual bool setValue (const String &value)
 Overload this in derived classes! More...
 
- Public Member Functions inherited from BALL::VIEW::PreferencesEntry::ExtendedPreferencesObject
 ExtendedPreferencesObject ()
 
virtual ~ExtendedPreferencesObject ()
 

Detailed Description

Class for storing colors in a GUI table

Definition at line 23 of file colorTable.h.

Constructor & Destructor Documentation

BALL::VIEW::ColorTable::ColorTable ( QWidget parent = 0,
const char *  name = 0 
)

Member Function Documentation

const vector<ColorRGBA>& BALL::VIEW::ColorTable::getColors ( ) const
inline

Definition at line 40 of file colorTable.h.

const vector<String>& BALL::VIEW::ColorTable::getNames ( ) const
inline

Definition at line 43 of file colorTable.h.

String BALL::VIEW::ColorTable::getNamesTitle ( ) const
virtual bool BALL::VIEW::ColorTable::getValue ( String ) const
virtual

Overload this in derived classes!

Implements BALL::VIEW::PreferencesEntry::ExtendedPreferencesObject.

void BALL::VIEW::ColorTable::setColors ( const vector< ColorRGBA > &  colors)
void BALL::VIEW::ColorTable::setContent ( const vector< String > &  names,
const vector< ColorRGBA > &  colors 
)
void BALL::VIEW::ColorTable::setNamesTitle ( const String string)
virtual bool BALL::VIEW::ColorTable::setValue ( const String )
virtual

Overload this in derived classes!

Implements BALL::VIEW::PreferencesEntry::ExtendedPreferencesObject.