26 #ifndef PROPERTYOBJECT_H
27 #define PROPERTYOBJECT_H
108 Q_INVOKABLE
virtual const camitk::Property* getProperty(QString name)
const;
114 virtual void removeProperty(
Property*);
117 virtual unsigned int getNumberOfProperties()
const;
120 virtual QString getPropertyName(
unsigned int index)
const;
123 virtual QVariant getPropertyValue(
unsigned int index);
126 virtual QVariant getPropertyValue(
const QString name)
const;
129 void loadFromSettings(
const QString& settingGroupName);
132 void saveToSettings(
const QString& settingGroupName);
135 static QString toCamelCase(
const QString&);
143 virtual QVariant toVariant()
const override;
146 virtual void fromVariant(
const QVariant&)
override;
153 QMap<QString, Property*> propertiesMap;
#define CAMITK_API
Definition: CamiTKAPI.h:49
Interface for all objects that should be serialized by the PersistenceManager.
Definition: InterfacePersistence.h:36
This class describes a property object.
Definition: PropertyObject.h:72
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:280
Definition: Action.cpp:36