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_;
void setContent(const vector< String > &names, const vector< ColorRGBA > &colors)
const vector< String > & getNames() const
void setNamesTitle(const String &string)
virtual bool setValue(const String &value)
Overload this in derived classes!
String getNamesTitle() const
ColorTable(QWidget *parent=0, const char *name=0)
const vector< ColorRGBA > & getColors() const
virtual bool getValue(String &) const
Overload this in derived classes!
void setColors(const vector< ColorRGBA > &colors)