33 #ifndef CXCOLORPROPERTYBASE_H_ 34 #define CXCOLORPROPERTYBASE_H_ 36 #include "cxResourceExport.h" 60 virtual QString getDisplayName()
const = 0;
61 virtual bool setValue(QColor value) = 0;
62 virtual QColor getValue()
const = 0;
66 return QVariant(this->getValue());
71 this->setValue(value.value<QColor>());
85 #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.