Go to the documentation of this file. 1 #ifndef BALL_VIEW_WIDGETS_COLOR_TABLE_H
2 #define BALL_VIEW_WIDGETS_COLOR_TABLE_H
4 #include <QtWidgets/QTableWidget>
6 #ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
10 #ifndef BALL_VIEW_KERNEL_COMMON_H
14 #ifndef BALL_VIEW_DATATYPE_COLORRGBA_H
38 void setContent(
const vector<String>& names,
const vector<ColorRGBA>& colors);
56 void beginEdit(
int row,
int col);
61 vector<ColorRGBA> colors_;
62 vector<String> names_;
63 bool setting_content_;
68 #endif //BALL_VIEW_WIDGETS_COLOR_TABLE_H
virtual bool setValue(const String &value)
Overload this in derived classes!
void setContent(const vector< String > &names, const vector< ColorRGBA > &colors)
const vector< ColorRGBA > & getColors() const
String getNamesTitle() const
virtual bool getValue(String &) const
Overload this in derived classes!
void setColors(const vector< ColorRGBA > &colors)
ColorTable(QWidget *parent=0, const char *name=0)
void setNamesTitle(const String &string)
const vector< String > & getNames() const