30 #include <QStringList>
297 const QString& getName()
const;
300 const QVariant& getInitialValue()
const;
303 void setReadOnly(
bool);
306 bool getReadOnly()
const;
309 void setDescription(QString);
312 const QString& getDescription()
const;
328 void setAttribute(
const QString& attribute,
const QVariant& value);
341 QVariant getAttribute(QString attName);
344 QStringList getAttributeList();
349 void setEnumTypeName(QString);
360 void setEnumTypeName(QString enumTypeName, QObject* objectDeclaringTheEnum);
363 QString getEnumTypeName()
const;
372 QString getEnumValueAsString(
const QObject* objectDeclaringTheEnum)
const;
375 QMap<int, QIcon> getEnumIcons()
const;
378 void setEnumIcons(
const QMap<int, QIcon>& enumIcons);
384 void setGroupName(QString groupName);
389 QString getGroupName()
const;
401 static Property* getProperty(QObject*
object, QString name);
415 QVariant initialValue;
424 QMap<QString, QVariant> attributeValues;
427 QString enumTypeName;
430 QMap<int, QIcon> enumIcons;
#define CAMITK_API
Definition: CamiTKAPI.h:49
const char * description
Definition: applications/cepgenerator/main.cpp:38
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:280
virtual ~Property()=default
Destructor.
Definition: Action.cpp:36