30 #include <QStringList> 308 const QString& getName()
const;
311 const QVariant& getInitialValue()
const;
314 void setReadOnly(
bool);
317 bool getReadOnly()
const;
320 void setDescription(QString);
323 const QString& getDescription()
const;
339 void setAttribute(
const QString& attribute,
const QVariant& value);
352 QVariant getAttribute(QString attName);
355 QStringList getAttributeList();
360 void setEnumTypeName(QString);
371 void setEnumTypeName(QString enumTypeName, QObject* objectDeclaringTheEnum);
374 QString getEnumTypeName()
const;
383 QString getEnumValueAsString(
const QObject* objectDeclaringTheEnum)
const;
386 QMap<int, QIcon> getEnumIcons()
const;
389 void setEnumIcons(
const QMap<int, QIcon>& enumIcons);
395 void setGroupName(QString groupName);
400 QString getGroupName()
const;
const char * description
Definition: applications/cepgenerator/main.cpp:37
bool readOnly
is the property read only
Definition: Property.h:420
QVariant initialValue
initial value of the property, Only needed between the time when the property is instantiated and the...
Definition: Property.h:414
QMap< QString, QVariant > attributeValues
map containing all the attributes and their values
Definition: Property.h:423
Definition: Action.cpp:36
#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:426
QMap< int, QIcon > enumIcons
map containing all the icons for the enum
Definition: Property.h:429
QString groupName
name of the group in which this property is classified (null if no group name were set) ...
Definition: Property.h:407
QString name
name of the property
Definition: Property.h:404
QString description
description of the property, can be rich text
Definition: Property.h:417
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:291