26 #ifndef PROPERTYOBJECT_H
27 #define PROPERTYOBJECT_H
71 class CAMITK_API PropertyObject :
public QObject {
80 PropertyObject(QString name);
83 ~PropertyObject()
override;
95 virtual bool addProperty(Property*);
112 virtual void removeProperty(Property*);
115 virtual unsigned int getNumberOfProperties()
const;
118 virtual QString getPropertyName(
unsigned int index)
const;
121 virtual QVariant getPropertyValue(
unsigned int index);
124 virtual QVariant getPropertyValue(
const QString name);
127 void loadFromSettings(
const QString& settingGroupName);
130 void saveToSettings(
const QString& settingGroupName);
133 static QString toCamelCase(
const QString&);
139 QMap<QString, Property*> propertiesMap;
145 #endif // PROPERTYOBJECT_H