33 #ifndef CXBOOLPROPERTYBASE_H_
34 #define CXBOOLPROPERTYBASE_H_
36 #include "cxResourceExport.h"
57 virtual QString getDisplayName()
const = 0;
58 virtual bool setValue(
bool value) = 0;
59 virtual bool getValue()
const = 0;
63 return QVariant(this->getValue());
67 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)