1 #ifndef BALL_VIEW_WIDGETS_COLOR_TABLE_H
2 #include <QtGui/QTableWidget>
4 #ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
8 #ifndef BALL_VIEW_KERNEL_COMMON_H
12 #ifndef BALL_VIEW_DATATYPE_COLORRGBA_H
32 void setNamesTitle(
const String&
string);
34 String getNamesTitle()
const;
36 void setContent(
const vector<String>& names,
const vector<ColorRGBA>& colors);
38 void setColors(
const vector<ColorRGBA>& colors);
47 virtual bool getValue(
String&)
const;
50 virtual bool setValue(
const String& value);
54 void beginEdit(
int row,
int col);
59 vector<ColorRGBA> colors_;
60 vector<String> names_;
61 bool setting_content_;
66 #endif //BALL_VIEW_WIDGETS_COLOR_TABLE_H
const vector< ColorRGBA > & getColors() const
const vector< String > & getNames() const