36 #include "cxResourceExport.h"
38 #include <boost/shared_ptr.hpp>
45 typedef boost::shared_ptr<class Property>
PropertyPtr;
64 class cxResource_EXPORT
Property:
public QObject
72 static PropertyPtr findProperty(std::vector<PropertyPtr> properties, QString
id);
75 virtual QString getDisplayName()
const = 0;
76 virtual QString getUid()
const = 0;
78 virtual QVariant getValueAsVariant()
const = 0;
79 virtual void setValueFromVariant(QVariant val) = 0;
81 virtual bool getEnabled()
const;
82 virtual bool getAdvanced()
const;
83 virtual QString getGroup()
const;
86 virtual bool setEnabled(
bool enabled);
87 virtual bool setAdvanced(
bool advanced);
88 virtual bool setGroup(QString name);
Superclass for all data adapters.
boost::shared_ptr< class Property > PropertyPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr