30 #include <QStringList> 277 const QString & getName()
const;
280 const QVariant &getInitialValue()
const;
283 void setReadOnly(
bool);
286 bool getReadOnly()
const;
289 void setDescription(QString);
292 const QString & getDescription()
const;
308 void setAttribute(
const QString &attribute,
const QVariant &value );
320 QVariant getAttribute(QString attName);
323 QStringList getAttributeList();
326 void setEnumTypeName(QString);
329 QString getEnumTypeName()
const;
338 QString getEnumValueAsString(
const QObject *objectDeclaringTheEnum)
const;
341 QMap<int,QIcon> getEnumIcons()
const;
344 void setEnumIcons(
const QMap<int,QIcon>& enumIcons);
350 void setGroupName(QString groupName);
355 QString getGroupName()
const;
const char * description
Definition: applications/cepgenerator/main.cpp:37
bool readOnly
is the property read only
Definition: Property.h:375
QVariant initialValue
initial value of the property, Only needed between the time when the property is instanciated and the...
Definition: Property.h:369
Definition: Action.cpp:40
#define CAMITK_API
Definition: CamiTKAPI.h:49
QString enumTypeName
if the property's type is an enum, this is the Qt registered enum name, otherwise it is the null stri...
Definition: Property.h:381
virtual ~Property()
Destructor.
Definition: Property.h:274
QMap< int, QIcon > enumIcons
map containing all the icons for the enum
Definition: Property.h:384
QString groupName
name of the group in which this property is classified (null if no group name were set) ...
Definition: Property.h:362
QString name
name of the property
Definition: Property.h:359
QString description
description of the property, can be rich text
Definition: Property.h:372
QMap< QString, QVariant > attributeValues
map containing all the attributes and their values
Definition: Property.h:378
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:260