BALL 1.5.0
|
#include <BALL/VIEW/WIDGETS/colorTable.h>
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... | |
![]() | |
ExtendedPreferencesObject () | |
virtual | ~ExtendedPreferencesObject () |
virtual bool | getValue (String &) const =0 |
Overload this in derived classes! More... | |
virtual bool | setValue (const String &)=0 |
Overload this in derived classes! More... | |
Class for storing colors in a GUI table
Definition at line 25 of file colorTable.h.
BALL::VIEW::ColorTable::ColorTable | ( | QWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
|
inline |
Definition at line 42 of file colorTable.h.
|
inline |
Definition at line 45 of file colorTable.h.
String BALL::VIEW::ColorTable::getNamesTitle | ( | ) | const |
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 | ) |
Overload this in derived classes!
Implements BALL::VIEW::PreferencesEntry::ExtendedPreferencesObject.