26 #ifndef INTERFACEPROPERTY_H
27 #define INTERFACEPROPERTY_H
59 virtual bool setDynamicProperty(
const char *name,
const QVariant &value,
const char *description =
"",
bool isReadOnly=
false) = 0;
88 #endif // INTERFACEPROPERTY_H
This class describe what are the methods to implement in order to manage dynamic properties.
Definition: InterfaceProperty.h:38
virtual bool setDynamicProperty(const char *name, const QVariant &value, const char *description="", bool isReadOnly=false)=0
specific setProperty method that can pass the description and the readOnly property.
virtual bool isInstanceOf(QString className)=0
Assert that a Component instance really inherits from a given className.
virtual QWidget * getPropertyWidget(QWidget *parent=0)=0
get the property widget to display.
virtual QStringList getHierarchy()=0
Get the inheritance hierachy of this Component instance as a list of QString.
virtual void updateProperty(QString name, QVariant value)=0
update property: if you override this method, do not forget to call the superclass method for the pro...
virtual ~InterfaceProperty()
empty virtual destructor, to avoid memory leak
Definition: InterfaceProperty.h:42
virtual QObject * getPropertyObject()=0
get the property object that could be understood by PropertyEditor.