15 #include "cxResourceExport.h"
17 #include <boost/shared_ptr.hpp>
24 typedef boost::shared_ptr<class Property>
PropertyPtr;
43 class cxResource_EXPORT
Property:
public QObject
51 static PropertyPtr findProperty(std::vector<PropertyPtr> properties, QString
id);
54 virtual QString getDisplayName()
const = 0;
55 virtual QString getUid()
const = 0;
57 virtual QVariant getValueAsVariant()
const = 0;
58 virtual void setValueFromVariant(QVariant val) = 0;
60 virtual bool getEnabled()
const;
61 virtual bool getAdvanced()
const;
62 virtual QString getGroup()
const;
65 virtual bool setEnabled(
bool enabled);
66 virtual bool setAdvanced(
bool advanced);
67 virtual bool setGroup(QString name);