12 #ifndef CXBOOLPROPERTYBASE_H_ 13 #define CXBOOLPROPERTYBASE_H_ 15 #include "cxResourceExport.h" 36 virtual QString getDisplayName()
const = 0;
37 virtual bool setValue(
bool value) = 0;
38 virtual bool getValue()
const = 0;
42 return QVariant(this->getValue());
46 this->setValue(val.toBool());
Superclass for all data adapters.
boost::shared_ptr< class BoolPropertyBase > BoolPropertyBasePtr
virtual QVariant getValueAsVariant() const
virtual ~BoolPropertyBase()
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
virtual void setValueFromVariant(QVariant val)
Namespace for all CustusX production code.