|
BALL
1.4.1
|
#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! | |
| virtual bool | setValue (const String &value) |
| Overload this in derived classes! | |
Private Slots | |
| void | beginEdit (int row, int col) |
| virtual void | mousePressEvent (QMouseEvent *event) |
Private Attributes | |
| vector< ColorRGBA > | colors_ |
| vector< String > | names_ |
| bool | setting_content_ |
Class for storing colors in a GUI table
Definition at line 23 of file colorTable.h.
| BALL::VIEW::ColorTable::ColorTable | ( | QWidget * | parent = 0, |
| const char * | name = 0 |
||
| ) |
| void BALL::VIEW::ColorTable::beginEdit | ( | int | row, |
| int | col | ||
| ) | [private, slot] |
| 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.
| virtual void BALL::VIEW::ColorTable::mousePressEvent | ( | QMouseEvent * | event | ) | [private, virtual, slot] |
| 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.
vector<ColorRGBA> BALL::VIEW::ColorTable::colors_ [private] |
Definition at line 59 of file colorTable.h.
vector<String> BALL::VIEW::ColorTable::names_ [private] |
Definition at line 60 of file colorTable.h.
bool BALL::VIEW::ColorTable::setting_content_ [private] |
Definition at line 61 of file colorTable.h.
1.7.6.1