25 #ifndef COLORCONTROLELEMENT_HH 26 #define COLORCONTROLELEMENT_HH 34 #include <blitz/array.h> 47 const QString&
label,
const blitz::TinyVector<unsigned char,3>&
value =
48 (blitz::TinyVector<unsigned char,3>(0, 0, 0)), QWidget* parent = 0);
51 blitz::TinyVector<unsigned char,3>
value()
const;
56 void setValue(
const blitz::TinyVector<unsigned char,3>& value);
57 void setValue(
const std::string& value);
62 void updateToolButtonColor();
66 blitz::TinyVector<QSpinBox*,3> _spinbox;
67 QToolButton* p_colorToolButton;
void setValue(const blitz::TinyVector< unsigned char, 3 > &value)
blitz::TinyVector< unsigned char, 3 > value() const
ColorControlElement(const QString &label, const blitz::TinyVector< unsigned char, 3 > &value=(blitz::TinyVector< unsigned char, 3 >(0, 0, 0)), QWidget *parent=0)
Abstract horizontally layouted control element consisting of a label, the control widget(s) and a che...
std::string toStdString() const