12 #ifndef CXCOLORPROPERTYBASE_H_ 13 #define CXCOLORPROPERTYBASE_H_ 15 #include "cxResourceExport.h" 39 virtual QString getDisplayName()
const = 0;
40 virtual bool setValue(QColor value) = 0;
41 virtual QColor getValue()
const = 0;
45 return QVariant(this->getValue());
50 this->setValue(value.value<QColor>());
64 #endif // CXCOLORPROPERTYBASE_H_ virtual ~ColorPropertyBase()
virtual void setValueFromVariant(QVariant value)
Superclass for all data adapters.
virtual QVariant getValueAsVariant() const
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
boost::shared_ptr< class ColorPropertyBase > ColorPropertyBasePtr
Namespace for all CustusX production code.