#include <BALL/VIEW/DIALOGS/coloringSettingsDialog.h>
Public Member Functions | |
| QColorTable (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
| BALL::VIEW::QColorTable::QColorTable | ( | QWidget * | parent = 0, |
| const char * | name = 0 |
||
| ) |
| void BALL::VIEW::QColorTable::beginEdit | ( | int | row, |
| int | col | ||
| ) | [private, slot] |
| const vector<ColorRGBA>& BALL::VIEW::QColorTable::getColors | ( | ) | const [inline] |
| const vector<String>& BALL::VIEW::QColorTable::getNames | ( | ) | const [inline] |
| String BALL::VIEW::QColorTable::getNamesTitle | ( | ) | const |
Overload this in derived classes!
Implements BALL::VIEW::PreferencesEntry::ExtendedPreferencesObject.
| virtual void BALL::VIEW::QColorTable::mousePressEvent | ( | QMouseEvent * | event | ) | [private, virtual, slot] |
| void BALL::VIEW::QColorTable::setColors | ( | const vector< ColorRGBA > & | colors | ) |
| void BALL::VIEW::QColorTable::setContent | ( | const vector< String > & | names, |
| const vector< ColorRGBA > & | colors | ||
| ) |
| void BALL::VIEW::QColorTable::setNamesTitle | ( | const String & | string | ) |
Overload this in derived classes!
Implements BALL::VIEW::PreferencesEntry::ExtendedPreferencesObject.
vector<ColorRGBA> BALL::VIEW::QColorTable::colors_ [private] |
vector<String> BALL::VIEW::QColorTable::names_ [private] |